Race Condition Affecting tomcat8-jsp-2.3-api package, versions <0:8.5.87-1.92.amzn1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.2% (60th 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 IDSNYK-AMZN201803-TOMCAT8JSP23API-5441406
  • published21 Apr 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:2018.03 tomcat8-jsp-2.3-api to version 0:8.5.87-1.92.amzn1 or higher.
This issue was patched in ALAS-2023-1732.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tomcat8-jsp-2.3-api package and not the tomcat8-jsp-2.3-api package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 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