OpenSC provides a set of libraries and utilities to work with smart cards. Its main focus is on cards that support cryptographic operations, and facilitate their use in security applications such as authentication, mail encryption and digital signatures. OpenSC implements the standard APIs to smart cards, e.g. PKCS#11 API, Windows’ Smart Card Minidriver and macOS Tokend.
Security Fix(es):
A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardoshaveverifyrcpackage. The attacker can supply a smart card package with malformed ASN1 context. The cardoshaveverifyrcpackage function scans the ASN1 buffer for 2 tags, where remaining length is wrongly caculated due to moved starting pointer. This leads to possible heap-based buffer oob read. In cases where ASAN is enabled while compiling this causes a crash. Further info leak or more damage is possible.(CVE-2023-2977)
{ "severity": "High" }
{ "x86_64": [ "opensc-debugsource-0.20.0-11.oe1.x86_64.rpm", "opensc-debuginfo-0.20.0-11.oe1.x86_64.rpm", "opensc-0.20.0-11.oe1.x86_64.rpm" ], "src": [ "opensc-0.20.0-11.oe1.src.rpm" ], "aarch64": [ "opensc-debugsource-0.20.0-11.oe1.aarch64.rpm", "opensc-0.20.0-11.oe1.aarch64.rpm", "opensc-debuginfo-0.20.0-11.oe1.aarch64.rpm" ], "noarch": [ "opensc-help-0.20.0-11.oe1.noarch.rpm" ] }