OpenSC ASN.1 pkcs15-cardos.c cardos_have_verifyrc_package buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.5 | $0-$5k | 0.00 |
Summary
A vulnerability was found in OpenSC. It has been rated as critical. The impacted element is the function cardos_have_verifyrc_package of the file pkcs15-cardos.c of the component ASN.1 Handler. The manipulation leads to buffer overflow.
This vulnerability is uniquely identified as CVE-2023-2977. No exploit exists.
Applying a patch is the recommended action to fix this issue.
Details
A vulnerability was found in OpenSC (version unknown). It has been rated as critical. This issue affects the function cardos_have_verifyrc_package of the file pkcs15-cardos.c of the component ASN.1 Handler. The manipulation with an unknown input leads to a buffer overflow vulnerability. Using CWE to declare the problem leads to CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. Impacted is confidentiality, integrity, and availability.
The weakness was disclosed 05/30/2023 as 2785. The advisory is shared at github.com. The identification of this vulnerability is CVE-2023-2977 since 05/30/2023. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 213413 (Debian dla-4004 : opensc - security update), which helps to determine the existence of the flaw in a target environment.
Applying the patch 3bf3ab2f9091f984cda6dd910654ccbbe3f06a40 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (213413) and EUVD (EUVD-2023-34418). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Name
License
Website
- Product: https://github.com/OpenSC/OpenSC/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.6VulDB Meta Temp Score: 6.5
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.1
NVD Vector: 🔍
CNA Base Score: 7.1
CNA Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Partially
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 213413
Nessus Name: Debian dla-4004 : opensc - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 3bf3ab2f9091f984cda6dd910654ccbbe3f06a40
Timeline
05/30/2023 🔍05/30/2023 🔍
05/30/2023 🔍
12/19/2025 🔍
Sources
Product: github.comAdvisory: 2785
Status: Confirmed
CVE: CVE-2023-2977 (🔍)
GCVE (CVE): GCVE-0-2023-2977
GCVE (VulDB): GCVE-100-230237
EUVD: 🔍
Entry
Created: 05/30/2023 18:35Updated: 12/19/2025 21:48
Changes: 05/30/2023 18:35 (41), 06/24/2023 12:51 (1), 06/24/2023 12:59 (11), 12/28/2024 21:46 (17), 01/09/2025 21:43 (11), 12/19/2025 21:48 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.