Information Disclosure in org.apache.tomcat.embed:tomcat-embed-core (CVE-2021-24122)
Summary
Vulnerability in org.apache.tomcat.embed:tomcat-embed-core (CVE-2021-24122). Confidential information can be exposed externally. Mitigation: upgrade to 7.0.107 or later.
Original description
The description as published by the source.
When serving resources from a network location using the NTFS file system, Apache Tomcat versions 9.0.0 through 9.0.39, 8.5.0 to 8.5.59 and 7.0.0 to 7.0.106 were susceptible to JSP source code disclosure in some configurations. The root cause was the unexpected behaviour of the JRE API File.getCanonicalPath() which in turn was caused by the inconsistent behaviour of the Windows API (FindFirstFileW) in some circumstances.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2021-24122 has been found in org.apache.tomcat.embed:tomcat-embed-core.
Confidential information can be exposed externally. CVSS score: 5.9/10.
What to do: upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.107 or later.
If unsure, ask your IT team or search "org.apache.tomcat.embed:tomcat-embed-core CVE-2021-24122" on the vendor's site.
CVE-2021-24122 (org.apache.tomcat.embed:tomcat-embed-core) — CWE-200 / CVSS v3 5.9
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 7.0.107 — apply immediately
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.
Information disclosure (CWE-200) exists in org.apache.tomcat.embed:tomcat-embed-core.
Check the vendor advisory for the affected versions of org.apache.tomcat.embed:tomcat-embed-core.
Severity: Medium (CVSS 5.9/10). Confidential information can be exposed externally.
Update to 7.0.107.
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
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで org.apache.tomcat.embed:tomcat-embed-core を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.107ステージング環境で 7.0.107 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2021-24122 tomcat9 Fixed in: 9.0.40-1
- Ubuntu UBUNTU-CVE-2021-24122 tomcat7
References
- advisory openwall.com
- advisory lists.apache.org
- advisory lists.debian.org
- advisory security.netapp.com
- advisory oracle.com
- package github.com
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web nvd.nist.gov
- web github.com
- web github.com
- web github.com
- web github.com
- web tomcat.apache.org
- web tomcat.apache.org
- web tomcat.apache.org
- web tomcat.apache.org
- web security.netapp.com
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org
- web lists.apache.org