# Remote code injection in Log4j

Advisory record · `GHSA-jfh8-c2jp-5v3q`

- **Identifiers:** `GHSA-jfh8-c2jp-5v3q` · `CVE-2021-44228`
- **State:** Confirmed
- **Severity:** CVSS 10.0 Critical
- **Critical:** Yes: KEV, CVSS 9+, CVSS 7+ and EPSS
- **Weakness (CWE):** [CWE-20](https://cwe.mitre.org/data/definitions/20.html) · [CWE-400](https://cwe.mitre.org/data/definitions/400.html) · [CWE-502](https://cwe.mitre.org/data/definitions/502.html) · [CWE-917](https://cwe.mitre.org/data/definitions/917.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md) · [Insecure deserialization](https://agentprime.io/advisories/tag/deserialization.md) · [Code injection](https://agentprime.io/advisories/tag/code-injection.md) · [CWE-20](https://agentprime.io/advisories/tag/cwe-20.md)
- **Published:** 10 Dec 2021
- **Updated:** 22 Oct 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 10 Dec 2021, 00:40 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- In CISA’s KEV catalogue since 10 Dec 2021: it is known to be exploited.
- CVSS score 10.0: 9.0 or more.
- CVSS score 10.0 (7.0 or more) and EPSS 1.00 (0.1 or more): a high score and a real chance of exploitation in the next 30 days.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.logging.log4j:log4j-core` (Maven): affected `>=2.13.0, <2.15.0 || >=2.0-beta9, <2.3.1 || >=2.4, <2.12.2`; fixed in `2.15.0`, `2.3.1`, `2.12.2`
- `com.guicedee.services:log4j-core` (Maven): affected `<=1.2.1.2-jre17`; no fixed version yet
- `org.xbib.elasticsearch:log4j` (Maven): affected `=6.3.2.1`; no fixed version yet
- `uk.co.nichesolutions.logging.log4j:log4j-core` (Maven): affected `=2.6.3-CUSTOM`; no fixed version yet
- `org.ops4j.pax.logging:pax-logging-log4j2` (Maven): affected `>=1.8.0, <1.9.2 || >=1.10.0, <1.10.8 || >=1.11.0, <1.11.10 || >=2.0.0, <2.0.11`; fixed in `1.9.2`, `1.10.8`, `1.11.10`, `2.0.11`

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

- 10.0 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H/E:H`, from GitHub Advisory Database

- **CISA KEV:** Listed since 10 Dec 2021: known to be exploited. CISA reports use in ransomware campaigns.
- **EPSS:** 1.00, the 100th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-jfh8-c2jp-5v3q)

## Sources

- [GitHub Advisory Database: GHSA-jfh8-c2jp-5v3q](https://github.com/advisories/GHSA-jfh8-c2jp-5v3q)
- [OSV: GHSA-jfh8-c2jp-5v3q](https://osv.dev/vulnerability/GHSA-jfh8-c2jp-5v3q)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-44228>
- <https://github.com/apache/logging-log4j2/pull/608>
- <https://github.com/github/advisory-database/pull/5501>
- <https://cert-portal.siemens.com/productcert/pdf/ssa-397453.pdf>
- <https://packetstormsecurity.com/files/165673/UniFi-Network-Application-Unauthenticated-Log4Shell-Remote-Code-Execution.html>
- <https://packetstormsecurity.com/files/167794/Open-Xchange-App-Suite-7.10.x-Cross-Site-Scripting-Command-Injection.html>
- <https://packetstormsecurity.com/files/167917/MobileIron-Log4Shell-Remote-Command-Execution.html>
- <https://packetstormsecurity.com/files/171626/AD-Manager-Plus-7122-Remote-Code-Execution.html>
- <https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0032>
- <https://sec.cloudapps.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-apache-log4j-qRuKNEbd>
- <https://seclists.org/fulldisclosure/2022/Dec/2>
- <https://seclists.org/fulldisclosure/2022/Jul/11>

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-jfh8-c2jp-5v3q>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-jfh8-c2jp-5v3q/>. Everything for agents: <https://agentprime.io/llms.txt>.
