WaratekVRT Sign in

CVE-2013-4221 Restlet

Affected softwareRestlet
Severity7.5 High CVSS 2.0
Fixed in2.1.4
WeaknessXML injection (CWE-91)
Published10 Oct 2013
Updated16 Jun 2026

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.

CWE-16

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 13 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 3.4% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-91: XML Injection.
Candidate fix https://bugzilla.redhat.com/show_bug.cgi?id=995275 : a Red Hat bug: the triage, which links onward to the fix

How to mitigate CVE-2013-4221

Upgrade Restlet to 2.1.4 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.restlet.jse:org.restlet 0 2.1.4 unbounded

Products and versions

2 products, 17 version entries
SourceVendorProductSchemeAffected versions
osv org.restlet.jse org.restlet generic < 2.1.4
nvd restlet restlet generic 2.1:milestone1 · 2.1:milestone2 · 2.1:milestone3 · 2.1:milestone4 · 2.1:milestone5 · 2.1:milestone6 · 2.1:rc1 · 2.1:rc2 · 2.1:rc3 · 2.1:rc4 · 2.1:rc5 · 2.1:rc6 · 2.1.0 · 2.1.1 · 2.1.2 · ≤ 2.1.3

References

URLTags
https://bugzilla.redhat.com/show_bug.cgi?id=995275 bugzilla
https://github.com/restlet/restlet-framework-java/issues/774 WEB
https://github.com/restlet/restlet-framework-java/commit/b85c2ef182c69c5e2e21df008ccb249ccf80c7b WEB
https://github.com/restlet/restlet-framework-java PACKAGE
http://blog.diniscruz.com/2013/08/using-xmldecoder-to-execute-server-side.html WEB
http://restlet.org/learn/2.1/changes WEB
http://rhn.redhat.com/errata/RHSA-2013-1410.html WEB
http://rhn.redhat.com/errata/RHSA-2013-1862.html WEB

Timeline

Published2013-10-10By the CVE Program.
NVD record modified2026-06-16NVD's own last-modified date for this record.