CVE-2022-39224
HIGH 7.8CVSS 3.1arr-pm vulnerable to arbitrary shell execution when extracting or listing files contained in a malicious rpm.
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.
- Published
- 21 Sep 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-88cv-mj24-8w3q
- Sources
- NVDJSONOSV GHSA-88cv-mj24-8w3qJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-arr-pm_project | ruby-arr-pmcpe:2.3:a:ruby-arr-pm_project:ruby-arr-pm:*:*:*:*:*:ruby:*:* |
< 0.0.12 | 0.0.12 |
| OSV | RubyGems | arr-pm | < 0.0.12 | 0.0.12 |
References
- https://github.com/jordansissel/ruby-arr-pm/pull/14 · Patch, Third Party Advisory, WEB
- https://github.com/jordansissel/ruby-arr-pm/pull/15 · Patch, Third Party Advisory, WEB
- https://github.com/jordansissel/ruby-arr-pm/security/advisories/GHSA-88cv-mj24-8w3q · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-39224 · ADVISORY
- https://github.com/jordansissel/ruby-arr-pm · PACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/arr-pm/CVE-2022-39224.yml · WEB
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 21 Sep 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Sep 2022)