CVE-2024-39536

Junos OS and Junos OS Evolved: Flaps of BFD sessions with authentication cause a ppmd memory leak

State
Published
Severity
6.0 Medium
Published
Jul 11, 2024
Updated
Aug 2, 2024
Reserved
Jun 25, 2024

Read the record on cve.org

Description

A Missing Release of Memory after Effective Lifetime vulnerability in the Periodic Packet Management Daemon (ppmd) of Juniper Networks Junos OS and Junos OS Evolved allows an unauthenticated adjacent attacker to 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. This issue only affects BFD operating in distributed aka delegated (which is the default behavior) or inline mode.

Whether the leak occurs can be monitored with the following CLI command:

> show ppm request-queue

FPC     Pending-request fpc0                   2 request-total-pending: 2

where a continuously increasing number of pending requests is indicative of the leak.

This issue affects:

Junos OS:

* All versions before 21.2R3-S8, * 21.4 versions before 21.4R3-S7, * 22.1 versions before 22.1R3-S4, * 22.2 versions before 22.2R3-S4, * 22.3 versions before 22.3R3, * 22.4 versions before 22.4R2-S2, 22.4R3.

Junos OS Evolved: * All versions before 21.2R3-S8-EVO, * 21.4-EVO versions before 21.4R3-S7-EVO, * 22.2-EVO versions before 22.2R3-S4-EVO, * 22.3-EVO versions before 22.3R3-EVO, * 22.4-EVO versions before 22.4R3-EVO.

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:Njuniper
3.15.3 MediumCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hjuniper

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
Junos OSJuniper Networks
  • before 21.2R3-S8Affected
  • 21.4 to before 21.4R3-S7Affected
  • 22.1 to before 22.1R3-S4Affected
  • 22.2 to before 22.2R3-S4Affected
  • 22.3 to before 22.3R3Affected
  • 22.4 to before 22.4R2-S2, 22.4R3Affected
Junos OS EvolvedJuniper Networks
  • 21.2-EVO to before 21.2R3-S8-EVOAffected
  • 21.4-EVO to before 21.4R3-S7-EVOAffected
  • 22.2-EVO to before 22.2R3-S4-EVOAffected
  • 22.3-EVO to before 22.3R3-EVOAffected
  • 22.4-EVO to before 22.4R3-EVOAffected
  • 23.2-EVO to before 23.2R1-EVOAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.