CVE-2021-21351
XStream is vulnerable to an Arbitrary Code Execution attack
- Publié
- 22 mars 2021
- Mise à jour
- 7 oct. 2026
- Attribution de CNA
- GitHub_M
CVSS primaire
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HÉlevé · 30 prochains jours
- Percentile
- 99,7 %
- Date du modèle
- 6 nov. 2026
EPSS est une estimation statistique, et non une certitude ou une mesure d'impact. Combinez-le avec CVSS, le statut KEV, l'exposition et votre environnement.
Résumé
XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability 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.
Sources
- XStream Deserialization Command ExecutionLaboratoire
xstream/CVE-2021-21351
XStream Deserialization Remote Command Execution (CVE-2021-21351)
Vulhub vulnerability labsConditions déclarées
- lab image version: vulhub/xstream:1.4.15(xstream/CVE-2021-21351/docker-compose.yml:services.web.image)
http/cves/2021/CVE-2021-21351.yaml
Nuclei TemplatesConditions déclarées
- network: http($.protocol_keys)
- verification: status,word($.matchers[*].type)
- oob: interactsh_reference($.template_text)
Utilisation responsable
Utilisez les informations de vulnérabilité uniquement sur les systèmes que vous possédez ou que vous êtes autorisé à tester. Kitploit renvoie aux métadonnées de la recherche publique et ne stocke pas de code d'exploitation ni de charges utiles malveillantes.