{"id":"CVE-2021-28164","published":"2021-04-01T14:20:14Z","modified":"2024-08-03T21:40:12Z","title":"In Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, the default compliance mode allows requests with URIs that…","vendor":"The Eclipse Foundation","product":"Eclipse Jetty","tier":"core","eol":null,"affectedVersions":[{"vendor":"The Eclipse Foundation","product":"Eclipse Jetty","versions":[">= 9.4.37.v20210219, < unspecified",">= unspecified, <= 9.4.38.v20210224"]}],"description":{"text":"In Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, the default compliance mode allows requests with URIs that contain %2e or %2e%2e segments to access protected resources within the WEB-INF directory. For example a request to /context/%2e/WEB-INF/web.xml can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in Eclipse Jetty, versions 9.4.37.v20210219 through 9.4.38.v20210224, where the default compliance mode lets requests containing %2e or %2e%2e path segments reach protected resources under the WEB-INF directory. An attacker who can send HTTP requests to the server, without authentication or user interaction and under the default configuration, can use crafted URIs such as /context/%2e/WEB-INF/web.xml to retrieve files like web.xml and so learn sensitive details about a web application's implementation.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:13:38Z"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.82371,"percentile":0.99772,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"},{"id":"CWE-551","name":"Incorrect Behavior Order: Authorization Before Parsing and Canonicalization"}],"references":[{"url":"https://github.com/eclipse/jetty.project/security/advisories/GHSA-v7ff-8wcx-gmc5","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/r780c3c210a05c5bf7b4671303f46afc3fe56758e92864e1a5f0590d0%40%3Cjira.kafka.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r5b3693da7ecb8a75c0e930b4ca26a5f97aa0207d9dae4aa8cc65fe6b%40%3Cissues.ignite.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd7c8fb305a8637480dc943ba08424c8992dccad018cd1405eb2afe0e%40%3Cdev.ignite.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r0841b06b48324cfc81325de3c05a92e53f997185f9d71ff47734d961%40%3Cissues.solr.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r6ac9e263129328c0db9940d72b4a6062e703c58918dd34bd22cdf8dd%40%3Cissues.ignite.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r4a66bfbf62281e31bc1345ebecbfd96f35199eecd77bfe4e903e906f%40%3Cissues.ignite.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r4b1fef117bccc7f5fd4c45fd2cabc26838df823fe5ca94bc42a4fd46%40%3Cissues.ignite.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r111f1ce28b133a8090ca4f809a1bdf18a777426fc058dc3a16c39c66%40%3Cissues.solr.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r2ea2f0541121f17e470a0184843720046c59d4bde6d42bf5ca6fad81%40%3Cissues.solr.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r9974f64723875052e02787b2a5eda689ac5247c71b827d455e5dc9a6%40%3Cissues.solr.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rbc075a4ac85e7a8e47420b7383f16ffa0af3b792b8423584735f369f%40%3Cissues.solr.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.netapp.com/advisory/ntap-20210611-0006/","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.apache.org/thread.html/r7dd079fa0ac6f47ba1ad0af98d7d0276547b8a4e005f034fb1016951%40%3Cissues.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r90e7b4c42a96d74c219e448bee6a329ab0cd3205c44b63471d96c3ab%40%3Cissues.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r763840320a80e515331cbc1e613fa93f25faf62e991974171a325c82%40%3Cdev.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r2a3ea27cca2ac7352d392b023b72e824387bc9ff16ba245ec663bdc6%40%3Cissues.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/r8e6c116628c1277c3cf132012a66c46a0863fa2a3037c0707d4640d4%40%3Cissues.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rd0471252aeb3384c3cfa6d131374646d4641b80dd313e7b476c47a9c%40%3Cissues.solr.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://lists.apache.org/thread.html/rcea249eb7a0d243f21696e4985de33f3780399bf7b31ea1f6d489b8b%40%3Cissues.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://lists.apache.org/thread.html/r3c55b0baa4dc38958ae147b2f216e212605f1071297f845e14477d36%40%3Cissues.zookeeper.apache.org%3E","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/164590/Jetty-9.4.37.v20210219-Information-Disclosure.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Maven","package":"org.eclipse.jetty:jetty-webapp","vulnerableRanges":[">=9.4.37, <9.4.39"],"patched":["9.4.39"],"from":["GHSA-v7ff-8wcx-gmc5"],"provenance":"source"}],"advisories":[{"id":"GHSA-v7ff-8wcx-gmc5","url":"https://github.com/advisories/GHSA-v7ff-8wcx-gmc5","severity":"MODERATE","ecosystem":"Maven","package":"org.eclipse.jetty:jetty-webapp","vulnerableRanges":[">=9.4.37, <9.4.39"],"patched":["9.4.39"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2021-0877","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-0877","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50438,"url":"https://www.exploit-db.com/exploits/50438","title":"Eclipse Jetty 9.4.37.v20210219 - Information Disclosure","type":"webapps","platform":"java","date":"2021-10-22","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-10-22"},"pocGithub":{"count":2,"skipped":0,"earliest":"2023-10-31","earliestUrl":"https://github.com/jammy0903/-jettyCVE-2021-28164-","repos":[{"name":"jammy0903/-jettyCVE-2021-28164-","url":"https://github.com/jammy0903/-jettyCVE-2021-28164-","stars":0,"created":"2023-10-31"},{"name":"CyberCTF/vulhub-jetty-cve-2021-28164","url":"https://github.com/CyberCTF/vulhub-jetty-cve-2021-28164","stars":0,"created":"2026-10-08"}]},"metasploit":[{"name":"Jetty WEB-INF File Disclosure","module":"auxiliary/gather/jetty_web_inf_disclosure","type":"auxiliary","disclosureDate":"2021-07-15","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/jetty_web_inf_disclosure.rb"}],"nuclei":[{"id":"CVE-2021-28164","name":"Eclipse Jetty - Information Disclosure","severity":"medium","path":"http/cves/2021/CVE-2021-28164.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2021/CVE-2021-28164.yaml"}],"first":{"date":"2021-07-15","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/jetty_web_inf_disclosure.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/164590/Jetty-9.4.37.v20210219-Information-Disclosure.html"],"flow":[],"timeline":[{"date":"2021-04-01","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2021-28164","provenance":"source"},{"date":"2021-07-15","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2021-10-22, PoC-in-GitHub 2023-10-31","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/jetty_web_inf_disclosure.rb","provenance":"source"}],"speed":{"daysToPublicExploit":105,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":28.7,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.95,"detail":"percentile 0.9977"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 2 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":3.71,"detail":"base score 5.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-the-eclipse-foundation-eclipse-jetty-cve-2021-28164","children":[{"from":"CVE-2021-28164","to":"CVE-2021-34429","relation":"variant","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"variant","quote":"This is a variation of the vulnerability reported in CVE-2021-28164/GHSA-v7ff-8wcx-gmc5.","from":"CVE.org","in":"CVE-2021-34429"},{"kind":"version-step","provenance":"source","package":"Maven:org.eclipse.jetty:jetty-webapp","fromFixed":"9.4.39","toFixed":"9.4.43","daysApart":105}]}],"packageHistory":[{"cve":"CVE-2021-28164","published":"2021-04-01","fixed":"9.4.39","kev":false},{"cve":"CVE-2020-27216","published":"2020-10-23","fixed":"11.0.0.beta3","kev":false},{"cve":"CVE-2021-34429","published":"2021-07-15","fixed":"11.0.6","kev":false}],"package":"Maven:org.eclipse.jetty:jetty-webapp"}}