CVE-2013-4271: Org.restlet Restlet Arbitrary Java Code Execution Vulnerability
HIGHCVE-2013-4271 is a HIGH restlet arbitrary java code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Org.restlet libraries in the Maven ecosystem. The issue involves restlet arbitrary java code execution via a serialized object. Remediation is available by upgrading affected packages to version 2.1.4.
CVE-2013-4271 at a Glance
How to Fix CVE-2013-4271
To remediate this vulnerability, upgrade all affected Org.restlet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.restlet.jse</groupId>
<artifactId>org.restlet</artifactId>
<version>2.1.4</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.restlet.jse
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2013-4271, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.restlet.jse
Analyze the terminal output to locate any version of Org.restlet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.4), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.restlet.jse command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Org.restlet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2013-4271 Affected Org.restlet Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.restlet.jse:org.restlet
|
Maven |
< 2.1.4
|
2.1.4
|
References
Frequently Asked Questions
What is CVE-2013-4271?
Which Org.restlet versions are affected?
What version fixes CVE-2013-4271?
Is org.restlet affected?
What CWE is associated with CVE-2013-4271?
How can I check Maven dependencies for CVE-2013-4271?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f3mv-g3xr-fp7w",
"modified" : "2023-08-29T18:02:19Z",
"published" : "2022-05-17T03:28:57Z",
"aliases" : [ "CVE-2013-4271" ],
"summary" : "Restlet Arbitrary Java Code Execution via a serialized object",
"details" : "The default configuration of the ObjectRepresentation class in Restlet before 2.1.4 deserializes objects from untrusted sources, which allows remote attackers to execute arbitrary Java code via a serialized object, a different vulnerability than CVE-2013-4221.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.restlet.jse:org.restlet"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4271"
}, {
"type" : "WEB",
"url" : "https://github.com/restlet/restlet-framework-java/issues/778"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=999735"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/restlet/restlet-framework-java"
}, {
"type" : "WEB",
"url" : "http://restlet.org/learn/2.1/changes"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-1410.html"
}, {
"type" : "WEB",
"url" : "http://rhn.redhat.com/errata/RHSA-2013-1862.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-29T18:02:19Z",
"nvd_published_at" : "2013-10-10T00:55:00Z"
}
}