Arbitrary Code Execution Affecting arr-pm package, versions <0.0.12


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.13% (49th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-ARRPM-3029570
  • published 22 Sep 2022
  • disclosed 21 Sep 2022
  • credit joernchen

How to fix?

Upgrade arr-pm to version 0.0.12 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution via the extract and files methods of the RPM::File. Exploiting this vulnerability is possible when using RPM::File#files and RPM::File#extract methods with a malicious payload compressor field in the RPM.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
7 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

NVD

7.8 high