CVE-2021-39140: XStream is a simple library to serialize objects to XML and back again
56
This month
MEDIUM 6.5WATCHLISTUPGRADEMITIGATEMITIGATE
CVE-2021-39140 is a medium-severity flaw (CVSS 6.5) affecting xstream, debian linux, fedora. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a payload resulting in a denial of service 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
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-39140?
xstream: upgrade to 1.4.18; debian linux: mitigate or apply the listed mitigation; fedora: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-39140 being exploited?
CVE-2021-39140 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-39140 affect?
CVE-2021-39140 affects xstream, debian linux, fedora. Severity is medium (CVSS 6.5). XStream is a simple library to serialize objects to XML and back again. In affected versions this vulnerability may allow a remote attacker to allocate 100% CPU time on the target system depending on CPU type or parallel execution of such a
How urgent is CVE-2021-39140?
Priority 56/100. EPSS top 7%: very likely to be exploited; Public exploit reference; On your watchlist
CVE-2013-7285CRITICAL 9.8DOWNGRADEDOWNGRADE Xstream API versions up to 1.4.6 and version 1.4.10, if the security framework has not been initialized, may a
CVE-2021-39153HIGH 8.5UPGRADEMITIGATE XStream is a simple library to serialize objects to XML and back again
CVE-2021-39152HIGH 8.5UPGRADEMITIGATE XStream is a simple library to serialize objects to XML and back again
CVE-2021-39151HIGH 8.5UPGRADEMITIGATE XStream is a simple library to serialize objects to XML and back again
CVE-2021-39150HIGH 8.5UPGRADEMITIGATE XStream is a simple library to serialize objects to XML and back again