PT-2022-5132 · Arr-Pm · Arr-Pm

Joernchen

·

Published

2022-09-21

·

Updated

2022-09-26

·

CVE-2022-39224

CVSS v3.1

7.0

High

VectorAV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Arr-pm versions prior to 0.0.12
Description The issue is related to OS command injection, which can result in shell execution if an RPM contains a malicious payload compressor field. This impacts the extract and files methods of the RPM::File class. To mitigate, ensure RPMs being processed contain valid payload compressor values such as gzip, bzip2, xz, zstd, and lzma. The payload compressor field in an RPM can be checked using the rpm command line tool.
Recommendations For versions prior to 0.0.12, update to version 0.0.12 to patch the issue. As a temporary workaround, ensure any RPMs being processed contain valid/known payload compressor values such as gzip, bzip2, xz, zstd, and lzma. Restrict access to the extract and files methods of the RPM::File class until the issue is resolved.

Exploit

Fix

XSS

OS Command Injection

Weakness Enumeration

Related Identifiers

BDU:2022-06388
CVE-2022-39224
GHSA-88CV-MJ24-8W3Q

Affected Products

Arr-Pm