CVE-2021-41689

NameCVE-2021-41689
DescriptionDCMTK 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3847-1, ELA-1118-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dcmtk (PTS)jessie, jessie (lts)3.6.0-15+deb8u1vulnerable
stretch (lts), stretch3.6.1~20160216-4+deb10u1fixed
buster (security), buster, buster (lts)3.6.4-2.1+deb10u1fixed
bullseye3.6.5-1vulnerable
bookworm3.6.7-9~deb12u1fixed
sid, trixie3.6.8-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dcmtksourcejessie(unfixed)end-of-life
dcmtksourcestretch3.6.1~20160216-4+deb10u1ELA-1118-1
dcmtksourcebuster3.6.4-2.1+deb10u1DLA-3847-1
dcmtksource(unstable)3.6.7-1

Notes

[bullseye] - dcmtk <no-dsa> (Minor issue)
https://github.com/DCMTK/dcmtk/commit/5c14bf53fb42ceca12bbcc0016e8704b1580920d (DCMTK-3.6.7)

Search for package or bug name: Reporting problems