Description
Apache Brooklyn uses the SnakeYAML library for parsing YAML inputs. SnakeYAML allows the use of YAML tags to indicate that SnakeYAML should unmarshal data to a Java type. In the default configuration in Brooklyn before 0.10.0, SnakeYAML will allow unmarshalling to any Java type available on the classpath. This could provide an authenticated user with a means to cause the JVM running Brooklyn to load and run Java code without detection by Brooklyn. Such code would have the privileges of the Java process running Brooklyn, including the ability to open files and network connections, and execute system commands. There is known to be a proof-of-concept exploit using this vulnerability.
Remediation
References
https://brooklyn.apache.org/community/security/CVE-2016-8744.html
https://lists.apache.org/thread.html/3f4d09c1c1a3cdfd1da0a05c8362769b917c078eed5b6c2f8e37a761%40%3Cdev.brooklyn.apache.org%3E
Related Vulnerabilities
CVE-2022-34813 Vulnerability in maven package org.jenkins-ci.plugins:xpath-config-viewer
CVE-2019-10793 Vulnerability in maven package org.webjars.bower:dot-object
CVE-2021-44906 Vulnerability in maven package org.webjars.npm:minimist
CVE-2016-5018 Vulnerability in maven package tomcat:jasper
CVE-2009-4611 Vulnerability in maven package org.mortbay.jetty:jetty