Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tomcat.embed/tomcat-embed-core
  4. ›
  5. CVE-2021-42340

CVE-2021-42340: Missing Release of Resource after Effective Lifetime

October 14, 2021 (updated October 27, 2022)

tomcat is vulnerable to a memory leak that, over time, could lead to a denial of service via an OutOfMemoryError.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-42340

Code Behaviors & Features

Detect and mitigate CVE-2021-42340 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 8.5.60 before 8.5.72, all versions starting from 9.0.40 before 9.0.54, all versions starting from 10.0.0 up to 10.1.0

Fixed versions

  • 8.5.72
  • 9.0.54

Solution

Upgrade to versions 8.5.72, 9.0.54 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-772: Missing Release of Resource after Effective Lifetime

Source file

maven/org.apache.tomcat.embed/tomcat-embed-core/CVE-2021-42340.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:54 +0000.