Vulnerability · Published Apr 18, 2022 · Assigned by redhat
CVE-2021-42782
Medium 5.3
In plain English
A medium-severity memory corruption 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.8% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)2.8%top 13.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Stack buffer overflow issues were found in Opensc before version 0.22.0 in various places 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-42782 |
| Debian:13 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42782 |
| Debian:14 | opensc | 0.22.0-1 | DEBIAN-CVE-2021-42782 |
Affected products (as reported)
Weakness: CWE-119
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2016448
- https://github.com/OpenSC/OpenSC/commit/78cdab94
- https://github.com/OpenSC/OpenSC/commit/7114fb71
- https://github.com/OpenSC/OpenSC/commit/1252aca9
- https://github.com/OpenSC/OpenSC/commit/ae1cf0be
- https://github.com/OpenSC/OpenSC/commit/456ac566
- 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