critical9.8
CVE-2022-36231
Code injection in pdf_info
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | pdf_info | <= 0.5.3 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Newspaperclub | Pdf Info | Version 0.5.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/affix/CVE-2022-36231
- https://github.com/newspaperclub/pdf_info/issues/16
- https://github.com/newspaperclub/pdf_info/pull/15
- https://rubygems.org/gems/pdf_info
- https://github.com/advisories/GHSA-9fh3-j99m-f4v7
- https://nvd.nist.gov/vuln/detail/CVE-2022-36231
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pdf_info/CVE-2022-36231.yml