CVE-2025-59961
JSON

6.8medium

Junos OS and Junos OS Evolved: Unix socket used to control the jdhcpd process is world-writable

Severity
6.8medium CVSS:4.0 by juniper
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
juniper

Description

An Incorrect Permission Assignment for Critical Resource vulnerability in the Juniper DHCP daemon (jdhcpd) of Juniper Networks Junos OS and Junos OS Evolved allows a local, low-privileged user to write to the Unix socket used to manage the jdhcpd process, resulting in complete control over the resource. This vulnerability allows any low-privileged user logged into the system to connect to the Unix socket and issue commands to manage the DHCP service, in essence, taking administrative control of the local DHCP server or DHCP relay. This issue affects: Junos OS: * all versions before 21.2R3-S10, * all versions of 22.2, * from 21.4 before 21.4R3-S12, * from 22.4 before 22.4R3-S8, * from 23.2 before 23.2R2-S5, * from 23.4 before 23.4R2-S6, * from 24.2 before 24.2R2-S2, * from 24.4 before 24.4R2, * from 25.2 before 25.2R1-S1, 25.2R2; Junos OS Evolved: * all versions before 22.4R3-S8-EVO, * from 23.2 before 23.2R2-S5-EVO, * from 23.4 before 23.4R2-S6-EVO, * from 24.2 before 24.2R2-S2-EVO, * from 24.4 before 24.4R2-EVO, * from 25.2 before 25.2R1-S1-EVO, 25.2R2-EVO.

Affected

Product or packageVersionsReported by
Juniper Networks Junos OSbefore 21.2R3-S10, from 21.4 before 21.4R3-S12, from 22.2 before 22.2*, from 22.4 before 22.4R3-S8, from 23.2 before 23.2R2-S5, from 23.4 before 23.4R2-S6, from 24.2 before 24.2R2-S2, from 24.4 before 24.4R2 and 1 moreCVE List
Juniper Networks Junos OS Evolvedbefore 22.4R3-S8-EVO, from 23.2 before 23.2R2-S5-EVO, from 23.4 before 23.4R2-S6-EVO, from 24.2 before 24.2R2-S2-EVO, from 24.4 before 24.4R2-EVO, from 25.2 before 25.2R1-S1-EVO, 25.2R2-EVOCVE List
juniper junosbefore 21.2, 21.2, 21.4, 22.2, 22.4NVD
juniper junos_os_evolvedbefore 22.4, 22.4, 23.2, 23.4, 24.2, 24.4, 25.2NVD

All scores

juniper5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
juniper6.8medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:L/AU:Y/R:A/V:C/RE:M/U:Green

Classification

CWE-732

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

An Incorrect Permission Assignment for Critical Resource vulnerability in the Juniper DHCP daemon (jdhcpd) of Juniper Networks Junos OS and Junos OS Evolved allows a local, low-privileged user to write to the Unix socket used to manage the jdhcpd process, resulting in complete control over the resource. This vulnerability allows any low-privileged user logged into the system to connect to the Unix socket and issue commands to manage the DHCP service, in essence, taking administrative control of the local DHCP server or DHCP relay. This issue affects: Junos OS: * all versions before 21.2R3-S10, * all versions of 22.2, * from 21.4 before 21.4R3-S12, * from 22.4 before 22.4R3-S8, * from 23.2 before 23.2R2-S5, * from 23.4 before 23.4R2-S6, * from 24.2 before 24.2R2-S2, * from 24.4 before 24.4R2, * from 25.2 before 25.2R1-S1, 25.2R2; Junos OS Evolved: * all versions before 22.4R3-S8-EVO, * from 23.2 before 23.2R2-S5-EVO, * from 23.4 before 23.4R2-S6-EVO, * from 24.2 before 24.2R2-S2-EVO, * from 24.4 before 24.4R2-EVO, * from 25.2 before 25.2R1-S1-EVO, 25.2R2-EVO.

NVD (es)

Una vulnerabilidad de Asignación Incorrecta de Permisos para Recursos Críticos en el demonio DHCP de Juniper (jdhcpd) de Juniper Networks Junos OS y Junos OS Evolved permite a un usuario local con pocos privilegios escribir en el socket Unix utilizado para gestionar el proceso jdhcpd, lo que resulta en un control completo sobre el recurso. Esta vulnerabilidad permite a cualquier usuario con pocos privilegios que haya iniciado sesión en el sistema conectarse al socket Unix y emitir comandos para gestionar el servicio DHCP, en esencia, tomando el control administrativo del servidor DHCP local o del relé DHCP. Este problema afecta a: Junos OS: * todas las versiones anteriores a 21.2R3-S10, * todas las versiones de 22.2, * desde 21.4 antes de 21.4R3-S12, * desde 22.4 antes de 22.4R3-S8, * desde 23.2 antes de 23.2R2-S5, * desde 23.4 antes de 23.4R2-S6, * desde 24.2 antes de 24.2R2-S2, * desde 24.4 antes de 24.4R2, * desde 25.2 antes de 25.2R1-S1, 25.2R2; Junos OS Evolved: * todas las versiones anteriores a 22.4R3-S8-EVO, * desde 23.2 antes de 23.2R2-S5-EVO, * desde 23.4 antes de 23.4R2-S6-EVO, * desde 24.2 antes de 24.2R2-S2-EVO, * desde 24.4 antes de 24.4R2-EVO, * desde 25.2 antes de 25.2R1-S1-EVO, 25.2R2-EVO.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59961 changed 2026-01-15CVE Terms of Use
NVDCVE-2025-59961 changed 2026-06-17Public domain