CVE-2022-39224
Last modified
CVE-2022-39224 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.59% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Arr-Pm Project | Ruby-Arr-Pm | < 0.0.12 |
References
- https://github.com/jordansissel/ruby-arr-pm/pull/14Patch, Third Party Advisory
- https://github.com/jordansissel/ruby-arr-pm/pull/15Patch, Third Party Advisory
- https://github.com/jordansissel/ruby-arr-pm/security/advisories/GHSA-88cv-mj24-8w3qExploit, Third Party Advisory
- https://github.com/jordansissel/ruby-arr-pm/pull/14Patch, Third Party Advisory
- https://github.com/jordansissel/ruby-arr-pm/pull/15Patch, Third Party Advisory
- https://github.com/jordansissel/ruby-arr-pm/security/advisories/GHSA-88cv-mj24-8w3qExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-39224?
How severe is CVE-2022-39224?
How do I fix CVE-2022-39224?
Are you affected by CVE-2022-39224?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
