CVE-2022-4981 DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference
MediumCVSS 4.8
EPSS 0.28%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
A vulnerability was detected in DCMTK up to 3.6.7. The impacted element is the function DcmQueryRetrieveConfig::readPeerList of the file /dcmqrcnf.cc of the component dcmqrscp. The manipulation results in null pointer dereference. The attack needs to be approached locally. The exploit is now public and may be used. Upgrading to version 3.6.8 is sufficient to resolve this issue. The patch is identified as 957fb31e5. Upgrading the affected component is advised.
Upgrade path
11 packages: 4 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/dcmtk(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/dcmtk(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/dcmtk(Ubuntu Pro 16.04) | = 3.6.0-15.1; = 3.6.1~20150629-5; = 3.6.1~20150924-4; = 3.6.1~20150924-5 +4 more | No fix listed | No fix yet |
| ubuntu/dcmtk(Ubuntu Pro 18.04) | = 3.6.2-2; = 3.6.2-2build1; = 3.6.2-3; = 3.6.2-3build1 +6 more | No fix listed | No fix yet |
| ubuntu/dcmtk(Ubuntu Pro 20.04) | = 3.6.4-2.1; = 3.6.4-2.1build1; = 3.6.4-2.1build2; = 3.6.4-2.1ubuntu0.1 +5 more | No fix listed | No fix yet |
| ubuntu/dcmtk(Ubuntu Pro 22.04) | = 3.6.5-1; = 3.6.6-3ubuntu1; = 3.6.6-3ubuntu2; = 3.6.6-4 +4 more | No fix listed | No fix yet |
| ubuntu/dcmtk(Ubuntu Pro 24.04) | = 3.6.7-9; = 3.6.7-9.1build2; = 3.6.7-9.1build3; = 3.6.7-9.1build4 +2 more | No fix listed | No fix yet |
| debian/dcmtk(Debian 12) | < 3.6.7-9~deb12u4; = 3.6.7-8; = 3.6.7-9~deb12u1; = 3.6.7-9~deb12u2 +1 more | 3.6.7-9~deb12u4 | Fixed |
| debian/dcmtk(Debian 13) | < 3.6.8-5 | 3.6.8-5 | Fixed |
| debian/dcmtk(Debian 14) | < 3.6.8-5 | 3.6.8-5 | Fixed |
| offis dcmtk | < 3.6.8 | 3.6.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/dcmtk(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/dcmtk(Ubuntu:24.04) | All versions | No fix listed |
| offis dcmtk | < 3.6.8 | 3.6.8 |
| debian/dcmtk(Debian:12) | < 3.6.7-9~deb12u4 | 3.6.7-9~deb12u4 |
| debian/dcmtk(Debian:14) | < 3.6.8-5 | 3.6.8-5 |
| debian/dcmtk(Debian:13) | < 3.6.8-5 | 3.6.8-5 |
| debian/dcmtk(Debian:12) | = 3.6.7-8 | No fix listed |
| debian/dcmtk(Debian:12) | = 3.6.7-9~deb12u1 | No fix listed |
| debian/dcmtk(Debian:12) | = 3.6.7-9~deb12u2 | No fix listed |
| debian/dcmtk(Debian:12) | = 3.6.7-9~deb12u3 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | All versions | No fix listed |
| 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:16.04) | = 3.6.1~20150924-5ubuntu0.1~esm1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | = 3.6.1~20150924-5ubuntu0.1~esm2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:16.04) | = 3.6.1~20150924-5ubuntu0.1~esm3 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | All versions | No fix listed |
| 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 |
Show 26 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-3ubuntu0.1~esm1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-3ubuntu0.1~esm2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:18.04) | = 3.6.2-3ubuntu0.1~esm3 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | All versions | No fix listed |
| 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 |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1build2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1ubuntu0.1~esm1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1ubuntu0.1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1ubuntu0.1+esm1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1ubuntu0.2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:20.04) | = 3.6.4-2.1ubuntu0.2+esm1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | All versions | No fix listed |
| 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 |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | = 3.6.6-5ubuntu0.1~esm1 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:22.04) | = 3.6.6-5ubuntu0.1~esm2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:24.04) | = 3.6.7-9 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:24.04) | = 3.6.7-9.1build2 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:24.04) | = 3.6.7-9.1build3 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:24.04) | = 3.6.7-9.1build4 | No fix listed |
| ubuntu/dcmtk(Ubuntu:Pro:24.04) | = 3.6.7-9.1ubuntu0.1~esm1 | No fix listed |
References
- Debian Security Tracker CVE-2022-4981 vendor-advisory
- VDB-329029 | DCMTK dcmqrscp dcmqrcnf.cc readPeerList null pointer dereference technical-description third-party-advisory vdb-entry
- VDB-329029 | CTI Indicators (IOB, IOC, IOA) permissions-required signature vdb-entry
- Submit #673134 | DCMTK GitHub Repository DCMTK 3.6.5 NULL Pointer Dereference third-party-advisory vdb-entry
- support.dcmtk.org exploit issue-tracking vendor-advisory
- shimo.im exploit third-party-advisory
- shimo.im exploit third-party-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking