CVE-2024-52316

NameCVE-2024-52316
DescriptionUnchecked Error Condition vulnerability in Apache Tomcat. If Tomcat is configured to use a custom Jakarta Authentication (formerly JASPIC) ServerAuthContext component which may throw an exception during the authentication process without explicitly setting an HTTP status to indicate failure, the authentication may not fail, allowing the user to bypass the authentication process. There are no known Jakarta Authentication components that behave in this way. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M26, from 10.1.0-M1 through 10.1.30, from 9.0.0-M1 through 9.0.95. Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fix the issue.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tomcat10 (PTS)bookworm (security), bookworm10.1.6-1+deb12u2vulnerable
sid, trixie10.1.34-1fixed
tomcat7 (PTS)jessie, jessie (lts)7.0.56-3+really7.0.109-1+deb8u6fixed
stretch7.0.75-1fixed
tomcat8 (PTS)jessie, jessie (lts)8.0.14-1+deb8u28fixed
stretch (security)8.5.54-0+deb9u8vulnerable
stretch (lts), stretch8.5.54-0+deb9u15vulnerable
tomcat9 (PTS)buster (security), buster, buster (lts)9.0.31-1~deb10u12vulnerable
bullseye (security), bullseye9.0.43-2~deb11u10vulnerable
bookworm9.0.70-2fixed
sid, trixie9.0.95-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tomcat10source(unstable)10.1.31-1
tomcat7source(unstable)(not affected)
tomcat8sourcejessie(not affected)
tomcat8source(unstable)(unfixed)
tomcat9source(unstable)9.0.70-2

Notes

[bookworm] - tomcat10 <postponed> (Minor issue, fixed along in next DSA)
https://lists.apache.org/thread/lopzlqh91jj9n334g02om08sbysdb928
https://github.com/apache/tomcat/commit/acc2f01395f895980f5d8a64573fcc1bade13369 (10.1.31)
https://github.com/apache/tomcat/commit/7532f9dc4a8c37ec958f79dc82c4924a6c539223 (9.0.96)
Starting with 9.0.70-2 src:tomcat9 no longer ships the server stack, using that as the fixed version
- tomcat7 <not-affected> (JASPIC support introduced in 8.5)
[stretch] - tomcat8 <postponed> (Minor issue, no known Jakarta Authentication components affected)
[jessie] - tomcat8 <not-affected> (JASPIC support introduced in 8.5)

Search for package or bug name: Reporting problems