Arbitrary shell execution when extracting or listing files contained in a malicious rpm.
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| jordansissel | ruby-arr-pm | before 0.0.12 | 0.0.12 | Patch available | CNA |
| — | arr-pm (RubyGems) | before 0.0.12 | 0.0.12 | Patch available | GHSA-88cv-mj24-8w3q |
- ruby-arr-pm Vendorjordansissel Affected before 0.0.12 Fixed in 0.0.12 Patch available CNA
- arr-pm (RubyGems) Vendor— Affected before 0.0.12 Fixed in 0.0.12 Patch available GHSA-88cv-mj24-8w3q
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-arr-pm_project:ruby-arr-pm:*:*:*:*:*:ruby:*:* | before 0.0.12 | Vulnerable | Ruby-arr-pm Project |
- cpe:2.3:a:ruby-arr-pm_project:ruby-arr-pm:*:*:*:*:*:ruby:*:* Versions before 0.0.12 Vulnerable ·Ruby-arr-pm Project
Remediation
- Fix · CNA ruby-arr-pm (jordansissel) Fixed in 0.0.12
- Fix · GHSA-88cv-mj24-8w3q arr-pm (RubyGems) Fixed in 0.0.12 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39224
- 2026-10-03 Alias added: GHSA-88cv-mj24-8w3q
References
Patch 2
Sources
- CVE-2022-39224 · CVE Program
- CVE-2022-39224 · NVD
- FIRST EPSS
- GHSA-88cv-mj24-8w3q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences