cve.bz

CVE-2022-2120 offis dcmtk: Path traversal

9.8 criticalEPSS 3.5%

Critical (9.8) in offis dcmtk. EPSS 3.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
3.5% (unchanged from 3.5% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
CWE-23 Relative Path Traversal
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-2120 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-2120?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-2120?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-2120 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OFFIS DCMTKbefore 3.6.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11dcmtk3.6.5-1+deb11u4DLA-4227-1
Debian12, 13, 14dcmtk3.6.7-6DEBIAN-CVE-2022-2120
Ubuntu25.10, 26.04:LTS, 26.10 and 1 moredcmtkno fix listedUBUNTU-CVE-2022-2120
UbuntuPro:16.04:LTSdcmtk3.6.1~20150924-5ubuntu0.1~esm1UBUNTU-CVE-2022-2120 USN-5882-1
UbuntuPro:18.04:LTSdcmtk3.6.2-3ubuntu0.1~esm1UBUNTU-CVE-2022-2120 USN-5882-1
UbuntuPro:20.04:LTSdcmtk3.6.4-2.1ubuntu0.1~esm1UBUNTU-CVE-2022-2120 USN-5882-1
UbuntuPro:22.04:LTSdcmtk3.6.6-5ubuntu0.1~esm1UBUNTU-CVE-2022-2120 USN-5882-1
SUSEPackage Hub 15 SP3gdcm3.0.19-bp153.2.8.1openSUSE-SU-2022:10144-1
SUSEPackage Hub 15 SP3orthanc1.11.2-bp153.2.13.1openSUSE-SU-2022:10144-1
SUSEPackage Hub 15 SP3orthanc-gdcm1.5-bp153.2.6.1openSUSE-SU-2022:10144-1
SUSEPackage Hub 15 SP3orthanc-webviewer2.8-bp153.2.3.1openSUSE-SU-2022:10144-1
SUSEPackage Hub 15 SP4dcmtk3.6.7-bp154.2.3.1openSUSE-SU-2023:0108-1
SUSEPackage Hub 15 SP4gdcm3.0.19-bp154.2.5.1openSUSE-SU-2022:10145-1
SUSEPackage Hub 15 SP4orthanc1.11.2-bp154.2.3.1openSUSE-SU-2022:10145-1
SUSEPackage Hub 15 SP4orthanc-gdcm1.5-bp154.2.3.1openSUSE-SU-2022:10145-1
SUSEPackage Hub 15 SP4orthanc-webviewer2.8-bp154.2.3.1openSUSE-SU-2022:10145-1
openSUSELeap 15.3gdcm3.0.19-bp153.2.8.1openSUSE-SU-2022:10144-1
openSUSELeap 15.3orthanc1.11.2-bp153.2.13.1openSUSE-SU-2022:10144-1
openSUSELeap 15.3orthanc-gdcm1.5-bp153.2.6.1openSUSE-SU-2022:10144-1
openSUSELeap 15.3orthanc-webviewer2.8-bp153.2.3.1openSUSE-SU-2022:10144-1
openSUSELeap 15.4dcmtk3.6.7-bp154.2.3.1openSUSE-SU-2023:0108-1
openSUSELeap 15.4gdcm3.0.19-bp154.2.5.1openSUSE-SU-2022:10145-1
openSUSELeap 15.4orthanc1.11.2-bp154.2.3.1openSUSE-SU-2022:10145-1
openSUSELeap 15.4orthanc-gdcm1.5-bp154.2.3.1openSUSE-SU-2022:10145-1
openSUSELeap 15.4orthanc-webviewer2.8-bp154.2.3.1openSUSE-SU-2022:10145-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSMA-22-174-01OFFIS DCMTK2022-06-23Healthcare and Public HealthDCMTK: All versions prior to 3.6.7none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-139 Relative Path Traversal Likelihood: High · Severity: High
  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON