Vulnerability · Published Apr 18, 2022 · Assigned by redhat
CVE-2021-42780
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.2% (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.2%top 17.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A use after return issue was found in Opensc before version 0.22.0 in insert_pin function that could potentially crash programs using the library.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42780 |
| Debian:13 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42780 |
| Debian:14 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42780 |
Affected products (as reported)
Weakness: CWE-252
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383
- https://bugzilla.redhat.com/show_bug.cgi?id=2016139
- https://github.com/OpenSC/OpenSC/commit/5df913b7
- GLSA-202209-03 vendor-advisory
- [debian-lts-announce] 20230621 [SECURITY] [DLA 3463-1] opensc security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html