ID CVE-2017-1000253
Summary Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (committed on April 14, 2015). This kernel vulnerability was fixed in April 2015 by commit a87938b2e246b81b4fb713edb371a9fa3c5c3c86 (backported to Linux 3.10.77 in May 2015), but it was not recognized as a security threat. With CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE enabled, and a normal top-down address allocation strategy, load_elf_binary() will attempt to map a PIE binary into an address range immediately below mm->mmap_base. Unfortunately, load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary which means that, while the first PT_LOAD segment is mapped below mm->mmap_base, the subsequent PT_LOAD segment(s) end up being mapped above mm->mmap_base into the are that is supposed to be the "gap" between the stack and the binary.
References
Vulnerable Configurations
  • cpe:2.3:o:centos:centos:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.1:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.1:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.2:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.2:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.3:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.3:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.4:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.4:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.5:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.5:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.6:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.6:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.7:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.7:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.8:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.8:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:6.9:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:6.9:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:7.1406:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:7.1406:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:7.1503:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:7.1503:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:7.1511:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:7.1511:*:*:*:*:*:*:*
  • cpe:2.3:o:centos:centos:7.1611:*:*:*:*:*:*:*
    cpe:2.3:o:centos:centos:7.1611:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.1:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.1:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.2:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.3:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.4:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.4:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.5:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.5:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.6:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.6:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.8:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.8:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:6.9:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:6.9:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:7.1:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:7.1:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:7.2:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:7.2:*:*:*:*:*:*:*
  • cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:*
    cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:*
CVSS
Base: 7.2 (as of 09-12-2017 - 02:29)
Impact:
Exploitability:
CWE CWE-119
CAPEC
  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.
  • Overflow Binary Resource File
    An attack of this type exploits a buffer overflow vulnerability in the handling of binary resources. Binary resources may include music files like MP3, image files like JPEG files, and any other binary file. These attacks may pass unnoticed to the client machine through normal usage of files, such as a browser loading a seemingly innocent JPEG file. This can allow the attacker access to the execution stack and execute arbitrary code in the target process. This attack pattern is a variant of standard buffer overflow attacks using an unexpected vector (binary files) to wrap its attack and open up a new attack vector. The attacker is required to either directly serve the binary content to the victim, or place it in a locale like a MP3 sharing application, for the victim to download. The attacker then is notified upon the download or otherwise locates the vulnerability opened up by the buffer overflow.
  • Buffer Overflow via Symbolic Links
    This type of attack leverages the use of symbolic links to cause buffer overflows. An attacker can try to create or manipulate a symbolic link file such that its contents result in out of bounds data. When the target software processes the symbolic link file, it could potentially overflow internal buffers with insufficient bounds checking.
  • Overflow Variables and Tags
    This type of attack leverages the use of tags or variables from a formatted configuration data to cause buffer overflow. The attacker crafts a malicious HTML page or configuration file that includes oversized strings, thus causing an overflow.
  • Buffer Overflow via Parameter Expansion
    In this attack, the target software is given input that the attacker knows will be modified and expanded in size during processing. This attack relies on the target software failing to anticipate that the expanded data may exceed some internal limit, thereby creating a buffer overflow.
  • Buffer Overflow in an API Call
    This attack targets libraries or shared code modules which are vulnerable to buffer overflow attacks. An attacker who has access to an API may try to embed malicious code in the API function call and exploit a buffer overflow vulnerability in the function's implementation. All clients that make use of the code library thus become vulnerable by association. This has a very broad effect on security across a system, usually affecting more than one software process.
  • Buffer Overflow in Local Command-Line Utilities
    This attack targets command-line utilities available in a number of shells. An attacker can leverage a vulnerability found in a command-line utility to escalate privilege to root.
