Bug 1775212 (CVE-2019-17362)

Summary: CVE-2019-17362 libtomcrypt: out-of-bounds read in the der_decode_utf8_string function in der_decode_utf8_string.c
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dmetzger, gblomqui, gmccullo, gtanzill, jcammara, jeremy, jfrey, jhardy, kdixon, negativo17, obarenbo, roliveri, simaishi, smallamp, tkuratom
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: 2020-05-20 21:19:12 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: 1775215, 1777090, 1775214    
Bug Blocks: 1775219    

Description Dhananjay Arunesh 2019-11-21 15:05:42 UTC
In LibTomCrypt through 1.18.2, the der_decode_utf8_string function (in
der_decode_utf8_string.c) does not properly detect certain invalid UTF-8
sequences. This allows context-dependent attackers to cause a denial of service
(out-of-bounds read and crash) or read information from other memory locations
via carefully crafted DER-encoded data.

Reference:
https://github.com/libtom/libtomcrypt/pull/508
https://github.com/libtom/libtomcrypt/issues/507

Comment 1 Dhananjay Arunesh 2019-11-21 15:10:10 UTC
Created libtomcrypt tracking bugs for this issue:

Affects: epel-all [bug 1775215]
Affects: fedora-all [bug 1775214]

Comment 4 Borja Tarraso 2019-12-12 17:02:28 UTC
Statement:

Red Hat CloudForms 5.9, 5.10 and 5.11 are not affected as it does not ship anymore libtomcrypt library. Only CloudForms 5.8 which is EOL delivers libtomcrypt library.

Red Hat Ansible Engine 2.8 and 2.9 are not affected as it does not ship libtomcrypt library anymore and Ansible Engine 2.7 had deprecate it.

Comment 5 Product Security DevOps Team 2020-05-20 21:19:12 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-17362