An update for opensc is now available for openEuler-22.03-LTS-SP2 Security Advisory openeuler-security@openeuler.org openEuler security committee openEuler-SA-2023-1679 Final 1.0 1.0 2023-09-22 Initial 2023-09-22 2023-09-22 openEuler SA Tool V1.0 2023-09-22 opensc security update An update for opensc is now available for openEuler-22.03-LTS-SP2. 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 cardos_have_verifyrc_package. The attacker can supply a smart card package with malformed ASN1 context. The cardos_have_verifyrc_package 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) An update for opensc is now available for openEuler-22.03-LTS-SP2. openEuler Security has rated this update as having a security impact of high. A Common Vunlnerability Scoring System(CVSS)base score,which gives a detailed severity rating, is available for each vulnerability from the CVElink(s) in the References section. High opensc https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1679 https://www.openeuler.org/en/security/cve/detail.html?id=CVE-2023-2977 https://nvd.nist.gov/vuln/detail/CVE-2023-2977 openEuler-22.03-LTS-SP2 opensc-debuginfo-0.21.0-7.oe2203sp2.aarch64.rpm opensc-debugsource-0.21.0-7.oe2203sp2.aarch64.rpm opensc-0.21.0-7.oe2203sp2.aarch64.rpm opensc-help-0.21.0-7.oe2203sp2.noarch.rpm opensc-0.21.0-7.oe2203sp2.src.rpm opensc-0.21.0-7.oe2203sp2.x86_64.rpm opensc-debugsource-0.21.0-7.oe2203sp2.x86_64.rpm opensc-debuginfo-0.21.0-7.oe2203sp2.x86_64.rpm A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. The attacker can supply a smart card package with malformed ASN1 context. The cardos_have_verifyrc_package 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. 2023-09-22 CVE-2023-2977 openEuler-22.03-LTS-SP2 High 7.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H opensc security update 2023-09-22 https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1679