Bug 2016139 (CVE-2021-42780) - CVE-2021-42780 opensc: Use after return in insert_pin function
Summary: CVE-2021-42780 opensc: Use after return in insert_pin function
Keywords:
Status: NEW
Alias: CVE-2021-42780
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2018909 2022291
Blocks: 2001773 2016521
TreeView+ depends on / blocked
 
Reported: 2021-10-20 18:46 UTC by Pedro Sampaio
Modified: 2023-07-07 08:33 UTC (History)
3 users (show)

Fixed In Version: opensc 0.22.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Pedro Sampaio 2021-10-20 18:46:47 UTC
A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.

Upstream commit:

https://github.com/OpenSC/OpenSC/commit/5df913b7

References:

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


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