Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562218 - <sys-auth/libfprint-0.6.0-r2: installs broken udev rule (all dev nodes 0666)
Summary: <sys-auth/libfprint-0.6.0-r2: installs broken udev rule (all dev nodes 0666)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal critical (vote)
Assignee: Gentoo Security
URL:
Whiteboard: ~1 [noglsa]
Keywords:
: 573366 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-04 10:13 UTC by Steven Newbury
Modified: 2016-02-25 06:25 UTC (History)
3 users (show)

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


Attachments
Remove spurious \n to fix udev rule generation (libfprint-0.6.0-fix-udev-rules.patch,933 bytes, patch)
2015-10-04 10:13 UTC, Steven Newbury
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steven Newbury 2015-10-04 10:13:27 UTC
Created attachment 413694 [details, diff]
Remove spurious \n to fix udev rule generation

libfprint generates 60-fprint-autosuspend.rules for all supported devices, however there's a spurious \n before the ', MODE="0666"' which results in it appearing on a new line after the match criteria.  At least on current systemd/udev this results in MODE="0666" being applied unconditionally to all device nodes.  This is an extremely serious security problem and effectively gives root access to all users simply by having the ebuild emerged.
Comment 1 Richard Yao (RETIRED) gentoo-dev 2015-12-14 14:08:25 UTC
Steven, thank you for this report. I am adding the security team to CC and also the security keyword so that this gets the correct attention.

In the future, please add the PATCH and SECURITY keywords for bugs that contain patches and bugs that are security related respectively. This causes them to be prioritized by both the maintainer (because of the PATCH keyword) and security team (because of the SECURITY keyword).
Comment 2 cono 2015-12-25 10:38:07 UTC
I have the same issue. And its definitely a Critical security issue.
Comment 3 Yury German Gentoo Infrastructure gentoo-dev 2015-12-31 08:23:59 UTC
This is an unstable / testing version. Setting whiteboard to ~1
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2016-02-16 20:59:39 UTC
commit 7c64231d37ba906f77ddc02e8f67b6d784e69b1f
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Tue Feb 16 21:57:56 2016

    sys-auth/libfprint: Security revbump fixing broken udev rule (bug #562218).

    Package-Manager: portage-2.2.27
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-02-23 15:56:52 UTC
*** Bug 573366 has been marked as a duplicate of this bug. ***
Comment 6 Yury German Gentoo Infrastructure gentoo-dev 2016-02-25 06:25:43 UTC
Maintainer(s), Thank you for your work.
No stable versions, closing as noglsa.