CVE-2019-12210
published 2019-06-04CVE-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…
PriorityP343high8.1CVSS 3.0
AVNACLPRLUINSUCHIHAN
EPSS
1.87%
77.0th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | pam-u2f | < pam-u2f 1.0.8-1 (bookworm) | pam-u2f 1.0.8-1 (bookworm) |
| yubico | pam-u2f | — | — |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
| yubico | pam-u2f | >= 0 < 1.0.8-1 | 1.0.8-1 |
CVSS provenance
nvdv3.08.1HIGHCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:N
osv8.1HIGH
vendor_debian8.1LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2019-12210: pam-u2f - In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file ...
vendor_debian·2019·CVSS 8.1
CVE-2019-12210 [HIGH] CVE-2019-12210: pam-u2f - In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file ...
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.
Scope: local
bookworm: resolved (fixed in 1.0.8-1)
bullseye: resolved (fixed in 1.0.8-1)
forky: resolved (fixed in 1.0.8-1)
sid: resolved (fixed in 1.0.8-1)
trixie: resolved (fixed in 1.0.8-1)
GHSA
GHSA-pxf2-5pmm-5r8f: In Yubico pam-u2f 1
ghsa_unreviewed·2022-05-24
CVE-2019-12210 [HIGH] GHSA-pxf2-5pmm-5r8f: In Yubico pam-u2f 1
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.
OSV
CVE-2019-12210: In Yubico pam-u2f 1
osv·2019-06-04·CVSS 8.1
CVE-2019-12210 [HIGH] CVE-2019-12210: In Yubico pam-u2f 1
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.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-12210 pam-u2f: file descriptor not being closed with debug configuration leads to information disclosure [fedora-all]
bugzilla·2019-06-06·CVSS 8.1
CVE-2019-12210 [HIGH] CVE-2019-12210 pam-u2f: file descriptor not being closed with debug configuration leads to information disclosure [fedora-all]
CVE-2019-12210 pam-u2f: file descriptor not being closed with debug configuration leads to information disclosure [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOT
Bugzilla
CVE-2019-12210 pam-u2f: file descriptor not being closed with debug configuration leads to information disclosure
bugzilla·2019-06-06·CVSS 8.1
CVE-2019-12210 [HIGH] CVE-2019-12210 pam-u2f: file descriptor not being closed with debug configuration leads to information disclosure
CVE-2019-12210 pam-u2f: file descriptor not being closed with debug configuration leads to information disclosure
If pam-u2f 1.0.7 is configured with debug and a custom debug log file is set using debug_file, file descriptor is not closed when a new process is spawned. This leads to the file descriptor being inherited into the child process. Which can leak sensitive information or be used to fill the disk or plant misinformation.
Upstream commit:
https://github.com/Yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62
Discussion:
Created pam-u2f tracking bugs for this issue:
Affects: fedora-all [bug 1717826]
---
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
Bugzilla
Debug file descriptor leak CVE-2019-1221 and insecure debug file handling CVE-2019-12209
bugzilla·2019-06-05·CVSS 7.5
CVE-2019-1221 [HIGH] Debug file descriptor leak CVE-2019-1221 and insecure debug file handling CVE-2019-12209
Debug file descriptor leak CVE-2019-1221 and insecure debug file handling CVE-2019-12209
Yubico have released version 1.0.8 of pam-u2f containing two security fixes that together could allow a local user to read any file on the filesystem if the debug variable and the debug_file variables have been set in the pam module configuration. Also, the authfile setting file in the users home directory was parsed as root and would follow symlinks which could be abused in many ways.
https://developers.yubico.com/pam-u2f/Release_Notes.html
This was discovered by SUSE and they will make a post to oss-security@ soon.
Release tar ball https://developers.yubico.com/pam-u2f/Releases/pam_u2f-1.0.8.tar.gz
Commit fix for CVE-2019-12210:
https://github.com/Yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97
http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00018.htmlhttp://www.openwall.com/lists/oss-security/2019/06/05/1https://developers.yubico.com/pam-u2f/Release_Notes.htmlhttps://github.com/Yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00012.htmlhttp://lists.opensuse.org/opensuse-security-announce/2019-07/msg00018.htmlhttp://www.openwall.com/lists/oss-security/2019/06/05/1https://developers.yubico.com/pam-u2f/Release_Notes.htmlhttps://github.com/Yubico/pam-u2f/commit/18b1914e32b74ff52000f10e97067e841e5fff62
2019-06-04
Published