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

  • Attack Complexity


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-id


  • published

    21 Apr 2020

  • disclosed

    21 Apr 2020

  • credit

    Fedorov Oleksii, Keitaro Yamazaki, Shiga Ryota (LINE Corporation)

How to fix?

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


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.