| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.3 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in OpenSC up to 0.21.x. This affects the function sc_file_valid. The manipulation results in use after free.
This vulnerability is cataloged as CVE-2021-42779. There is no exploit available.
The affected component should be upgraded.
Details
A vulnerability, which was classified as critical, was found in OpenSC up to 0.21.x. Affected is the function sc_file_valid. The manipulation with an unknown input leads to a use after free vulnerability. CWE is classifying the issue as CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. This is going to have an impact on confidentiality, integrity, and availability.
The weakness was shared 04/18/2022. The advisory is available at bugs.chromium.org. This vulnerability is traded as CVE-2021-42779 since 10/21/2021. Technical details are known, but there is no available exploit.
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.
Upgrading to version 0.22.0 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (213413). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Product
Name
Version
License
Website
- Product: https://github.com/OpenSC/OpenSC/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.4VulDB Meta Temp Score: 5.3
VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD 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: 🔍
NVD Base Score: 🔍
Exploiting
Class: Use after freeCWE: CWE-416 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
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: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: OpenSC 0.22.0
Patch: github.com
Timeline
10/21/2021 🔍04/18/2022 🔍
04/18/2022 🔍
11/04/2025 🔍
Sources
Product: github.comAdvisory: bugs.chromium.org
Status: Confirmed
CVE: CVE-2021-42779 (🔍)
GCVE (CVE): GCVE-0-2021-42779
GCVE (VulDB): GCVE-100-197634
Entry
Created: 04/18/2022 22:11Updated: 11/04/2025 13:50
Changes: 04/18/2022 22:11 (39), 04/21/2022 14:33 (1), 12/28/2024 21:46 (16), 11/04/2025 13:50 (18)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.