CVE-2024-30378 Junos OS: MX Series: bbe-smgd process crash upon execution of specific CLI commands

Medium 6.9 Published Updated

A local authenticated attacker can crash the broadband edge service manager daemon on Juniper MX Series devices, causing a temporary denial of service for subscriber connections.

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-2024-30378?

CVE-2024-30378 is a medium-severity use after free vulnerability in Juniper Junos, published on 16 Apr 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A Use After Free vulnerability in command processing of Juniper Networks Junos OS on MX Series allows a local, authenticated attacker to cause the broadband edge service manager daemon (bbe-smgd) to crash upon execution of specific CLI commands, creating a Denial of Service (DoS) condition.  The process crashes and restarts automatically.

When specific CLI commands are executed, the bbe-smgd daemon attempts to write into an area of memory (mgd socket) that was already closed, causing the process to crash.  This process manages and controls the configuration of broadband subscriber sessions and services.  While the process is unavailable, additional subscribers will not be able to connect to the device, causing a temporary Denial of Service condition.

This issue only occurs if Graceful Routing Engine Switchover (GRES) and Subscriber Management are enabled. This issue affects Junos OS:

* All versions before 20.4R3-S5, * from 21.1 before 21.1R3-S4, * from 21.2 before 21.2R3-S3, * from 21.3 before 21.3R3-S5, * from 21.4 before 21.4R3-S5, * from 22.1 before 22.1R3, * from 22.2 before 22.2R3, * from 22.3 before 22.3R2;

Weakness: CWE-416

Which versions are affected by CVE-2024-30378?

It affects 1 product.

Products include Juniper Junos.

How do I fix CVE-2024-30378?

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

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-30378 being exploited?

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

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-38f5-rx4x-f6j9.

Is CVE-2024-30378 in your software?

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

Check your SBOMs for free