CVE-2023-2977
Last modified
CVE-2023-2977 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. A vulnerbility was found in OpenSC. This security flaw cause a buffer overrun vulnerability in pkcs15 cardos_have_verifyrc_package. EPSS estimates a 0.30% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Opensc Project | Opensc | 0.23.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
References
- https://access.redhat.com/security/cve/CVE-2023-2977Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2211088Issue Tracking, Third Party Advisory
- https://github.com/OpenSC/OpenSC/issues/2785Issue Tracking, Patch
- https://access.redhat.com/security/cve/CVE-2023-2977Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2211088Issue Tracking, Third Party Advisory
- https://github.com/OpenSC/OpenSC/issues/2785Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-2977?
How severe is CVE-2023-2977?
How do I fix CVE-2023-2977?
Are you affected by CVE-2023-2977?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
