CWE
125
Advisory Published
Updated

CVE-2020-13131

First published: Thu Jul 09 2020(Updated: )

An issue was discovered in Yubico libykpiv before 2.1.0. lib/util.c in this library (which is included in yubico-piv-tool) does not properly check embedded length fields during device communication. A malicious PIV token can misreport the returned length fields during RSA key generation. This will cause stack memory to be copied into heap allocated memory that gets returned to the caller. The leaked memory could include PINs, passwords, key material, and other sensitive information depending on the integration. During further processing by the caller, this information could leak across trust boundaries. Note that RSA key generation is triggered by the host and cannot directly be triggered by the token.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Yubico libykpiv<2.1.0
Yubico Piv Tool Manager<2.0.0
Yubico Yubikey Smart Card Minidriver<=4.1.0.172

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2020-13131?

    CVE-2020-13131 is a vulnerability in Yubico libykpiv before version 2.1.0 that allows a malicious PIV token to misreport the returned length fields during RSA key generation.

  • What is the severity of CVE-2020-13131?

    CVE-2020-13131 has a severity score of 4.3, which is considered medium.

  • Which software is affected by CVE-2020-13131?

    Yubico libykpiv before version 2.1.0, Yubico Piv Tool Manager before version 2.0.0, and Yubico Yubikey Smart Card Minidriver before version 4.1.0.172 are affected.

  • How can a malicious PIV token exploit CVE-2020-13131?

    A malicious PIV token can exploit CVE-2020-13131 by misreporting the returned length fields during RSA key generation.

  • Are there any references for CVE-2020-13131?

    Yes, you can find more information about CVE-2020-13131 at the following links: [Link 1](https://blog.inhq.net/posts/yubico-libykpiv-vuln/) and [Link 2](https://www.yubico.com/products/services-software/download/smart-card-drivers-tools/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203