CVE-20XX-?
agent?

CVE-2021-21342

5.3 MEDIUM 50% exploit odds Fix listed Code execution Library

What it is

XStream is a Java library to serialize objects to XML and back again. In XStream before version 1.4.16, there is a vulnerability where 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 a server-side forgery request. 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.

At a glance

Exploitability
Can be exploited over the network without logging in, but needs a user to act. High risk of data tampering.
Exploit odds
50.0% chance of exploitation in the next 30 days (EPSS). Higher than most.
Fix
A patch, advisory or fixed version is referenced. Upgrade or apply it.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Why it ranks here

Details

Published
Last modified
Exploit probability
50.0% · EPSS, next 30 days
Weakness
CWE-502 · Unsafe deserialization
Record status
Analyzed

Affected

Attack profile CVSS 3.1 · 5.3

Attack vector
Network
Complexity
High
Privileges needed
None
User interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None
Raw vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N

Is it in your code?

Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.

Read https://cve-list.com/agent/cve/CVE-2021-21342.md and follow it. Check whether this project is affected by CVE-2021-21342. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.

· More options · Status badge

Meme: I wake up, CVE-2021-21342
Download Square Reddit

Fix and advisories

References

NVD record · CVE.org record