Buffer overflow in OpenSC - CVE-2019-16058

 

Buffer overflow in OpenSC - CVE-2019-16058

Published: September 6, 2019 / Updated: August 8, 2020


Vulnerability identifier: #VU35565
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-16058
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a length longer than 256 bytes, this triggers a buffer overflow. This may be the case for RSA keys with 4096 bits depending on the signature scheme.


Affected software

OpenSC

How to mitigate CVE-2019-16058

Install update from vendor's website.


External References

Related Security Bulletins