# CVE-2021-31379: Junos OS: MX Series: MPC 7/8/9/10/11 cards with MAP-E: PFE halts when an attacker sends malformed IPv4 or IPv6 traffic inside the MAP-E tunnel.

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.34% (percentile 71, 2026-11-26)
- **CWE:** CWE-696
- **Published:** 2021-10-19T18:17:19.849Z
- **Modified:** 2026-06-17T03:51:40.967Z

## Who should check

- Anyone running Juniper Networks Junos OS \>= 17.2R1, \< 17.2\*; \>= 17.3, \< 17.3R3-S9; \>= 17.4, \< 17.4R2-S12, 17.4R3-S3; \>= 18.1, \< 18.1R3-S11; \>= 18.2, \< 18.2R2-S6, 18.2R3-S3; \>= 18.3, \< 18.3R2-S4, 18.3R3-S1; \>= 18.4, \< 18.4R1-S8, 18.4R2-S5, 18.4R3; \>= 19.1, \< 19.1R1-S6, 19.1R2-S2, 19.1R3; \>= 19.2, \< 19.2R1-S5, 19.2R2; \>= 19.3, \< 19.3R2-S5, 19.3R3

## Description

An Incorrect Behavior Order vulnerability in the MAP-E automatic tunneling mechanism of Juniper Networks Junos OS allows an attacker to send certain malformed IPv4 or IPv6 packets to cause a Denial of Service (DoS) to the PFE on the device which is disabled as a result of the processing of these packets. Continued receipt and processing of these malformed IPv4 or IPv6 packets will create a sustained Denial of Service (DoS) condition. This issue only affects MPC 7/8/9/10/11 cards, when MAP-E IP reassembly is enabled on these cards. An indicator of compromise is the output: FPC \["FPC ID" \# e.g. "0"\] PFE \#{PFE ID \# e.g. "1"\] : Fabric Disabled Example: FPC 0 PFE \#1 : Fabric Disabled when using the command: show chassis fabric fpcs An example of a healthy result of the command use would be: user@device-re1\> show chassis fabric fpcs Fabric management FPC state: FPC 0 PFE \#0 Plane 0: Plane enabled Plane 1: Plane enabled Plane 2: Plane enabled Plane 3: Plane enabled Plane 4: Plane enabled Plane 5: Plane enabled Plane 6: Plane enabled Plane 7: Plane enabled This issue affects: Juniper Networks Junos OS on MX Series with MPC 7/8/9/10/11 cards, when MAP-E IP reassembly is enabled on these cards. 17.2 version 17.2R1 and later versions; 17.3 versions prior to 17.3R3-S9; 17.4 versions prior to 17.4R2-S12, 17.4R3-S3; 18.1 versions prior to 18.1R3-S11; 18.2 versions prior to 18.2R2-S6, 18.2R3-S3; 18.3 versions prior to 18.3R2-S4, 18.3R3-S1; 18.4 versions prior to 18.4R1-S8, 18.4R2-S5, 18.4R3; 19.1 versions prior to 19.1R1-S6, 19.1R2-S2, 19.1R3; 19.2 versions prior to 19.2R1-S5, 19.2R2; 19.3 versions prior to 19.3R2-S5, 19.3R3. This issue does not affect Juniper Networks Junos OS versions prior to 17.2R1.

## Affected and fixed versions

- Juniper Networks Junos OS: \>= 17.2R1, \< 17.2\*; \>= 17.3, \< 17.3R3-S9; \>= 17.4, \< 17.4R2-S12, 17.4R3-S3; \>= 18.1, \< 18.1R3-S11; \>= 18.2, \< 18.2R2-S6, 18.2R3-S3; \>= 18.3, \< 18.3R2-S4, 18.3R3-S1; \>= 18.4, \< 18.4R1-S8, 18.4R2-S5, 18.4R3; \>= 19.1, \< 19.1R1-S6, 19.1R2-S2, 19.1R3; \>= 19.2, \< 19.2R1-S5, 19.2R2; \>= 19.3, \< 19.3R2-S5, 19.3R3 (cvelist)

## Mitigation

- Vendor workaround: To work around this issue customers can either:
- 
- 1. Disable Mapping of Address and port - Encapsulation (MAP-E) as an inline service on MX Series routers that use MPC and MIC interfaces.
- 
- or
- 
- 2. Determine where the MAP-E v4 or v6 reassembly exists, review the following hierarchies and disable the "v4-reassembly;" and "v6-reassembly;" options where they exist:
- 
-   \[services softwire softwire-concentrator\]
-   \[services softwires softwire-types\]
-   \[security softwires\]
- 
- and the following syntaxes: 
- 
-   map-e name {
-       v4-reassembly;      \<\<\<\<\<  DISABLE the v4-reassembly option.
-       v6-reassembly;      \<\<\<\<\<  DISABLE the v6-reassembly option.
-   }

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-31379. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-31379.md
Affected: Juniper Networks Junos OS >= 17.2R1, < 17.2*; >= 17.3, < 17.3R3-S9; >= 17.4, < 17.4R2-S12, 17.4R3-S3; >= 18.1, < 18.1R3-S11; >= 18.2, < 18.2R2-S6, 18.2R3-S3; >= 18.3, < 18.3R2-S4, 18.3R3-S1; >= 18.4, < 18.4R1-S8, 18.4R2-S5, 18.4R3; >= 19.1, < 19.1R1-S6, 19.1R2-S2, 19.1R3; >= 19.2, < 19.2R1-S5, 19.2…
Fixed in: Juniper Networks Junos OS 17.2*, Juniper Networks Junos OS 17.3R3-S9, Juniper Networks Junos OS 17.4R2-S12, Juniper Networks Junos OS 18.1R3-S11, Juniper Networks Junos OS 18.2R2-S6, Juniper Networks Junos OS 18.3R2-S4, Juniper Networks Junos OS 18.4R1-S8, Juniper Networks Junos OS 19.1R1-S6, Junip…

Steps:
1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-31379 being exploited?

There is no confirmed exploitation: CVE-2021-31379 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-31379?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2021-31379?

Juniper Networks Junos OS \>= 17.2R1, \< 17.2\*; \>= 17.3, \< 17.3R3-S9; \>= 17.4, \< 17.4R2-S12, 17.4R3-S3; \>= 18.1, \< 18.1R3-S11; \>= 18.2, \< 18.2R2-S6, 18.2R3-S3; \>= 18.3, \< 18.3R2-S4, 18.3R3-S1; \>= 18.4, \< 18.4R1-S8, 18.4R2-S5, 18.4R3; \>= 19.1, \< 19.1R1-S6, 19.1R2-S2, 19.1R3; \>= 19.2, \< 19.2R1-S5, 19.2R2; \>= 19.3, \< 19.3R2-S5, 19.3R3.

### Is there a fix for CVE-2021-31379?

Yes. Fixed in Juniper Networks Junos OS 17.2\*, Juniper Networks Junos OS 17.3R3-S9, Juniper Networks Junos OS 17.4R2-S12, Juniper Networks Junos OS 18.1R3-S11, Juniper Networks Junos OS 18.2R2-S6, Juniper Networks Junos OS 18.3R2-S4, Juniper Networks Junos OS 18.4R1-S8, Juniper Networks Junos OS 19.1R1-S6, Juniper Networks Junos OS 19.2R1-S5, Juniper Networks Junos OS 19.3R2-S5. Vendor workaround: To work around this issue customers can either:  1. Disable Mapping of Address and port - Encapsulation (MAP-E) as an inline service on MX Series routers that use MPC and MIC interfaces.  or  2. Determine where the MAP-E v4 or v6 reassembly exists, review the following hierarchies and disable the "v4-reassembly;" and "v6-reassembly;" options where they exist:    \[services softwire softwire-concentrator\]   \[services softwires softwire-types\]   \[security softwires\]  and the following syntaxes:     map-e name {       v4-reassembly;      \<\<\<\<\<  DISABLE the v4-reassembly option.       v6-reassembly;      \<\<\<\<\<  DISABLE the v6-reassembly option.   }

### How do I check if I'm affected by CVE-2021-31379?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.juniper.net/documentation/en_US/junos/topics/topic-map/map-e-configuring.html>
- exploit: <https://kb.juniper.net/JSA11247>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-31379>

HTML: <https://flawdb.com/CVE-2021-31379> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-31379>
