XML External Entity (XXE) Injection Affecting rubygem-mongo package, versions <0:2.11.3-1.module+el8.3.0+7192+4e3a532a
Threat Intelligence
EPSS
0.11% (44th
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-CENTOS8-RUBYGEMMONGO-2113369
- published 26 Jul 2021
- disclosed 5 Apr 2021
Introduced: 5 Apr 2021
CVE-2021-28965 Open this link in a new tabHow to fix?
Upgrade Centos:8 rubygem-mongo to version 0:2.11.3-1.module+el8.3.0+7192+4e3a532a or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream rubygem-mongo package and not the rubygem-mongo package as distributed by Centos.
See How to fix? for Centos:8 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.netapp.com/advisory/ntap-20210528-0003/
- https://access.redhat.com/security/cve/CVE-2021-28965
- 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://access.redhat.com/errata/RHSA-2021:2584
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/
CVSS Scores
version 3.1