CVE-2024-39556
published high CVSS 4.0 · 7.1Junos OS and Junos OS Evolved: Loading a malicious certificate from the CLI may result in a stack-based overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Juniper Networks | — | Junos OS0 to < 21.4R3-S7 · 22.1 to < 22.1R3-S6 · 22.2 to < 22.2R3-S4 · 22.3 to < 22.3R3-S3 · 22.4 to < 22.4R3-S2 · 23.2 to < 23.2R2 · 23.4 to < 23.4R1-S1, 23.4R2 · Other versions: unaffected | Affected | Not stated | juniper |
| Juniper Networks | — | Junos OS Evolved0 to < 21.4R3-S7-EVO · 22.1-EVO to < 22.1R3-S6-EVO · 22.2-EVO to < 22.2R3-S4-EVO · 22.3-EVO to < 22.3R3-S3-EVO · 22.4-EVO to < 22.4R3-S2-EVO · 23.2-EVO to < 23.2R2-EVO · 23.4-EVO to < 23.4R1-S1-EVO, 23.4R2-EVO · Other versions: unaffected | Affected | Not stated | juniper |
| juniper | — | junos_os_evolved0 to < 21.4r3-s7-evo · 22.1-evo to < 22.1r3-s6-evo · 22.2-evo to < 22.2r3-s4-evo · 22.3-evo to < 22.3r3-s3-evo · 22.4-evo to < 22.4r3-s3-evo · 23.2-evo to < 23.2r2-evo · Other versions: unknown | Affected | Not stated | CISA-ADP |
| juniper | — | junos_os0 to < 21.4r3-s7 · 22.1 to < 22.1r3-s6 · 22.2 to < 22.2r3-s4 · 22.3 to < 22.3r3-s3 · 22.4 to < 22.4r3-s2 · 23.2 to < 23.2r2 · 23.4 to < 23.4r1-s1 · 23.4 to < 23.4r2 · 23.4-evo to < 23.4r1-s1-evo · 23.4-evo to < 23.4r2-evo · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- juniper · cna
- Vector string
- CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.4 | medium | juniper · cna | CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Juniper Networks | Junos OS | 0 to < 21.4R3-S7 (affected · semver)22.1 to < 22.1R3-S6 (affected · semver)22.2 to < 22.2R3-S4 (affected · semver)22.3 to < 22.3R3-S3 (affected · semver)22.4 to < 22.4R3-S2 (affected · semver)23.2 to < 23.2R2 (affected · semver)23.4 to < 23.4R1-S1, 23.4R2 (affected · semver)Default: unaffected | juniper · cna |
| Juniper Networks | Junos OS Evolved | 0 to < 21.4R3-S7-EVO (affected · semver)22.1-EVO to < 22.1R3-S6-EVO (affected · semver)22.2-EVO to < 22.2R3-S4-EVO (affected · semver)22.3-EVO to < 22.3R3-S3-EVO (affected · semver)22.4-EVO to < 22.4R3-S2-EVO (affected · semver)23.2-EVO to < 23.2R2-EVO (affected · semver)23.4-EVO to < 23.4R1-S1-EVO, 23.4R2-EVO (affected · semver)Default: unaffected | juniper · cna |
| juniper | junos_os_evolved | 0 to < 21.4r3-s7-evo (affected · semver)22.1-evo to < 22.1r3-s6-evo (affected · semver)22.2-evo to < 22.2r3-s4-evo (affected · semver)22.3-evo to < 22.3r3-s3-evo (affected · semver)22.4-evo to < 22.4r3-s3-evo (affected · semver)23.2-evo to < 23.2r2-evo (affected · semver)Default: unknown | CISA-ADP · adp |
| juniper | junos_os | 0 to < 21.4r3-s7 (affected · semver)22.1 to < 22.1r3-s6 (affected · semver)22.2 to < 22.2r3-s4 (affected · semver)22.3 to < 22.3r3-s3 (affected · semver)22.4 to < 22.4r3-s2 (affected · semver)23.2 to < 23.2r2 (affected · semver)23.4 to < 23.4r1-s1 (affected · semver)23.4 to < 23.4r2 (affected · semver)23.4-evo to < 23.4r1-s1-evo (affected · semver)23.4-evo to < 23.4r2-evo (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-121 CWE-121: Stack-based Buffer Overflow
References
1Provider assertions
3juniper · cna
Junos OS and Junos OS Evolved: Loading a malicious certificate from the CLI may result in a stack-based overflow
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e12b7753f662f0c596bee693d84abc7b348da75d3941ef1db0b264ead045c820
- Ingested
- 23 Sep 2026, 08:25:18 UTC
- Source record
- Official CVE record