Vulnerability · Published Jun 24, 2022 · Assigned by icscert

CVE-2022-2120OFFIS DCMTK Path Traversal

High 7.5

In plain English

A high-severity security flaw in DCMTK from OFFIS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.4% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.4%top 11.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12dcmtk3.6.7-6DEBIAN-CVE-2022-2120
Debian:13dcmtk3.6.7-6DEBIAN-CVE-2022-2120
Debian:14dcmtk3.6.7-6DEBIAN-CVE-2022-2120
Ubuntu:25.10dcmtkno fix listedUBUNTU-CVE-2022-2120
Ubuntu:26.04:LTSdcmtkno fix listedUBUNTU-CVE-2022-2120
Ubuntu:26.10dcmtkno fix listedUBUNTU-CVE-2022-2120

Affected products (as reported)

VendorProductVersions
OFFIS DCMTK unspecified – before 3.6.7

Weakness: CWE-23 · Vector: CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References