CVE-2021-21346
XStream is vulnerable to an Arbitrary Code Execution attack
MEDIUM 6.1
En bref
- Source
- NVD
- EPSS
- EPSS 76.37 % · centile 100 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Description
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability which may allow a remote attacker to load and execute arbitrary code from a remote host only by manipulating the processed input stream. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types. If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
Faiblesses (CWE)
- CWE-434 — Téléversement sans restriction d'un fichier de type dangereux
- CWE-502 — Désérialisation de données non fiables
Références
- https://x-stream.github.io/security.html#workaround
- http://x-stream.github.io/changes.html#1.4.16
- https://github.com/x-stream/xstream/security/advisories/GHSA-4hrm-m67v-5cxr
- https://x-stream.github.io/CVE-2021-21346.html
- https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html
- https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E
- https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210430-0002/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/
- https://www.debian.org/security/2021/dsa-5004
- https://www.oracle.com/security-alerts/cpujan2022.html
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N | GitHub_M |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-4hrm-m67v-5cxr — XStream is vulnerable to an Arbitrary Code Execution attack
Références européennes
- ENISA EUVD · EUVD-2021-0596
- GCVE · GCVE-0-2021-21346
Avis du CERT-FR
- CERTFR-2021-AVI-951 — Multiples vulnérabilités dans le noyau Linux de RedHat · cert.ssi.gouv.fr
- CERTFR-2021-AVI-948 — Multiples vulnérabilités dans les produits SAP · cert.ssi.gouv.fr
- CERTFR-2021-AVI-943 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2021-AVI-490 — Multiples vulnérabilités dans IBM Spectrum Protect · cert.ssi.gouv.fr
- CERTFR-2021-AVI-407 — Multiples vulnérabilités dans le noyau Linux de Red Hat · cert.ssi.gouv.fr
- CERTFR-2021-AVI-395 — Multiples vulnérabilités dans IBM Spectrum Control · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*cpe:2.3:a:apache:activemq:*:*:*:*:*:*:*:*< 5.15.14cpe:2.3:a:apache:activemq:5.16.0:*:*:*:*:*:*:*cpe:2.3:a:apache:activemq:5.16.1:*:*:*:*:*:*:*cpe:2.3:a:apache:jmeter:*:*:*:*:*:*:*:*< 5.5cpe:2.3:a:xstream:xstream:*:*:*:*:*:*:*:*< 1.4.16cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_enterprise_default_management:2.10.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_enterprise_default_management:2.12.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.7.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.9.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_platform:2.12.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_virtual_account_management:14.2.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_virtual_account_management:14.3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:banking_virtual_account_management:14.5.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:bi_publisher:5.5.0.0.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:bi_publisher:12.2.1.3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:bi_publisher:12.2.1.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:business_activity_monitoring:11.1.1.9.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:business_activity_monitoring:12.2.1.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_billing_and_revenue_management_elastic_charging_engine:12.0.0.3.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_policy_management:12.5.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.2:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.4:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_unified_inventory_management:7.3.5:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:communications_unified_inventory_management:7.4.1:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_xstore_point_of_service:16.0.6:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_xstore_point_of_service:17.0.4:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_xstore_point_of_service:18.0.3:*:*:*:*:*:*:*cpe:2.3:a:oracle:retail_xstore_point_of_service:19.0.2:*:*:*:*:*:*:*cpe:2.3:a:oracle:webcenter_portal:11.1.1.9.0:*:*:*:*:*:*:*cpe:2.3:a:oracle:webcenter_portal:12.2.1.3.0:*:*:*:*:*:*:*- +1 autres
Produits affectés
| Produit | Versions |
|---|---|
| x-stream · xstream | affected < 1.4.16 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |