Information Exposure

Affecting org.eclipse.jetty:jetty-webapp artifact, versions [9.4.37.v20210219,9.4.39)

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

org.eclipse.jetty:jetty-webapp is a maven plugin for Jetty web application support.

Affected versions of this package are vulnerable to Information Exposure. 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.

Remediation

Upgrade org.eclipse.jetty:jetty-webapp to version 9.4.39 or higher.

References

CVSS Score

5.3
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    None
  • Availability
    None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Credit
Unknown
CVE
CVE-2021-28164
CWE
CWE-200
Snyk ID
SNYK-JAVA-ORGECLIPSEJETTY-1090339
Disclosed
02 Apr, 2021
Published
02 Apr, 2021