Skip to content
Noroxi
NVD / CVE Program· CNA apache

CVE-2021-24122: Apache Tomcat information disclosure

MediumCVSS 5.9 · v3.1—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 30/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 22.8% (FIRST EPSS); higher than 97.7% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: tomcat9 (Debian:12) 9.0.40-1; tomcat8 (Debian:9) 8.5.54-0+deb9u6; org.apache.tomcat.embed:tomcat-embed-core (Maven) 10.0.0-M10, 7.0.107, 8.5.60.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to tomcat9 (Debian:12) 9.0.40-1; tomcat8 (Debian:9) 8.5.54-0+deb9u6; org.apache.tomcat.embed:tomcat-embed-core (Maven) 10.0.0-M10, 7.0.107, 8.5.60 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

When serving resources from a network location using the NTFS file system, Apache Tomcat versions 10.0.0-M1 to 10.0.0-M9, 9.0.0.M1 to 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.

Published
Jan 14, 2021
Updated
Oct 8, 2026
EPSS
22.8% · 97th percentile

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
7 / 30 · 22.8%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-24122

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
apachetomcat
debiandebian linux
oracleagile product lifecycle management

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • Apache Software Foundation Apache Tomcat

    • Apache Tomcat 10 and later · before 10.0.0-M10affected
    • Apache Tomcat 9 and later · before 9.0.40affected
    • Apache Tomcat 8.5 and later · before 8.5.60affected
    • Apache Tomcat 7 and later · before 7.0.106affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12tomcat9before 9.0.40-19.0.40-1
Debian:9tomcat8before 8.5.54-0+deb9u68.5.54-0+deb9u6
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 10.0.0-M1 · before 10.0.0-M1010.0.0-M10
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 7.0.0 · before 7.0.1077.0.107
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 8.5.0 · before 8.5.608.5.60
Mavenorg.apache.tomcat.embed:tomcat-embed-corefrom 9.0.0 · before 9.0.409.0.40
openSUSE:Leap 15.2tomcatbefore 9.0.36-lp152.2.19.19.0.36-lp152.2.19.1
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcatbefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-admin-webappsbefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-docs-webappbefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-el-3.0-apibefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-javadocbefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-jsp-2.3-apibefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-libbefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-nativebefore 0:1.2.25-3.redhat_3.el7jws0:1.2.25-3.redhat_3.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-native-debuginfobefore 0:1.2.25-3.redhat_3.el7jws0:1.2.25-3.redhat_3.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-selinuxbefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-servlet-4.0-apibefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el7jws5-tomcat-webappsbefore 0:9.0.36-9.redhat_8.1.el7jws0:9.0.36-9.redhat_8.1.el7jws
Red Hat:jboss_enterprise_web_server:5.4::el8jws5-tomcatbefore 0:9.0.36-9.redhat_8.1.el8jws0:9.0.36-9.redhat_8.1.el8jws
Red Hat:jboss_enterprise_web_server:5.4::el8jws5-tomcat-admin-webappsbefore 0:9.0.36-9.redhat_8.1.el8jws0:9.0.36-9.redhat_8.1.el8jws
Red Hat:jboss_enterprise_web_server:5.4::el8jws5-tomcat-docs-webappbefore 0:9.0.36-9.redhat_8.1.el8jws0:9.0.36-9.redhat_8.1.el8jws
Red Hat:jboss_enterprise_web_server:5.4::el8jws5-tomcat-el-3.0-apibefore 0:9.0.36-9.redhat_8.1.el8jws0:9.0.36-9.redhat_8.1.el8jws
Red Hat:jboss_enterprise_web_server:5.4::el8jws5-tomcat-javadocbefore 0:9.0.36-9.redhat_8.1.el8jws0:9.0.36-9.redhat_8.1.el8jws

+13

Other highest-scoring records for the same primary product.

  • CVE-2025-24813Apache Tomcat: Potential RCE and/or information disclosure and/or information corruption with partial PUTKEV
    99Now
  • CVE-2016-8735Remote code execution is possible with Apache Tomcat before 6.0.48, 7.x before 7.0.73, 8.x before 8.0.39, 8.5.x before 8.5.7, and 9.x…KEV
    96Now
  • CVE-2017-12617When running Apache Tomcat versions 9.0.0.M1 to 9.0.0, 8.5.0 to 8.5.22, 8.0.0.RC1 to 8.0.46 and 7.0.0 to 7.0.81 with HTTP PUTs enabled (e.g.KEV
    92Now

Published before and after this one in the same product

  • ← EarlierCVE-2020-13943Oct 12, 2020 · If an HTTP/2 client connecting to Apache Tomcat 10.0.0-M1 to 10.0.0-M7, 9.0.0.M1 to 9.0.37 or 8.5.0 to 8.5.57 exceeded the agreed maximum…
    33Monitor
  • ← EarlierCVE-2020-17527Dec 3, 2020 · Apache Tomcat: Request header mix-up between HTTP/2 streams
    37Monitor
  • Later →CVE-2021-25122Mar 1, 2021 · Apache Tomcat h2c request mix-up
    35Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:tomcat88.5.54-0+deb9u6 · Debian:9Package registry (OSV)
debian:tomcat99.0.40-1 · Debian:12Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core10.0.0-M10Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core7.0.107Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core8.5.60Package registry (OSV)
Maven:org.apache.tomcat.embed:tomcat-embed-core9.0.40Package registry (OSV)
opensuse:tomcat9.0.36-lp152.2.19.1 · openSUSE:Leap 15.2Package registry (OSV)
red hat:jws5-tomcat0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-admin-webapps0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-docs-webapp0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-el-3.0-api0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-javadoc0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-jsp-2.3-api0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-lib0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-native0:1.2.25-3.redhat_3.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-native-debuginfo0:1.2.25-3.redhat_3.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-selinux0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-servlet-4.0-api0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
red hat:jws5-tomcat-webapps0:9.0.36-9.redhat_8.1.el7jws · Red Hat:jboss_enterprise_web_server:5.4::el7Package registry (OSV)
suse:tomcat9.0.36-3.61.1 · SUSE:Linux Enterprise Server 12 SP5Package registry (OSV)
suse:tomcat66.0.53-0.57.19.1 · SUSE:Linux Enterprise Point of Sale 11 SP3Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Not on record for this CVE: EPSS history · patch commit or PR link · variant or chain candidate · public bounty program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Root cause

The extension requests broader permissions than its function needs and sends the data it collects out for purposes beyond its stated function.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

json
{  "permissions": ["tabs", "<all_urls>"],  "background": { "service_worker": "analytics.js" }}

Fixed

json
{  "permissions": ["activeTab"],  "host_permissions": ["https://yildiz.example/*"]}

References

All records