All CVEs / Ruby-arr-pm Project
CVE-2022-39224Ruby-arr-pm Project Ruby-arr-pm
High 7.8
Follow: this CVE · Ruby-arr-pm Project · Ruby-arr-pm Project Ruby-arr-pm We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 2.3% probability of exploitation in 30 days · percentile 84
- Auth required
- Yes
- Published
- Sep 21, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Ruby-arr-pm.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | arr-pm |
< 0.0.12 |
0.0.12 |
gem "arr-pm", ">= 0.0.12" |
Per OSV / GitHub Advisories (GHSA-88cv-mj24-8w3q). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-arr-pm_project | ruby-arr-pm | < 0.0.12 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory