OPENSUSE-SU-2019:1341-1

Vulnerability from csaf_opensuse - Published: 2019-05-08 07:42 - Updated: 2026-09-20 18:49
Summary
Security update for yubico-piv-tool
Severity
Low
Notes
Title of the patch: Security update for yubico-piv-tool
Description of the patch: This update for yubico-piv-tool fixes the following issues: Security issues fixed: - Fixed an buffer overflow and an out of bounds memory read in ykpiv_transfer_data(), which could be triggered by a malicious token. (CVE-2018-14779, bsc#1104809, YSA-2018-03) - Fixed an buffer overflow and an out of bounds memory read in _ykpiv_fetch_object(), which could be triggered by a malicious token. (CVE-2018-14780, bsc#1104811, YSA-2018-03) This update was imported from the SUSE:SLE-15:Update update project.
Patchnames: openSUSE-2019-1341
Terms of use: CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).
Affected products
Product Identifier Version Remediation
Unresolved product id: openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64 —
Vendor Fix
Unresolved product id: openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64 —
Vendor Fix
Unresolved product id: openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64 —
Vendor Fix
Unresolved product id: openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64 —
Vendor Fix
Unresolved product id: openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64 —
Vendor Fix
Threats
Impact important
Affected products
Recommended 5 products, the same list as for CVE-2018-14779
Threats
Impact low

{
  "document": {
    "aggregate_severity": {
      "namespace": "https://www.suse.com/support/security/rating/",
      "text": "low"
    },
    "category": "csaf_security_advisory",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright 2024 SUSE LLC. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "summary",
        "text": "Security update for yubico-piv-tool",
        "title": "Title of the patch"
      },
      {
        "category": "description",
        "text": "This update for yubico-piv-tool fixes the following issues:\n\nSecurity issues fixed:\n\n- Fixed an buffer overflow and an out of bounds memory read in\n  ykpiv_transfer_data(), which could be triggered by a malicious\n  token. (CVE-2018-14779, bsc#1104809, YSA-2018-03)\n- Fixed an buffer overflow and an out of bounds memory read in\n  _ykpiv_fetch_object(), which could be triggered by a malicious\n  token. (CVE-2018-14780, bsc#1104811, YSA-2018-03)\n\nThis update was imported from the SUSE:SLE-15:Update update project.",
        "title": "Description of the patch"
      },
      {
        "category": "details",
        "text": "openSUSE-2019-1341",
        "title": "Patchnames"
      },
      {
        "category": "legal_disclaimer",
        "text": "CSAF 2.0 data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).",
        "title": "Terms of use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://www.suse.com/support/security/contact/",
      "name": "SUSE Product Security Team",
      "namespace": "https://www.suse.com/"
    },
    "references": [
      {
        "category": "external",
        "summary": "SUSE ratings",
        "url": "https://www.suse.com/support/security/rating/"
      },
      {
        "category": "self",
        "summary": "URL of this CSAF notice",
        "url": "https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2019_1341-1.json"
      },
      {
        "category": "self",
        "summary": "URL for openSUSE-SU-2019:1341-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SKNALFJRS7OCVOWZEDZL7DT5WORQDQGM/#SKNALFJRS7OCVOWZEDZL7DT5WORQDQGM"
      },
      {
        "category": "self",
        "summary": "E-Mail link for openSUSE-SU-2019:1341-1",
        "url": "https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/SKNALFJRS7OCVOWZEDZL7DT5WORQDQGM/#SKNALFJRS7OCVOWZEDZL7DT5WORQDQGM"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1104809",
        "url": "https://bugzilla.suse.com/1104809"
      },
      {
        "category": "self",
        "summary": "SUSE Bug 1104811",
        "url": "https://bugzilla.suse.com/1104811"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2018-14779 page",
        "url": "https://www.suse.com/security/cve/CVE-2018-14779/"
      },
      {
        "category": "self",
        "summary": "SUSE CVE CVE-2018-14780 page",
        "url": "https://www.suse.com/security/cve/CVE-2018-14780/"
      }
    ],
    "title": "Security update for yubico-piv-tool",
    "tracking": {
      "current_release_date": "2026-09-20T18:49:53Z",
      "generator": {
        "date": "2019-05-08T07:42:23Z",
        "engine": {
          "name": "cve-database.git:bin/generate-csaf.pl",
          "version": "1"
        }
      },
      "id": "openSUSE-SU-2019:1341-1",
      "initial_release_date": "2019-05-08T07:42:23Z",
      "revision_history": [
        {
          "date": "2019-05-08T07:42:23Z",
          "number": "1",
          "summary": "Current version"
        },
        {
          "date": "2026-09-20T18:49:53Z",
          "number": "2",
          "summary": "unknown changes"
        }
      ],
      "status": "final",
      "version": "2"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_version",
                "name": "libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
                "product": {
                  "name": "libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_id": "libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:yubico:piv_tool_manager:1.5.0:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/libykcs11-1@1.5.0-lp150.2.3.1?arch=x86_64\u0026upstream=yubico-piv-tool-0:1.5.0-lp150.2.3.1.src.rpm"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
                "product": {
                  "name": "libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_id": "libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:yubico:piv_tool_manager:1.5.0:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/libykcs11-devel@1.5.0-lp150.2.3.1?arch=x86_64\u0026upstream=yubico-piv-tool-0:1.5.0-lp150.2.3.1.src.rpm"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
                "product": {
                  "name": "libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_id": "libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:yubico:piv_tool_manager:1.5.0:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/libykpiv-devel@1.5.0-lp150.2.3.1?arch=x86_64\u0026upstream=yubico-piv-tool-0:1.5.0-lp150.2.3.1.src.rpm"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
                "product": {
                  "name": "libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_id": "libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:yubico:piv_tool_manager:1.5.0:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/libykpiv1@1.5.0-lp150.2.3.1?arch=x86_64\u0026upstream=yubico-piv-tool-0:1.5.0-lp150.2.3.1.src.rpm"
                  }
                }
              },
              {
                "category": "product_version",
                "name": "yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64",
                "product": {
                  "name": "yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_id": "yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64",
                  "product_identification_helper": {
                    "cpe": "cpe:2.3:a:yubico:piv_tool_manager:1.5.0:*:*:*:*:*:*:*",
                    "purl": "pkg:rpm/suse/yubico-piv-tool@1.5.0-lp150.2.3.1?arch=x86_64\u0026upstream=yubico-piv-tool-0:1.5.0-lp150.2.3.1.src.rpm"
                  }
                }
              }
            ],
            "category": "architecture",
            "name": "x86_64"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "openSUSE Leap 15.0",
                "product": {
                  "name": "openSUSE Leap 15.0",
                  "product_id": "openSUSE Leap 15.0",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:opensuse:leap:15.0"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "SUSE Linux Enterprise"
          }
        ],
        "category": "vendor",
        "name": "SUSE"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64 as component of openSUSE Leap 15.0",
          "product_id": "openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64"
        },
        "product_reference": "libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64 as component of openSUSE Leap 15.0",
          "product_id": "openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64"
        },
        "product_reference": "libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64 as component of openSUSE Leap 15.0",
          "product_id": "openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64"
        },
        "product_reference": "libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "libykpiv1-0:1.5.0-lp150.2.3.1.x86_64 as component of openSUSE Leap 15.0",
          "product_id": "openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64"
        },
        "product_reference": "libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.0"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64 as component of openSUSE Leap 15.0",
          "product_id": "openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64"
        },
        "product_reference": "yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64",
        "relates_to_product_reference": "openSUSE Leap 15.0"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2018-14779",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2018-14779"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "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 \u003e 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.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2018-14779",
          "url": "https://www.suse.com/security/cve/CVE-2018-14779"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1104809 for CVE-2018-14779",
          "url": "https://bugzilla.suse.com/1104809"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.0"
          },
          "products": [
            "openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2019-05-08T07:42:23Z",
          "details": "important"
        }
      ],
      "title": "CVE-2018-14779"
    },
    {
      "cve": "CVE-2018-14780",
      "ids": [
        {
          "system_name": "SUSE CVE Page",
          "text": "https://www.suse.com/security/cve/CVE-2018-14780"
        }
      ],
      "notes": [
        {
          "category": "general",
          "text": "An out-of-bounds read 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_fetch_object()`: {% highlight c %} if(sw == SW_SUCCESS) { size_t outlen; int offs = _ykpiv_get_length(data + 1, \u0026outlen); if(offs == 0) { return YKPIV_SIZE_ERROR; } memmove(data, data + 1 + offs, outlen); *len = outlen; return YKPIV_OK; } else { return YKPIV_GENERIC_ERROR; } {% endhighlight %} -- in the end, a `memmove()` occurs with a length retrieved from APDU data. This length is not checked for whether it is outside of the APDU data retrieved. Therefore the `memmove()` could copy bytes behind the allocated data buffer into this buffer.",
          "title": "CVE description"
        }
      ],
      "product_status": {
        "recommended": [
          "openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
          "openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64"
        ]
      },
      "references": [
        {
          "category": "external",
          "summary": "CVE-2018-14780",
          "url": "https://www.suse.com/security/cve/CVE-2018-14780"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1104809 for CVE-2018-14780",
          "url": "https://bugzilla.suse.com/1104809"
        },
        {
          "category": "external",
          "summary": "SUSE Bug 1104811 for CVE-2018-14780",
          "url": "https://bugzilla.suse.com/1104811"
        }
      ],
      "remediations": [
        {
          "category": "vendor_fix",
          "details": "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or \"zypper patch\".\n",
          "product_ids": [
            "openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "baseScore": 2.2,
            "baseSeverity": "LOW",
            "vectorString": "CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N",
            "version": "3.0"
          },
          "products": [
            "openSUSE Leap 15.0:libykcs11-1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykcs11-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv-devel-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:libykpiv1-0:1.5.0-lp150.2.3.1.x86_64",
            "openSUSE Leap 15.0:yubico-piv-tool-0:1.5.0-lp150.2.3.1.x86_64"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "date": "2019-05-08T07:42:23Z",
          "details": "low"
        }
      ],
      "title": "CVE-2018-14780"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…