Bug 1404144 (CVE-2016-9939)

Summary: CVE-2016-9939 cryptopp: DoS in ASN.1 parser due to octet processing
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: alekcejk
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: 2019-06-08 03:04:18 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:
Bug Depends On: 1404145, 1404146    
Bug Blocks:    

Description Andrej Nemec 2016-12-13 07:58:31 UTC
When Crypto++ library parses an ASN.1 data value, the library allocates for the content octets based on the length octets. Later, if there's too few or too little content octets, the library throws a BERDecodeErr exception. The memory for the content octets will be zeroized (even if unused), which could take a long time on a large allocation.

Upstream bug:

https://github.com/weidai11/cryptopp/issues/346

References:

https://groups.google.com/forum/#!msg/cryptopp-users/fEQ8jWg_K8g/qOLHGIDICwAJ

CVE assignment:

http://seclists.org/oss-sec/2016/q4/660

Comment 1 Andrej Nemec 2016-12-13 07:59:06 UTC
Created cryptopp tracking bugs for this issue:

Affects: fedora-all [bug 1404145]
Affects: epel-all [bug 1404146]

Comment 2 Product Security DevOps Team 2019-06-08 03:04:18 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.