CVE-2022-36231 json
Code injection in pdf_info
published 3y ago modified 4mo ago also GHSA-9fh3-j99m-f4v7 , EUVD-2023-0676
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
pdf_info 0.5.3 is vulnerable to Command Execution because the Ruby code uses backticks instead of Open3.
Patch / fix
- github.com/newspaperclub/pdf_info/issues/16 patch
- github.com/newspaperclub/pdf_info#15 pull request
Is CVE-2022-36231 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- last yr.
Exploit prediction
3.01% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/affix/CVE-2022-36231 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | pdf_info | <=0.5.3 |
no fix listed |
Classification
References
-
github.com
/newspaperclub/pdf_info/pull/15
web, patch
-
github.com
/newspaperclub/pdf_info/issues/16
web, patch
-
github.com
/affix/CVE-2022-36231
web, exploit, third-party-advisory
-
rubygems.org
/gems/pdf_info
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2022-36231
advisory
-
github.com
/newspaperclub/pdf_info
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/pdf_info/CVE-2022-36231.yml
web
Sources
- CVE List CVE-2022-36231
- GitHub Advisory GHSA-9fh3-j99m-f4v7
- NVD CVE-2022-36231
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.