CVE-2024-39565
published high CVSS 4.0 · 7.7Junos OS: J-Web: An unauthenticated, network-based attacker can perform XPATH injection attack against a device.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Juniper Networks, Inc. | — | Junos OS0 to < 21.2R3-S8 · 21.4 to < 21.4R3-S7 · 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 | — | junos_os0 to < 21.2r3-s8 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| juniper | — | junos_os23.4 to < 23.4r1-s1 · 23.4 to < 23.4r2 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| juniper | — | junos_os21.4 to < 21.4r3-s7 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| juniper | — | junos_os22.2 to < 22.2r3-s4 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| juniper | — | junos_os22.3 to < 22.3r3-s3 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| juniper | — | junos_os22.4 to < 22.4r3-s2 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
| juniper | — | junos_os23.2 to < 23.2r2 · Other versions: unaffected | Affected | Not stated | CISA-ADP |
Description
An Improper Neutralization of Data within XPath Expressions ('XPath Injection') vulnerability in J-Web shipped with Juniper Networks Junos OS allows an unauthenticated, network-based attacker to execute remote commands on the target device. While an administrator is logged into a J-Web session or has previously logged in and subsequently logged out of their J-Web session, the attacker can arbitrarily execute commands on the target device with the other user's credentials. In the worst case, the attacker will have full control over the device. This issue affects Junos OS: * All versions before 21.2R3-S8, * from 21.4 before 21.4R3-S7, * 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.
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.7 / 10
- Severity
- high
- Provider
- juniper · cna
- Vector string
- CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:Y/V:C/RE:M/U:Amber
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | juniper · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/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, Inc. | Junos OS | 0 to < 21.2R3-S8 (affected · semver)21.4 to < 21.4R3-S7 (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 | junos_os | 0 to < 21.2r3-s8 (affected · custom)Default: unaffected | CISA-ADP · adp |
| juniper | junos_os | 23.4 to < 23.4r1-s1 (affected · custom)23.4 to < 23.4r2 (affected · custom)Default: unaffected | CISA-ADP · adp |
| juniper | junos_os | 21.4 to < 21.4r3-s7 (affected · custom)Default: unaffected | CISA-ADP · adp |
| juniper | junos_os | 22.2 to < 22.2r3-s4 (affected · custom)Default: unaffected | CISA-ADP · adp |
| juniper | junos_os | 22.3 to < 22.3r3-s3 (affected · custom)Default: unaffected | CISA-ADP · adp |
| juniper | junos_os | 22.4 to < 22.4r3-s2 (affected · custom)Default: unaffected | CISA-ADP · adp |
| juniper | junos_os | 23.2 to < 23.2r2 (affected · custom)Default: unaffected | CISA-ADP · adp |
Weaknesses
1- CWE-643 CWE-643 Improper Neutralization of Data within XPath Expressions ('XPath Injection')
References
3Provider assertions
3juniper · cna
Junos OS: J-Web: An unauthenticated, network-based attacker can perform XPATH injection attack against a device.
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 319cfa00f3485c38e54b278ece2f0147f6080ba00d600214a6c575ae96635253
- Ingested
- 23 Sep 2026, 08:25:18 UTC
- Source record
- Official CVE record