Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687400 - sys-auth/pam_u2f: multiple vulnerabilities (CVE-2019-12210, CVE-2019-12209)
Summary: sys-auth/pam_u2f: multiple vulnerabilities (CVE-2019-12210, CVE-2019-12209)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Göktürk Yüksek
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-04 23:19 UTC by Göktürk Yüksek
Modified: 2019-06-04 23:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Göktürk Yüksek gentoo-dev 2019-06-04 23:19:19 UTC
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.
Comment 1 Larry the Git Cow gentoo-dev 2019-06-04 23:23:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8a6efc572d98c67ed5e09275de6ee6aa64a4611

commit d8a6efc572d98c67ed5e09275de6ee6aa64a4611
Author:     Göktürk Yüksek <gokturk@gentoo.org>
AuthorDate: 2019-06-04 23:23:22 +0000
Commit:     Göktürk Yüksek <gokturk@gentoo.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,
    CVE-2019-12210.
    
    Bug: https://bugs.gentoo.org/687400
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org>

 sys-auth/pam_u2f/Manifest             |  1 +
 sys-auth/pam_u2f/pam_u2f-1.0.8.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)