CVE-2021-42780
5.3medium
A use after return issue was found in Opensc before version 0.22.0 in insertpin function that could potentially crash programs using the li…
- Severity
- 5.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 2.16% (higher than 82% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- redhat
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
| Product or package | Versions | Reported by |
|---|---|---|
| opensc | opensc 0.22.0 | CVE List |
| opensc_project opensc | before 0.22.0 | NVD |
| fedoraproject fedora | 33 | NVD |
| redhat enterprise_linux | 7.0 | NVD |
All scores
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha encontrado un problema de tipo use after return En Opensc versiones anteriores a 0.22.0, en la función insert_pin que podría bloquear los programas que usan la biblioteca
References
| https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383 | issue-tracking, mailing-list, patch, third-party-advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2016139 | issue-tracking, patch, third-party-advisory | |
| https://github.com/OpenSC/OpenSC/commit/5df913b7 | patch, third-party-advisory | |
| https://security.gentoo.org/glsa/202209-03 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2023/06/msg00025.html | mailing-list | |
| https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-42780 changed 2025-11-03 | CVE Terms of Use |
| NVD | CVE-2021-42780 changed 2026-06-17 | Public domain |