Access
VectorComplexityAuthentication
LOCAL LOW NONE
Impact
ConfidentialityIntegrityAvailability
COMPLETE COMPLETE COMPLETE
cvss-vector via4 AV:L/AC:L/Au:N/C:C/I:C/A:C
redhat via4
advisories
  • bugzilla
    id 1492212
    title CVE-2017-1000253 kernel: load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary
    oval
    AND
    • OR
      • comment Red Hat Enterprise Linux 6 Client is installed
        oval oval:com.redhat.rhba:tst:20111656001
      • comment Red Hat Enterprise Linux 6 Server is installed
        oval oval:com.redhat.rhba:tst:20111656002
      • comment Red Hat Enterprise Linux 6 Workstation is installed
        oval oval:com.redhat.rhba:tst:20111656003
      • comment Red Hat Enterprise Linux 6 ComputeNode is installed
        oval oval:com.redhat.rhba:tst:20111656004
    • OR
      • AND
        • comment kernel is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795015
        • comment kernel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842006
      • AND
        • comment kernel-abi-whitelists is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795005
        • comment kernel-abi-whitelists is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20131645028
      • AND
        • comment kernel-bootwrapper is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795029
        • comment kernel-bootwrapper is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842010
      • AND
        • comment kernel-debug is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795027
        • comment kernel-debug is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842012
      • AND
        • comment kernel-debug-devel is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795017
        • comment kernel-debug-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842014
      • AND
        • comment kernel-devel is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795021
        • comment kernel-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842016
      • AND
        • comment kernel-doc is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795007
        • comment kernel-doc is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842024
      • AND
        • comment kernel-firmware is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795009
        • comment kernel-firmware is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842026
      • AND
        • comment kernel-headers is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795013
        • comment kernel-headers is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842008
      • AND
        • comment kernel-kdump is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795011
        • comment kernel-kdump is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842018
      • AND
        • comment kernel-kdump-devel is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795023
        • comment kernel-kdump-devel is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842020
      • AND
        • comment perf is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795025
        • comment perf is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20100842022
      • AND
        • comment python-perf is earlier than 0:2.6.32-696.10.3.el6
          oval oval:com.redhat.rhsa:tst:20172795019
        • comment python-perf is signed with Red Hat redhatrelease2 key
          oval oval:com.redhat.rhsa:tst:20111530020
    rhsa
    id RHSA-2017:2795
    released 2017-09-26
    severity Important
    title RHSA-2017:2795: kernel security update (Important)
  • bugzilla
    id 1492212
    title CVE-2017-1000253 kernel: load_elf_ binary() does not take account of the need to allocate sufficient space for the entire binary
    oval
    AND
    • comment Red Hat Enterprise Linux 5 is installed
      oval oval:com.redhat.rhba:tst:20070331001
    • OR
      • AND
        • comment kernel is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801008
        • comment kernel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314003
      • AND
        • comment kernel-PAE is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801024
        • comment kernel-PAE is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314021
      • AND
        • comment kernel-PAE-devel is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801022
        • comment kernel-PAE-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314023
      • AND
        • comment kernel-debug is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801010
        • comment kernel-debug is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314015
      • AND
        • comment kernel-debug-devel is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801006
        • comment kernel-debug-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314009
      • AND
        • comment kernel-devel is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801012
        • comment kernel-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314007
      • AND
        • comment kernel-doc is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801002
        • comment kernel-doc is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314025
      • AND
        • comment kernel-headers is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801016
        • comment kernel-headers is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314005
      • AND
        • comment kernel-kdump is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801020
        • comment kernel-kdump is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314017
      • AND
        • comment kernel-kdump-devel is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801018
        • comment kernel-kdump-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314019
      • AND
        • comment kernel-xen is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801014
        • comment kernel-xen is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314011
      • AND
        • comment kernel-xen-devel is earlier than 0:2.6.18-423.el5
          oval oval:com.redhat.rhsa:tst:20172801004
        • comment kernel-xen-devel is signed with Red Hat redhatrelease key
          oval oval:com.redhat.rhba:tst:20080314013
    rhsa
    id RHSA-2017:2801
    released 2017-09-26
    severity Important
    title RHSA-2017:2801: kernel security update (Important)
  • rhsa
    id RHSA-2017:2793
  • rhsa
    id RHSA-2017:2794
  • rhsa
    id RHSA-2017:2796
  • rhsa
    id RHSA-2017:2797
  • rhsa
    id RHSA-2017:2798
  • rhsa
    id RHSA-2017:2799
  • rhsa
    id RHSA-2017:2800
  • rhsa
    id RHSA-2017:2802
rpms
  • kernel-0:2.6.32-696.10.3.el6
  • kernel-abi-whitelists-0:2.6.32-696.10.3.el6
  • kernel-bootwrapper-0:2.6.32-696.10.3.el6
  • kernel-debug-0:2.6.32-696.10.3.el6
  • kernel-debug-devel-0:2.6.32-696.10.3.el6
  • kernel-devel-0:2.6.32-696.10.3.el6
  • kernel-doc-0:2.6.32-696.10.3.el6
  • kernel-firmware-0:2.6.32-696.10.3.el6
  • kernel-headers-0:2.6.32-696.10.3.el6
  • kernel-kdump-0:2.6.32-696.10.3.el6
  • kernel-kdump-devel-0:2.6.32-696.10.3.el6
  • perf-0:2.6.32-696.10.3.el6
  • python-perf-0:2.6.32-696.10.3.el6
  • kernel-0:2.6.18-423.el5
  • kernel-PAE-0:2.6.18-423.el5
  • kernel-PAE-devel-0:2.6.18-423.el5
  • kernel-debug-0:2.6.18-423.el5
  • kernel-debug-devel-0:2.6.18-423.el5
  • kernel-devel-0:2.6.18-423.el5
  • kernel-doc-0:2.6.18-423.el5
  • kernel-headers-0:2.6.18-423.el5
  • kernel-kdump-0:2.6.18-423.el5
  • kernel-kdump-devel-0:2.6.18-423.el5
  • kernel-xen-0:2.6.18-423.el5
  • kernel-xen-devel-0:2.6.18-423.el5
refmap via4
bid 101010
misc https://www.qualys.com/2017/09/26/cve-2017-1000253/cve-2017-1000253.txt
sectrack 1039434
Last major update 09-12-2017 - 02:29
Published 05-10-2017 - 01:29
Back to Top