Bug 1736869 (CVE-2019-12209)

Summary: CVE-2019-12209 pam-u2f: insecure debug file handling leads to information disclosure
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: sethdjennings
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-02 13:18:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1736870    
Bug Blocks:    

Description Marian Rehak 2019-08-02 08:42:23 UTC
Parsing of the configured authfile (default ~/.config/Yubico/u2f_keys) as root, 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.

External Reference:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931991

Upstream Commit:

https://github.com/Yubico/pam-u2f/commit/7db3386fcdb454e33a3ea30dcfb8e8960d4c3aa3

Comment 1 Marian Rehak 2019-08-02 08:42:34 UTC
Created pam-u2f tracking bugs for this issue:

Affects: fedora-all [bug 1736870]

Comment 2 Product Security DevOps Team 2019-08-02 13:18:22 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.