Unsafe Deserialization in org.apache.logging.log4j:log4j-core
Summary
Vulnerability in org.apache.logging.log4j:log4j-core (CVE-2021-45046). Successful exploitation can lead to full system takeover. Listed in CISA KEV — actively exploited. Mitigation: upgrade to 2.3.1 or later.
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as CVE-2021-45046 has been found in org.apache.logging.log4j:log4j-core.
Successful exploitation can lead to full system takeover.
Note: CISA has officially confirmed this is actively exploited in the wild. Treat it with elevated urgency.
What to do: upgrade org.apache.logging.log4j:log4j-core to 2.3.1 or later.
If unsure, ask your IT team or search "org.apache.logging.log4j:log4j-core CVE-2021-45046" on the vendor's site.
CVE-2021-45046 (org.apache.logging.log4j:log4j-core) — CWE-502
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 2.3.1 — apply immediately
Listed in CISA KEV — actively exploited, treat as top priority.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
Unsafe deserialization (CWE-502) exists in org.apache.logging.log4j:log4j-core.
Check the vendor advisory for the affected versions of org.apache.logging.log4j:log4j-core.
Severity: High. Successful exploitation can lead to full system takeover. Listed in CISA KEV — actively exploited in the wild, treat as top priority.
Update to 2.3.1.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.apache.logging.log4j:log4j-core を使っているサービスとバージョンを洗い出す。
-
2
Consider incident declarationescalate
Notify SOC / on-callCISA KEV登録済 = 実環境で悪用が観測されている。侵入の兆候があればインシデント対応宣言、無くてもパッチ適用までWAF強化を最優先で。
-
3
Apply patchpatch
Upgrade org.apache.logging.log4j:log4j-core to 2.3.1ステージング環境で 2.3.1 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
4
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mavenorg.apache.logging.log4j:log4j-core |
< 2.3.1→ 2.3.1 |
2.3.1 |
| mavenorg.ops4j.pax.logging:pax-logging-log4j2 |
≥ 2.0.0, < 2.0.12→ 2.0.12 |
2.0.12 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2021-45046 apache-log4j2 Fix available
- Ubuntu UBUNTU-CVE-2021-45046 apache-log4j2 Fix available
Original description The description as published by the source.
It was found that the fix to address CVE-2021-44228 in Apache Log4j 2.15.0 was incomplete in certain non-default configurations. This could allows attackers with control over Thread Context Map (MDC) input data when the logging configuration uses a non-default Pattern Layout with either a Context Lookup (for example, $${ctx:loginId}) or a Thread Context Map pattern (%X, %mdc, or %MDC) to craft malicious input data using a JNDI Lookup pattern resulting in an information leak and remote code execution in some environments and local code execution in all environments. Log4j 2.16.0 (Java 8) and 2.12.2 (Java 7) fix this issue by removing support for message lookup patterns and disabling JNDI functionality by default.
Source: CISA Known Exploited Vulnerabilities NVD GitHub Advisory CISA KEV
References
- advisory nvd.nist.gov
- advisory logging.apache.org
- advisory intel.com
- advisory cert-portal.siemens.com
- advisory cert-portal.siemens.com
- advisory kb.cert.org
- advisory debian.org
- advisory psirt.global.sonicwall.com
- advisory oracle.com
- advisory cert-portal.siemens.com
- advisory cert-portal.siemens.com
- advisory oracle.com
- advisory oracle.com
- advisory security.gentoo.org
- advisory openwall.com
- advisory openwall.com
- advisory openwall.com
- advisory lists.fedoraproject.org
- advisory lists.fedoraproject.org
- advisory tools.cisco.com
- patch oracle.com
- web openwall.com
- web cve.org
- web lists.fedoraproject.org
- web lists.fedoraproject.org
- web sec.cloudapps.cisco.com
- web cisa.gov
- web openwall.com
- web openwall.com
- web logging.apache.org
- web github.com
- web github.com