CVE-2024-39556: Junos OS and Junos OS Evolved: Loading a malicious certificate from the CLI may result in a stack-based overflow

Published Jul 10, 2024
·
Updated

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.

This issue affects:

Junos OS:

All versions before 21.4R3-S7, from 22.1 before 22.1R3-S6, from 22.2 before 22.2R3-S4, from 22.3 before 22.3R3-S3, from 22.4 before 22.4R3-S2, from 23.2 before 23.2R2, from 23.4 before 23.4R1-S1, 23.4R2;

Junos OS Evolved:

All versions before 21.4R3-S7-EVO, from 22.1-EVO before 22.1R3-S6-EVO, from 22.2-EVO before 22.2R3-S4-EVO, from 22.3-EVO before 22.3R3-S3-EVO, from 22.4-EVO before 22.4R3-S2-EVO, from 23.2-EVO before 23.2R2-EVO, from 23.4-EVO before 23.4R1-S1-EVO, 23.4R2-EVO.

Affected Software

129 affected components
Juniper Networks Junos OS<21.4R3-S7, >=22.1, <22.1R3-S6, >=22.2, <22.2R3-S4, >=22.3, <22.3R3-S3, >=22.4, <22.4R3-S2, >=23.2, <23.2R2, >=23.4, <23.4R1-S1
Juniper Networks Junos OS Evolved<21.4R3-S7-EVO, >=22.1-EVO, <22.1R3-S6-EVO, >=22.2-EVO, <22.2R3-S4-EVO, >=22.3-EVO, <22.3R3-S3-EVO, >=22.4-EVO, <22.4R3-S2-EVO, >=23.2-EVO, <23.2R2-EVO, >=23.4-EVO, <23.4R1-S1-EVO
Juniper JUNOS<21.4
Juniper JUNOS=21.4
Juniper JUNOS=21.4-r1
Juniper JUNOS=21.4-r1-s1
Juniper JUNOS=21.4-r1-s2
Juniper JUNOS=21.4-r2
Juniper JUNOS=21.4-r2-s1
Juniper JUNOS=21.4-r2-s2
Juniper JUNOS=21.4-r3
Juniper JUNOS=21.4-r3-s1
Juniper JUNOS=21.4-r3-s2
Juniper JUNOS=21.4-r3-s3
Juniper JUNOS=21.4-r3-s4
Juniper JUNOS=21.4-r3-s5
Juniper JUNOS=21.4-r3-s6
Juniper JUNOS=22.1
Juniper JUNOS=22.1-r1
Juniper JUNOS=22.1-r1-s1
Juniper JUNOS=22.1-r1-s2
Juniper JUNOS=22.1-r2
Juniper JUNOS=22.1-r2-s1
Juniper JUNOS=22.1-r2-s2
Juniper JUNOS=22.1-r3
Juniper JUNOS=22.1-r3-s1
Juniper JUNOS=22.1-r3-s2
Juniper JUNOS=22.1-r3-s3
Juniper JUNOS=22.1-r3-s4
Juniper JUNOS=22.1-r3-s5
Juniper JUNOS=22.2
Juniper JUNOS=22.2-r1
Juniper JUNOS=22.2-r1-s1
Juniper JUNOS=22.2-r1-s2
Juniper JUNOS=22.2-r2
Juniper JUNOS=22.2-r2-s1
Juniper JUNOS=22.2-r2-s2
Juniper JUNOS=22.2-r3
Juniper JUNOS=22.2-r3-s1
Juniper JUNOS=22.2-r3-s2
Juniper JUNOS=22.2-r3-s3
Juniper JUNOS=22.3
Juniper JUNOS=22.3-r1
Juniper JUNOS=22.3-r1-s1
Juniper JUNOS=22.3-r1-s2
Juniper JUNOS=22.3-r2
Juniper JUNOS=22.3-r2-s1
Juniper JUNOS=22.3-r2-s2
Juniper JUNOS=22.3-r3
Juniper JUNOS=22.3-r3-s1
Juniper JUNOS=22.3-r3-s2
Juniper JUNOS=22.4
Juniper JUNOS=22.4-r1
Juniper JUNOS=22.4-r1-s1
Juniper JUNOS=22.4-r1-s2
Juniper JUNOS=22.4-r2
Juniper JUNOS=22.4-r2-s1
Juniper JUNOS=22.4-r2-s2
Juniper JUNOS=22.4-r3
Juniper JUNOS=22.4-r3-s1
Juniper JUNOS=23.2
Juniper JUNOS=23.2-r1
Juniper JUNOS=23.2-r1-s1
Juniper JUNOS=23.2-r1-s2
Juniper JUNOS=23.4
Juniper JUNOS=23.4-r1
Juniper Junos OS Evolved<21.4
Juniper Junos OS Evolved=21.4
Juniper Junos OS Evolved=21.4-r1
Juniper Junos OS Evolved=21.4-r1-s1
Juniper Junos OS Evolved=21.4-r1-s2
Juniper Junos OS Evolved=21.4-r2
Juniper Junos OS Evolved=21.4-r2-s1
Juniper Junos OS Evolved=21.4-r2-s2
Juniper Junos OS Evolved=21.4-r3
Juniper Junos OS Evolved=21.4-r3-s1
Juniper Junos OS Evolved=21.4-r3-s2
Juniper Junos OS Evolved=21.4-r3-s3
Juniper Junos OS Evolved=21.4-r3-s4
Juniper Junos OS Evolved=21.4-r3-s5
Juniper Junos OS Evolved=21.4-r3-s6
Juniper Junos OS Evolved=22.1
Juniper Junos OS Evolved=22.1-r1
Juniper Junos OS Evolved=22.1-r1-s1
Juniper Junos OS Evolved=22.1-r1-s2
Juniper Junos OS Evolved=22.1-r2
Juniper Junos OS Evolved=22.1-r2-s1
Juniper Junos OS Evolved=22.1-r3
Juniper Junos OS Evolved=22.1-r3-s1
Juniper Junos OS Evolved=22.1-r3-s2
Juniper Junos OS Evolved=22.1-r3-s3
Juniper Junos OS Evolved=22.1-r3-s4
Juniper Junos OS Evolved=22.1-r3-s5
Juniper Junos OS Evolved=22.2
Juniper Junos OS Evolved=22.2-r1
Juniper Junos OS Evolved=22.2-r1-s1
Juniper Junos OS Evolved=22.2-r1-s2
Juniper Junos OS Evolved=22.2-r2
Juniper Junos OS Evolved=22.2-r2-s1
Juniper Junos OS Evolved=22.2-r2-s2
Juniper Junos OS Evolved=22.2-r3
Juniper Junos OS Evolved=22.2-r3-s1
Juniper Junos OS Evolved=22.2-r3-s2
Juniper Junos OS Evolved=22.2-r3-s3
Juniper Junos OS Evolved=22.3
Juniper Junos OS Evolved=22.3-r1
Juniper Junos OS Evolved=22.3-r1-s1
Juniper Junos OS Evolved=22.3-r1-s2
Juniper Junos OS Evolved=22.3-r2
Juniper Junos OS Evolved=22.3-r2-s1
Juniper Junos OS Evolved=22.3-r2-s2
Juniper Junos OS Evolved=22.3-r3
Juniper Junos OS Evolved=22.3-r3-s1
Juniper Junos OS Evolved=22.3-r3-s2
Juniper Junos OS Evolved=22.4
Juniper Junos OS Evolved=22.4-r1
Juniper Junos OS Evolved=22.4-r1-s1
Juniper Junos OS Evolved=22.4-r1-s2
Juniper Junos OS Evolved=22.4-r2
Juniper Junos OS Evolved=22.4-r2-s1
Juniper Junos OS Evolved=22.4-r2-s2
Juniper Junos OS Evolved=22.4-r3
Juniper Junos OS Evolved=22.4-r3-s1
Juniper Junos OS Evolved=23.2
Juniper Junos OS Evolved=23.2-r1
Juniper Junos OS Evolved=23.2-r1-s1
Juniper Junos OS Evolved=23.2-r1-s2
Juniper Junos OS Evolved=23.4
Juniper Junos OS Evolved=23.4-r1

