{"id":"CVE-2021-24122","revision":null,"records":[{"revision":"b32b2bbf09834a58bcd8cfe53048f40c","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-24122","aliases":[],"title":"Apache Tomcat information disclosure","description":"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.","state":0,"publishedAt":"2021-01-14T14:45:18+00:00","modifiedAt":"2026-10-08T21:03:21.063+00:00","affected":[{"ecosystem":"Vendor product","name":"Apache Tomcat","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Apache Tomcat\",\n                    \"vendor\": \"Apache Software Foundation\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"10.0.0-M10\",\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 10\",\n                            \"versionType\": \"custom\"\n                        },\n                        {\n                            \"lessThan\": \"9.0.40\",\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 9\",\n                            \"versionType\": \"custom\"\n                        },\n                        {\n                            \"lessThan\": \"8.5.60\",\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 8.5\",\n                            \"versionType\": \"custom\"\n                        },\n                        {\n                            \"lessThan\": \"7.0.106\",\n                            \"status\": \"affected\",\n                            \"version\": \"Apache Tomcat 7\",\n                            \"versionType\": \"custom\"\n                        }\n                    ]\n                }"}],"metrics":[],"references":["https://lists.apache.org/thread.html/r1595889b083e05986f42b944dc43060d6b083022260b6ea64d2cec52%40%3Cannounce.tomcat.apache.org%3E","https://lists.apache.org/thread.html/rca833c6d42b7b9ce1563488c0929f29fcc95947d86e5e740258c8937%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/r776c64337495bf28b7d5597268114a888e3fad6045c40a0da0c66d4d%40%3Cdev.tomee.apache.org%3E","http://www.openwall.com/lists/oss-security/2021/01/14/1","https://lists.apache.org/thread.html/r1595889b083e05986f42b944dc43060d6b083022260b6ea64d2cec52%40%3Cannounce.apache.org%3E","https://lists.apache.org/thread.html/r7e0bb9ea415724550e2b325e143b23e269579e54d66fcd7754bd0c20%40%3Cdev.tomcat.apache.org%3E","https://lists.apache.org/thread.html/rb32a73b7cb919d4f44a2596b6b951274c0004fc8b0e393d6829a45f9%40%3Cusers.tomcat.apache.org%3E","https://lists.apache.org/thread.html/r7382e1e35b9bc7c8f320b90ad77e74c13172d08034e20c18000fe710%40%3Cdev.tomee.apache.org%3E","https://lists.debian.org/debian-lts-announce/2021/03/msg00018.html","https://www.oracle.com//security-alerts/cpujul2021.html","https://security.netapp.com/advisory/ntap-20210212-0008/"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-24122","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-24122","identifiers":["CVE-2021-24122"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-10T16:25:20.3600746+00:00","complete":true,"records":1773,"lastAttemptAt":"2026-11-10T16:25:20.3600746+00:00","lastSuccessAt":"2026-11-10T16:25:20.5216023+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:25:20.5216032+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8859cf40d4337e24bd2f258cc7778fbad01bb24c79d057aaf34cf1dfc6f8917d-4c670b9c65122c3a09e0db61031e2714f1f25c28b03e8739aa4c468dc496810d","complete":true,"records":422079,"lastAttemptAt":"2026-11-10T16:21:34.6831275+00:00","lastSuccessAt":"2026-11-10T16:21:34.4291793+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:21:34.6831275+00:00","snapshotPublishedAt":"2026-11-10T15:23:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d0c54bf27dd44f59b652d410e8e55def","complete":true,"records":13704,"lastAttemptAt":"2026-11-10T16:26:03.7205698+00:00","lastSuccessAt":"2026-11-10T16:26:03.716+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:26:03.716+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13758,"expectedIdentifiers":13758,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-10T16:25:20.3600746+00:00","complete":true,"records":1096,"lastAttemptAt":"2026-11-10T16:25:20.3600746+00:00","lastSuccessAt":"2026-11-10T16:25:20.5224858+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:25:20.522486+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-efe548b5530d4b6f9fada580ebcdf3c6","complete":false,"records":13710,"lastAttemptAt":"2026-11-10T16:25:45.6915323+00:00","lastSuccessAt":"2026-11-10T16:25:45.688+00:00","error":"100 identifier lookups failed; latest failures include request timeout. Other identifiers were checked independently.","lastVerifiedAt":"2026-11-10T16:25:45.688+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13601,"expectedIdentifiers":13758,"failedIdentifiers":100},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-50a085e5b7a5d1546eabdb7e52fab85d658afa8554d3cf95a0891c49d83f2979","complete":true,"records":9935,"lastAttemptAt":"2026-11-10T16:25:20.305707+00:00","lastSuccessAt":"2026-11-10T16:25:20.0114252+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:25:20.305707+00:00","snapshotPublishedAt":"2026-11-10T16:18:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-26503967ae4379db8f374089589d6e03fb15bd31f820c9e992aaf93840c2236c","complete":true,"records":1971,"lastAttemptAt":"2026-11-10T16:21:34.8032662+00:00","lastSuccessAt":"2026-11-09T21:02:20.472473+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:21:34.8032662+00:00","snapshotPublishedAt":"2026-11-09T20:18:18+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-df497239f2f75af38e095cb498791dad4044a8a9a7f5f0ee6008bb732579ab9d","complete":true,"records":3081,"lastAttemptAt":"2026-11-10T16:25:20.3271514+00:00","lastSuccessAt":"2026-11-10T14:21:34.3717399+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:25:20.3271514+00:00","snapshotPublishedAt":"2026-11-10T14:18:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-505a94f09ee80bf6c3309d2a74f619a895f68eb6b528096568b5de608a508647","complete":true,"records":231610,"lastAttemptAt":"2026-11-10T16:25:06.9494436+00:00","lastSuccessAt":"2026-11-10T16:25:05.2957799+00:00","error":null,"lastVerifiedAt":"2026-11-10T16:25:06.9494436+00:00","snapshotPublishedAt":"2026-11-10T16:18:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}