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.
References
Configurations
History
17 Aug 2023, 19:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
07 Jun 2023, 18:45
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 7.1 |
CPE | cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* cpe:2.3:a:opensc_project:opensc:0.23.0:-:*:*:*:*:*:* cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
|
CWE | CWE-125 | |
References | (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2211088 - Issue Tracking, Third Party Advisory | |
References | (MISC) https://github.com/OpenSC/OpenSC/issues/2785 - Issue Tracking, Patch | |
References | (MISC) https://access.redhat.com/security/cve/CVE-2023-2977 - Third Party Advisory | |
References | (MISC) https://github.com/OpenSC/OpenSC/pull/2787 - Patch |
01 Jun 2023, 01:17
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-06-01 01:15
Updated : 2024-02-04 23:37
NVD link : CVE-2023-2977
Mitre link : CVE-2023-2977
CVE.ORG link : CVE-2023-2977
JSON object : View
Products Affected
opensc_project
- opensc
redhat
- enterprise_linux