Name | CVE-2019-16058 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 939664 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
pam-p11 (PTS) | bullseye | 0.3.1-1 | fixed |
| bookworm | 0.3.1-1.2 | fixed |
| sid, trixie | 0.6.0-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
pam-p11 | source | (unstable) | 0.3.1-1 | | | 939664 |
Notes
[buster] - pam-p11 <no-dsa> (Minor issue)
[stretch] - pam-p11 <no-dsa> (Minor issue)
[jessie] - pam-p11 <no-dsa> (Minor issue)
https://github.com/OpenSC/pam_p11/commit/d150b60e1e14c261b113f55681419ad1dfa8a76c
PKCS11_sign() is used in Jessie and Stretch and has a similar problem as EVP_SignFinal() everywhere else