CVE-2024-39556: Junos OS and Junos OS Evolved: Loading a malicious certificate from the CLI may result in a stack-based overflow
Noroxi assessment
Priority: Monitor (action score 28/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.09% (FIRST EPSS).
- Someone with local access to the system can trigger it. Administrator privileges are required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: Juniper Networks Junos OS 21.4R3-S7, 22.1R3-S6, 22.2R3-S4; Juniper Networks Junos OS Evolved 21.4R3-S7-EVO, 22.1R3-S6-EVO, 22.2R3-S4-EVO.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Juniper Networks Junos OS 21.4R3-S7, 22.1R3-S6, 22.2R3-S4; Juniper Networks Junos OS Evolved 21.4R3-S7-EVO, 22.1R3-S6-EVO, 22.2R3-S4-EVO or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 10, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.0% · 0th percentile
- CWE
- CWE-121
Report tools
Action score
28
Monitor
Low priority for now.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.0%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · juniper
- 6.4
- NVD has not scored this yet; the score shown is the CNA’s.
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| juniper | junos | cpe:2.3:o:juniper:junos |
| juniper | junos os evolved | cpe:2.3:o:juniper:junos_os_evolved |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- juniper junosbefore 21.4
- juniper junos21.4
- juniper junos22.1
- juniper junos22.2
- juniper junos22.3
- juniper junos22.4
- juniper junos23.2
- juniper junos23.4
- juniper junos os evolvedbefore 21.4
- juniper junos os evolved21.4
- juniper junos os evolved22.1
- juniper junos os evolved22.2
- juniper junos os evolved22.3
- juniper junos os evolved22.4
- juniper junos os evolved23.2
- juniper junos os evolved23.4
Versions reported by the vendor
Affected version ranges reported by the assigning authority (juniper). Independent of NVD's CPE analysis and usually ahead of it.
Juniper Networks Junos OS
- before 21.4R3-S7affected · semver
- 22.1 and later · before 22.1R3-S6affected · semver
- 22.2 and later · before 22.2R3-S4affected · semver
- 22.3 and later · before 22.3R3-S3affected · semver
- 22.4 and later · before 22.4R3-S2affected · semver
- 23.2 and later · before 23.2R2affected · semver
- 23.4 and later · before 23.4R1-S1, 23.4R2affected · semver
Juniper Networks Junos OS Evolved
- before 21.4R3-S7-EVOaffected · semver
- 22.1-EVO and later · before 22.1R3-S6-EVOaffected · semver
- 22.2-EVO and later · before 22.2R3-S4-EVOaffected · semver
- 22.3-EVO and later · before 22.3R3-S3-EVOaffected · semver
- 22.4-EVO and later · before 22.4R3-S2-EVOaffected · semver
- 23.2-EVO and later · before 23.2R2-EVOaffected · semver
- 23.4-EVO and later · before 23.4R1-S1-EVO, 23.4R2-EVOaffected · semver
Same product
juniper: all recordsOther highest-scoring records for the same primary product.
- CVE-2023-36845Junos OS: EX and SRX Series: A PHP vulnerability in J-Web allows an unauthenticated to control an important environment variableKEV98Now
- CVE-2023-36846Junos OS: SRX Series: A vulnerability in J-Web allows an unauthenticated attacker to upload arbitrary filesKEV79This week
- CVE-2023-36844Junos OS: EX Series: A PHP vulnerability in J-Web allows an unauthenticated attacker to control important environment variablesKEV78This week
Published before and after this one in the same product
- ← EarlierCVE-2024-39554Jul 10, 2024 · Junos OS and Junos OS Evolved: BGP multipath incremental calculation is resulting in an rpd crash32Monitor
- ← EarlierCVE-2024-39555Jul 10, 2024 · Junos OS and Junos OS Evolved: Receipt of a specific malformed BGP update causes the session to reset34Monitor
- Later →CVE-2024-39558Jul 10, 2024 · Junos OS and Junos OS Evolved: Receipt of specific PIM packet causes rpd crash when PIM is configured along with MoFRR28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Juniper Networks Junos OS | 21.4R3-S7 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.1R3-S6 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.2R3-S4 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.3R3-S3 | Vendor (CNA) |
| Juniper Networks Junos OS | 22.4R3-S2 | Vendor (CNA) |
| Juniper Networks Junos OS | 23.2R2 | Vendor (CNA) |
| Juniper Networks Junos OS | 23.4R1-S1, 23.4R2 | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 21.4R3-S7-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.1R3-S6-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.2R3-S4-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.3R3-S3-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 22.4R3-S2-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 23.2R2-EVO | Vendor (CNA) |
| Juniper Networks Junos OS Evolved | 23.4R1-S1-EVO, 23.4R2-EVO | Vendor (CNA) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
- CVE-2024-3039289 days apartJunos OS: MX Series with SPC3 and MS-MPC/-MIC: When URL filtering is enabled and a specific URL request is received a flowd crash occurs34Monitor
- CVE-2024-3039489 days apartJunos OS and Junos OS Evolved: A specific EVPN type-5 route causes rpd crash34Monitor
- CVE-2023-44176272 days apartJunos OS : Stack overflow vulnerability in CLI command processing22Monitor
- CVE-2023-44177272 days apartJunos OS and Junos OS Evolved: Stack overflow vulnerability in CLI command processing22Monitor
- CVE-2023-44178272 days apartJunos OS : Stack overflow vulnerability in CLI command processing22Monitor
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0943 · Jul 16, 2024(Juniper Junos OS Güvenlik Bildirimi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- Administrator privileges are required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- High
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-121 · Stack-based Buffer OverflowCVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Vendor advisories and official records. Exploit/PoC links are deliberately left out.