Bug 1405919 (CVE-2015-8979)

Summary: CVE-2015-8979 dcmtk: Wrong length of ACSE structures can cause remote overflows/underflows
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ignatenko, lemenkov, mrceresa
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-19 07:48:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrej Nemec 2016-12-19 07:47:06 UTC
At several places in the code a wrong length of ACSE data structures received over the network can cause overflows or underflows when processing those data structures. Related checks have been added at various places in order to prevent such (possible) attacks. The bug will affect all DCMTK-based server applications that accept incoming DICOM network connections.

According to the reports only <= 3.6.0 versions are affected.

References:

http://seclists.org/oss-sec/2016/q4/700
http://www.zeroscience.mk/en/vulnerabilities/ZSL-2016-5384.php

Upstream patch:

https://github.com/commontk/DCMTK/commit/1b6bb76