cbcvebase.
CVE-2022-2120
published 2022-06-24

CVE-2022-2120: OFFIS DCMTK's (All versions prior to 3.6.7) service class user (SCU) is vulnerable to relative path traversal, allowing an attacker to write DICOM files into…

PriorityP263critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
2.82%
84.8th percentile
OFFIS DCMTK's (All versions prior to 3.6.7) service class user (SCU) is vulnerable to relative path traversal, allowing an attacker to write DICOM files into arbitrary directories under controlled names. This could allow remote code execution.

Affected

11 ranges
VendorProductVersion rangeFixed in
debiandcmtk< dcmtk 3.6.7-6 (bookworm)dcmtk 3.6.7-6 (bookworm)
offisdcmtk< 3.6.73.6.7
offisdcmtk>= 0 < 3.6.5-1+deb11u43.6.5-1+deb11u4
offisdcmtk>= 0 < 3.6.7-63.6.7-6
offisdcmtk>= 0 < 3.6.7-63.6.7-6
offisdcmtk>= 0 < 3.6.7-63.6.7-6
offisdcmtk>= 0 < 3.6.1~20150924-5ubuntu0.1~esm13.6.1~20150924-5ubuntu0.1~esm1
offisdcmtk>= 0 < 3.6.2-3ubuntu0.1~esm13.6.2-3ubuntu0.1~esm1
offisdcmtk>= 0 < 3.6.4-2.1ubuntu0.1~esm13.6.4-2.1ubuntu0.1~esm1
offisdcmtk>= 0 < 3.6.6-5ubuntu0.1~esm13.6.6-5ubuntu0.1~esm1
offisdcmtk>= unspecified < 3.6.73.6.7

Detection & IOCsextracted from sources · hover to see the quote

  • Vulnerable component is OFFIS DCMTK's Service Class User (SCU); monitor for DICOM file writes to unexpected or arbitrary directories, which may indicate path traversal exploitation
  • Flag any DICOM file (.dcm) written outside of expected/designated DICOM storage directories, especially with attacker-controlled filenames containing path traversal sequences (e.g., '../')
  • Exploitation could lead to remote code execution; monitor DCMTK SCU processes for unexpected child process spawning or code execution following DICOM file receipt
  • ·All DCMTK versions prior to 3.6.7 are vulnerable; patch to 3.6.7 or later (Debian: 3.6.7-6 for bookworm/sid/trixie/forky, 3.6.5-1+deb11u4 for bullseye)
  • ·Debian scope is listed as 'local', which may affect risk prioritization in Debian-based deployments despite the CVE describing a network-reachable SCU attack surface

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
osv9.8CRITICAL
vendor_debian7.5HIGH
vendor_ubuntu7.5HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.