# CVE-2024-47494: Junos OS: Due to a race condition AgentD process causes a memory corruption and FPC reset

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

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 0 | 21.4R3-S9 or later |
| Junos OS 22.2 | 22.2R3-S5 or later |
| Junos OS 22.3 | 22.3R3-S4 or later |
| Junos OS 22.4 | 22.4R3-S3 or later |
| Junos OS 23.2 | 23.2R2-S2 or later |
| Junos OS 23.4 | 23.4R2 or later |

## The vendor's description

A Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in the AgentD process of Juniper Networks Junos OS allows an attacker who is already causing impact to established sessions which generates counter changes picked up by the AgentD process during telemetry polling, to move the AgentD process into a state where AgentD attempts to reap an already destroyed sensor. This reaping attempt then leads to memory corruption causing the FPC to crash which is a Denial of Service (DoS).





The FPC will recover automatically without user intervention after the crash.
This issue affects Junos OS: 

  *  All versions before 21.4R3-S9
  *  From 22.2 before 22.2R3-S5,
  *  From 22.3 before 22.3R3-S4,
  *  From 22.4 before 22.4R3-S3,
  *  From 23.2 before 23.2R2-S2,
  *  From 23.4 before 23.4R2.


This issue does not affect Junos OS Evolved.

## Workarounds

There are no known workarounds for this issue.

## Sources

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

---

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.
