{"id":"GHSA-9fh3-j99m-f4v7","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.","aliases":["CVE-2022-36231"],"modified":"2025-03-13T21:45:59.755376Z","published":"2023-02-24T00:30:17Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2023-02-24T00:33:27Z","nvd_published_at":"2023-02-23T22:15:00Z","cwe_ids":["CWE-78","CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36231"},{"type":"WEB","url":"https://github.com/newspaperclub/pdf_info/issues/16"},{"type":"WEB","url":"https://github.com/newspaperclub/pdf_info/pull/15"},{"type":"WEB","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"},{"type":"WEB","url":"https://rubygems.org/gems/pdf_info"}],"affected":[{"package":{"name":"pdf_info","ecosystem":"RubyGems","purl":"pkg:gem/pdf_info"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.5.3"}]}],"versions":["0.1.0","0.2.0","0.3.0","0.3.1","0.4.0","0.5.0","0.5.1","0.5.2","0.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-9fh3-j99m-f4v7/GHSA-9fh3-j99m-f4v7.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}