Out-of-Bounds Affecting opensc package, versions <0.16.0-3+deb9u1
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN9-OPENSC-282137
- published 25 Sep 2018
- disclosed 4 Sep 2018
Introduced: 4 Sep 2018
CVE-2018-16421 Open this link in a new tabHow to fix?
Upgrade Debian:9 opensc to version 0.16.0-3+deb9u1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream opensc package and not the opensc package as distributed by Debian.
See How to fix? for Debian:9 relevant fixed versions and status.
Several buffer overflows when handling responses from a CAC Card in cac_get_serial_nr_from_CUID in libopensc/card-cac.c in OpenSC before 0.19.0-rc1 could be used by attackers able to supply crafted smartcards to cause a denial of service (application crash) or possibly have unspecified other impact.
References
- https://security-tracker.debian.org/tracker/CVE-2018-16421
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16421
- https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-848b13147a344ba2c6361d91ca77feb1
- https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1
- https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/
- https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html
- https://access.redhat.com/errata/RHSA-2019:2154
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2018-16421