#VU94197 Missing release of memory after effective lifetime in Juniper Junos OS and Junos OS Evolved - CVE-2024-39536


Vulnerability identifier: #VU94197

Vulnerability risk: Medium

CVSSv4.0: 2.3 [CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-39536

CWE-ID: CWE-401

Exploitation vector: Local network

Exploit availability: No

Vulnerable software:
Juniper Junos OS
Operating systems & Components / Operating system
Junos OS Evolved
Operating systems & Components / Operating system

Vendor: Juniper Networks, Inc.

Description

The vulnerability allows a remote non-authenticated attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to missing release of memory after effective lifetime error in the Periodic Packet Management Daemon (ppmd). A remote non-authenticated attacker can cause a Denial-of-Service (DoS).

 When a BFD session configured with authentication flaps, ppmd memory can leak.

Whether the leak happens depends on a race condition which is outside the attackers control.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Juniper Junos OS: 21.2R1-S1, 21.2R1-S2, 21.2R2-S1, 21.2R2-S2, 21.2R3-S1, 21.2R3-S2, 21.2R3-S3, 21.2R3-S4, 21.2R3-S5, 21.2R3-S6, 21.2R3-S7, 21.2R1, 21.2R2, 21.4R1-S1, 21.4R1-S2, 21.4R2-S1, 21.4R2-S2, 21.4R3-S1, 21.4R3-S2, 21.4R3-S3, 21.4R3-S4, 21.4R3-S5, 21.4R3-S6, 21.4R1, 21.4R2, 22.1R1-S1, 22.1R1-S2, 22.1R2-S1, 22.1R2-S2, 22.1R3-J1, 22.1R3-S1, 22.1R3-S2, 22.1R3-S3, 22.1R1, 22.1R2, 22.2R1-S1, 22.2R1-S2, 22.2R2-S1, 22.2R2-S2, 22.2R3-S1, 22.2R3-S2, 22.2R3-S3, 22.2R1, 22.2R2, 22.3R1-S1, 22.3R1-S2, 22.3R2-S1, 22.3R2-S2, 22.3R3-S1, 22.3R3-S2, 22.3R3-S3, 22.3R1, 22.3R2, 22.4R1-S1, 22.4R1-S2, 22.4R2-S1, 22.4R1, 23.2R1-S1, 23.2R1-S2

Junos OS Evolved: 21.2R1-EVO, 21.2R1-S1-EVO, 21.2R1-S2-EVO, 21.2R2-EVO, 21.2R2-S1-EVO, 21.2R2-S2-EVO, 21.2R3-EVO, 21.2R3-S1-EVO, 21.2R3-S2-EVO, 21.2R3-S3-EVO, 21.2R3-S4-EVO, 21.2R3-S5-EVO, 21.2R3-S6-EVO, 21.2R3-S7-EVO, 21.2-EVO, 21.4R1-EVO, 21.4R1-S1-EVO, 21.4R1-S2-EVO, 21.4R2-EVO, 21.4R2-S1-EVO, 21.4R2-S2-EVO, 21.4R3-EVO, 21.4R3-S1-EVO, 21.4R3-S2-EVO, 21.4R3-S3-EVO, 21.4R3-S4-EVO, 21.4R3-S5-EVO, 21.4R3-S6-EVO, 22.2R1-EVO, 22.2R1-S1-EVO, 22.2R2-EVO, 22.2R2-S1-EVO, 22.2R2-S2-EVO, 22.2R3-EVO, 22.2R3-S1-EVO, 22.2R3-S2-EVO, 22.2R3-S3-EVO, 22.2-EVO, 22.3R1-EVO, 22.3R1-S1-EVO, 22.3R1-S2-EVO, 22.3R2-EVO, 22.3R2-S1-EVO, 22.3R2-S2-EVO, 22.4R1-EVO, 22.4R1-S1-EVO, 22.4R1-S2-EVO, 22.4R2-EVO, 22.4R2-S1-EVO, 22.4R2-S2-EVO


External links
https://supportportal.juniper.net/s/article/2024-07-Security-Bulletin-Junos-OS-and-Junos-OS-Evolved-Flaps-of-BFD-sessions-with-authentication-cause-a-ppmd-memory-leak-CVE-2024-39536


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability