CVE-2023-36842

Junos OS: jdhcpd will hang on receiving a specific DHCP packet

AllVuln state: AFFECTED

MEDIUM
CVSS
6.5
3.1
EPSS
0.29%
Percentile 23.22%
CISA KEV
Not listed
Published
January 12, 2024
Updated June 17, 2025

Description

An Improper Check for Unusual or Exceptional Conditions vulnerability in Juniper DHCP Daemon (jdhcpd) of Juniper Networks Junos OS allows an adjacent, unauthenticated attacker to cause the jdhcpd to consume all the CPU cycles resulting in a Denial of Service (DoS). On Junos OS devices with forward-snooped-client configured, if an attacker sends a specific DHCP packet to a non-configured interface, this will cause an infinite loop. The DHCP process will have to be restarted to recover the service. This issue affects: Juniper Networks Junos OS * All versions earlier than 20.4R3-S9; * 21.2 versions earlier than 21.2R3-S7; * 21.3 versions earlier than 21.3R3-S5; * 21.4 versions earlier than 21.4R3-S5; * 22.1 versions earlier than 22.1R3-S4; * 22.2 versions earlier than 22.2R3-S3; * 22.3 versions earlier than 22.3R3-S2; * 22.4 versions earlier than 22.4R2-S2, 22.4R3; * 23.2 versions earlier than 23.2R2.

Risk details

CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
attack vector
A
attack complexity
L
privileges required
N
user interaction
N
scope
U
CWE
CWE-703, Denial of Service (DoS)

What should I do?

Review the vendor remediation for fixed or recommended release 20.4R3-S9.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S9
NOT_AFFECTED · EXACT
20.4R3-S9
AFFECTED · RANGE
21.2R3-S7
NOT_AFFECTED · EXACT
21.2R3-S7
AFFECTED · RANGE
21.3R3-S5
NOT_AFFECTED · EXACT
21.3R3-S5
AFFECTED · RANGE
21.4R3-S5
NOT_AFFECTED · EXACT
21.4R3-S5
AFFECTED · RANGE
22.1R3-S4
NOT_AFFECTED · EXACT
22.1R3-S4
AFFECTED · RANGE
22.2R3-S3
NOT_AFFECTED · EXACT
22.2R3-S3
AFFECTED · RANGE
22.3R3-S2
NOT_AFFECTED · EXACT
22.3R3-S2
UNKNOWN · UNKNOWN
{"lessThan": "22.4R2-S2, 22.4R3", "status": "affected", "version": "22.4", "versionType": "semver"}
AFFECTED · RANGE
23.2R2
NOT_AFFECTED · EXACT
23.2R2
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R3-S9
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.2
First fixed: 21.2R3-S7
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.3
First fixed: 21.3R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.1
First fixed: 22.1R3-S4
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.3
First fixed: 22.3R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 23.2
First fixed: 23.2R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
20.4R3-S9
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
20.4R3-S9
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
21.2 → 21.2R3-S7
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
21.2 → 21.2R3-S7
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
21.3 → 21.3R3-S5
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
21.3 → 21.3R3-S5
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
21.4 → 21.4R3-S5
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
21.4 → 21.4R3-S5
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.1 → 22.1R3-S4
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.1 → 22.1R3-S4
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.3 → 22.3R3-S2
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.3 → 22.3R3-S2
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.4 → 22.4R2-S2, 22.4R3
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
22.4 → 22.4R2-S2, 22.4R3
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
23.2 → 23.2R2
Platform: MX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]
AFFECTED · RANGE
23.2 → 23.2R2
Platform: EX Series
Required configuration: To be affected a device must be configured with: [ forwarding-options dhcp-relay group <group-name> interface ... ] or [ system services dhcp-local-server group <group-name> interface ... ]

Remediation

UNKNOWN
Release train: 20.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 21.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 23.2
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.