# CVE-2024-30401: Junos OS: MX Series and EX9200-15C: Stack-based buffer overflow in aftman

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

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS (MX Series, EX9200-15C) 21.2 | 21.2R3-S1 or later |
| Junos OS (MX Series, EX9200-15C) 21.4 | 21.4R3 or later |
| Junos OS (MX Series, EX9200-15C) 22.1 | 22.1R2 or later |
| Junos OS (MX Series, EX9200-15C) 22.2 | 22.2R2 or later |
| Junos OS (MX Series, EX9200-15C) 0, 20.4 | Not affected |

## The vendor's description

An Out-of-bounds Read vulnerability in the advanced forwarding management process aftman of Juniper Networks Junos OS on MX Series with MPC10E, MPC11, MX10K-LC9600 line cards, MX304, and EX9200-15C, may allow an attacker to exploit a stack-based buffer overflow, leading to a reboot of the FPC.

Through code review, it was determined that the interface definition code for aftman could read beyond a buffer boundary, leading to a stack-based buffer overflow.
This issue affects Junos OS on MX Series and EX9200-15C:


  *  from 21.2 before 21.2R3-S1, 
  *  from 21.4 before 21.4R3, 
  *  from 22.1 before 22.1R2, 
  *  from 22.2 before 22.2R2; 




This issue does not affect:



  *  versions of Junos OS prior to 20.3R1;
  *  any version of Junos OS 20.4.

## Workarounds

There are no known workarounds for this issue.

## Sources

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

---

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.
