gsd-2021-28965
Vulnerability from gsd
Modified
2021-04-05 00:00
Details
When parsing and serializing a crafted XML document, REXML gem (including
the one bundled with Ruby) can create a wrong XML document whose structure
is different from the original one.
Aliases
Aliases
{ "GSD": { "alias": "CVE-2021-28965", "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.", "id": "GSD-2021-28965", "references": [ "https://www.suse.com/security/cve/CVE-2021-28965.html", "https://www.debian.org/security/2022/dsa-5066", "https://access.redhat.com/errata/RHSA-2022:0582", "https://access.redhat.com/errata/RHSA-2022:0581", "https://access.redhat.com/errata/RHSA-2021:2588", "https://access.redhat.com/errata/RHSA-2021:2587", "https://access.redhat.com/errata/RHSA-2021:2584", "https://access.redhat.com/errata/RHSA-2021:2230", "https://access.redhat.com/errata/RHSA-2021:2229", "https://access.redhat.com/errata/RHSA-2021:2104", "https://ubuntu.com/security/CVE-2021-28965", "https://advisories.mageia.org/CVE-2021-28965.html", "https://security.archlinux.org/CVE-2021-28965", "https://alas.aws.amazon.com/cve/html/CVE-2021-28965.html", "https://linux.oracle.com/cve/CVE-2021-28965.html" ] }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "affected": [ { "package": { "ecosystem": "RubyGems", "name": "rexml", "purl": "pkg:gem/rexml" } } ], "aliases": [ "CVE-2021-28965", "GHSA-8cr8-4vfw-mr7h" ], "details": "When parsing and serializing a crafted XML document, REXML gem (including\nthe one bundled with Ruby) can create a wrong XML document whose structure\nis different from the original one.\n", "id": "GSD-2021-28965", "modified": "2021-04-05T00:00:00.000Z", "published": "2021-04-05T00:00:00.000Z", "references": [ { "type": "WEB", "url": "https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/" } ], "schema_version": "1.4.0", "severity": [ { "score": 7.5, "type": "CVSS_V3" } ], "summary": "XML round-trip vulnerability in REXML" } }, "namespaces": { "cve.org": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2021-28965", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "product": { "product_data": [ { "product_name": "n/a", "version": { "version_data": [ { "version_value": "n/a" } ] } } ] }, "vendor_name": "n/a" } ] } }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "references": { "reference_data": [ { "name": "https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/", "refsource": "MISC", "url": "https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/" }, { "name": "FEDORA-2021-7b8b65bc7a", "refsource": "FEDORA", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/" }, { "name": "https://security.netapp.com/advisory/ntap-20210528-0003/", "refsource": "CONFIRM", "url": "https://security.netapp.com/advisory/ntap-20210528-0003/" } ] } }, "github.com/rubysec/ruby-advisory-db": { "cve": "2021-28965", "cvss_v3": 7.5, "date": "2021-04-05", "description": "When parsing and serializing a crafted XML document, REXML gem (including\nthe one bundled with Ruby) can create a wrong XML document whose structure\nis different from the original one.\n", "gem": "rexml", "ghsa": "8cr8-4vfw-mr7h", "patched_versions": [ "~\u003e 3.1.9.1", "~\u003e 3.2.3.1", "\u003e= 3.2.5" ], "title": "XML round-trip vulnerability in REXML", "url": "https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/" }, "gitlab.com": { "advisories": [ { "affected_range": "\u003c3.2.5", "affected_versions": "All versions before 3.2.5", "cvss_v2": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2023-08-08", "description": "The REXML gem does not properly address XML round-trip issues. An incorrect document can be produced after parsing and serializing.", "fixed_versions": [ "3.2.5" ], "identifier": "CVE-2021-28965", "identifiers": [ "CVE-2021-28965" ], "not_impacted": "All versions starting from 3.2.5", "package_slug": "gem/rexml", "pubdate": "2021-04-21", "solution": "Upgrade to version 3.2.5 or above.", "title": "Improper Restriction of XML External Entity Reference", "urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2021-28965" ], "uuid": "d3422009-4cd3-49e6-bc8a-b0581fed6612" } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "3.0.1", "versionStartIncluding": "3.0.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "2.7.3", "versionStartIncluding": "2.7.0", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*", "cpe_name": [], "versionEndExcluding": "2.6.7", "vulnerable": true }, { "cpe23Uri": "cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*", "cpe_name": [], "versionEndExcluding": "3.2.5", "vulnerable": true } ], "operator": "OR" }, { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "cve@mitre.org", "ID": "CVE-2021-28965" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "CWE-611" } ] } ] }, "references": { "reference_data": [ { "name": "https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/", "refsource": "MISC", "tags": [ "Vendor Advisory" ], "url": "https://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/" }, { "name": "FEDORA-2021-7b8b65bc7a", "refsource": "FEDORA", "tags": [ "Mailing List", "Third Party Advisory" ], "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WTVFTLFVCSUE5CXHINJEUCKSHU4SWDMT/" }, { "name": "https://security.netapp.com/advisory/ntap-20210528-0003/", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://security.netapp.com/advisory/ntap-20210528-0003/" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 5.0, "confidentialityImpact": "NONE", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N", "version": "2.0" }, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "NONE", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N", "version": "3.1" }, "exploitabilityScore": 3.9, "impactScore": 3.6 } }, "lastModifiedDate": "2021-06-02T18:37Z", "publishedDate": "2021-04-21T07:15Z" } } }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.