Categories
CVE-2021-24122 medium CVSS 5.9

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.

❓ What is the problem

Information disclosure (CWE-200) exists in org.apache.tomcat.embed:tomcat-embed-core.

📍 Affected scope

Check the vendor advisory for the affected versions of org.apache.tomcat.embed:tomcat-embed-core.

🔥 Severity

Severity: Medium (CVSS 5.9/10). Confidential information can be exposed externally.

🔧 How to fix

Update to 7.0.107.

🛡️ Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

🔍 Detection

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. 1
    Identify exposure identify
    Audit SBOM/dependencies for affected components.

    資産台帳・SBOM・依存マニフェストで org.apache.tomcat.embed:tomcat-embed-core を使っているサービスとバージョンを洗い出す。

  2. 2
    Apply patch patch
    Upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.107

    ステージング環境で 7.0.107 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verification verify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

Maven org.apache.tomcat.embed:tomcat-embed-core
[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.0.107"}]}]
Bitnami tomcat
[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.107"},{"introduced":"8.5.0"},{"fixed":"8.5.60"},{"introduced":"9.0.1"},{"fixed":"9.0.40"}]}]

Fix status by distribution

Fixed packages published by each distribution for this CVE

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details