CVE-2013-4221 — org.restlet
Fix: restlet/restlet-framework-java@b85c2efCVE-2013-4221 is a CWE-16 vulnerability in org.restlet.jse:org.restlet. A fix is available for org.restlet.jse:org.restlet — see the affected versions and patch details below.
Restlet is vulnerable to Arbitrary Java Code Execution via crafted XML
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.restlet.jse:org.restletReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources using the Java XMLDecoder, which allows remote attackers to execute arbitrary Java code via crafted XML.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.restlet.jse:org.restlet | all versions | 2.1.4org.restlet.jse:org.restlet:2.1.4 |
Affected Products
restletrestletDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.restlet.jse:org.restlet, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.restlet.jse:org.restlet to 2.1.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2013-4221 is resolved across your whole dependency graph.
Workarounds
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade.
Frequently Asked Questions
Is CVE-2013-4221 in your dependencies?
Find it across Maven, including transitive dependencies.