Advisory

GHSA-8cr8-4vfw-mr7h

Also known as: BIT-ruby-2021-28965, BIT-ruby-min-2021-28965, CVE-2021-28965

Summary

REXML round-trip instability

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-04-30 17:30 UTC
Modified
2025-01-27 08:58 UTC

Affected packages and fixes

rexml

RubyGems · All systems

Affected

  • introduced 0, fixed 3.2.5 (ecosystem)

Fixed versions

3.2.5

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences