Bug 2309285 (CVE-2024-45615) - CVE-2024-45615 libopensc: pkcs15init: Usage of uninitialized values in libopensc and pkcs15init
Summary: CVE-2024-45615 libopensc: pkcs15init: Usage of uninitialized values in libope...
Keywords:
Status: NEW
Alias: CVE-2024-45615
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-02 18:36 UTC by OSIDB Bzimport
Modified: 2024-09-04 17:38 UTC (History)
0 users

Fixed In Version:
Doc Type: ---
Doc Text:
A vulnerability was found in OpenSC, OpenSC tools, PKCS#11 module, minidriver, and CTK. The problem is missing initialization of variables expected to be initialized (as arguments to other functions, etc.).
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-02 18:36:42 UTC
The reported issues are part of the libopensc library, which makes them
accessible from OpenSC tools, PKCS#11 module, minidriver, or CTK. One is
only relevant to handling the card enrollment using the pkcs15-init tool.
The attack requires a crafted USB device or smart card that would present
the system with specially crafted responses to the APDUs, so they are
considered high complexity and low severity.

The problem is missing initialization of variables expected to be
initialized (as arguments to other functions, etc.).
The uninitialized variables were reflected in the following functions:

- cac_read_file
- piv_get_challenge
- sc_asn1_decode_object_id
- sc_pkcs15emu_sc_hsm_decode_cvc
- do_init_app, sc_pkcs15init_create_pin

Originally reported by Matteo Marini (Sapienza University of Rome)


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