1. CVE archive
  2. 2014
  3. CVE-2014-0101

CVE-2014-0101

7.8 High severity CVSS v2.0 · source NVD AV:N/AC:L/Au:N/C:N/I:N/A:C 7.8 – High

Description

The sctp_sf_do_5_1D_ce function in net/sctp/sm_statefuns.c in the Linux kernel through 3.13.6 does not validate certain auth_enable and auth_capable fields before making an sctp_sf_authenticate call, which allows remote attackers to cause a denial of service (NULL pointer dereference and system crash) via an SCTP handshake with a modified INIT chunk and a crafted AUTH chunk before a COOKIE_ECHO chunk.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 10.04 –
f5 big-ip access policy manager >= 11.1.0 <= 11.5.3 –
f5 big-ip advanced firewall manager >= 11.3.0 <= 11.5.3 –
f5 big-ip analytics >= 11.1.0 <= 11.5.3 –
f5 big-ip application acceleration manager >= 11.4.0 <= 11.5.3 –
f5 big-ip application security manager >= 11.1.0 <= 11.5.3 –
f5 big-ip edge gateway >= 11.1.0 <= 11.3.0 –
f5 big-ip enterprise manager >= 2.1.0 <= 2.3.0 –
f5 big-ip enterprise manager >= 3.0.0 <= 3.1.1 –
f5 big-ip global traffic manager >= 11.1.0 <= 11.5.3 –
f5 big-ip link controller >= 11.1.0 <= 11.5.3 –
f5 big-ip local traffic manager >= 11.1.0 <= 11.5.3 –
f5 big-ip policy enforcement manager >= 11.3.0 <= 11.5.3 –
f5 big-ip protocol security module >= 11.1.0 <= 11.4.1 –
f5 big-ip wan optimization manager >= 11.1.0 <= 11.3.0 –
f5 big-ip webaccelerator >= 11.1.0 <= 11.3.0 –
f5 big-iq adc 4.5.0 –
f5 big-iq centralized management 4.6.0 –
f5 big-iq cloud >= 4.0.0 <= 4.5.0 –
f5 big-iq device >= 4.2.0 <= 4.5.0 –
f5 big-iq security >= 4.0.0 <= 4.5.0 –
linux linux kernel >= 2.6.24 < 3.2.56 –
linux linux kernel >= 3.3 < 3.4.84 –
linux linux kernel >= 3.5 < 3.10.34 –
linux linux kernel >= 3.11 < 3.12.15 –
linux linux kernel >= 3.13 < 3.13.7 –
redhat enterprise linux desktop 6.0 –
redhat enterprise linux eus 6.3 –
redhat enterprise linux eus 6.4 –
redhat enterprise linux eus 6.5 –
redhat enterprise linux server 6.0 –
redhat enterprise linux server aus 6.4 –
redhat enterprise linux server aus 6.5 –
redhat enterprise linux server tus 6.5 –
redhat enterprise linux workstation 6.0 –
All 24,148 Linux Kernel vulnerabilities

Vulnerability type

CWE-476 NULL Pointer Dereference

The product dereferences a pointer that it expects to be valid but is NULL.

Impact on systems

ScopeImpact
Availability DoS: Crash, Exit, or Restart
NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.
Integrity, Confidentiality Execute Unauthorized Code or Commands, Read Memory, Modify Memory
In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

How to prevent it

Implementation For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished.
Requirements Select a programming language that is not susceptible to these issues.
Implementation Check the results of all functions that return a value and verify that the value is non-null before acting upon it.
Architecture and Design Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
Implementation Explicitly initialize all variables and other data stores, either during declaration or just before the first usage.

All 5,819 CWE-476 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org