Skip to main content

Improper Handling of Exceptional Conditions in org.apache.tomcat.embed:tomcat-embed-core

CVE-2021-30639

  • org.apache.tomcat.embed:tomcat-embed-core
  • org.apache.tomcat.experimental:tomcat-embed-programmatic
  • org.apache.tomcat:tomcat-coyote
Severity High
Score 7.5/10

Summary

A vulnerability in Apache Tomcat allows an attacker to remotely trigger a denial of service. An error introduced as part of a change to improve error handling during non-blocking I/O meant that the error flag associated with the Request object was not reset between requests. This meant that once a non-blocking I/O error occurred, all future requests handled by that request object would fail. Users were able to trigger non-blocking I/O errors, e.g. by dropping a connection, thereby creating the possibility of triggering a DoS. Applications that do not use non-blocking I/O are not exposed to this vulnerability. This issue affects Apache Tomcat 7.0.X, 8.0.X, 8.5.X before 8.5.65, 9.0.X before 9.0.45 and 10.0.X before 10.0.5.

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-755 - Improper Handling of Exceptional Conditions

The software does not handle or incorrectly handles an exceptional condition.

Advisory Timeline

  • Published