CVE-2024-30395 Junos OS and Junos OS Evolved: A malformed BGP tunnel encapsulation attribute will lead to an rpd crash

High 8.7 Published Updated

An unauthenticated attacker can crash the Routing Protocol Daemon by sending a malformed BGP tunnel encapsulation attribute, causing a denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-30395?

CVE-2024-30395 is a high-severity denial of service vulnerability in Juniper Junos, published on 12 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An Improper Validation of Specified Type of Input vulnerability in Routing Protocol Daemon (RPD) of Junos OS and Junos OS Evolved allows an unauthenticated, network-based attacker to cause Denial of Service (DoS).

If a BGP update is received over an established BGP session which contains a tunnel encapsulation attribute with a specifically malformed TLV, rpd will crash and restart. This issue affects:

Junos OS:

* all versions before 21.2R3-S7, 

* from 21.3 before 21.3R3-S5, 

* from 21.4 before 21.4R3-S5, 

* from 22.1 before 22.1R3-S5, 

* from 22.2 before 22.2R3-S3, 

* from 22.3 before 22.3R3-S2, 

* from 22.4 before 22.4R3, 

* from 23.2 before 23.2R1-S2, 23.2R2.

Junos OS Evolved:

* all versions before 21.2R3-S7-EVO, 

* from 21.3-EVO before 21.3R3-S5-EVO, 

* from 21.4-EVO before 21.4R3-S5-EVO,  * from 22.2-EVO before 22.2R3-S3-EVO, 

* from 22.3-EVO before 22.3R3-S2-EVO, 

* from 22.4-EVO before 22.4R3-EVO, 

* from 23.2-EVO before 23.2R1-S2-EVO, 23.2R2-EVO.

This is a related but separate issue than the one described in JSA75739

Weakness: CWE-1287

Which versions are affected by CVE-2024-30395?

It affects 2 products.

Products include Juniper Junos, Juniper Junos Os Evolved.

How do I fix CVE-2024-30395?

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

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

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-99g6-3hjh-hcxr.

Is CVE-2024-30395 in your software?

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

Check your SBOMs for free