A vulnerability was found in the pkcs15-init tool 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. When buffers are partially filled with data, initialized parts of the buffer can be incorrectly accessed.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://access.redhat.com/security/cve/CVE-2024-45620 | vdb entry vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=2309289 | issue tracking vendor advisory |