Security Bypass Affecting io.undertow:undertow-servlet package, versions [,2.1.0.Final)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-IOUNDERTOW-567266
  • published21 Apr 2020
  • disclosed21 Apr 2020
  • creditFedorov Oleksii, Keitaro Yamazaki, Shiga Ryota (LINE Corporation)

Introduced: 21 Apr 2020

CVE-2020-1757  (opens in a new tab)
CWE-358  (opens in a new tab)

How to fix?

Upgrade io.undertow:undertow-servlet to version 2.1.0.Final or higher.

Overview

io.undertow:undertow-servlet is a Servlet 4.0 implementation for Undertow

Affected versions of this package are vulnerable to Security Bypass. The servletPath is normalized by the Servlet container, and truncated after the semicolon, leading to a partial servletPath. Leading to a full path /api/public/aa/secret and servletPath /api/public/aa leading to application mapping /secret. This can lead to a security bypass depending on where and how URL-based security is applied.

References

CVSS Scores

version 3.1