Product Affected

This issue affects Junos OS 17.3, 17.4, 18.1, 18.2, 18.3, 18.4, 19.1, 19.2, 19.3, 19.4, 20.1, 20.2, 20.3, 20.4.
High
7.4 (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H)

Problem

On Juniper Networks Junos OS platforms configured as DHCPv6 local server or DHCPv6 Relay Agent, Juniper Networks Dynamic Host Configuration Protocol Daemon (JDHCPD) process might crash with a core dump if a malformed or specific DHCPv6 packet is received, resulting in a restart of the daemon. The daemon automatically restarts without intervention, but continued receipt and processing of these packets will repeatedly crash the JDHCPD process and sustain the Denial of Service (DoS) condition.

These issues only affect DHCPv6. DHCPv4 is not affected by these issues.

These issues affect 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.


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]


These issues were seen during production usage.

CVE CVSS Summary
CVE-2021-0240 7.4 ( CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H ) On Juniper Networks Junos OS platforms configured as DHCPv6 local server or DHCPv6 Relay Agent, Juniper Networks Dynamic Host Configuration Protocol Daemon (JDHCPD) process might crash with a core dump if a malformed DHCPv6 packet is received, resulting in a restart of the daemon.
CVE-2021-0241 7.4 ( CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H ) On Juniper Networks Junos OS platforms configured as DHCPv6 local server or DHCPv6 Relay Agent, Juniper Networks Dynamic Host Configuration Protocol Daemon (JDHCPD) process might crash with a core dump if a specific DHCPv6 packet is received, resulting in a restart of the daemon.

Solution

The following software releases have been updated to resolve these specific issues: Junos OS 17.3R3-S12, 17.4R3-S5, 18.1R3-S13, 18.2R3-S8, 18.3R3-S5, 18.4R1-S8, 18.4R3-S7, 19.1R3-S5, 19.2R3-S2, 19.3R3-S2, 19.4R3-S2, 20.1R3, 20.2R2-S3, 20.2R3, 20.3R2, 20.4R2, 21.1R1, and all subsequent releases.

This issue is being tracked as  1564434  and  1546166 .
 

Software releases or updates are available for download at https://support.juniper.net/support/downloads/
 

Workaround

There are no known workarounds for these issues.
 

Severity Assessment

Information for how Juniper Networks uses CVSS can be found at KB 16446 [juniper.net] "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Modification History

2021-04-14: Initial Publication.

Related Information