XML External Entity (XXE) Injection Affecting ruby2.5 package, versions <2.5.5-3+deb10u4
Snyk CVSS
Attack Complexity
Low
Integrity
High
Threat Intelligence
EPSS
0.11% (43rd
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-DEBIAN10-RUBY25-1244601
- published 9 Apr 2021
- disclosed 21 Apr 2021
Introduced: 9 Apr 2021
CVE-2021-28965 Open this link in a new tabHow to fix?
Upgrade Debian:10
ruby2.5
to version 2.5.5-3+deb10u4 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream ruby2.5
package and not the ruby2.5
package as distributed by Debian
.
See How to fix?
for Debian:10
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.
References
- https://security-tracker.debian.org/tracker/CVE-2021-28965
- https://security.netapp.com/advisory/ntap-20210528-0003/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/
- https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/