Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 406029 (CVE-2012-1088)

Summary: sys-apps/iproute2 : Multiple instances of insecure temporary file use (CVE-2012-1088)
Product: Gentoo Security Reporter: Agostino Sarubbo <ago>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED INVALID    
Severity: minor CC: base-system
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugzilla.redhat.com/show_bug.cgi?id=797878
Whiteboard: B4 [noglsa]
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2012-02-27 12:24:55 UTC
From redhad bugzilla at $URL:

Multiple (by checking for ATM technology support, checking for Xtables
extension support, checking for setns() system call support, and in
dhcp-client-script example script) insecure temporary file use cases were found
in iproute. A local attacker could use this flaw to conduct symbolic link
attacks (modify or remove files via specially-crafted link names).

Upstream patches:
[1]
http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=commitdiff;h=e557d1ac3a156ba7521ba44b0b412af4542f83f8
[2]
http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=commitdiff;h=20ed7b24df05eadf83168d1d0ce0052a31380928
Comment 1 SpanKY gentoo-dev 2012-02-27 19:01:52 UTC
this has never really been an issue for Gentoo.  i've specifically made sure to not run the bundled configure script since it has a lot of hardcoded stuff (compiler, flags, paths, etc...).

as for the example script, i don't see this needing to be addressed in the ebuild.  we install it as documentation.