{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-36231","id":"CVE-2022-36231","title":"Code injection in pdf_info","description":"pdf_info 0.5.3 is vulnerable to Command Execution because the Ruby code uses backticks instead of Open3.","descriptionLong":"pdf_info 0.5.3 is vulnerable to Command Execution because the Ruby code uses backticks instead of Open3.","published":"2023-02-23T00:00:00.000Z","updated":"2026-10-28T02:30:58.436244765Z","reserved":"2022-07-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"pdf_info","purl":"pkg:gem/pdf_info","ranges":["<=0.5.3"],"fixed":[],"advisory":"GHSA-9fh3-j99m-f4v7"}],"cwes":["CWE-78","CWE-94"],"aliases":["GHSA-9fh3-j99m-f4v7"],"references":[{"url":"https://rubygems.org/gems/pdf_info","tags":["x_transferred","Product","web"]},{"url":"https://github.com/affix/CVE-2022-36231","tags":["x_transferred","Exploit","Third Party Advisory","package","web"]},{"url":"https://github.com/newspaperclub/pdf_info/pull/15","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/newspaperclub/pdf_info/issues/16","tags":["x_transferred","Patch","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36231.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36231","tags":["advisory"]},{"url":"https://github.com/newspaperclub/pdf_info","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pdf_info/CVE-2022-36231.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.03014,"epssPercentile":0.87706,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-36231","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-36231","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-36231","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9fh3-j99m-f4v7","ok":true,"note":"GHSA-9fh3-j99m-f4v7"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-36231","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}