Bug 2309287 (CVE-2024-45618) - CVE-2024-45618 libopensc: Uninitialized values after incorrect or missing checking return values of functions in pkcs15init
Summary: CVE-2024-45618 libopensc: Uninitialized values after incorrect or missing che...
Keywords:
Status: NEW
Alias: CVE-2024-45618
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 pkcs15-init in OpenSC. An attacker could use a crafted USB Device or Smart Card, which would present the system with a specially crafted response to APDUs. Insufficient or missing checking of return values of functions leads to unexpected work with variables that have not been initialized.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-09-02 18:36:44 UTC
The reported issues are part of the card enrollment process 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.

Insufficient or missing checking of return values of functions leads to
unexpected work with variables that have not been initialized.
The uninitialized variables were reflected in the following functions:

- strlen, called from set_string
- sc_build_pin
- DES_set_key_unchecked, called from openssl_enc

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.