CVE-2018-12232
CVSS V2 High 7.1
CVSS V3 Medium 5.9
Description
In net/socket.c in the Linux kernel through 4.17.1, there is a race condition between fchownat and close in cases where they target the same socket file descriptor, related to the sock_close and sockfs_setattr functions. fchownat does not increment the file descriptor reference count, which allows close to set the socket to NULL during fchownat's execution, leading to a NULL pointer dereference and system crash.
Overview
- CVE ID
- CVE-2018-12232
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2018-06-12T12:29:00
- Last Modified Date
- 2018-10-31T10:30:56
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 1 | OR | 4.17.1 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:M/Au:N/C:N/I:N/A:C
- Access Vector
- NETWORK
- Access Compatibility
- MEDIUM
- Authentication
- NONE
- Confidentiality Impact
- NONE
- Integrity Impact
- NONE
- Availability Impact
- COMPLETE
- Base Score
- 7.1
- Severity
- HIGH
- Exploitability Score
- 8.6
- Impact Score
- 6.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack Vector
- NETWORK
- Attack Compatibility
- HIGH
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- NONE
- Availability Impact
- HIGH
- Base Score
- 5.9
- Base Severity
- MEDIUM
- Exploitability Score
- 2.2
- Impact Score
- 3.6
References
Reference URL | Reference Tags |
---|---|
https://patchwork.ozlabs.org/patch/926519/ | Patch Third Party Advisory |
https://lkml.org/lkml/2018/6/5/14 | Third Party Advisory |
https://github.com/torvalds/linux/commit/6d8c50dcb029872b298eea68cc6209c866fd3e14 | Patch Third Party Advisory |
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6d8c50dcb029872b298eea68cc6209c866fd3e14 | Patch Third Party Advisory |
http://www.securityfocus.com/bid/104453 | Third Party Advisory VDB Entry |
https://usn.ubuntu.com/3752-2/ | |
https://usn.ubuntu.com/3752-1/ | |
https://usn.ubuntu.com/3752-3/ | |
https://access.redhat.com/errata/RHSA-2018:2948 |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2018-12232 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12232 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 17:54:32 | Added to TrackCVE | |||
2022-12-03 07:56:40 | 2018-06-12T12:29Z | 2018-06-12T12:29:00 | CVE Published Date | updated |
2022-12-03 07:56:40 | 2018-10-31T10:30:56 | CVE Modified Date | updated | |
2022-12-03 07:56:40 | Modified | Vulnerability Status | updated |