# CVE-2021-40146: Remote Code Execution in Any23

Source: https://junglewise.ai/threats/cve-2021-40146-remote-code-execution-in-any23  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-09-13  
License: CC BY 4.0 with a link back

CVE-2021-40146 · Severity: low · CVSS 3.1 · Published 2021-09-13

Remote Code Execution in Any23

Technologies: [org.apache.any23:apache-any23 (Maven)](https://junglewise.ai/threats/technologies/org-apache-any23-apache-any23). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2021-40146 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-40146 being exploited in the wild.

**How severe is CVE-2021-40146?** Low severity, with a CVSS score of 3.1, published 13 September 2021.

**Which products and versions are affected?** org.apache.any23:apache-any23 (Maven) ECOSYSTEM:introduced=0,fixed=2.5.

**Is there a fix for CVE-2021-40146?** Yes. org.apache.any23:apache-any23 (Maven): upgrade to 2.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-40146?** Check whether you run org.apache.any23:apache-any23 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.apache.any23:apache-any23 (Maven): upgrade to 2.5 or later

  ```sh
  # set org.apache.any23:apache-any23 to 2.5 in your pom.xml or build.gradle
  ```


## Affected products

- org.apache.any23:apache-any23 (Maven) ECOSYSTEM:introduced=0,fixed=2.5

## Identifiers

- CVE-2021-40146
- GHSA-99px-7724-484v

## Related threats

- [Apache Any23 vulnerable to excessive memory usage](https://junglewise.ai/threats/cve-2023-34150-apache-any23-vulnerable-to-excessive-memory-usage)
- [Improper Restriction of XML External Entity Reference in Any23](https://junglewise.ai/threats/cve-2022-25312-improper-restriction-of-xml-external-entity-reference-in-any23)
- [XML Injection in Any23](https://junglewise.ai/threats/cve-2021-38555-xml-injection-in-any23)
