CVE-2021-28965

Name
CVE-2021-28965
Description
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/
Third Party Advisory https://security.netapp.com/advisory/ntap-20210528-0003/

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:* ruby-rexml >= None < 3.2.5
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= None < 2.6.7
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 2.7.0 < 2.7.3
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* ruby >= 3.0.0 < 3.0.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
ruby 3.10-main 2.5.9-r0 Natanael Copa <ncopa@alpinelinux.org> fixed