此内容没有您所选择的语言版本。
Chapter 1. Security Alerts
The following security alerts are know to affect 6.0:
- Security vulnerability in Camel Restlet component
- The
APPLICATION_JAVA_OBJECTandAPPLICATION_JAVA_OBJECT_XMLmedia 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-restletuses theAPPLICATION_WWW_FORMmedia type, which is not affected by this issue. It is possible to change the media type by setting theContent-Typemessage header. If you do so, it is important to ensure you do not use theAPPLICATION_JAVA_OBJECTandAPPLICATION_JAVA_OBJECT_XMLmedia types. These media types will be disabled entirely in a future release.