{"id":"CVE-2021-39152","aliases":["GHSA-xw4p-crpj-vjx2"],"url":"https://o3.security/vulnerability/CVE-2021-39152","summary":"A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL referencing a resource in an intranet or the local host","details":"XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to request data from internal resources that are not publicly available only by manipulating the processed input stream with a Java runtime version 14 to 8. 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](https://x-stream.github.io/security.html#framework), you will have to use at least version 1.4.18.","published":"2021-08-23T19:15:13.247Z","modified":"2026-07-08T06:27:17.831087922Z","cvss":{"score":8.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Maven","name":"com.thoughtworks.xstream:xstream","fixedVersion":"1.4.18"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/x-stream/xstream/security/advisories/GHSA-xw4p-crpj-vjx2"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/09/msg00017.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210923-0003/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-5004"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpujan2022.html"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/"},{"type":"ARTICLE","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/"},{"type":"EVIDENCE","url":"https://x-stream.github.io/CVE-2021-39152.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T06:27:17.831087922Z"}}