CVE-2022-39224
Summary
| CVE | CVE-2022-39224 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-09-21 23:15:00 UTC |
| Updated | 2022-09-26 13:41:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-78
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Ruby-arr-pm Project | Ruby-arr-pm | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Only attempt extraction if a known payload compressor is used. by jordansissel · Pull Request #15 · jordansissel/ruby-arr-pm · GitHub | MISC | github.com | |
| Refactor RPM::File#files by jordansissel · Pull Request #14 · jordansissel/ruby-arr-pm · GitHub | MISC | github.com | |
| Arbitrary shell execution when extracting or listing files contained in a malicious rpm. · Advisory · jordansissel/ruby-arr-pm · GitHub | CONFIRM | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.