Patchfirst
CVE-2021-28164 Public exploit Medium · 5.3 EPSS 82.4%

In Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, the default compliance mode allows requests with URIs that…

Fix:upgrade jetty-webapp to 9.4.43 or later also fixes CVE-2021-34429 Details ↓

The Eclipse Foundation · Eclipse Jetty

Summary

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.

Official description · CVE.org

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.

Breakdown
28.6 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) appeared 3 months after disclosure. No confirmed exploitation is recorded.

  1. Disclosedday 0
  2. Public exploit codeMetasploit+3 mo

2 related vulnerabilities in the same code over 3 months. The latest fix listed for jetty-webapp is 11.0.6.

Linked vulnerabilitiesLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2021-28164In Eclipse Jetty 9.4.37.v20210219 to 9.4.38.v20210224, the…1 Apr 2021
  2. variant in the same codeHigh

    Why these are linked:

    • Stated in the CVE textThis is a variation of the vulnerability reported in CVE-2021-28164/GHSA-v7ff-8wcx-gmc5.
    • Fixed one release later9.4.39 → 9.4.43 (org.eclipse.jetty:jetty-webapp)
    CVE-2021-34429For Eclipse Jetty versions 9.4.37-9.4.42, 10.0.1-10.0.5 &…15 Jul 2021

Fixes in jetty-webappMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 9.4.39CVE-2021-281641 Apr 2021
  2. 11.0.0.beta3CVE-2020-2721623 Oct 2020
  3. 11.0.6CVE-2021-3442915 Jul 2021Latest listed

Affected versions and fixes

as published in the CVE record

The Eclipse Foundation Eclipse Jetty

Affected: >= 9.4.37.v20210219, < unspecified · >= unspecified, <= 9.4.38.v20210224

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: org.eclipse.jetty:jetty-webapp.

Mavenorg.eclipse.jetty:jetty-webappGHSA-v7ff-8wcx-gmc5

Upgrade to 9.4.43 or later

Fixes this CVE and 1 other known vulnerability in this package (CVE-2021-34429).

Set the version to 9.4.43 or later in your pom.xml or build.gradle.

First fixed in 9.4.39 for CVE-2021-28164.

Affected versions

If you runUpgrade to
9.4.37 up to 9.4.399.4.43first fix for this CVE: 9.4.39

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

References

25 links, grouped by NVD tag

mailing-list 19

lists.apache.org/thread.html/r780c3c210a05c5bf7b4671303f46afc3fe56758e92864e1a5f0590d0%40%3Cjira.kafka.apache.org%3Elists.apache.org/thread.html/r5b3693da7ecb8a75c0e930b4ca26a5f97aa0207d9dae4aa8cc65fe6b%40%3Cissues.ignite.apache.org%3Elists.apache.org/thread.html/rd7c8fb305a8637480dc943ba08424c8992dccad018cd1405eb2afe0e%40%3Cdev.ignite.apache.org%3Elists.apache.org/thread.html/r0841b06b48324cfc81325de3c05a92e53f997185f9d71ff47734d961%40%3Cissues.solr.apache.org%3Elists.apache.org/thread.html/r6ac9e263129328c0db9940d72b4a6062e703c58918dd34bd22cdf8dd%40%3Cissues.ignite.apache.org%3Elists.apache.org/thread.html/r4a66bfbf62281e31bc1345ebecbfd96f35199eecd77bfe4e903e906f%40%3Cissues.ignite.apache.org%3Elists.apache.org/thread.html/r4b1fef117bccc7f5fd4c45fd2cabc26838df823fe5ca94bc42a4fd46%40%3Cissues.ignite.apache.org%3Elists.apache.org/thread.html/r111f1ce28b133a8090ca4f809a1bdf18a777426fc058dc3a16c39c66%40%3Cissues.solr.apache.org%3E
Show 11 moreShow fewerlists.apache.org/thread.html/r2ea2f0541121f17e470a0184843720046c59d4bde6d42bf5ca6fad81%40%3Cissues.solr.apache.org%3Elists.apache.org/thread.html/r9974f64723875052e02787b2a5eda689ac5247c71b827d455e5dc9a6%40%3Cissues.solr.apache.org%3Elists.apache.org/thread.html/rbc075a4ac85e7a8e47420b7383f16ffa0af3b792b8423584735f369f%40%3Cissues.solr.apache.org%3Elists.apache.org/thread.html/r7dd079fa0ac6f47ba1ad0af98d7d0276547b8a4e005f034fb1016951%40%3Cissues.zookeeper.apache.org%3Elists.apache.org/thread.html/r90e7b4c42a96d74c219e448bee6a329ab0cd3205c44b63471d96c3ab%40%3Cissues.zookeeper.apache.org%3Elists.apache.org/thread.html/r763840320a80e515331cbc1e613fa93f25faf62e991974171a325c82%40%3Cdev.zookeeper.apache.org%3Elists.apache.org/thread.html/r2a3ea27cca2ac7352d392b023b72e824387bc9ff16ba245ec663bdc6%40%3Cissues.zookeeper.apache.org%3Elists.apache.org/thread.html/r8e6c116628c1277c3cf132012a66c46a0863fa2a3037c0707d4640d4%40%3Cissues.zookeeper.apache.org%3Elists.apache.org/thread.html/rd0471252aeb3384c3cfa6d131374646d4641b80dd313e7b476c47a9c%40%3Cissues.solr.apache.org%3Elists.apache.org/thread.html/rcea249eb7a0d243f21696e4985de33f3780399bf7b31ea1f6d489b8b%40%3Cissues.zookeeper.apache.org%3Elists.apache.org/thread.html/r3c55b0baa4dc38958ae147b2f216e212605f1071297f845e14477d36%40%3Cissues.zookeeper.apache.org%3E
↑ ↓ chooseEnter openEsc close