CVE-2021-0240

Junos OS: Receipt of malformed DHCPv6 packets causes jdhcpd to crash and restart.

AllVuln state: AFFECTED

HIGH
CVSS
7.4
3.1
EPSS
0.41%
Percentile 37.48%
CISA KEV
Not listed
Published
April 22, 2021
Updated September 16, 2024

Description

On Juniper Networks Junos OS platforms configured as DHCPv6 local server or DHCPv6 Relay Agent, the Juniper Networks Dynamic Host Configuration Protocol Daemon (JDHCPD) process might crash if a malformed DHCPv6 packet is received, resulting in a restart of the daemon. The daemon automatically restarts without intervention, but continued receipt and processing of this packet will create a sustained Denial of Service (DoS) condition. This issue only affects DHCPv6. DHCPv4 is not affected by this issue. This issue affects Juniper Networks Junos OS: 17.3 versions prior to 17.3R3-S12; 17.4 versions prior to 17.4R3-S5; 18.1 versions prior to 18.1R3-S13; 18.2 versions prior to 18.2R3-S8; 18.3 versions prior to 18.3R3-S5; 18.4 versions prior to 18.4R1-S8, 18.4R3-S7; 19.1 versions prior to 19.1R3-S5; 19.2 versions prior to 19.2R3-S2; 19.3 versions prior to 19.3R3-S2; 19.4 versions prior to 19.4R3-S2; 20.1 versions prior to 20.1R3; 20.2 versions prior to 20.2R2-S3, 20.2R3; 20.3 versions prior to 20.3R2; 20.4 versions prior to 20.4R2.

Risk details

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

What should I do?

Review the vendor remediation for fixed or recommended release 17.3R3-S12.

Supported product evidence

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

Applicability

AFFECTED · RANGE
17.3R3-S12
NOT_AFFECTED · EXACT
17.3R3-S12
AFFECTED · RANGE
17.4R3-S5
NOT_AFFECTED · EXACT
17.4R3-S5
AFFECTED · RANGE
18.1R3-S13
NOT_AFFECTED · EXACT
18.1R3-S13
AFFECTED · RANGE
18.2R3-S8
NOT_AFFECTED · EXACT
18.2R3-S8
AFFECTED · RANGE
18.3R3-S5
NOT_AFFECTED · EXACT
18.3R3-S5
UNKNOWN · UNKNOWN
{"lessThan": "18.4R1-S8, 18.4R3-S7", "status": "affected", "version": "18.4", "versionType": "custom"}
AFFECTED · RANGE
19.1R3-S5
NOT_AFFECTED · EXACT
19.1R3-S5
AFFECTED · RANGE
19.2R3-S2
NOT_AFFECTED · EXACT
19.2R3-S2
AFFECTED · RANGE
19.3R3-S2
NOT_AFFECTED · EXACT
19.3R3-S2
AFFECTED · RANGE
19.4R3-S2
NOT_AFFECTED · EXACT
19.4R3-S2
AFFECTED · RANGE
20.1R3
NOT_AFFECTED · EXACT
20.1R3
UNKNOWN · UNKNOWN
{"lessThan": "20.2R2-S3, 20.2R3", "status": "affected", "version": "20.2", "versionType": "custom"}
AFFECTED · RANGE
20.3R2
NOT_AFFECTED · EXACT
20.3R2
AFFECTED · RANGE
20.4R2
NOT_AFFECTED · EXACT
20.4R2
UNKNOWN · DEFAULT
{"defaultStatus": null}

Remediation

FIX_AVAILABLE
Release train: 17.3
First fixed: 17.3R3-S12
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 17.4
First fixed: 17.4R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.1
First fixed: 18.1R3-S13
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.2
First fixed: 18.2R3-S8
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 18.3
First fixed: 18.3R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.1
First fixed: 19.1R3-S5
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.2
First fixed: 19.2R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.3
First fixed: 19.3R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 19.4
First fixed: 19.4R3-S2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.1
First fixed: 20.1R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.3
First fixed: 20.3R2
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 20.4
First fixed: 20.4R2
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
17.3 → 17.3R3-S12
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
17.4 → 17.4R3-S5
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
18.1 → 18.1R3-S13
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
18.2 → 18.2R3-S8
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
18.3 → 18.3R3-S5
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
18.4 → 18.4R1-S8, 18.4R3-S7
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
19.1 → 19.1R3-S5
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
19.2 → 19.2R3-S2
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
19.3 → 19.3R3-S2
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
19.4 → 19.4R3-S2
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
20.1 → 20.1R3
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
20.2 → 20.2R2-S3, 20.2R3
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
20.3 → 20.3R2
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]
AFFECTED · RANGE
20.4 → 20.4R2
Required configuration: The example of DHCPv6 local server configuration stanza affected by this issue is: [system services dhcp-local-server dhcpv6] The example of configuration stanza for DHCPv6 Relay Agent affected by this issue is: [forwarding-options dhcp-relay dhcpv6]

Remediation

UNKNOWN
Release train: 17.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 17.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 18.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 19.4
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.1
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.2
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 20.4
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.