Debian Security Advisory

DLA-3384-1 tomcat9 -- LTS security update

Date Reported:
05 Apr 2023
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 1033475.
In Mitre's CVE dictionary: CVE-2022-42252, CVE-2023-28708.
More information:

Two security vulnerabilities have been discovered in the Tomcat servlet and JSP engine.

  • CVE-2022-42252

    Apache Tomcat was configured to ignore invalid HTTP headers via setting rejectIllegalHeader to false. Tomcat did not reject a request containing an invalid Content-Length header making a request smuggling attack possible if Tomcat was located behind a reverse proxy that also failed to reject the request with the invalid header.

  • CVE-2023-28708

    When using the RemoteIpFilter with requests received from a reverse proxy via HTTP that include the X-Forwarded-Proto header set to https, session cookies created by Apache Tomcat did not include the secure attribute. This could result in the user agent transmitting the session cookie over an insecure channel.

For Debian 10 buster, these problems have been fixed in version 9.0.31-1~deb10u8.

We recommend that you upgrade your tomcat9 packages.

For the detailed security status of tomcat9 please refer to its security tracker page at:

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: