1. CVE archive
  2. 2018
  3. CVE-2018-0049

CVE-2018-0049

7.5 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – High

Description

A NULL Pointer Dereference vulnerability in Juniper Networks Junos OS allows an attacker to cause the Junos OS kernel to crash. Continued receipt of this specifically crafted malicious MPLS packet will cause a sustained Denial of Service condition. This issue require it to be received on an interface configured to receive this type of traffic. Affected releases are Juniper Networks Junos OS: 12.1X46 versions above and including 12.1X46-D76 prior to 12.1X46-D81 on SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 12.3R12-S10; 12.3X48 versions above and including 12.3X48-D66 prior to 12.3X48-D75 on SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 14.1X53-D47 on EX2200/VC, EX3200, EX3300/VC, EX4200, EX4300, EX4550/VC, EX4600, EX6200, EX8200/VC (XRE), QFX3500, QFX3600, QFX5100; 14.1X53 versions above and including 14.1X53-D115 prior to 14.1X53-D130 on QFabric System; 15.1 versions above and including 15.1F6-S10; 15.1R4-S9; 15.1R6-S6; 15.1 versions above and including 15.1R7 prior to 15.1R7-S2; 15.1X49 versions above and including 15.1X49-D131 prior to 15.1X49-D150 on SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 15.1X53 versions above 15.1X53-D233 prior to 15.1X53-D235 on QFX5200/QFX5110; 15.1X53 versions up to and including 15.1X53-D471 prior to 15.1X53-D590 on NFX150, NFX250; 15.1X53-D67 on QFX10000 Series; 15.1X53-D59 on EX2300/EX3400; 16.1 versions above and including 16.1R3-S8; 16.1 versions above and including 16.1R4-S9 prior to 16.1R4-S12; 16.1 versions above and including 16.1R5-S4; 16.1 versions above and including 16.1R6-S3 prior to 16.1R6-S6; 16.1 versions above and including 16.1R7 prior to 16.1R7-S2; 16.2 versions above and including 16.2R1-S6; 16.2 versions above and including 16.2R2-S5 prior to 16.2R2-S7; 17.1R1-S7; 17.1 versions above and including 17.1R2-S7 prior to 17.1R2-S9; 17.2R1-S6; 17.2 versions above and including 17.2R2-S4 prior to 17.2R2-S6; 17.2X75 versions above and including 17.2X75-D100 prior to X17.2X75-D101, 17.2X75-D110; 17.3 versions above and including 17.3R1-S4 on All non-SRX Series and SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 17.3 versions above and including 17.3R2-S2 prior to 17.3R2-S4 on All non-SRX Series and SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 17.3R3 on All non-SRX Series and SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 17.4 versions above and including 17.4R1-S3 prior to 17.4R1-S5 on All non-SRX Series and SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 17.4R2 on All non-SRX Series and SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 18.1 versions above and including 18.1R2 prior to 18.1R2-S3, 18.1R3 on All non-SRX Series and SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 18.2 versions above and including 18.2R1 prior to 18.2R1-S2, 18.2R1-S3, 18.2R2 on All non-SRX Series and SRX100, SRX110, SRX210, SRX220, SRX240m, SRX550m SRX650, SRX300, SRX320, SRX340, SRX345, SRX1500, SRX4100, SRX4200, SRX4600 and vSRX; 18.2X75 versions above and including 18.2X75-D5 prior to 18.2X75-D20.

Affected products

VendorProductVersionPlatform
juniper junos 12.1x46 d76 –
juniper junos 12.1x46 d77 –
juniper junos 12.3x48 d66 –
juniper junos 12.3x48 d70 –
juniper junos 12.3 r12-s10 –
juniper junos 15.1 f6-s10 –
juniper junos 15.1 f6-s12 –
juniper junos 15.1 f7 –
juniper junos 15.1 r –
juniper junos 15.1 r1 –
juniper junos 15.1 r2 –
juniper junos 15.1 r3 –
juniper junos 15.1 r4 –
juniper junos 15.1 r4-s7 –
juniper junos 15.1 r4-s8 –
juniper junos 15.1 r4-s9 –
juniper junos 15.1 r5 –
juniper junos 15.1 r5-s1 –
juniper junos 15.1 r5-s3 –
juniper junos 15.1 r5-s5 –
juniper junos 15.1 r5-s6 –
juniper junos 15.1 r6 –
juniper junos 15.1 r6-s1 –
juniper junos 15.1 r6-s2 –
juniper junos 15.1 r6-s3 –
juniper junos 15.1 r6-s4 –
juniper junos 15.1 r6-s6 –
juniper junos 15.1 r7 –
juniper junos 15.1 r7-s1 –
juniper junos 16.1 r3-s8 –
juniper junos 16.1 r4 –
juniper junos 16.1 r4-s2 –
juniper junos 16.1 r4-s3 –
juniper junos 16.1 r4-s4 –
juniper junos 16.1 r4-s6 –
juniper junos 16.1 r4-s8 –
juniper junos 16.1 r4-s9 –
juniper junos 16.1 r5-s4 –
juniper junos 16.1 r6 –
juniper junos 16.1 r6-s1 –
juniper junos 16.1 r6-s3 –
juniper junos 16.1 r6-s4 –
juniper junos 16.1 r7 –
juniper junos 16.2 r1-s6 –
juniper junos 16.2 r2 –
juniper junos 16.2 r2-s1 –
juniper junos 16.2 r2-s10 –
juniper junos 16.2 r2-s2 –
juniper junos 16.2 r2-s5 –
juniper junos 16.2 r2-s6 –
juniper junos 17.1 r1-s7 –
juniper junos 17.1 r2-s7 –
juniper junos 17.1 r2-s8 –
juniper junos 17.2 r1-s6 –
juniper junos 17.2 r2-s4 –
juniper junos 17.2x75 d100 –
juniper junos 18.2x75 d12 –
juniper junos 18.2x75 d5 –
juniper junos 14.1x53 d47 –
juniper junos 15.1x49 d131 –
juniper junos 15.1x49 d140 –
juniper junos 17.3 r1-s4 –
juniper junos 17.3 r2 –
juniper junos 17.3 r2-s1 –
juniper junos 17.3 r2-s2 –
juniper junos 17.3 r2-s3 –
juniper junos 17.3 r3 –
juniper junos 17.4 r1-s3 –
juniper junos 17.4 r1-s4 –
juniper junos 17.4 r2 –
juniper junos 18.1 r2 –
juniper junos 18.1 r2-s1 –
juniper junos 18.1 r2-s2 –
juniper junos 18.2 r1 –
juniper junos 15.1x53 d233 –
juniper junos 15.1x53 d234 –
juniper junos 15.1x53 d471 –
juniper junos 15.1x53 d490 –
juniper junos 15.1x53 d495 –
juniper junos 15.1x53 d67 –
juniper junos 15.1x53 d59 –
All 793 Juniper Junos 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