GitHub Advisoryadvisory · RubyGems
GHSA-9fh3-j99m-f4v7 Code injection in pdf_info
CRITICAL
Official page ↗
- Aliases
- CVE-2022-36231
- Ecosystem
- RubyGems
- Packages
- pdf_info
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78, CWE-94
- Reviewed
- 2023-02-24
Affected packages
• RubyGems pdf_info: <= 0.5.3 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2022-36231 pdf_info 0.5.3 is vulnerable to Command Execution because the Ruby code uses backticks instead of Open3. vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-36231 advisory
- https://github.com/newspaperclub/pdf_info/issues/16 web
- https://github.com/newspaperclub/pdf_info/pull/15 web
- https://github.com/affix/CVE-2022-36231 web
- https://github.com/newspaperclub/pdf_info package
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pdf_info/CVE-2022-36231.yml web
- https://rubygems.org/gems/pdf_info web