CVE Vulnerabilities


Deserialization of Untrusted Data

Published: Oct 10, 2013 | Modified: Dec 06, 2016
CVSS 3.x
CVSS 2.x
7.5 HIGH

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.


The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid.

Affected Software

Name Vendor Start Version End Version
Restlet Restlet * 2.1.3 (including)
Restlet Restlet 2.1-milestone1 (including) 2.1-milestone1 (including)
Restlet Restlet 2.1-milestone2 (including) 2.1-milestone2 (including)
Restlet Restlet 2.1-milestone3 (including) 2.1-milestone3 (including)
Restlet Restlet 2.1-milestone4 (including) 2.1-milestone4 (including)
Restlet Restlet 2.1-milestone5 (including) 2.1-milestone5 (including)
Restlet Restlet 2.1-milestone6 (including) 2.1-milestone6 (including)
Restlet Restlet 2.1-rc1 (including) 2.1-rc1 (including)
Restlet Restlet 2.1-rc2 (including) 2.1-rc2 (including)
Restlet Restlet 2.1-rc3 (including) 2.1-rc3 (including)
Restlet Restlet 2.1-rc4 (including) 2.1-rc4 (including)
Restlet Restlet 2.1-rc5 (including) 2.1-rc5 (including)
Restlet Restlet 2.1-rc6 (including) 2.1-rc6 (including)
Restlet Restlet 2.1.0 (including) 2.1.0 (including)
Restlet Restlet 2.1.1 (including) 2.1.1 (including)
Restlet Restlet 2.1.2 (including) 2.1.2 (including)
Fuse ESB Enterprise 7.1.0 RedHat *
Fuse Management Console 7.1.0 RedHat *
Fuse MQ Enterprise 7.1.0 RedHat *
Red Hat JBoss A-MQ 6.0 RedHat *
Red Hat JBoss Fuse 6.0 RedHat *
Restlet Ubuntu artful *
Restlet Ubuntu bionic *
Restlet Ubuntu cosmic *
Restlet Ubuntu esm-apps/bionic *
Restlet Ubuntu esm-apps/xenial *
Restlet Ubuntu quantal *
Restlet Ubuntu raring *
Restlet Ubuntu saucy *
Restlet Ubuntu trusty *
Restlet Ubuntu upstream *
Restlet Ubuntu utopic *
Restlet Ubuntu vivid *
Restlet Ubuntu wily *
Restlet Ubuntu xenial *
Restlet Ubuntu yakkety *
Restlet Ubuntu zesty *

Extended Description

It is often convenient to serialize objects for communication or to save them for later use. However, deserialized data or code can often be modified without using the provided accessor functions if it does not use cryptography to protect itself. Furthermore, any cryptography would still be client-side security – which is a dangerous security assumption. Data that is untrusted can not be trusted to be well-formed. When developers place no restrictions on “gadget chains,” or series of instances and method invocations that can self-execute during the deserialization process (i.e., before the object is returned to the caller), it is sometimes possible for attackers to leverage them to perform unauthorized actions, like generating a shell.

Potential Mitigations

  • Make fields transient to protect them from deserialization.
  • An attempt to serialize and then deserialize a class containing transient fields will result in NULLs where the transient data should be. This is an excellent way to prevent time, environment-based, or sensitive variables from being carried over and used improperly.