GitHub Advisoryadvisory · Maven
GHSA-j6qj-j888-vvgq Directory exposure in jetty
LOW
Official page ↗
- Aliases
- CVE-2021-28163
- Ecosystem
- Maven
- Packages
- org.eclipse.jetty:jetty-deploy
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-200, CWE-59
- Reviewed
- 2021-04-02
Affected packages
• Maven org.eclipse.jetty:jetty-deploy: >= 9.4.32, < 9.4.39 → fixed in 9.4.39
• Maven org.eclipse.jetty:jetty-deploy: >= 10.0.0, < 10.0.2 → fixed in 10.0.2
• Maven org.eclipse.jetty:jetty-deploy: >= 11.0.0, < 11.0.2 → fixed in 11.0.2
Description
Impact
If the `${jetty.base}` directory or the `${jetty.base}/webapps` directory is a symlink (soft link in Linux), the contents of the `${jetty.base}/webapps` directory may be deployed as a static web application, exposing the content of the directory for download.
For example, the problem manifests in the following `${jetty.base}`:
```$ tree demo-base/
demo-base/
├── etc
├── lib
├── resources
├── start.d
├── deploy
│ └── async-rest.war
└── webapps -> deploy
```
Workarounds
Do not use a symlink
Related
Alias · CVE (1)
- CVE-2021-28163 In Eclipse Jetty 9.4.32 to 9.4.38, 10.0.0.beta2 to 10.0.1, and 11.0.0.beta2 to 11.0.1, if a user uses a webapps directory that is a… vulnerability
References
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-j6qj-j888-vvgq web
- https://nvd.nist.gov/vuln/detail/CVE-2021-28163 advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html web
- https://www.oracle.com/security-alerts/cpujan2022.html web
- https://www.oracle.com/security-alerts/cpuapr2022.html web
- https://security.netapp.com/advisory/ntap-20210611-0006 web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/HAAKW7S66TECXGJZWB3ZFGOQAK34IYHF web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/GGNKXBNRRCZTGGXPIX3VBWCF2SAM3DWS web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5CXQIJVYU4R3JL6LSPXQ5GIV7WLLA7PI web
- https://lists.apache.org/thread.html/rf36f1114e84a3379b20587063686148e2d5a39abc0b8a66ff2a9087a@%3Cissues.zookeeper.apache.org%3E web
- https://lists.apache.org/thread.html/rddbb4f8d5db23265bb63d14ef4b3723b438abc1589f877db11d35450@%3Cissues.zookeeper.apache.org%3E web
- https://lists.apache.org/thread.html/rd7c8fb305a8637480dc943ba08424c8992dccad018cd1405eb2afe0e@%3Cdev.ignite.apache.org%3E web
- https://lists.apache.org/thread.html/rd0471252aeb3384c3cfa6d131374646d4641b80dd313e7b476c47a9c@%3Cissues.solr.apache.org%3E web
- https://lists.apache.org/thread.html/rbefa055282d52d6b58d29a79fbb0be65ab0a38d25f00bd29eaf5e6fd@%3Cnotifications.zookeeper.apache.org%3E web
- https://lists.apache.org/thread.html/rbc075a4ac85e7a8e47420b7383f16ffa0af3b792b8423584735f369f@%3Cissues.solr.apache.org%3E web
- https://lists.apache.org/thread.html/r9974f64723875052e02787b2a5eda689ac5247c71b827d455e5dc9a6@%3Cissues.solr.apache.org%3E web
- https://lists.apache.org/thread.html/r8a1a332899a1f92c8118b0895b144b27a78e3f25b9d58a34dd5eb084@%3Cnotifications.zookeeper.apache.org%3E web
- https://lists.apache.org/thread.html/r787e47297a614b05b99d01b04c8a1d6c0cafb480c9cb7c624a6b8fc3@%3Cissues.solr.apache.org%3E web
- https://lists.apache.org/thread.html/r780c3c210a05c5bf7b4671303f46afc3fe56758e92864e1a5f0590d0@%3Cjira.kafka.apache.org%3E web
- https://lists.apache.org/thread.html/r6ac9e263129328c0db9940d72b4a6062e703c58918dd34bd22cdf8dd@%3Cissues.ignite.apache.org%3E web
- https://lists.apache.org/thread.html/r67c4f90658fde875521c949448c54c98517beecdc7f618f902c620ec@%3Cissues.zookeeper.apache.org%3E web
- https://lists.apache.org/thread.html/r5b3693da7ecb8a75c0e930b4ca26a5f97aa0207d9dae4aa8cc65fe6b@%3Cissues.ignite.apache.org%3E web
- https://lists.apache.org/thread.html/r4b1fef117bccc7f5fd4c45fd2cabc26838df823fe5ca94bc42a4fd46@%3Cissues.ignite.apache.org%3E web
- https://lists.apache.org/thread.html/r4a66bfbf62281e31bc1345ebecbfd96f35199eecd77bfe4e903e906f@%3Cissues.ignite.apache.org%3E web
- https://lists.apache.org/thread.html/r2ea2f0541121f17e470a0184843720046c59d4bde6d42bf5ca6fad81@%3Cissues.solr.apache.org%3E web
- https://lists.apache.org/thread.html/r111f1ce28b133a8090ca4f809a1bdf18a777426fc058dc3a16c39c66@%3Cissues.solr.apache.org%3E web
- https://lists.apache.org/thread.html/r0841b06b48324cfc81325de3c05a92e53f997185f9d71ff47734d961@%3Cissues.solr.apache.org%3E web
- https://github.com/eclipse/jetty.project package