Improper Input Validation Affecting rexml package, versions <3.2.5


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.11% (45th 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 Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-REXML-1244518
  • published9 Apr 2021
  • disclosed5 Apr 2021
  • creditJuho Nurminen

Introduced: 5 Apr 2021

CVE-2021-28965  (opens in a new tab)
CWE-20  (opens in a new tab)

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.

CVSS Scores

version 3.1