Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. arr-pm
  4. ›
  5. CVE-2022-39224

CVE-2022-39224: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

September 21, 2022 (updated September 26, 2022)

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.

References

  • github.com/advisories/GHSA-88cv-mj24-8w3q
  • github.com/jordansissel/ruby-arr-pm/pull/14
  • github.com/jordansissel/ruby-arr-pm/pull/15
  • github.com/jordansissel/ruby-arr-pm/security/advisories/GHSA-88cv-mj24-8w3q

Code Behaviors & Features

Detect and mitigate CVE-2022-39224 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.0.12

Fixed versions

  • 0.0.12

Solution

Upgrade to version 0.0.12 or above.

Impact 7.8 HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

gem/arr-pm/CVE-2022-39224.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.