Vulnerability · Published Apr 18, 2022 · Assigned by redhat
CVE-2021-42778
Medium 5.3
In plain English
A medium-severity security flaw in opensc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)2.1%top 17.9% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A heap double free issue was found in Opensc before version 0.22.0 in sc_pkcs15_free_tokeninfo.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42778 |
| Debian:13 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42778 |
| Debian:14 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42778 |
Affected products (as reported)
Weakness: CWE-672
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185 x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=2016083 x_refsource_MISC
- https://github.com/OpenSC/OpenSC/commit/f015746d x_refsource_MISC
- GLSA-202209-03 vendor-advisory, x_refsource_GENTOO
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html