{"id":"CVE-2023-2977","published":"2023-06-01T00:00:00Z","modified":"2025-11-03T21:47:59Z","title":"A vulnerbility was found in OpenSC","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00293,"percentile":0.22423,"provenance":"source"},"cwes":[{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-2977","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2211088","tags":[]},{"url":"https://github.com/OpenSC/OpenSC/issues/2785","tags":[]},{"url":"https://github.com/OpenSC/OpenSC/pull/2787","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LAR54OV6EHA56B4XJF6RNPQ4HJ2ITU66/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJD4Q4AJSGE5UIJI7OUYZY4HGGCVYQNI/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html","tags":[]}],"priority":{"score":9.5,"factors":[{"name":"EPSS percentile","points":4.48},{"name":"CVSS severity","points":4.97}]},"affectedVersions":[{"vendor":"n/a","product":"OpenSC","versions":["opensc-0.23.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-01-09T17:54:22.560833Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-34418","exploited":false,"provenance":"source"}}