Upstream information

CVE-2018-14779 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 7.2
Vector AV:L/AC:L/Au:N/C:C/I:C/A:C
Access Vector Local
Access Complexity Low
Authentication None
Confidentiality Impact Complete
Integrity Impact Complete
Availability Impact Complete
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.8 7.1
Vector CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
Attack Vector Physical Physical
Attack Complexity Low High
Privileges Required None None
User Interaction None None
Scope Unchanged Changed
Confidentiality Impact High High
Integrity Impact High High
Availability Impact High High
CVSSv3 Version 3 3
SUSE Bugzilla entry: 1104809 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 6
SUSE Linux Enterprise Desktop 15 SP1
SUSE Linux Enterprise High Performance Computing 15 SP1
SUSE Linux Enterprise Module for Basesystem 15 SP1
SUSE Linux Enterprise Server 15 SP1
SUSE Linux Enterprise Server for SAP Applications 15 SP1
SUSE Manager Proxy 4.0
SUSE Manager Retail Branch Server 4.0
SUSE Manager Server 4.0
  • libykcs11-1 >= 1.6.2-4.30
  • libykcs11-devel >= 1.6.2-4.30
  • libykpiv-devel >= 1.6.2-4.30
  • libykpiv1 >= 1.6.2-4.30
  • yubico-piv-tool >= 1.6.2-4.30
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP1 GA libykcs11-1-1.6.2-4.30
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Basesystem 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • libykcs11-1 >= 1.6.2-4.30
  • libykcs11-devel >= 1.6.2-4.30
  • libykpiv-devel >= 1.6.2-4.30
  • libykpiv1 >= 1.6.2-4.30
  • yubico-piv-tool >= 1.6.2-4.30
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP3 GA libykcs11-1-1.6.2-4.30
SUSE Enterprise Storage 7
SUSE Linux Enterprise Desktop 15 SP2
SUSE Linux Enterprise High Performance Computing 15 SP2
SUSE Linux Enterprise Module for Basesystem 15 SP2
SUSE Linux Enterprise Server 15 SP2
SUSE Linux Enterprise Server for SAP Applications 15 SP2
SUSE Manager Proxy 4.1
SUSE Manager Retail Branch Server 4.1
SUSE Manager Server 4.1
  • libykcs11-1 >= 1.6.2-4.30
  • libykcs11-devel >= 1.6.2-4.30
  • libykpiv-devel >= 1.6.2-4.30
  • libykpiv1 >= 1.6.2-4.30
  • yubico-piv-tool >= 1.6.2-4.30
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP2 GA libykcs11-1-1.6.2-4.30
SUSE Linux Enterprise Desktop 12 SP4
  • libykcs11-1 >= 1.5.0-3.16
  • libykpiv1 >= 1.5.0-3.16
  • yubico-piv-tool >= 1.5.0-3.16
Patchnames:
SUSE Linux Enterprise Desktop 12 SP4 GA libykcs11-1-1.5.0-3.16
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Basesystem 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • libykcs11-1 >= 1.6.2-4.30
  • libykcs11-devel >= 1.6.2-4.30
  • libykpiv-devel >= 1.6.2-4.30
  • libykpiv1 >= 1.6.2-4.30
  • yubico-piv-tool >= 1.6.2-4.30
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP4 GA libykcs11-1-1.6.2-4.30
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Basesystem 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • libykcs11-1 >= 1.6.2-4.30
  • libykcs11-devel >= 1.6.2-4.30
  • libykpiv-devel >= 1.6.2-4.30
  • libykpiv1 >= 1.6.2-4.30
  • yubico-piv-tool >= 1.6.2-4.30
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP5 GA libykcs11-1-1.6.2-4.30
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Module for Basesystem 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • libykcs11-1 >= 1.6.2-4.30
  • libykcs11-2 >= 2.3.1-150600.2.2
  • libykcs11-devel >= 2.3.1-150600.2.2
  • libykpiv-devel >= 2.3.1-150600.2.2
  • libykpiv1 >= 1.6.2-4.30
  • libykpiv2 >= 2.3.1-150600.2.2
  • yubico-piv-tool >= 2.3.1-150600.2.2
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA libykcs11-1-1.6.2-4.30
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Module for Basesystem 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
  • libykcs11-1 >= 1.5.0-3.3.33
  • libykcs11-devel >= 1.5.0-3.3.33
  • libykpiv-devel >= 1.5.0-3.3.33
  • libykpiv1 >= 1.5.0-3.3.33
  • yubico-piv-tool >= 1.5.0-3.3.33
Patchnames:
SUSE-SLE-Module-Basesystem-15-2019-1123
SUSE Linux Enterprise High Performance Computing 12 SP5
  • libykcs11-1 >= 1.5.0-3.16
  • libykpiv1 >= 1.5.0-3.16
  • yubico-piv-tool >= 1.5.0-3.16
Patchnames:
SUSE Linux Enterprise High Performance Computing 12 SP5 GA libykcs11-1-1.5.0-3.16
SUSE Linux Enterprise Server 12 SP4
  • libykcs11-1 >= 1.5.0-3.16
  • libykpiv1 >= 1.5.0-3.16
  • yubico-piv-tool >= 1.5.0-3.16
