Bug 1782519 (CVE-2019-19479)

Summary: CVE-2019-19479 opensc: Incorrect read operation during parsing of a SETCOS file attribute
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: crypto-team, gmazyland, jjelen, klember, nmavrogi, tmraz
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: opensc 0.20.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:23:39 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: 1782520, 1782521, 1790405, 1790406    
Bug Blocks: 1782523    

Description Guilherme de Almeida Suckevicz 2019-12-11 18:56:29 UTC
An issue was discovered in OpenSC through 0.19.0 and 0.20.x through 0.20.0-rc3. libopensc/card-setcos.c has an incorrect read operation during parsing of a SETCOS file attribute.

Reference:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=18693

Upstream commit:
https://github.com/OpenSC/OpenSC/commit/c3f23b836e5a1766c36617fe1da30d22f7b63de2

Comment 1 Guilherme de Almeida Suckevicz 2019-12-11 18:56:50 UTC
Created opensc tracking bugs for this issue:

Affects: epel-6 [bug 1782521]
Affects: fedora-all [bug 1782520]

Comment 3 errata-xmlrpc 2020-11-04 01:23:00 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4483 https://access.redhat.com/errata/RHSA-2020:4483

Comment 4 Product Security DevOps Team 2020-11-04 02:23:39 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-19479