{"id":"CVE-2021-21349","published":"2021-03-22T23:45:24Z","modified":"2026-10-07T18:45:42Z","title":"A Server-Side Forgery Request can be activated unmarshalling with XStream to access data streams from an arbitrary URL…","vendor":"x-stream","product":"xstream","tier":"tail","description":{"text":"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 request data from internal resources that are not publicly available 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.46826,"percentile":0.98856,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://x-stream.github.io/security.html#workaround","tags":["x_refsource_MISC"]},{"url":"http://x-stream.github.io/changes.html#1.4.16","tags":["x_refsource_MISC"]},{"url":"https://github.com/x-stream/xstream/security/advisories/GHSA-f6hm-88x3-mfjv","tags":["x_refsource_CONFIRM"]},{"url":"https://x-stream.github.io/CVE-2021-21349.html","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/04/msg00002.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9ac71b047767205aa22e3a08cb33f3e0586de6b2fac48b425c6e16b0%40%3Cdev.jmeter.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r8244fd0831db894d5e89911ded9c72196d395a90ae655414d23ed0dd%40%3Cusers.activemq.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20210430-0002/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/22KVR6B5IZP3BGQ3HPWIO2FWWCKT3DHP/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QGXIU3YDPG6OGTDHMBLAFN7BPBERXREB/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PVPHZA7VW2RRSDCOIPP2W6O5ND254TU7/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2021/dsa-5004","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":29.0,"factors":[{"name":"EPSS percentile","points":19.77},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2021-05-09","earliestUrl":"https://github.com/s-index/CVE-2021-21349","repos":[{"name":"s-index/CVE-2021-21349","url":"https://github.com/s-index/CVE-2021-21349","stars":1,"created":"2021-05-09"}]},"first":{"date":"2021-05-09","source":"PoC-in-GitHub","url":"https://github.com/s-index/CVE-2021-21349"},"provenance":"source"},"vendorSlug":"x-stream","affectedVersions":[{"vendor":"x-stream","product":"xstream","versions":["< 1.4.16"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-07T18:45:30.622158Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.thoughtworks.xstream:xstream","vulnerableRanges":["<1.4.16"],"patched":["1.4.16"],"from":["GHSA-f6hm-88x3-mfjv"],"provenance":"source"}],"summary":{"text":"The XStream Java library for serializing objects to XML and back, before version 1.4.16, contains a flaw that is part of its unmarshalling (deserialization) handling of processed input streams.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:03:30Z"},"euvd":{"id":"EUVD-2021-0651","exploited":false,"provenance":"source"}}