title: Junos OS: A race condition on receipt of crafted LLDP packets leads to a memory leak and an LLDP crash.
description: A Race Condition vulnerability in Juniper Networks Junos OS LLDP implementation allows an attacker to cause LLDP to crash leading to a Denial of Service (DoS). This issue occurs when crafted LLDP packets are received by the device from an adjacent device. Multiple LACP flaps will occur after LLDP crashes. An indicator of compromise is to evaluate log file details for lldp with RLIMIT. Intervention should occur before 85% threshold of used KB versus maximum available KB memory is reached. show log messages | match RLIMIT | match lldp | last 20 Matching statement is " /kernel: %KERNEL-[number]: Process ([pid #],lldpd) has exceeded 85% of RLIMIT_DATA: " with [] as variable data to evaluate for. This issue affects: Juniper Networks Junos OS: 12.3 versions prior to 12.3R12-S15; 12.3X48 versions prior to 12.3X48-D95; 15.1 versions prior to 15.1R7-S6; 15.1X49 versions prior to 15.1X49-D200; 15.1X53 versions prior to 15.1X53-D593; 16.1 versions prior to 16.1R7-S7; 17.1 versions prior to 17.1R2-S11, 17.1R3-S2; 17.2 versions prior to 17.2R1-S9, 17.2R3-S3; 17.3 versions prior to 17.3R2-S5, 17.3R3-S6; 17.4 versions prior to 17.4R2-S4, 17.4R3; 18.1 versions prior to 18.1R3-S5; 18.2 versions prior to 18.2R2-S7, 18.2R3; 18.2X75 versions prior to 18.2X75-D12, 18.2X75-D33, 18.2X75-D50, 18.2X75-D420; 18.3 versions prior to 18.3R1-S7, 18.3R2-S3, 18.3R3; 18.4 versions prior to 18.4R1-S5, 18.4R2; 19.1 versions prior to 19.1R1-S4, 19.1R2.
problem types: CWE-362 Race Condition (Concurrent Execution using Shared Resource with Improper Synchronization)
affected:
{
product: Junos OS
vendor: Juniper Networks
versions:
lessThan: 12.3R12-S15, status: affected, version: 12.3, versionType: custom
lessThan: 12.3X48-D95, status: affected, version: 12.3X48, versionType: custom
lessThan: 15.1R7-S6, status: affected, version: 15.1, versionType: custom
lessThan: 15.1X49-D200, status: affected, version: 15.1X49, versionType: custom
lessThan: 15.1X53-D593, status: affected, version: 15.1X53, versionType: custom
lessThan: 16.1R7-S7, status: affected, version: 16.1, versionType: custom
lessThan: 17.1R2-S11, 17.1R3-S2, status: affected, version: 17.1, versionType: custom
lessThan: 17.2R1-S9, 17.2R3-S3, status: affected, version: 17.2, versionType: custom
lessThan: 17.3R2-S5, 17.3R3-S6, status: affected, version: 17.3, versionType: custom
lessThan: 17.4R2-S4, 17.4R3, status: affected, version: 17.4, versionType: custom
lessThan: 18.1R3-S5, status: affected, version: 18.1, versionType: custom
lessThan: 18.2R2-S7, 18.2R3, status: affected, version: 18.2, versionType: custom
lessThan: 18.2X75-D12, 18.2X75-D33, 18.2X75-D50, 18.2X75-D420, status: affected, version: 18.2X75, versionType: custom
lessThan: 18.3R1-S7, 18.3R2-S3, 18.3R3, status: affected, version: 18.3, versionType: custom
lessThan: 18.4R1-S5, 18.4R2, status: affected, version: 18.4, versionType: custom
lessThan: 19.1R1-S4, 19.1R2, status: affected, version: 19.1, versionType: custom
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: ADJACENT_NETWORK
availabilityImpact: HIGH
baseScore: 6.5
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: NONE
privilegesRequired: NONE
scope: UNCHANGED
userInteraction: NONE
vectorString: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
version: 3.1
]
exploits: Juniper SIRT is not aware of any malicious exploitation of this vulnerability.
solutions: The following software releases have been updated to resolve this specific issue: 12.3R12-S15, 12.3X48-D95, 15.1R7-S6, 15.1X49-D200, 15.1X53-D593, 16.1R7-S7, 16.1R7-S7, 17.1R2-S11, 17.1R3-S2, 17.2R1-S9, 17.2R3-S3, 17.3R2-S5, 17.3R3-S6, 17.4R2-S4, 17.4R3, 18.1R3-S5, 18.2R2-S7, 18.2R3, 18.2X75-D33, 18.2X75-D50, 18.2X75-D420, 18.3R1-S7, 18.3R2-S3, 18.3R3, 18.4R1-S5, 18.4R2, 19.1R1-S4, 19.1R2, 19.2R1, and all subsequent releases.
workarounds: Customers may disable LLDP "protocol lldp" or apply firewall filters to block LLDP traffic on ingress interfaces.
There are no other known workarounds.