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

- Vendor: Juniper Networks, Junos OS
- Severity: MEDIUM (CVSS 4.0 6.9)
- Exploited (CISA KEV): not listed
- EPSS: 0.2% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA79109, https://supportportal.juniper.net/JSA79109
- Published: 2024-04-10; updated: 2024-05-16
- Page: https://patchtonight.com/cve/CVE-2024-30378/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (MX Series) 0 | 20.4R3-S5 or later |
| Junos OS (MX Series) 21.1 | 21.1R3-S4 or later |
| Junos OS (MX Series) 21.2 | 21.2R3-S3 or later |
| Junos OS (MX Series) 21.3 | 21.3R3-S5 or later |
| Junos OS (MX Series) 21.4 | 21.4R3-S5 or later |
| Junos OS (MX Series) 22.1 | 22.1R3 or later |
| Junos OS (MX Series) 22.2 | 22.2R3 or later |
| Junos OS (MX Series) 22.3 | 22.3R2 or later |

## The vendor's 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;

## Workarounds

Use access lists or firewall filters to limit access to the CLI only from trusted hosts and administrators.

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA79109)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
