Vulnérabilité dans com.thoughtworks.xstream:xstream (CVE-2021-21343)
Résumé
Vulnérabilité dans com.thoughtworks.xstream:xstream (CVE-2021-21343). Les données peuvent être altérées par des attaquants. Atténuation : mise à jour vers 1.4.16 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Impact
The processed stream at unmarshalling time contains type information to recreate the formerly written objects. XStream creates therefore new instances based on these type information. An attacker can manipulate the processed input stream and replace or inject objects, that result in the deletion of a file on the local host. No user is affected, who followed the recommendation to setup XStream's security framework with a whitelist limited to the minimal required types.
Patches
If you rely on XStream's default blacklist of the Security Framework, you will have to use at least version 1.4.16.
Workarounds
See workarounds for the different versions covering all CVEs.
References
See full information about the nature of the vulnerability and the steps to reproduce it in XStream's documentation for CVE-2021-21343.
Credits
钟潦贵 (Liaogui Zhong) found and reported the issue to XStream and provided the required information to reproduce it.
For more information
If you have any questions or comments about this advisory:
- Open an issue in XStream
- Contact us at XStream Google Group
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2021-21343 a été découverte dans com.thoughtworks.xstream:xstream.
Les données peuvent être altérées par des attaquants. Score CVSS : 5.3/10.
Action : mettez à jour com.thoughtworks.xstream:xstream vers 1.4.16 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « com.thoughtworks.xstream:xstream CVE-2021-21343 » sur le site de l'éditeur.
CVE-2021-21343 (com.thoughtworks.xstream:xstream) — CWE-73 / CVSS v3 5.3
Vecteur d'attaque : distant (réseau) / non authentifié
Correctif : 1.4.16 — appliquer immédiatement
Contournement : See workarounds for the different versions covering all CVEs.
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-73) affecte com.thoughtworks.xstream:xstream.
Consultez l'avis de l'éditeur pour les versions affectées de com.thoughtworks.xstream:xstream.
Gravité : Moyenne (CVSS 5.3/10). Les données peuvent être altérées par des attaquants.
Mettre à jour vers 1.4.16.
Contournement : See workarounds for the different versions covering all CVEs.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで com.thoughtworks.xstream:xstream を使っているサービスとバージョンを洗い出す。
-
2Apply temporary workaround mitigate
See [workarounds](https://x-stream.github.io/security.html#workaround) for the different versions covering all CVEs.パッチが適用されるまでの応急処置として、See workarounds for the different versions covering all CVEs. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Apply patch patch
Upgrade com.thoughtworks.xstream:xstream to 1.4.16ステージング環境で 1.4.16 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- advisory x-stream.github.io
- advisory github.com
- advisory lists.debian.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory security.netapp.com
- advisory debian.org
- advisory oracle.com
- advisory oracle.com
- advisory x-stream.github.io
- advisory lists.apache.org
- advisory lists.apache.org
- advisory nvd.nist.gov
- exploit x-stream.github.io
- package github.com
- patch oracle.com
- web lists.apache.org
- web lists.apache.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web security.netapp.com