RCE in Jordansissel Ruby-Arr-Pm
CVE-2022-39224
Arr-pm is an RPM reader/writer library written in Ruby. Versions prior to 0.0.12 are subject to OS command injection resulting in shell execution if the RPM contains a malicious "payload compressor" field. This vulnerability impacts the `extract` and `files` methods of the `RPM::File` class of this library. Version 0.0.12 patches these issues. A workaround for this issue is to ensure any RPMs being processed contain valid/known payload compressor values such as gzip, bzip2, xz, zstd, and lzma. The payload compressor field in an rpm can be checked by using the rpm command line tool.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.016 (73.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Jordansissel Ruby-arr-pm — versions < 0.0.12
- Ruby-arr-pm_project Ruby-arr-pm
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-39224?
- CVE-2022-39224 is a high-severity vulnerability in Jordansissel Ruby-Arr-Pm, classified under OS Command Injection. CVSS score: 7.0/10. Published 2022-09-21.
- How severe is CVE-2022-39224?
- High severity. CVSS v3 base score is 7.0 out of 10.