Bug 1947526 (CVE-2021-28965)
Summary: | CVE-2021-28965 ruby: XML round-trip vulnerability in REXML | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Guilherme de Almeida Suckevicz <gsuckevi> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | akarol, dmetzger, gmccullo, gtanzill, hhorak, jfrey, jhardy, joe, jorton, jprokop, kaycoth, mo, mtasaka, obarenbo, pvalena, roliveri, ruby-maint, ruby-packagers-sig, simaishi, smallamp, s, strzibny, vanmeeuwen+fedora, vmugicag, vondruch |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ruby 2.5.9, ruby 2.6.7, ruby 2.7.3, ruby 3.0.1, rubygem-rexml 3.2.5 | Doc Type: | If docs needed, set a value |
Doc Text: |
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.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-26 11:32:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1950949, 1947527, 1947528, 1947529, 1947530, 1950520, 1950521, 1950522, 1950523, 1950524, 1950525, 1950526, 1950527, 1954788, 1955057, 1956794, 1957118, 2055225, 2055235 | ||
Bug Blocks: | 1947531 |
Description
Guilherme de Almeida Suckevicz
2021-04-08 16:46:35 UTC
Created ruby tracking bugs for this issue: Affects: fedora-all [bug 1947527] Created ruby:2.6/ruby tracking bugs for this issue: Affects: fedora-33 [bug 1947528] Created ruby:2.7/ruby tracking bugs for this issue: Affects: fedora-33 [bug 1947529] Created ruby:master/ruby tracking bugs for this issue: Affects: fedora-all [bug 1947530] Red Hat CloudForms is in maintenance support 2 phase and we won't be fixing Low and Medium severity security issues. Please refer CloudForms updated Statement of Direction: https://access.redhat.com/articles/4639821 Fixed version of rexml is included in Ruby versions 2.5.9, 2.6.7, 2.7.3, and 3.0.1: https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-5-9-released/ https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-6-7-released/ https://www.ruby-lang.org/en/news/2021/04/05/ruby-2-7-3-released/ https://www.ruby-lang.org/en/news/2021/04/05/ruby-3-0-1-released/ The hackerone report for this issue is now public: https://hackerone.com/reports/1104077 The fix for this issue is split across multiple commits in the upstream repo: https://github.com/ruby/rexml/commit/a659c63e37414506dfb0d4655e031bb7a2e73fc8 https://github.com/ruby/rexml/commit/2fe62e29094d95921d7e19abbd2e26b23d78dc5b https://github.com/ruby/rexml/commit/6a250d2cd1194c2be72becbdd9c3e770aa16e752 https://github.com/ruby/rexml/commit/f7bab8937513b1403cea5aff874cbf32fd5e8551 https://github.com/ruby/rexml/commit/f9d88e4948b4a43294c25dc0edb16815bd9d8618 https://github.com/ruby/rexml/commit/9b311e59ae05749e082eb6bbefa1cb620d1a786e https://github.com/ruby/rexml/commit/3c137eb119550874b2b3e27d12b733ca67033377 Alternatively, the list of commits can be found at the end of the list of changes in rexml between versions 3.2.4 and 3.2.5: https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2021:2104 https://access.redhat.com/errata/RHSA-2021:2104 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2021-28965 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2021:2229 https://access.redhat.com/errata/RHSA-2021:2229 This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS Via RHSA-2021:2230 https://access.redhat.com/errata/RHSA-2021:2230 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:2584 https://access.redhat.com/errata/RHSA-2021:2584 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:2587 https://access.redhat.com/errata/RHSA-2021:2587 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2021:2588 https://access.redhat.com/errata/RHSA-2021:2588 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions Via RHSA-2022:0581 https://access.redhat.com/errata/RHSA-2022:0581 This issue has been addressed in the following products: Red Hat Enterprise Linux 8.2 Extended Update Support Via RHSA-2022:0582 https://access.redhat.com/errata/RHSA-2022:0582 |