Chapter 1. Security Alerts
The following security alerts are know to affect 6.0:
- Security vulnerability in Camel Restlet component
- The
APPLICATION_JAVA_OBJECT
andAPPLICATION_JAVA_OBJECT_XML
media types are not safe to use from a security perspective. There is a weakness in the XML deserialization mechanism used by these media types, which allows a remote attacker to force the JVM to execute unwanted Java code embedded inside a specially-crafted request to the REST endpoint. By default,camel-restlet
uses theAPPLICATION_WWW_FORM
media type, which is not affected by this issue. It is possible to change the media type by setting theContent-Type
message header. If you do so, it is important to ensure you do not use theAPPLICATION_JAVA_OBJECT
andAPPLICATION_JAVA_OBJECT_XML
media types. These media types will be disabled entirely in a future release.