CVE-2023-36842 Junos OS: jdhcpd will hang on receiving a specific DHCP packet

Medium 6.5 Published Updated

An adjacent attacker can cause a denial of service in Junos OS by sending a specific DHCP packet to a non-configured interface when forward-snooped-client is enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-36842?

CVE-2023-36842 is a medium-severity denial of service vulnerability in Juniper Junos, published on 12 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-755, CWE-703

Which versions are affected by CVE-2023-36842?

It affects 1 product.

Products include Juniper Junos.

How do I fix CVE-2023-36842?

No fix has been published for CVE-2023-36842 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-36842 being exploited?

There is no known exploitation of CVE-2023-36842 in the wild and no public exploit code.

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-fm73-gmgv-w8rr.

Is CVE-2023-36842 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free