CVE-2021-41689 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....
HighCVSS 7.5
EPSS 2.0%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
11 packages: 11 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| dcmtk | <= 3.6.6 | after 3.6.6 | Fixed |
| debian/dcmtk(Debian 12) | < 3.6.7-1 | 3.6.7-1 | Fixed |
| debian/dcmtk(Debian 13) | < 3.6.7-1 | 3.6.7-1 | Fixed |
| debian/dcmtk(Debian 14) | < 3.6.7-1 | 3.6.7-1 | Fixed |
| offis dcmtk | <= 3.6.6 | after 3.6.6 | Fixed |
| ubuntu/dcmtk(Ubuntu 20.04) | < 3.6.4-2.1ubuntu0.1; = 3.6.4-2.1; = 3.6.4-2.1build1; = 3.6.4-2.1build2 | 3.6.4-2.1ubuntu0.1 | Fixed |
| ubuntu/dcmtk(Ubuntu 22.04) | < 3.6.6-5ubuntu0.1~esm1 | 3.6.6-5ubuntu0.1~esm1 | Fixed |
| ubuntu/dcmtk(Ubuntu Pro 16.04) | < 3.6.1~20150924-5ubuntu0.1~esm1; = 3.6.0-15.1; = 3.6.1~20150629-5; = 3.6.1~20150924-4 +1 more | 3.6.1~20150924-5ubuntu0.1~esm1 | Fixed |
| ubuntu/dcmtk(Ubuntu Pro 18.04) | < 3.6.2-3ubuntu0.1~esm1; = 3.6.2-2; = 3.6.2-2build1; = 3.6.2-3 +3 more | 3.6.2-3ubuntu0.1~esm1 | Fixed |
| ubuntu/dcmtk(Ubuntu Pro 20.04) | < 3.6.4-2.1ubuntu0.1~esm1; = 3.6.4-2.1; = 3.6.4-2.1build1; = 3.6.4-2.1build2 | 3.6.4-2.1ubuntu0.1~esm1 | Fixed |
| ubuntu/dcmtk(Ubuntu Pro 22.04) | < 3.6.6-5ubuntu0.1~esm1; = 3.6.5-1; = 3.6.6-3ubuntu1; = 3.6.6-3ubuntu2 +2 more | 3.6.6-5ubuntu0.1~esm1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/dcmtk(Debian:12) | < 3.6.7-1 | 3.6.7-1 |
| debian/dcmtk(Debian:13) | < 3.6.7-1 | 3.6.7-1 |
| debian/dcmtk(Debian:14) | < 3.6.7-1 | 3.6.7-1 |
| ubuntu/dcmtk(Ubuntu:22.04) | < 3.6.6-5ubuntu0.1~esm1 | 3.6.6-5ubuntu0.1~esm1 |
| offis dcmtk | <= 3.6.6 | No fix listed |
| dcmtk | <= 3.6.6 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | < 3.6.1~20150924-5ubuntu0.1~esm1 | 3.6.1~20150924-5ubuntu0.1~esm1 |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | = 3.6.0-15.1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | = 3.6.1~20150629-5 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | = 3.6.1~20150924-4 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | = 3.6.1~20150924-5 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | < 3.6.2-3ubuntu0.1~esm1 | 3.6.2-3ubuntu0.1~esm1 |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-2build1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-3 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-3build1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-3build2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-3build3 | No fix listed |
| ubuntu/dcmtk(Ubuntu:20.04) | < 3.6.4-2.1ubuntu0.1 | 3.6.4-2.1ubuntu0.1 |
| ubuntu/dcmtk(Ubuntu:20.04) | = 3.6.4-2.1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:20.04) | = 3.6.4-2.1build1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:20.04) | = 3.6.4-2.1build2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | < 3.6.4-2.1ubuntu0.1~esm1 | 3.6.4-2.1ubuntu0.1~esm1 |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1build1 | No fix listed |
Show 7 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1build2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | < 3.6.6-5ubuntu0.1~esm1 | 3.6.6-5ubuntu0.1~esm1 |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | = 3.6.5-1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | = 3.6.6-3ubuntu1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | = 3.6.6-3ubuntu2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | = 3.6.6-4 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | = 3.6.6-5 | No fix listed |
References
- Debian Security Tracker CVE-2021-41689 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5882-1 vendor-advisory
- USN-7010-1 vendor-advisory
- www.cve.org issue-tracking
- github.com issue-tracking product third-party-advisory
- github.com issue-tracking patch third-party-advisory
- [debian-lts-announce] 20240628 [SECURITY] [DLA 3847-1] dcmtk security update mailing-list
- lists.debian.org