CVE-2021-28965
ruby2.5 - security update
7.5
HIGH
CVSS 3.1
EPSS 0.58%
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.
How to fix CVE-2021-28965
To remediate CVE-2021-28965, upgrade the affected package to a fixed version below.
- Alpine/ruby—upgrade to 2.5.9-r0 or later
- —upgrade to 2.6.7 or later
- —upgrade to 2.6.7 or later
- —upgrade to 2.5.5-3+deb10u4 or later
- —upgrade to 2.7.3-1 or later
- —upgrade to 3.2.5 or later
Is CVE-2021-28965 being exploited?
Low — EPSS is 0.6%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 2.5.9-r0
- from 0, < 2.6.7, >= 2.7.0, < 2.7.3, >= 3.0.0, < 3.0.1
- from 0, < 2.6.7, >= 2.7.0, < 2.7.3, >= 3.0.0, < 3.0.1
- from 0, < 2.5.5-3+deb10u4
- from 0, < 2.7.3-1
- from 0, < 3.2.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |