CVE Vulnerabilities

CVE-2020-1651

Missing Release of Memory after Effective Lifetime

Published: Jul 17, 2020 | Modified: Oct 19, 2021
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
3.3 LOW
AV:A/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu

On Juniper Networks MX series, receipt of a stream of specific Layer 2 frames may cause a memory leak resulting in the packet forwarding engine (PFE) on the line card to crash and restart, causing traffic interruption. By continuously sending this stream of specific layer 2 frame, an attacker connected to the same broadcast domain can repeatedly crash the PFE, causing a prolonged Denial of Service (DoS). This issue affects Juniper Networks Junos OS on MX Series: 17.2 versions prior to 17.2R3-S4; 17.2X75 versions prior to 17.2X75-D105.19; 17.3 versions prior to 17.3R3-S7; 17.4 versions prior to 17.4R1-S3, 17.4R2; 18.1 versions prior to 18.1R2. This issue does not affect Juniper Networks Junos OS releases prior to 17.2R1.

Weakness

The product does not sufficiently track and release allocated memory after it has been used, which slowly consumes remaining memory.

Affected Software

Name Vendor Start Version End Version
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2 17.2
Junos Juniper 17.2x75 17.2x75
Junos Juniper 17.2x75 17.2x75
Junos Juniper 17.2x75 17.2x75
Junos Juniper 17.2x75 17.2x75
Junos Juniper 17.2x75 17.2x75
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.3 17.3
Junos Juniper 17.4 17.4
Junos Juniper 17.4 17.4
Junos Juniper 17.4 17.4
Junos Juniper 17.4 17.4
Junos Juniper 18.1 18.1
Junos Juniper 18.1 18.1

Potential Mitigations

  • Choose a language or tool that provides automatic memory management, or makes manual memory management less error-prone.
  • For example, glibc in Linux provides protection against free of invalid pointers.
  • When using Xcode to target OS X or iOS, enable automatic reference counting (ARC) [REF-391].
  • To help correctly and consistently manage memory when programming in C++, consider using a smart pointer class such as std::auto_ptr (defined by ISO/IEC ISO/IEC 14882:2003), std::shared_ptr and std::unique_ptr (specified by an upcoming revision of the C++ standard, informally referred to as C++ 1x), or equivalent solutions such as Boost.

References