Heap-based Buffer Overflow Affecting dcmtk package, versions [,3.6.7)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st 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-UNMANAGED-DCMTK-2936516
  • published28 Jun 2022
  • disclosed28 Jun 2022
  • creditJinsheng Ba

Introduced: 28 Jun 2022

CVE-2021-41689  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade dcmtk to version 3.6.7 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow due to improper handling of string copy. Sending specific requests to the dcmqrdb program, it would query its database and copy the result even if the result is null.

References

CVSS Scores

version 3.1