CVE-2021-41079
tomcat: Infinite loop while reading an unexpected TLS packet when using OpenSSL JSSE engine
Overview
Description
Apache Tomcat 8.5.0 to 8.5.63, 9.0.0-M1 to 9.0.43 and 10.0.0-M1 to 10.0.2 did not properly validate incoming TLS packets. When Tomcat was configured to use NIO+OpenSSL or NIO2+OpenSSL for TLS, a specially crafted packet could be used to trigger an infinite loop resulting in a denial of service.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-20, CWE-835
Affected packages · 4
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | tomcat | >=8.5.0, <8.5.64>=9.0.0, <9.0.44>=10.0.0, <10.0.3 | 8.5.649.0.4410.0.3 |
| Maven | org.apache.tomcat:tomcat | >=10.0.0, <10.0.4>=9.0.0, <9.0.44>=8.5.0, <8.5.64 | 10.0.49.0.448.5.64 |
| Seal Maven | org.apache.tomcat.embed:tomcat-embed-core | >=9.0.39+sp0, <9.0.39+sp2 | 9.0.39+sp2 |
| Seal Maven | seal.sp1.org.apache.tomcat.embed:tomcat-embed-core | >=9.0.39, <9.0.39+sp999 | 9.0.39+sp999 |
Open a package to see all its vulnerabilities.
Operating systems · 22 fixes
Red Hat 4 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | opendaylight | eol | — |
| 7 | jws5-tomcat +11 | 0:9.0.43-13.redhat_00013.1.el7jws | RHSA-2021:3741 |
| 8 | jws5-tomcat +9 | 0:9.0.43-13.redhat_00013.1.el8jws | RHSA-2021:3741 |
| 8 (pki-deps:10.6) | pki-servlet-4-0-api +1 | wont fix | — |
| 9 | pki-servlet-4-0-api +1 | affected | — |
| 9 | jws5-tomcat | affected | — |
SUSE Linux Enterprise 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | javapackages-tools | 2.0.1-13.1 | SUSE-SU-2021:3602-1 |
| 12.5 | tomcat +8 | 9.0.36-3.71.1 | SUSE-SU-2021:3602-1 |
debian 6 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | tomcat9 | 9.0.31-1~deb10u6 |
| 11 | tomcat9 | 9.0.43-2~deb11u2 |
| 12 | tomcat9 | 9.0.53-1 |
| 13 | tomcat9 | 9.0.53-1 |
| 14 | tomcat9 | 9.0.53-1 |
| 9 | tomcat8 | 8.5.54-0+deb9u8 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| tomcat9 | 9.0.53-1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | tomcat10 +10 | 10.1.14-1.1 | openSUSE-SU-2024:13441-1 |
| Tumbleweed | tomcat +10 | 9.0.43-2.1 | openSUSE-SU-2024:11618-1 |
ubuntu 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | tomcat9 | 9.0.16-3ubuntu0.18.04.2 |
| 18.04-ESM | tomcat8 | 8.5.39-1ubuntu1~18.04.3+esm2 |
| 18.04-ESM | tomcat9 | 9.0.16-3ubuntu0.18.04.2 |
| 20.04 | tomcat9 | 9.0.31-1ubuntu0.2 |
| 20.04-ESM | tomcat9 | 9.0.31-1ubuntu0.2 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-41079
- github.com https://github.com/apache/tomcat
- github.com https://github.com/apache/tomcat/commit/34115fb3c83f6cd97772232316a492a4cc5729e0
- github.com https://github.com/apache/tomcat/commit/b90d4fc1ff44f30e4b3aba622ba6677e3f003822 (8.5.64)
- github.com https://github.com/apache/tomcat/commit/d4b340fa8feaf55831f9a59350578f7b6ca048b8 (9.0.44)
- lists.apache.org https://lists.apache.org/thread.html/r6b6b674e3f168dd010e67dbe6848b866e2acf26371452fdae313b98a%40%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r6b6b674e3f168dd010e67dbe6848b866e2acf26371452fdae313b98a@%3Cusers.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rb4de81ac647043541a32881099aa6eb5a23f1b7fd116f713f8ab9dbe%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rb4de81ac647043541a32881099aa6eb5a23f1b7fd116f713f8ab9dbe@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rccdef0349fdf4fb73a4e4403095446d7fe6264e0a58e2df5c6799434%40%3Cannounce.tomcat.apache.org%3E
Show all 21 references
- lists.debian.org https://lists.debian.org/debian-lts-announce/2021/09/msg00012.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-41079
- security.netapp.com https://security.netapp.com/advisory/ntap-20211008-0005
- security.netapp.com https://security.netapp.com/advisory/ntap-20211008-0005/
- tomcat.apache.org https://tomcat.apache.org/security-10.html#Fixed_in_Apache_Tomcat_10.0.4
- tomcat.apache.org https://tomcat.apache.org/security-8.html#Fixed_in_Apache_Tomcat_8.5.64
- tomcat.apache.org https://tomcat.apache.org/security-9.html#Fixed_in_Apache_Tomcat_9.0.44
- ubuntu.com https://ubuntu.com/security/notices/USN-5360-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6943-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-41079
- www.debian.org https://www.debian.org/security/2021/dsa-4986
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.