GitHub Advisory Database
GHSA-9xv2-5v5q-p794
Apache Tomcat's DIGEST authenticator has an Authentication Bypass by Capture-replay vulnerability
Details
Authentication Bypass by Capture-replay vulnerability in Apache Tomcat's DIGEST authenticator. If, before windowSize requests have been made, a client makes a DIGEST authenticated request with a nonceCount on the upper boundary of the replay window then that request is replayable once only while the associated nonceCount remains within the replay window.
This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.24, from 10.1.0-M1 through 10.1.57, from 9.0.0.M1 through 9.0.120.
The following versions were EOL at the time the CVE was created but are known to be affected: from 8.5.0 through 8.5.100, from 7.0.30 through 7.0.109. Other unsupported versions may also be affected.
Users are recommended to upgrade to version 11.0.25, 10.1.58 or 9.0.121, which fix the issue.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.apache.tomcat:tomcat | From 11.0.0-M1 before 11.0.25 (fixed in 11.0.25) |
| Maven | org.apache.tomcat:tomcat | From 10.1.0-M1 before 10.1.58 (fixed in 10.1.58) |
| Maven | org.apache.tomcat:tomcat | From 9.0.0.M1 before 9.0.121 (fixed in 9.0.121) |
| Maven | org.apache.tomcat:tomcat | From 8.5.0 up to and including 8.5.100 |
| Maven | org.apache.tomcat:tomcat | From 7.0.30 up to and including 7.0.109 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 11.0.0-M1 before 11.0.25 (fixed in 11.0.25) |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 10.1.0-M1 before 10.1.58 (fixed in 10.1.58) |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 9.0.0.M1 before 9.0.121 (fixed in 9.0.121) |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 8.5.0 up to and including 8.5.100 |
| Maven | org.apache.tomcat.embed:tomcat-embed-core | From 7.0.30 up to and including 7.0.109 |
| Maven | org.apache.tomcat:tomcat-catalina | From 11.0.0-M1 before 11.0.25 (fixed in 11.0.25) |
| Maven | org.apache.tomcat:tomcat-catalina | From 10.1.0-M1 before 10.1.58 (fixed in 10.1.58) |
| Maven | org.apache.tomcat:tomcat-catalina | From 9.0.0.M1 before 9.0.121 (fixed in 9.0.121) |
| Maven | org.apache.tomcat:tomcat-catalina | From 8.5.0 up to and including 8.5.100 |
| Maven | org.apache.tomcat:tomcat-catalina | From 7.0.30 up to and including 7.0.109 |