Patchnames:
SUSE Linux Enterprise Server 12 SP4 GA libykcs11-1-1.5.0-3.16
SUSE Linux Enterprise Server 12 SP5
  • libykcs11-1 >= 1.5.0-3.16
  • libykpiv1 >= 1.5.0-3.16
  • yubico-piv-tool >= 1.5.0-3.16
Patchnames:
SUSE Linux Enterprise Server 12 SP5 GA libykcs11-1-1.5.0-3.16
openSUSE Leap 15.0
  • libykcs11-1 >= 1.5.0-lp150.2.3.1
  • libykcs11-devel >= 1.5.0-lp150.2.3.1
  • libykpiv-devel >= 1.5.0-lp150.2.3.1
  • libykpiv1 >= 1.5.0-lp150.2.3.1
  • yubico-piv-tool >= 1.5.0-lp150.2.3.1
Patchnames:
openSUSE-2019-1341
openSUSE Tumbleweed
  • libykcs11-2 >= 2.2.0-1.5
  • libykcs11-devel >= 2.2.0-1.5
  • libykpiv-devel >= 2.2.0-1.5
  • libykpiv2 >= 2.2.0-1.5
  • yubico-piv-tool >= 2.2.0-1.5
Patchnames:
openSUSE-Tumbleweed-2024-11537


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise Desktop 15 SP6 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP6 yubico-piv-tool Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP6 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP6 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP6 yubico-piv-tool Already fixed
SUSE Manager Proxy 4.3 yubico-piv-tool Already fixed
SUSE Manager Retail Branch Server 4.3 yubico-piv-tool Already fixed
SUSE Manager Server 4.3 yubico-piv-tool Already fixed
openSUSE Leap 15.5 yubico-piv-tool Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 12 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP2 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP2 yubico-piv-tool Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP3 yubico-piv-tool Already fixed
SUSE Linux Enterprise Module for Basesystem 15 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 12 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 12 SP5-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP2 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP2-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP3 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP3-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP4-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15-ESPOS yubico-piv-tool Unsupported
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server for SAP Applications 12 SP5 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP2 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP3 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP4 yubico-piv-tool Already fixed
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 yubico-piv-tool Already fixed
SUSE Enterprise Storage 6 yubico-piv-tool Already fixed
SUSE Enterprise Storage 7 yubico-piv-tool Already fixed
SUSE Enterprise Storage 7.1 yubico-piv-tool Already fixed
SUSE Linux Enterprise Desktop 12 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise Desktop 15 yubico-piv-tool Released
SUSE Linux Enterprise Desktop 15 SP1 yubico-piv-tool Already fixed
SUSE Linux Enterprise Desktop 15 SP2 yubico-piv-tool Already fixed
SUSE Linux Enterprise Desktop 15 SP3 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 yubico-piv-tool Released
SUSE Linux Enterprise High Performance Computing 15 SP1 yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise High Performance Computing 15-ESPOS yubico-piv-tool Affected
SUSE Linux Enterprise High Performance Computing 15-LTSS yubico-piv-tool Unsupported
SUSE Linux Enterprise Module for Basesystem 15 yubico-piv-tool Released
SUSE Linux Enterprise Module for Basesystem 15 SP1 yubico-piv-tool Already fixed
SUSE Linux Enterprise Real Time 15 SP2 yubico-piv-tool Already fixed
SUSE Linux Enterprise Real Time 15 SP3 yubico-piv-tool Already fixed
SUSE Linux Enterprise Real Time 15 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 12 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 12 SP4-ESPOS yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 12 SP4-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 yubico-piv-tool Released
SUSE Linux Enterprise Server 15 SP1 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP1-BCL yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP1-LTSS yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP2-BCL yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15 SP3-BCL yubico-piv-tool Already fixed
SUSE Linux Enterprise Server 15-LTSS yubico-piv-tool Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP4 yubico-piv-tool Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 yubico-piv-tool Released
SUSE Linux Enterprise Server for SAP Applications 15 SP1 yubico-piv-tool Already fixed
SUSE Manager Proxy 4.0 yubico-piv-tool Already fixed
SUSE Manager Proxy 4.1 yubico-piv-tool Already fixed
SUSE Manager Proxy 4.2 yubico-piv-tool Already fixed
SUSE Manager Retail Branch Server 4.0 yubico-piv-tool Already fixed
SUSE Manager Retail Branch Server 4.1 yubico-piv-tool Already fixed
SUSE Manager Retail Branch Server 4.2 yubico-piv-tool Already fixed
SUSE Manager Server 4.0 yubico-piv-tool Already fixed
SUSE Manager Server 4.1 yubico-piv-tool Already fixed
SUSE Manager Server 4.2 yubico-piv-tool Already fixed
SUSE OpenStack Cloud 9 yubico-piv-tool Already fixed
SUSE OpenStack Cloud Crowbar 9 yubico-piv-tool Already fixed
openSUSE Leap 15.3 yubico-piv-tool Already fixed
openSUSE Leap 15.4 yubico-piv-tool Already fixed
Products at an unknown state of their lifecycle.
SUSE Linux Enterprise Server LTSS Extended Security 12-SP5 yubico-piv-tool Already fixed


SUSE Timeline for this CVE

CVE page created: Tue Aug 14 16:12:18 2018
CVE page last modified: Tue Nov 12 19:19:41 2024