# Improper Input Validation and Injection in Apache Log4j2

Advisory record · `GHSA-8489-44mv-ggj8`

- **Identifiers:** `GHSA-8489-44mv-ggj8` · `CVE-2021-44832`
- **State:** Confirmed
- **Severity:** CVSS 6.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-74](https://cwe.mitre.org/data/definitions/74.html)
- **Tags:** [Other injection](https://agentprime.io/advisories/tag/injection.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 4 Jan 2022
- **Updated:** 9 Jun 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 4 Jan 2022, 16:14 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `org.apache.logging.log4j:log4j-core` (Maven): affected `>=2.0-beta7, <2.3.2 || >=2.4, <2.12.4 || >=2.13.0, <2.17.1`; fixed in `2.3.2`, `2.12.4`, `2.17.1`
- `org.ops4j.pax.logging:pax-logging-log4j2` (Maven): affected `>=1.8.0, <1.9.2 || >=1.10.0, <1.10.9 || >=1.11.0, <1.11.13 || >=2.0.0, <2.0.14`; fixed in `1.9.2`, `1.10.9`, `1.11.13`, `2.0.14`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Apache Log4j2 (log4j-core) versions from 2.0-beta7 through 2.17.0, excluding 2.3.2 and 2.12.4, are vulnerable, as are pax-logging-log4j2 versions from 1.8.0 through 2.0.13. An attacker who can modify the logging configuration file could add a JDBC Appender whose data source uses a JNDI URI, potentially executing remote code. Upgrade log4j-core to 2.17.1, 2.12.4, or 2.3.2, and pax-logging-log4j2 to 1.9.2, 1.10.9, 1.11.13, or 2.0.14 as appropriate.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.6 Medium, CVSS 3.1: `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.98, the 99th percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:20 UTC: First seen by agentprime
- 31 Oct 2026, 14:20 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-8489-44mv-ggj8)

## Sources

- [GitHub Advisory Database: GHSA-8489-44mv-ggj8](https://github.com/advisories/GHSA-8489-44mv-ggj8)
- [OSV: GHSA-8489-44mv-ggj8](https://osv.dev/vulnerability/GHSA-8489-44mv-ggj8)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44832>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-784507.pdf>
- <https://github.com/apache/logging-log4j2>
- <https://issues.apache.org/jira/browse/LOG4J2-3293>
- <https://lists.apache.org/thread/s1o5vlo78ypqxnzn6p8zf6t9shtq5143>
- <https://lists.debian.org/debian-lts-announce/2021/12/msg00036.html>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EVV25FXL4FU5X6X5BSL7RLQ7T6F65MRA>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T57MPJUW3MA6QGWZRTMCHHMMPQNVKGFC>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EVV25FXL4FU5X6X5BSL7RLQ7T6F65MRA>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/T57MPJUW3MA6QGWZRTMCHHMMPQNVKGFC>
- <https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd>
- <https://security.netapp.com/advisory/ntap-20220104-0001>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-8489-44mv-ggj8>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-8489-44mv-ggj8/>. Everything for agents: <https://agentprime.io/llms.txt>.
