Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.restlet.jse/org.restlet
  4. ›
  5. CVE-2013-4221

CVE-2013-4221: XML Injection (aka Blind XPath Injection)

May 17, 2022 (updated August 29, 2023)

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.

References

  • blog.diniscruz.com/2013/08/using-xmldecoder-to-execute-server-side.html
  • restlet.org/learn/2.1/changes
  • rhn.redhat.com/errata/RHSA-2013-1410.html
  • rhn.redhat.com/errata/RHSA-2013-1862.html
  • bugzilla.redhat.com/show_bug.cgi?id=995275
  • github.com/advisories/GHSA-92j2-5r7p-6hjw
  • github.com/restlet/restlet-framework-java/issues/774
  • nvd.nist.gov/vuln/detail/CVE-2013-4221

Code Behaviors & Features

Detect and mitigate CVE-2013-4221 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.4

Fixed versions

  • 2.1.4

Solution

Upgrade to version 2.1.4 or above.

Impact 7.5 HIGH

AV:N/AC:L/Au:N/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-16
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-91: XML Injection (aka Blind XPath Injection)

Source file

maven/org.restlet.jse/org.restlet/CVE-2013-4221.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:53 +0000.