National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2008-2931 Detail

Description

The do_change_type function in fs/namespace.c in the Linux kernel before 2.6.22 does not verify that the caller has the CAP_SYS_ADMIN capability, which allows local users to gain privileges or cause a denial of service by modifying the properties of a mountpoint.

Source:  MITRE      Last Modified:  07/09/2008

Quick Info

CVE Dictionary Entry:
CVE-2008-2931
Original release date:
07/09/2008
Last revised:
09/28/2017
Source:
US-CERT/NIST

Impact

CVSS Severity (version 2.0):
CVSS v2 Base Score:
6.9 MEDIUM
Vector:
(AV:L/AC:M/Au:N/C:C/I:C/A:C) (legend)
Impact Subscore:
10.0
Exploitability Subscore:
3.4
CVSS Version 2 Metrics:
Access Vector:
Locally exploitable
Access Complexity:
Medium
Authentication:
Not required to exploit
Impact Type:
Provides administrator access, Allows complete confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service

Vendor Statements (disclaimer)

Official Statement from Red Hat (01/15/2009)

This issue did not affect the versions of Linux kernel as shipped with Red Hat Enterprise Linux 2.1, 3, 4, and Red Hat Enterprise MRG. It was addressed in Red Hat Enterprise Linux 5 via: https://rhn.redhat.com/errata/RHSA-2008-0885.html

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource Type Source Name
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ee6f958291e2a768fd727e7a67badfff0b67711a Exploit External Source CONFIRM http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=ee6f958291e2a768fd727e7a67badfff0b67711a
http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22 External Source CONFIRM http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.22
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00007.html External Source SUSE SUSE-SA:2008:035
http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00012.html External Source SUSE SUSE-SA:2008:038
http://lists.opensuse.org/opensuse-security-announce/2008-10/msg00003.html External Source SUSE SUSE-SA:2008:049
http://lists.opensuse.org/opensuse-security-announce/2008-11/msg00001.html External Source SUSE SUSE-SR:2008:025
http://www.debian.org/security/2008/dsa-1630 External Source DEBIAN DSA-1630
http://www.openwall.com/lists/oss-security/2008/07/08/3 External Source MLIST [oss-security] 20080708 CVE-2008-2931 kernel: missing check before setting mount propagation
http://www.openwall.com/lists/oss-security/2008/07/08/4 Exploit External Source MLIST [oss-security] 20080708 Re: CVE-2008-2931 kernel: missing check before setting mount propagation
http://www.redhat.com/support/errata/RHSA-2008-0885.html External Source REDHAT RHSA-2008:0885
http://www.securityfocus.com/bid/30126 External Source BID 30126
http://www.ubuntulinux.org/support/documentation/usn/usn-637-1 External Source UBUNTU USN-637-1
https://bugzilla.redhat.com/show_bug.cgi?id=454388 External Source CONFIRM https://bugzilla.redhat.com/show_bug.cgi?id=454388
https://exchange.xforce.ibmcloud.com/vulnerabilities/43696 External Source XF linux-kernel-dochangetype-priv-escalation(43696)
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10437 External Source OVAL oval:org.mitre.oval:def:10437

References to Check Content

Identifier:
oval:org.mitre.oval:def:10437
Check System:
http://oval.mitre.org/XMLSchema/oval-definitions-5
Hyperlink:
http://oval.mitre.org/repository/data/DownloadDefinition?id=oval:org.mitre.oval:def:10437

Technical Details

Vulnerability Type (View All)

  • Permissions, Privileges, and Access Control (CWE-264)

Vulnerable software and versions Switch to CPE 2.2

Configuration 1
OR
cpe:2.3:o:linux:linux_kernel:2.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.1:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.2:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.3:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.4:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.5:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.6:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.7:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.8:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.9:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.9.9:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.10:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.11:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.12:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.13:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.14:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.15:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.16:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.17:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.18:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.19:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.20:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.21:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.22:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.23:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.24:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.25:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.26:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.27:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.28:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.29:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.30:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.31:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.32:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.33:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.34:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.35:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.36:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.37:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.38:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.0.39:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.1:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.1.89:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.1.132:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.1:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.2:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.3:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.4:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.4:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.5:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.6:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.7:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.8:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.9:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.10:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.11:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.12:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.13:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.13:pre15:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.14:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.15:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.15:pre16:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.15_pre20:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.16:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.16:pre5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.16:pre6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.17:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.17:pre14:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.18:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.19:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.20:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:pre1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:pre2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:pre3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:pre4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.21:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.22:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.22:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.22:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.22:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.23:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.23:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.23:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.24:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.24:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.24:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.24:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.24:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.25:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.26:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.27:pre1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.27:pre2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.27:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.2.27:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.3.0:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:2.3.1:*:*:*:*:*:*:*
Showing 100 of 573 CPEs, view all CPEs here.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History 3 change records found - show changes