Knowledge Search


×
 

2017-04 Security Bulletin: Junos: Crafted LDP packets cause a memory leak that could lead to rpd crash (CVE-2017-2312)

  [JSA10777] Show Article Properties


Product Affected:
This issue can affect any product or platform running Junos OS with LDP enabled.
Problem:
A specific LDP packet destined to the RE (Routing Engine) will consume a small amount of the memory allocated for the rpd (routing protocol daemon) process. Over time, repeatedly receiving this type of LDP packet(s) will cause the memory to exhaust and the rpd process to crash and restart. It is not possible to free up the memory that has been consumed without restarting the rpd process. This issue affects Junos OS based devices with either IPv4 or IPv6 LDP enabled via the [protocols ldp] configuration (the native IPv6 support for LDP is available in Junos OS 16.1 and higher). The interface on which the packet arrives needs to have LDP enabled.

Juniper SIRT is not aware of any malicious exploitation of this vulnerability, however, the issue has been seen in a production network due to LDP packets originating from a different vendor's device.

No other Juniper Networks products or platforms are affected by this issue.

This issue has been assigned CVE-2017-2312.
 
Solution:
The following software releases have been updated to resolve this specific issue: Junos OS 13.3R10, 14.1R8, 14.2R7-S6, 14.2R8, 15.1F2-S14, 15.1F6-S4, 15.1F7, 15.1R4-S7, 15.1R5, 15.1X49-D70, 15.1X53-D230, 15.1X53-D63, 15.1X53-D70, 16.1R2, 16.2R1, and all subsequent releases.

This issue is being tracked as PR 1197631 and is visible on the Customer Support website.

KB16765 - "In which releases are vulnerabilities fixed?" describes which release vulnerabilities are fixed as per our End of Engineering and End of Life support policies.
 
Workaround:
Use access lists or firewall filters to limit access to the device via LDP only from trusted networks or hosts, or enable MD5 authentication on all authorized LDP sessions.
 
Implementation:
How to obtain fixed software:
Security vulnerabilities in Junos are fixed in the next available Maintenance Release of each supported Junos version. In some cases, a Maintenance Release is not planned to be available in an appropriate time-frame. For these cases, Service Releases are made available in order to be more timely. Security Advisory and Security Notices will indicate which Maintenance and Service  Releases contain fixes for the issues described. Upon request to JTAC, customers will be provided download instructions for a Service Release. Although Juniper does not provide formal Release Note documentation for a Service Release, a list of "PRs fixed" can be provided on request.
 
Modification History:
2017-04-12: Initial publication

Related Links:
CVSS Score:
5.7 (CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Risk Level:
Medium
Risk Assessment:
Information for how Juniper Networks uses CVSS can be found at KB 16446 "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."