Memory Leak Affecting dcmtk package, versions <3.6.4-2.1ubuntu0.1~esm1


Severity

Recommended
low

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.87% (80th 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-UBUNTU2004-DCMTK-2940129
  • published2 Jul 2022
  • disclosed28 Jun 2022

Introduced: 28 Jun 2022

CVE-2021-41690  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 dcmtk to version 3.6.4-2.1ubuntu0.1~esm1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dcmtk package and not the dcmtk package as distributed by Ubuntu. See How to fix? for Ubuntu:20.04 relevant fixed versions and status.

DCMTK through 3.6.6 does not handle memory free properly. The malloced memory for storing all file information are recorded in a global variable LST and are not freed properly. Sending specific requests to the dcmqrdb program can incur a memory leak. An attacker can use it to launch a DoS attack.

CVSS Base Scores

version 3.1