XML External Entity (XXE) Injection Affecting rubygem-psych package, versions <0:3.1.0-136.module+el8.4.0+10728+4c884998


Severity

Recommended
medium

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.11% (44th 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-CENTOS8-RUBYGEMPSYCH-2112460
  • published 26 Jul 2021
  • disclosed 5 Apr 2021

How to fix?

Upgrade Centos:8 rubygem-psych to version 0:3.1.0-136.module+el8.4.0+10728+4c884998 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rubygem-psych package and not the rubygem-psych package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.

CVSS Scores

version 3.1
Expand this section

NVD

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

Red Hat

7.5 high
Expand this section

SUSE

5.3 medium