Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135167 - Kernel: Small information leak in Linux kernel (CVE-2006-1343)
Summary: Kernel: Small information leak in Linux kernel (CVE-2006-1343)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Security
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard: [linux <2.6.16.19]
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 08:01 UTC by Frederic Mangeant
Modified: 2009-07-11 11:38 UTC (History)
0 users

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 Frederic Mangeant 2006-06-01 08:01:58 UTC
In 2.6.16.19 Changelog :

Marcel Holtmann:
NETFILTER: Fix small information leak in SO_ORIGINAL_DST (CVE-2006-1343)

http://secunia.com/advisories/19357

Pavel Kankovsky has reported a weakness in the Linux kernel, which can be exploited by malicious, local users to disclose potentially sensitive information.

The weakness is caused due to the "sockaddr_in.sin_zero" array not being zeroed before being returned to user space programs calling certain socket functions to retrieve information about the specified socket. This can be exploited to disclose six uninitialised bytes of the kernel stack via calls to the "getsockopt()" function with the "SO_ORIGINAL_DST" option, or via calls to the "getsockname()", "getpeername()", and "accept()" functions.

The weakness has been reported in the 2.4 and 2.6 kernel branches.

NOTE: The weakness in the "getsockname()", "getpeername()", and "accept()" functions affect only the 2.4 kernel.

Solution:
Update to the fixed versions.
http://kernel.org/

Kernel 2.4.x:
Fixed in the CVS repositories.

Kernel 2.6.x:
Update to version 2.6.16.19.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2006-08-08 14:37:55 UTC
2.6 is all fixed, I'll be opening another bug for a bunch of 2.4 vulnerabilities shortly.