7.2
CVE-2018-14779
- EPSS 0.15%
- Veröffentlicht 15.08.2018 18:29:00
- Zuletzt bearbeitet 21.11.2024 03:49:46
- Quelle cve@mitre.org
- CVE-Watchlists
- Unerledigt
A buffer overflow issue was discovered in the Yubico-Piv 1.5.0 smartcard driver. The file lib/ykpiv.c contains the following code in the function `ykpiv_transfer_data()`: {% highlight c %} if(*out_len + recv_len - 2 > max_out) { fprintf(stderr, "Output buffer to small, wanted to write %lu, max was %lu.", *out_len + recv_len - 2, max_out); } if(out_data) { memcpy(out_data, data, recv_len - 2); out_data += recv_len - 2; *out_len += recv_len - 2; } {% endhighlight %} -- it is clearly checked whether the buffer is big enough to hold the data copied using `memcpy()`, but no error handling happens to avoid the `memcpy()` in such cases. This code path can be triggered with malicious data coming from a smartcard.Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Yubico ≫ Piv Manager Version < 1.4.2
Yubico ≫ Piv Manager Version1.4.2
Yubico ≫ Piv Manager Version1.4.2b
Yubico ≫ Piv Manager Version1.4.2c
Yubico ≫ Piv Manager Version1.4.2d
Yubico ≫ Piv Manager Version1.4.2e
Yubico ≫ Piv Manager Version1.4.2f
Yubico ≫ Piv Manager Version1.4.2g
Yubico ≫ Smart Card Minidriver Version <= 3.7.3.160
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.15% | 0.361 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| nvd@nist.gov | 6.8 | 0.9 | 5.9 |
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
| nvd@nist.gov | 7.2 | 3.9 | 10 |
AV:L/AC:L/Au:N/C:C/I:C/A:C
|
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-787 Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.