Race Condition Affecting tomcat9-el-3.0-api package, versions <1:9.0.71-1.amzn2023.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.15% (52nd percentile)

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 Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-TOMCAT9EL30API-5496305
  • published4 May 2023
  • disclosed28 Sept 2022

Introduced: 28 Sep 2022

CVE-2021-43980  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 tomcat9-el-3.0-api to version 1:9.0.71-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-176.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat9-el-3.0-api package and not the tomcat9-el-3.0-api package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

The simplified implementation of blocking reads and writes introduced in Tomcat 10 and back-ported to Tomcat 9.0.47 onwards exposed a long standing (but extremely hard to trigger) concurrency bug in Apache Tomcat 10.1.0 to 10.1.0-M12, 10.0.0-M1 to 10.0.18, 9.0.0-M1 to 9.0.60 and 8.5.0 to 8.5.77 that could cause client connections to share an Http11Processor instance resulting in responses, or part responses, to be received by the wrong client.

CVSS Scores

version 3.1