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-2021-31597 Vulnerability in npm package xmlhttprequest-ssl
CVE-2023-24424 Vulnerability in maven package org.jenkins-ci.plugins:oic-auth
CVE-2022-41229 Vulnerability in maven package io.jenkins.plugins:cavisson-ns-nd-integration
CVE-2017-16149 Vulnerability in npm package zwserver
CVE-2020-36049 Vulnerability in maven package org.webjars.npm:socket.io-parser