Multiple vulnerabilities identified for <=sys-auth/pam_u2f-1.0.8.
CVE-2019-12210 (https://nvd.nist.gov/vuln/detail/CVE-2019-12210): In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that file descriptor is not closed when a new process is spawned. This leads to the file descriptor being inherited into the child process; the child process can then read from and write to it. This can leak sensitive information and also, if written to, be used to fill the disk or plant misinformation.
CVE-2019-12209 (https://nvd.nist.gov/vuln/detail/CVE-2019-12209): Yubico pam-u2f 1.0.7 attempts parsing of the configured authfile (default $HOME/.config/Yubico/u2f_keys) as root (unless openasuser was enabled), and does not properly verify that the path lacks symlinks pointing to other files on the system owned by root. If the debug option is enabled in the PAM configuration, part of the file contents of a symlink target will be logged, possibly revealing sensitive information.
The bug has been referenced in the following commit(s):
Author: Göktürk Yüksek <email@example.com>
AuthorDate: 2019-06-04 23:23:22 +0000
Commit: Göktürk Yüksek <firstname.lastname@example.org>
CommitDate: 2019-06-04 23:23:22 +0000
sys-auth/pam_u2f: bump to 1.0.8 #687400
Version 1.0.8 resolves the following CVEs: CVE-2019-12209,
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Göktürk Yüksek <email@example.com>
sys-auth/pam_u2f/Manifest | 1 +
sys-auth/pam_u2f/pam_u2f-1.0.8.ebuild | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 36 insertions(+)