CVE-2013-4221
HIGH 7.5CVSS 2.0Restlet is vulnerable to Arbitrary Java Code Execution via crafted XML
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.
- Published
- 10 Oct 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-16CWE-91
- Also known as
- GHSA-92j2-5r7p-6hjw
- Sources
- NVDJSONOSV GHSA-92j2-5r7p-6hjwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:*:*:*:*:*:*:*:* |
<= 2.1.3 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:milestone1:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:milestone2:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:milestone3:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:milestone4:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:milestone5:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:milestone6:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:rc1:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:rc2:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:rc3:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:rc4:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:rc5:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1:rc6:*:*:*:*:*:* |
= 2.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1.0:*:*:*:*:*:*:* |
= 2.1.0 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1.1:*:*:*:*:*:*:* |
= 2.1.1 | |
| NVD | restlet | restletcpe:2.3:a:restlet:restlet:2.1.2:*:*:*:*:*:*:* |
= 2.1.2 | |
| OSV | Maven | org.restlet.jse:org.restlet | < 2.1.4 | 2.1.4 |
References
- http://blog.diniscruz.com/2013/08/using-xmldecoder-to-execute-server-side.html · Third Party Advisory, WEB
- http://restlet.org/learn/2.1/changes · Release Notes, Vendor Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-1410.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-1862.html · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=995275 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/restlet/restlet-framework-java/issues/774 · Issue Tracking, Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2013-4221 · ADVISORY
- https://github.com/restlet/restlet-framework-java/commit/b85c2ef182c69c5e2e21df008ccb249ccf80c7b · WEB
- https://github.com/restlet/restlet-framework-java · PACKAGE
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 10 Oct 2013)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)