Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS05ZmgzLWo5OW0tZjR2N84AAxys
Code injection in pdf_info
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.
Permalink: https://github.com/advisories/GHSA-9fh3-j99m-f4v7JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS05ZmgzLWo5OW0tZjR2N84AAxys
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 1 year ago
Updated: over 1 year ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-9fh3-j99m-f4v7, CVE-2022-36231
References:
- https://nvd.nist.gov/vuln/detail/CVE-2022-36231
- https://github.com/affix/CVE-2022-36231
- https://rubygems.org/gems/pdf_info
- https://github.com/newspaperclub/pdf_info/issues/16
- https://github.com/newspaperclub/pdf_info/pull/15
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/pdf_info/CVE-2022-36231.yml
- https://github.com/advisories/GHSA-9fh3-j99m-f4v7
Blast Radius: 10.6
Affected Packages
rubygems:pdf_info
Dependent packages: 3Dependent repositories: 12
Downloads: 49,576 total
Affected Version Ranges: <= 0.5.3
No known fixed version
All affected 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