Bug 2016086 (CVE-2021-42779)

Summary: CVE-2021-42779 opensc: Heap use after free in sc_file_valid
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: crypto-team, jjelen, tm
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: opensc 0.22.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2018903, 2022288    
Bug Blocks: 2001773, 2016521    

Description Pedro Sampaio 2021-10-20 18:31:57 UTC
A heap use after free issue was found in Opensc before version 0.22.0 in sc_file_valid.

Upstream commit:

https://github.com/OpenSC/OpenSC/commit/1db88374

References:

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

Comment 1 msiddiqu 2021-11-01 08:38:28 UTC
Created opensc tracking bugs for this issue:

Affects: fedora-33 [bug 2018903]