Stack-based buffer overflow in Junos OS Evolved and Juniper Junos OS - CVE-2024-39556

 

Stack-based buffer overflow in Junos OS Evolved and Juniper Junos OS - CVE-2024-39556

Published: July 15, 2024


Vulnerability identifier: #VU94332
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2024-39556
CWE-ID: CWE-121
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Juniper Networks, Inc.
Affected software:
Junos OS Evolved
Juniper Junos OS

Detailed vulnerability description

The vulnerability allows a local privileged user to execute arbitrary code.

A Stack-Based Buffer Overflow vulnerability in Juniper Networks Junos OS and Juniper Networks Junos OS Evolved may allow a local, low-privileged attacker with access to the CLI the ability to load a malicious certificate file, leading to a limited Denial of Service (DoS) or privileged code execution.

By exploiting the 'set security certificates' command with a crafted certificate file, a malicious attacker with access to the CLI could cause a crash of the command management daemon (mgd), limited to the local user's command interpreter, or potentially trigger a stack-based buffer overflow.


How to mitigate CVE-2024-39556

Install updates from vendor's website.

Sources