{"id":"UBUNTU-CVE-2022-2120","details":"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.","modified":"2026-05-20T16:06:40.604900372Z","published":"2022-06-24T15:15:00Z","related":["USN-5882-1"],"upstream":["CVE-2022-2120"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-2120"},{"type":"REPORT","url":"https://www.cisa.gov/uscert/ics/advisories/icsma-22-174-01"},{"type":"REPORT","url":"https://support.dcmtk.org/redmine/issues/1021"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5882-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-2120"}],"affected":[{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1~20150924-5ubuntu0.1~esm1"}]}],"versions":["3.6.0-15.1","3.6.1~20150629-5","3.6.1~20150924-4","3.6.1~20150924-5"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.1~20150924-5ubuntu0.1~esm1","binary_name":"dcmtk"},{"binary_version":"3.6.1~20150924-5ubuntu0.1~esm1","binary_name":"libdcmtk5"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2120.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.2-3ubuntu0.1~esm1"}]}],"versions":["3.6.2-2","3.6.2-2build1","3.6.2-3","3.6.2-3build1","3.6.2-3build2","3.6.2-3build3"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.2-3ubuntu0.1~esm1","binary_name":"dcmtk"},{"binary_version":"3.6.2-3ubuntu0.1~esm1","binary_name":"libdcmtk12"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2120.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.4-2.1ubuntu0.1~esm1"}]}],"versions":["3.6.4-2.1","3.6.4-2.1build1","3.6.4-2.1build2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.4-2.1ubuntu0.1~esm1","binary_name":"dcmtk"},{"binary_version":"3.6.4-2.1ubuntu0.1~esm1","binary_name":"libdcmtk14"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2120.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fjammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.6-5ubuntu0.1~esm1"}]}],"versions":["3.6.5-1","3.6.6-3ubuntu1","3.6.6-3ubuntu2","3.6.6-4","3.6.6-5"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.6-5ubuntu0.1~esm1","binary_name":"dcmtk"},{"binary_version":"3.6.6-5ubuntu0.1~esm1","binary_name":"libdcmtk16"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2120.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=esm-apps%2Fnoble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.7-9","3.6.7-9.1build2","3.6.7-9.1build3","3.6.7-9.1build4","3.6.7-9.1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.7-9.1ubuntu0.1~esm1","binary_name":"dcmtk"},{"binary_version":"3.6.7-9.1ubuntu0.1~esm1","binary_name":"libdcmtk17t64"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2120.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.9-4","3.6.9-5","3.6.9-5build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.6.9-5build1","binary_name":"dcmtk"},{"binary_version":"3.6.9-5build1","binary_name":"dcmtk-data"},{"binary_version":"3.6.9-5build1","binary_name":"libdcmtk19"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2120.json"}},{"package":{"name":"dcmtk","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/dcmtk?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.6.9-5build1","3.6.9-6","3.7.0+really3.6.9-1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.7.0+really3.6.9-1","binary_name":"dcmtk"},{"binary_version":"3.7.0+really3.6.9-1","binary_name":"dcmtk-data"},{"binary_version":"3.7.0+really3.6.9-1","binary_name":"libdcmtk19"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-2120.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}