{"id":"CVE-2022-36231","aliases":["GHSA-9fh3-j99m-f4v7"],"url":"https://o3.security/vulnerability/CVE-2022-36231","summary":"Code injection in pdf_info","details":"pdf_info 0.5.3 is vulnerable to Command Execution. An attacker using a specially crafted payload may execute OS commands by using command chaining because during object initalization there is no validation performed and the user provided path is used.","published":"2023-02-23T00:00:00Z","modified":"2026-08-12T03:51:12.242509889Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.03014,"percentile":0.86356,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"RubyGems","name":"pdf_info","fixedVersion":null}],"fix":{"url":"https://github.com/newspaperclub/pdf_info/pull/15","label":"newspaperclub/pdf_info#15"},"references":[{"type":"WEB","url":"https://rubygems.org/gems/pdf_info"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36231.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36231"},{"type":"REPORT","url":"https://github.com/newspaperclub/pdf_info/issues/16"},{"type":"FIX","url":"https://github.com/newspaperclub/pdf_info/pull/15"},{"type":"PACKAGE","url":"https://github.com/affix/CVE-2022-36231"},{"type":"PACKAGE","url":"https://github.com/newspaperclub/pdf_info"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pdf_info/CVE-2022-36231.yml"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:12.242509889Z"}}