CVE Vulnerabilities

CVE-2021-41689

NULL Pointer Dereference

Published: Jun 28, 2022 | Modified: Jun 28, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

DCMTK through 3.6.6 does not handle string copy properly. Sending specific requests to the dcmqrdb program, it would query its database and copy the result even if the result is null, which can incur a head-based overflow. An attacker can use it to launch a DoS attack.

Weakness

A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit.

Affected Software

Name Vendor Start Version End Version
Dcmtk Offis * 3.6.6 (including)
Dcmtk Ubuntu bionic *
Dcmtk Ubuntu esm-apps/bionic *
Dcmtk Ubuntu esm-apps/focal *
Dcmtk Ubuntu esm-apps/jammy *
Dcmtk Ubuntu esm-apps/xenial *
Dcmtk Ubuntu focal *
Dcmtk Ubuntu impish *
Dcmtk Ubuntu jammy *
Dcmtk Ubuntu upstream *

Potential Mitigations

References