Security mailing lists by PureSourceCode

CVE-2021-28965

HIGH 7.5CVSS 3.1

REXML round-trip instability

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.

Published
21 Apr 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-115CWE-611
Also known as
BIT-ruby-2021-28965BIT-ruby-min-2021-28965GHSA-8cr8-4vfw-mr7h
Sources
NVDJSONOSV GHSA-8cr8-4vfw-mr7hJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ruby-lang rexml
cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*
< 3.2.5 3.2.5
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
< 2.6.7 2.6.7
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 2.7.0, < 2.7.3 2.7.3
NVD ruby-lang ruby
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.1 3.0.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
OSV RubyGems rexml < 3.2.5 3.2.5

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 21 Apr 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Apr 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.