Live threats

All CVEs / Ruby-arr-pm Project

CVE-2022-39224Ruby-arr-pm Project Ruby-arr-pm

High 7.8

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby-arr-pm.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
ruby-arr-pm_projectruby-arr-pm< 0.0.12

Official sources

References

Links published by the sources. Open them with care.