CVE-2021-28965
Public on 2021-04-21
Modified on 2024-11-06
Description
A flaw was found in the way the Ruby REXML library parsed XML documents. Parsing a specially crafted XML document using REXML and writing parsed data back to a new XML document results in creating a document with a different structure. This issue could affect the integrity of processed data in applications using REXML that parse XML documents, write data back to XML, and re-parse them again.
Severity
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 2 - Core | ruby | 2024-09-12 | ALAS2-2024-2637 | Fixed |
Amazon Linux 2 - Ruby2.6 Extra | ruby | 2023-08-21 | ALAS2RUBY2.6-2023-006 | Fixed |
Amazon Linux 2 - Ruby3.0 Extra | ruby | 2023-08-21 | ALAS2RUBY3.0-2023-007 | Fixed |
Amazon Linux 1 | ruby24 | 2021-05-14 | ALAS-2021-1501 | Fixed |
Amazon Linux 2023 | ruby3.2 | Not Affected |
CVSS Scores
Score Type | Score | Vector | |
---|---|---|---|
Amazon Linux | CVSSv3 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
NVD | CVSSv2 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
NVD | CVSSv3 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |