XML External Entity (XXE) Injection Affecting ruby package, versions <2.7.3-r0


0.0
high

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    EPSS 0.11% (42nd percentile)
Expand this section
NVD
7.5 high
Expand this section
SUSE
5.3 medium
Expand this section
Red Hat
7.5 high

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-ALPINE312-RUBY-1247348
  • published 16 Apr 2021
  • disclosed 21 Apr 2021

How to fix?

Upgrade Alpine:3.12 ruby to version 2.7.3-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby package and not the ruby package as distributed by Alpine. See How to fix? for Alpine:3.12 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.