rhsa-2021_0162
Vulnerability from csaf_redhat
Published
2021-01-18 18:34
Modified
2024-11-05 23:12
Summary
Red Hat Security Advisory: xstream security update
Notes
Topic
An update for xstream is now available for Red Hat Enterprise Linux 7.
Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
Details
XStream is a Java XML serialization library to serialize objects to and deserialize object from XML.
Security Fix(es):
* XStream: remote code execution due to insecure XML deserialization when relying on blocklists (CVE-2020-26217)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Terms of Use
This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.
{ "document": { "aggregate_severity": { "namespace": "https://access.redhat.com/security/updates/classification/", "text": "Important" }, "category": "csaf_security_advisory", "csaf_version": "2.0", "distribution": { "text": "Copyright \u00a9 Red Hat, Inc. All rights reserved.", "tlp": { "label": "WHITE", "url": "https://www.first.org/tlp/" } }, "lang": "en", "notes": [ { "category": "summary", "text": "An update for xstream is now available for Red Hat Enterprise Linux 7.\n\nRed Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.", "title": "Topic" }, { "category": "general", "text": "XStream is a Java XML serialization library to serialize objects to and deserialize object from XML.\n\nSecurity Fix(es):\n\n* XStream: remote code execution due to insecure XML deserialization when relying on blocklists (CVE-2020-26217)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.", "title": "Details" }, { "category": "legal_disclaimer", "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.", "title": "Terms of Use" } ], "publisher": { "category": "vendor", "contact_details": "https://access.redhat.com/security/team/contact/", "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.", "name": "Red Hat Product Security", "namespace": "https://www.redhat.com" }, "references": [ { "category": "self", "summary": "https://access.redhat.com/errata/RHSA-2021:0162", "url": "https://access.redhat.com/errata/RHSA-2021:0162" }, { "category": "external", "summary": "https://access.redhat.com/security/updates/classification/#important", "url": "https://access.redhat.com/security/updates/classification/#important" }, { "category": "external", "summary": "1898907", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1898907" }, { "category": "self", "summary": "Canonical URL", "url": "https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_0162.json" } ], "title": "Red Hat Security Advisory: xstream security update", "tracking": { "current_release_date": "2024-11-05T23:12:25+00:00", "generator": { "date": "2024-11-05T23:12:25+00:00", "engine": { "name": "Red Hat SDEngine", "version": "4.1.1" } }, "id": "RHSA-2021:0162", "initial_release_date": "2021-01-18T18:34:31+00:00", "revision_history": [ { "date": "2021-01-18T18:34:31+00:00", "number": "1", "summary": "Initial version" }, { "date": "2021-01-18T18:34:31+00:00", "number": "2", "summary": "Last updated version" }, { "date": "2024-11-05T23:12:25+00:00", "number": "3", "summary": "Last generated version" } ], "status": "final", "version": "3" } }, "product_tree": { "branches": [ { "branches": [ { "branches": [ { "category": "product_name", "name": "Red Hat Enterprise Linux Client Optional (v. 7)", "product": { "name": "Red Hat Enterprise Linux Client Optional (v. 7)", "product_id": "7Client-optional-7.9.Z", "product_identification_helper": { "cpe": "cpe:/o:redhat:enterprise_linux:7::client" } } }, { "category": "product_name", "name": "Red Hat Enterprise Linux ComputeNode Optional (v. 7)", "product": { "name": "Red Hat Enterprise Linux ComputeNode Optional (v. 7)", "product_id": "7ComputeNode-optional-7.9.Z", "product_identification_helper": { "cpe": "cpe:/o:redhat:enterprise_linux:7::computenode" } } }, { "category": "product_name", "name": "Red Hat Enterprise Linux Server Optional (v. 7)", "product": { "name": "Red Hat Enterprise Linux Server Optional (v. 7)", "product_id": "7Server-optional-7.9.Z", "product_identification_helper": { "cpe": "cpe:/o:redhat:enterprise_linux:7::server" } } }, { "category": "product_name", "name": "Red Hat Enterprise Linux Workstation Optional (v. 7)", "product": { "name": "Red Hat Enterprise Linux Workstation Optional (v. 7)", "product_id": "7Workstation-optional-7.9.Z", "product_identification_helper": { "cpe": "cpe:/o:redhat:enterprise_linux:7::workstation" } } } ], "category": "product_family", "name": "Red Hat Enterprise Linux" }, { "branches": [ { "category": "product_version", "name": "xstream-0:1.3.1-12.el7_9.src", "product": { "name": "xstream-0:1.3.1-12.el7_9.src", "product_id": "xstream-0:1.3.1-12.el7_9.src", "product_identification_helper": { "purl": "pkg:rpm/redhat/xstream@1.3.1-12.el7_9?arch=src" } } } ], "category": "architecture", "name": "src" }, { "branches": [ { "category": "product_version", "name": "xstream-0:1.3.1-12.el7_9.noarch", "product": { "name": "xstream-0:1.3.1-12.el7_9.noarch", "product_id": "xstream-0:1.3.1-12.el7_9.noarch", "product_identification_helper": { "purl": "pkg:rpm/redhat/xstream@1.3.1-12.el7_9?arch=noarch" } } }, { "category": "product_version", "name": "xstream-javadoc-0:1.3.1-12.el7_9.noarch", "product": { "name": "xstream-javadoc-0:1.3.1-12.el7_9.noarch", "product_id": "xstream-javadoc-0:1.3.1-12.el7_9.noarch", "product_identification_helper": { "purl": "pkg:rpm/redhat/xstream-javadoc@1.3.1-12.el7_9?arch=noarch" } } } ], "category": "architecture", "name": "noarch" } ], "category": "vendor", "name": "Red Hat" } ], "relationships": [ { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux Client Optional (v. 7)", "product_id": "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7Client-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.src as a component of Red Hat Enterprise Linux Client Optional (v. 7)", "product_id": "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src" }, "product_reference": "xstream-0:1.3.1-12.el7_9.src", "relates_to_product_reference": "7Client-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-javadoc-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux Client Optional (v. 7)", "product_id": "7Client-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-javadoc-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7Client-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux ComputeNode Optional (v. 7)", "product_id": "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7ComputeNode-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.src as a component of Red Hat Enterprise Linux ComputeNode Optional (v. 7)", "product_id": "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src" }, "product_reference": "xstream-0:1.3.1-12.el7_9.src", "relates_to_product_reference": "7ComputeNode-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-javadoc-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux ComputeNode Optional (v. 7)", "product_id": "7ComputeNode-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-javadoc-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7ComputeNode-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux Server Optional (v. 7)", "product_id": "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7Server-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.src as a component of Red Hat Enterprise Linux Server Optional (v. 7)", "product_id": "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src" }, "product_reference": "xstream-0:1.3.1-12.el7_9.src", "relates_to_product_reference": "7Server-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-javadoc-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux Server Optional (v. 7)", "product_id": "7Server-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-javadoc-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7Server-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux Workstation Optional (v. 7)", "product_id": "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7Workstation-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-0:1.3.1-12.el7_9.src as a component of Red Hat Enterprise Linux Workstation Optional (v. 7)", "product_id": "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src" }, "product_reference": "xstream-0:1.3.1-12.el7_9.src", "relates_to_product_reference": "7Workstation-optional-7.9.Z" }, { "category": "default_component_of", "full_product_name": { "name": "xstream-javadoc-0:1.3.1-12.el7_9.noarch as a component of Red Hat Enterprise Linux Workstation Optional (v. 7)", "product_id": "7Workstation-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" }, "product_reference": "xstream-javadoc-0:1.3.1-12.el7_9.noarch", "relates_to_product_reference": "7Workstation-optional-7.9.Z" } ] }, "vulnerabilities": [ { "cve": "CVE-2020-26217", "cwe": { "id": "CWE-502", "name": "Deserialization of Untrusted Data" }, "discovery_date": "2020-11-18T00:00:00+00:00", "ids": [ { "system_name": "Red Hat Bugzilla ID", "text": "1898907" } ], "notes": [ { "category": "description", "text": "A flaw was found in xstream. An unsafe deserialization of user-supplied XML, in conjunction with relying on the default deny list, allows a remote attacker to perform a variety of attacks including a remote code execution of arbitrary code in the context of the JVM running the XStream application. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.", "title": "Vulnerability description" }, { "category": "summary", "text": "XStream: remote code execution due to insecure XML deserialization when relying on blocklists", "title": "Vulnerability summary" }, { "category": "other", "text": "OpenShift Container Platform (OCP) delivers jenkins package with bundled XStream library. Due to JEP-200 Jenkins project [1] and advisory SECURITY-383 [2], OCP jenkins package is not affected by this flaw.\n\n[1] https://github.com/jenkinsci/jep/blob/master/jep/200/README.adoc\n[2] https://www.jenkins.io/security/advisory/2017-02-01/ (see SECURITY-383 / CVE-2017-2608)", "title": "Statement" }, { "category": "general", "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product\u0027s status, and are included for informational purposes to better understand the severity of this vulnerability.", "title": "CVSS score applicability" } ], "product_status": { "fixed": [ "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Client-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7ComputeNode-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Server-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Workstation-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" ] }, "references": [ { "category": "self", "summary": "Canonical URL", "url": "https://access.redhat.com/security/cve/CVE-2020-26217" }, { "category": "external", "summary": "RHBZ#1898907", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1898907" }, { "category": "external", "summary": "https://www.cve.org/CVERecord?id=CVE-2020-26217", "url": "https://www.cve.org/CVERecord?id=CVE-2020-26217" }, { "category": "external", "summary": "https://nvd.nist.gov/vuln/detail/CVE-2020-26217", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-26217" } ], "release_date": "2020-11-16T19:40:00+00:00", "remediations": [ { "category": "vendor_fix", "date": "2021-01-18T18:34:31+00:00", "details": "For details on how to apply this update, which includes the changes described in this advisory, refer to:\n\nhttps://access.redhat.com/articles/11258", "product_ids": [ "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Client-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7ComputeNode-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Server-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Workstation-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" ], "restart_required": { "category": "none" }, "url": "https://access.redhat.com/errata/RHSA-2021:0162" }, { "category": "workaround", "details": "Depending on the version of XStream used there are various usage patterns that mitigate this flaw, though we would strongly recommend using the allow list approach if at all possible as there are likely more class combinations the deny list approach may not address.\n\nAllow list approach\n```java\nXStream xstream = new XStream();\nXStream.setupDefaultSecurity(xstream);\nxstream.allowTypesByWildcard(new String[] {\"com.misc.classname\"})\n```\n\nDeny list for XStream 1.4.13\n```java\nxstream.denyTypes(new String[]{ \"javax.imageio.ImageIO$ContainsFilter\" });\nxstream.denyTypes(new Class[]{ java.lang.ProcessBuilder.class });\n```\n\nDeny list for XStream 1.4.7 -\u003e 1.4.12\n```java\nxstream.denyTypes(new String[]{ \"javax.imageio.ImageIO$ContainsFilter\" });\nxstream.denyTypes(new Class[]{ java.lang.ProcessBuilder.class, java.beans.EventHandler.class, java.lang.ProcessBuilder.class, java.lang.Void.class, void.class });\n```\n\nDeny list for versions prior to XStream 1.4.7\n```java\nxstream.registerConverter(new Converter() {\n public boolean canConvert(Class type) {\n return type != null \u0026\u0026 (type == java.beans.EventHandler.class || type == java.lang.ProcessBuilder.class || type == java.lang.Void.class || void.class || type.getName().equals(\"javax.imageio.ImageIO$ContainsFilter\") || Proxy.isProxy(type));\n }\n\n public Object unmarshal(HierarchicalStreamReader reader, UnmarshallingContext context) {\n throw new ConversionException(\"Unsupported type due to security reasons.\");\n }\n\n public void marshal(Object source, HierarchicalStreamWriter writer, MarshallingContext context) {\n throw new ConversionException(\"Unsupported type due to security reasons.\");\n }\n}, XStream.PRIORITY_LOW);\n```", "product_ids": [ "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Client-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7ComputeNode-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Server-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Workstation-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" ] } ], "scores": [ { "cvss_v3": { "attackComplexity": "HIGH", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "baseScore": 9.0, "baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "privilegesRequired": "NONE", "scope": "CHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "version": "3.1" }, "products": [ "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Client-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Client-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7ComputeNode-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7ComputeNode-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Server-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Server-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.noarch", "7Workstation-optional-7.9.Z:xstream-0:1.3.1-12.el7_9.src", "7Workstation-optional-7.9.Z:xstream-javadoc-0:1.3.1-12.el7_9.noarch" ] } ], "threats": [ { "category": "impact", "details": "Important" } ], "title": "XStream: remote code execution due to insecure XML deserialization when relying on blocklists" } ] }
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.