CVE-2018-16427
published 2018-09-04CVE-2018-16427: Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially…
PriorityP412medium4.3CVSS 3.0
AVPACLPRLUINSUCNINAH
EPSS
0.49%
39.1th percentile
Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | opensc | < opensc 0.19.0~rc1-1 (bookworm) | opensc 0.19.0~rc1-1 (bookworm) |
| opensc_project | opensc | <= 0.18.0 | — |
| opensc_project | opensc | >= 0 < 0.19.0~rc1-1 | 0.19.0~rc1-1 |
| opensc_project | opensc | >= 0 < 0.19.0~rc1-1 | 0.19.0~rc1-1 |
| opensc_project | opensc | >= 0 < 0.19.0~rc1-1 | 0.19.0~rc1-1 |
| opensc_project | opensc | >= 0 < 0.19.0~rc1-1 | 0.19.0~rc1-1 |
CVSS provenance
nvdv3.04.3MEDIUMCVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:N/I:N/A:P
osv4.3MEDIUM
vendor_debian4.3LOW
vendor_redhat4.3MEDIUM
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: Out of bounds reads handling responses from smartcards
vendor_redhat·2018-09-12·CVSS 4.3
CVE-2018-16427 [MEDIUM] CWE-120 opensc: Out of bounds reads handling responses from smartcards
opensc: Out of bounds reads handling responses from smartcards
Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.
Package: opensc (Red Hat Enterprise Linux 8) - Not affected
Debian
CVE-2018-16427: opensc - Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 ...
vendor_debian·2018·CVSS 4.3
CVE-2018-16427 [MEDIUM] CVE-2018-16427: opensc - Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 ...
Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.
Scope: local
bookworm: resolved (fixed in 0.19.0~rc1-1)
bullseye: resolved (fixed in 0.19.0~rc1-1)
forky: resolved (fixed in 0.19.0~rc1-1)
sid: resolved (fixed in 0.19.0~rc1-1)
trixie: resolved (fixed in 0.19.0~rc1-1)
GHSA
GHSA-35jr-36cj-2w6g: Various out of bounds reads when handling responses in OpenSC before 0
ghsa_unreviewed·2022-05-14
CVE-2018-16427 [MEDIUM] CWE-125 GHSA-35jr-36cj-2w6g: Various out of bounds reads when handling responses in OpenSC before 0
Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.
OSV
CVE-2018-16427: Various out of bounds reads when handling responses in OpenSC before 0
osv·2018-09-04·CVSS 4.3
CVE-2018-16427 [MEDIUM] CVE-2018-16427: Various out of bounds reads when handling responses in OpenSC before 0
Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards
bugzilla·2018-09-12·CVSS 4.3
CVE-2018-16427 [MEDIUM] CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards
CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards
Various out of bounds reads when handling responses in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to potentially crash the opensc library using programs.
External References:
https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/
Upstream Patch:
https://github.com/OpenSC/OpenSC/pull/1447/commits/8fe377e93b4b56060e5bbfb6f3142ceaeca744fa
Discussion:
Created opensc tracking bugs for this issue:
Affects: fedora-all [bug 1628053]
---
The patch sections affecting src/libopensc/card-openpgp.c and src/libopensc/ef-gdo.c don't appear to apply to opensc-0.16.0, but the rest almost certainly do
---
This issue has been addressed in the following products:
Red Hat
Bugzilla
CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards [fedora-all]
bugzilla·2018-09-12·CVSS 4.3
CVE-2018-16427 [MEDIUM] CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards [fedora-all]
CVE-2018-16427 opensc: Out of bounds reads handling responses from smartcards [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppo
https://access.redhat.com/errata/RHSA-2019:2154https://github.com/OpenSC/OpenSC/pull/1447/commits/8fe377e93b4b56060e5bbfb6f3142ceaeca744fahttps://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1https://lists.debian.org/debian-lts-announce/2019/09/msg00009.htmlhttps://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/https://access.redhat.com/errata/RHSA-2019:2154https://github.com/OpenSC/OpenSC/pull/1447/commits/8fe377e93b4b56060e5bbfb6f3142ceaeca744fahttps://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1https://lists.debian.org/debian-lts-announce/2019/09/msg00009.htmlhttps://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/
2018-09-04
Published