CWE
120
Advisory Published
CVE Published
Updated

CVE-2024-45620: Libopensc: incorrect handling of the length of buffers or files in pkcs15init

First published: Mon Sep 02 2024(Updated: )

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.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Red Hat Enterprise Linux=7.0
Red Hat Enterprise Linux=8.0
Red Hat Enterprise Linux=9.0
SUSE OpenSC<0.26.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-45620?

    CVE-2024-45620 has been assigned a high severity rating due to its potential for exploitation via crafted USB devices or smart cards.

  • How do I fix CVE-2024-45620?

    To mitigate CVE-2024-45620, update to the latest version of OpenSC or the Red Hat Enterprise Linux distributions that address the vulnerability.

  • What versions are affected by CVE-2024-45620?

    CVE-2024-45620 affects Red Hat Enterprise Linux versions 7.0, 8.0, and 9.0, and OpenSC versions prior to 0.26.0.

  • What type of attack is associated with CVE-2024-45620?

    CVE-2024-45620 is associated with attacks utilizing crafted USB devices or smart cards that can manipulate buffer handling.

  • Is there a workaround for CVE-2024-45620?

    Currently, the best practice for CVE-2024-45620 is to apply recommended patches and updates from Red Hat or OpenSC as soon as possible.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203