Improper Input Validation Affecting rexml package, versions <3.2.5


0.0
low

Snyk CVSS

    Attack Complexity High
    Privileges Required 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-RUBY-REXML-1244518
  • published 9 Apr 2021
  • disclosed 5 Apr 2021
  • credit Juho Nurminen

How to fix?

Upgrade rexml to version 3.2.5 or higher.

Overview

rexml is an An XML toolkit for Ruby.

Affected versions of this package are vulnerable to Improper Input Validation. When parsing and serializing a crafted XML document, REXML gem (including the one bundled with Ruby) can create a wrong XML document whose structure is different from the original one. The impact of this issue highly depends on context, but it may lead to a vulnerability in some programs that are using REXML.