Bug 955629 (CVE-2013-1979) - CVE-2013-1979 kernel: net: incorrect SCM_CREDENTIALS passing
Summary: CVE-2013-1979 kernel: net: incorrect SCM_CREDENTIALS passing
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2013-1979
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 955630 955631 955647
Blocks: 955634
TreeView+ depends on / blocked
 
Reported: 2013-04-23 12:30 UTC by Petr Matousek
Modified: 2019-09-29 13:03 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-24 12:32:56 UTC


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0829 normal SHIPPED_LIVE Important: kernel-rt security and bug fix update 2013-05-20 20:47:02 UTC
Novell 816708 None None None Never

Description Petr Matousek 2013-04-23 12:30:31 UTC
Commit 257b5358b32f ("scm: Capture the full credentials of the scm sender") changed the credentials passing code to pass in the effective uid/gid instead of the real uid/gid.

Obviously this doesn't matter most of the time (since normally they are the same), but it results in differences for suid binaries when the wrong uid/gid ends up being used. 

An unprivileged local user could use this flaw to elevate their privileges.

Upstream fix:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=83f1b4ba917db5dc5a061a44b3403ddb6e783494

Acknowledgements:

Red Hat would like to thank Andy Lutomirski for reporting this issue.

Comment 3 Petr Matousek 2013-04-23 12:39:07 UTC
Statement:

This issue did not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5 and 6.

This issue was addressed in Red Hat Enterprise MRG 2 via RHSA-2013:0829 https://rhn.redhat.com/errata/RHSA-2013-0829.html

Comment 5 Jan Lieskovsky 2013-04-23 12:53:42 UTC
Other references:
  http://www.mail-archive.com/stable@vger.kernel.org/msg38503.html

Comment 7 Petr Matousek 2013-04-23 13:04:21 UTC
Created kernel tracking bugs for this issue

Affects: fedora-all [bug 955647]

Comment 8 Fedora Update System 2013-04-27 00:07:18 UTC
kernel-3.8.8-203.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2013-05-04 00:08:51 UTC
kernel-3.8.11-100.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 errata-xmlrpc 2013-05-20 16:56:27 UTC
This issue has been addressed in following products:

  MRG for RHEL-6 v.2

Via RHSA-2013:0829 https://rhn.redhat.com/errata/RHSA-2013-0829.html


Note You need to log in before you can comment on or make changes to this bug.