SARA / Free Tools / CVE / CVE-2020-13131

CVE-2020-13131 — An issue was discovered in Yubico libykpiv before 2

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 gen

CVSS
4.3 MEDIUM
EPSS
0.07% (top 78.80%)
CWE
—
Published
2020-07-09T17:50:36.000Z
Last modified
2024-08-04T12:11:18.860Z
CVSS vector
CVSS:3.0/AC:L/AV:P/A:N/C:H/I:N/PR:N/S:U/UI:R

01What is this vulnerability?

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…

02Affected products

VendorProductVersions
na / n/an/a

03Active exploitation status

Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.

04Recommended remediation

05Technical details

For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.

06Detection signatures

Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.

07Related CVEs

No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.

08Timeline

09References

Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →