CVE-2021-31366 Denial of service in Junos OS

Medium 6.5 Published Updated

An adjacent attacker can crash the authentication daemon on Juniper MX Series devices configured for subscriber management by sending a specific username, causing a Denial of Service.

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-2021-31366?

CVE-2021-31366 is a medium-severity denial of service vulnerability in Juniper Junos, published on 19 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An Unchecked Return Value vulnerability in the authd (authentication daemon) of Juniper Networks Junos OS on MX Series configured for subscriber management / BBE allows an adjacent attacker to cause a crash by sending a specific username. This impacts authentication, authorization, and accounting (AAA) services on the MX devices and leads to a Denial of Service (DoS) condition. Continued receipted of these PPP login request will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 15.1 versions prior to 15.1R7-S9; 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.4R3-S9; 19.1 versions prior to 19.1R3-S6; 19.2 versions prior to 19.2R1-S7, 19.2R3-S3; 19.3 versions prior to 19.3R2-S6, 19.3R3-S3; 19.4 versions prior to 19.4R3-S3; 20.1 versions prior to 20.1R3; 20.2 versions prior to 20.2R3-S1; 20.3 versions prior to 20.3R3; 20.4 versions prior to 20.4R3; 21.1 versions prior to 21.1R2.

Weakness: CWE-252

Which versions are affected by CVE-2021-31366?

It affects 1 product.

Products include Juniper Junos.

How do I fix CVE-2021-31366?

No fix has been published for CVE-2021-31366 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-2021-31366 being exploited?

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

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-88jm-v6gw-45j8.

Is CVE-2021-31366 in your software?

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

Check your SBOMs for free