CVE-2018-16421

MEDIUM

Description

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://access.redhat.com/errata/RHSA-2019:2154

https://github.com/OpenSC/OpenSC/commit/360e95d45ac4123255a4c796db96337f332160ad#diff-848b13147a344ba2c6361d91ca77feb1

https://github.com/OpenSC/OpenSC/releases/tag/0.19.0-rc1

https://lists.debian.org/debian-lts-announce/2019/09/msg00009.html

https://www.x41-dsec.de/lab/advisories/x41-2018-002-OpenSC/

Details

Source: MITRE

Published: 2018-09-04

Updated: 2019-08-06

Type: CWE-119

Risk Information

CVSS v2.0

Base Score: 4.6

Vector: AV:L/AC:L/Au:N/C:P/I:P/A:P

Impact Score: 6.4

Exploitability Score: 3.9

Severity: MEDIUM

CVSS v3.0

Base Score: 6.6

Vector: CVSS:3.0/AV:P/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 0.7

Severity: MEDIUM