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

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.

Published

CVSS 3.1 score 3.9 out of 10.

Related technologies

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:opensc_project:opensc:*:*:*:*:*:*:*:*
  • opensc — Fixed in 0.26.0-r0
  • opensc — Fixed in 0.26.0-r0

Source evidence