CVE-2021-34193
published 2023-08-22CVE-2021-34193: Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
1.14%
63.2th percentile
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | opensc | < opensc 0.22.0-1 (bookworm) | opensc 0.22.0-1 (bookworm) |
| msrc | cbl2_opensc_0.23.0-1_on_cbl_mariner_2.0 | — | — |
| opensc_project | opensc | < 0.22.0 | 0.22.0 |
| opensc_project | opensc | >= 0 < 0.21.0-1+deb11u1 | 0.21.0-1+deb11u1 |
| opensc_project | opensc | >= 0 < 0.22.0-1 | 0.22.0-1 |
| opensc_project | opensc | >= 0 < 0.22.0-1 | 0.22.0-1 |
| opensc_project | opensc | >= 0 < 0.22.0-1 | 0.22.0-1 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
osv7.5HIGH
vendor_debian7.5HIGH
vendor_msrc7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
opensc: Stack overflow vulnerability in OpenSC smart card middleware
vendor_redhat·2023-08-22·CVSS 7.5
CVE-2021-34193 [HIGH] CWE-787 opensc: Stack overflow vulnerability in OpenSC smart card middleware
opensc: Stack overflow vulnerability in OpenSC smart card middleware
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
Statement: Red Hat Product Security does not consider this to be a vulnerability.
NOTE the reporters of this flaw have identified this as a duplicate flaw [1] and requested it be rejected in NVD.
[1] https://nvd.nist.gov/vuln/detail/CVE-2021-42782
Package: opensc (Red Hat Enterprise Linux 7) - Not affected
Package: opensc (Red Hat Enterprise Linux 8) - Not affected
Package: opensc (Red Hat Enterprise Linux 9) - Not affected
Microsoft
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
vendor_msrc·2023-08-08·CVSS 7.5
CVE-2021-34193 [HIGH] CWE-787 Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediatio
Debian
CVE-2021-34193: opensc - Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via cra...
vendor_debian·2021·CVSS 7.5
CVE-2021-34193 [HIGH] CVE-2021-34193: opensc - Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via cra...
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
Scope: local
bookworm: resolved (fixed in 0.22.0-1)
bullseye: resolved (fixed in 0.21.0-1+deb11u1)
forky: resolved (fixed in 0.22.0-1)
sid: resolved (fixed in 0.22.0-1)
trixie: resolved (fixed in 0.22.0-1)
GHSA
GHSA-882v-v6g5-f7qr: Stack overflow vulnerability in OpenSC smart card middleware before 0
ghsa_unreviewed·2023-08-22
CVE-2021-34193 [HIGH] CWE-787 GHSA-882v-v6g5-f7qr: Stack overflow vulnerability in OpenSC smart card middleware before 0
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
OSV
CVE-2021-34193: Stack overflow vulnerability in OpenSC smart card middleware before 0
osv·2023-08-22·CVSS 7.5
CVE-2021-34193 [HIGH] CVE-2021-34193: Stack overflow vulnerability in OpenSC smart card middleware before 0
Stack overflow vulnerability in OpenSC smart card middleware before 0.23 via crafted responses to APDUs.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27719https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28768https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28855https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29912https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30112https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30800https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31448https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31540https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32149https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27719https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28185https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28383https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28768https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28843https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28855https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=29912https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30112https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=30800https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31448https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31540https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32149https://lists.debian.org/debian-lts-announce/2024/12/msg00026.html
2023-08-22
Published