Bug 1404144 (CVE-2016-9939) - CVE-2016-9939 cryptopp: DoS in ASN.1 parser due to octet processing
Summary: CVE-2016-9939 cryptopp: DoS in ASN.1 parser due to octet processing
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2016-9939
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1404146 1404145
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-13 07:58 UTC by Andrej Nemec
Modified: 2019-09-29 14:02 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-08 03:04:18 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.