Remediation

Information

The following software releases have been updated to resolve this specific issue: Junos OS: 21.2R3-S8, 21.4R3-S7, 22.1R3-S6, 22.2R3-S4, 22.3R3-S3, 22.4R3-S2, 23.2R2, 23.4R1-S1, 23.4R2, 24.2R1, and all subsequent releases. Junos OS Evolved: 21.2R3-S8-EVO, 21.4R3-S7-EVO, 22.1R3-S6-EVO, 22.2R3-S4-EVO, 22.3R3-S3-EVO, 22.4R3-S2-EVO, 23.2R2-EVO, 23.4R1-S1-EVO, 23.4R2-EVO, 24.2R1-EVO, and all subsequent releases.

Event History

Jul 10, 2024
CVE Published
via MITRE·10:38 PM
Data Sourced
via MITRE·10:38 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-39556?

CVE-2024-39556 has a severity rating that suggests it can lead to a Denial of Service (DoS) under certain conditions.

2

How do I fix CVE-2024-39556?

To fix CVE-2024-39556, you should upgrade to the latest version of Juniper Networks Junos OS or Junos OS Evolved as specified in the vendor's advisory.

3

Which versions of Juniper Networks products are affected by CVE-2024-39556?

CVE-2024-39556 affects multiple versions of Juniper Networks Junos OS and Junos OS Evolved up to certain versions as listed in the vulnerability report.

4

What kind of attack can exploit CVE-2024-39556?

CVE-2024-39556 can be exploited by a local, low-privileged attacker to load a malicious certificate file, potentially causing a Denial of Service.

5

Is there a workaround for CVE-2024-39556?

Currently, there is no official workaround for CVE-2024-39556 other than upgrading to secure versions of the affected software.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203