{
    "containers": {
        "cna": {
            "affected": [
                {
                    "platforms": [
                        "MX Series"
                    ],
                    "product": "Junos OS",
                    "vendor": "Juniper Networks",
                    "versions": [
                        {
                            "lessThan": "17.2R1",
                            "status": "unaffected",
                            "version": "unspecified",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "17.2*",
                            "status": "affected",
                            "version": "17.2R1",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "17.3R3-S9",
                            "status": "affected",
                            "version": "17.3",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "17.4R2-S12, 17.4R3-S3",
                            "status": "affected",
                            "version": "17.4",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "18.1R3-S11",
                            "status": "affected",
                            "version": "18.1",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "18.2R2-S6, 18.2R3-S3",
                            "status": "affected",
                            "version": "18.2",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "18.3R2-S4, 18.3R3-S1",
                            "status": "affected",
                            "version": "18.3",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "18.4R1-S8, 18.4R2-S5, 18.4R3",
                            "status": "affected",
                            "version": "18.4",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "19.1R1-S6, 19.1R2-S2, 19.1R3",
                            "status": "affected",
                            "version": "19.1",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "19.2R1-S5, 19.2R2",
                            "status": "affected",
                            "version": "19.2",
                            "versionType": "custom"
                        },
                        {
                            "lessThan": "19.3R2-S5, 19.3R3",
                            "status": "affected",
                            "version": "19.3",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "value": "The following minimal configuration is necessary: \n\n  [chassis fpc <fpc-number> pic <pic-number> inline-services bandwidth <bandwidth>]\n  [interfaces <si-interface-name> unit <inside-logical-unit> family inet]\n  [interfaces <si-interface-name> unit <inside-logical-unit> family inet6]\n  [interfaces <si-interface-name> unit <inside-logical-unit> service-domain inside]\n  [interfaces <si-interface-name> unit <outside-logical-unit> family inet]\n  [interfaces <si-interface-name> unit <outside-logical-unit> family inet6]\n  [interfaces <si-interface-name> unit <outside-logical-unit> service-domain outside]\n  [services softwire softwire-concentrator map-e <mape-instance-name> version03]\n  [services softwire softwire-concentrator map-e <mape-instance-name> softwire-address <IPv6-Address>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> ipv4-prefix <IPv4-Prefix> mape-prefix <IPv6-Prefix>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> ea-bits-len <0..48>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> psid-off[set <0..16>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> psid-length <0..16>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> mtu-ipv6 <1280..9192>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> v4-reassembly]\n  [services softwire rule <mape-rule-name> match-direction input term <term-name> then map-e <mape-instance-name>]\n  [services service-set <service-set-name> softwire-rules <mape-rule-name>]\n  [services service-set <service-set-name> next-hop-service inside-service-interface <si-interface-name.inside-logical-unit> outside-service-interface <si-interface-name.outside-logical-unit>]"
                }
            ],
            "datePublic": "2021-10-13T00:00:00",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "exploits": [
                {
                    "lang": "en",
                    "value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-696",
                            "description": "CWE-696 Incorrect Behavior Order",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "description": "Denial of Service (DoS)",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2021-10-19T18:17:19",
                "orgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
                "shortName": "juniper"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://kb.juniper.net/JSA11247"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://www.juniper.net/documentation/en_US/junos/topics/topic-map/map-e-configuring.html"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "The following software releases have been updated to resolve this specific issue: 17.3R3-S9, 17.4R2-S12, 17.4R3-S3, 18.1R3-S11, 18.2R2-S6, 18.2R3-S3, 18.3R2-S4, 18.3R3-S1, 18.4R1-S8, 18.4R2-S5, 18.4R3, 19.1R1-S6, 19.1R2-S2, 19.1R3, 19.2R1-S5, 19.2R2, 19.3R2-S5, 19.3R3, 19.4R1, and all subsequent releases."
                }
            ],
            "source": {
                "advisory": "JSA11247",
                "defect": [
                    "1468454"
                ],
                "discovery": "INTERNAL"
            },
            "title": "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.",
            "workarounds": [
                {
                    "lang": "en",
                    "value": "To work around this issue customers can either:\n\n1. Disable Mapping of Address and port - Encapsulation (MAP-E) as an inline service on MX Series routers that use MPC and MIC interfaces.\n\nor\n\n2. 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:\n\n  [services softwire softwire-concentrator]\n  [services softwires softwire-types]\n  [security softwires]\n\nand the following syntaxes: \n\n  map-e name {\n      v4-reassembly;      <<<<<  DISABLE the v4-reassembly option.\n      v6-reassembly;      <<<<<  DISABLE the v6-reassembly option.\n  }"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.0.9"
            },
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "sirt@juniper.net",
                    "DATE_PUBLIC": "2021-10-13T16:00:00.000Z",
                    "ID": "CVE-2021-31379",
                    "STATE": "PUBLIC",
                    "TITLE": "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."
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "Junos OS",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": ">=",
                                                        "version_name": "17.2",
                                                        "version_value": "17.2R1"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "17.3",
                                                        "version_value": "17.3R3-S9"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "17.4",
                                                        "version_value": "17.4R2-S12, 17.4R3-S3"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "18.1",
                                                        "version_value": "18.1R3-S11"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "18.2",
                                                        "version_value": "18.2R2-S6, 18.2R3-S3"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "18.3",
                                                        "version_value": "18.3R2-S4, 18.3R3-S1"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "18.4",
                                                        "version_value": "18.4R1-S8, 18.4R2-S5, 18.4R3"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "19.1",
                                                        "version_value": "19.1R1-S6, 19.1R2-S2, 19.1R3"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "19.2",
                                                        "version_value": "19.2R1-S5, 19.2R2"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "<",
                                                        "version_name": "19.3",
                                                        "version_value": "19.3R2-S5, 19.3R3"
                                                    },
                                                    {
                                                        "platform": "MX Series",
                                                        "version_affected": "!<",
                                                        "version_value": "17.2R1"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "Juniper Networks"
                            }
                        ]
                    }
                },
                "configuration": [
                    {
                        "lang": "en",
                        "value": "The following minimal configuration is necessary: \n\n  [chassis fpc <fpc-number> pic <pic-number> inline-services bandwidth <bandwidth>]\n  [interfaces <si-interface-name> unit <inside-logical-unit> family inet]\n  [interfaces <si-interface-name> unit <inside-logical-unit> family inet6]\n  [interfaces <si-interface-name> unit <inside-logical-unit> service-domain inside]\n  [interfaces <si-interface-name> unit <outside-logical-unit> family inet]\n  [interfaces <si-interface-name> unit <outside-logical-unit> family inet6]\n  [interfaces <si-interface-name> unit <outside-logical-unit> service-domain outside]\n  [services softwire softwire-concentrator map-e <mape-instance-name> version03]\n  [services softwire softwire-concentrator map-e <mape-instance-name> softwire-address <IPv6-Address>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> ipv4-prefix <IPv4-Prefix> mape-prefix <IPv6-Prefix>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> ea-bits-len <0..48>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> psid-off[set <0..16>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> psid-length <0..16>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> mtu-ipv6 <1280..9192>]\n  [services softwire softwire-concentrator map-e <mape-instance-name> v4-reassembly]\n  [services softwire rule <mape-rule-name> match-direction input term <term-name> then map-e <mape-instance-name>]\n  [services service-set <service-set-name> softwire-rules <mape-rule-name>]\n  [services service-set <service-set-name> next-hop-service inside-service-interface <si-interface-name.inside-logical-unit> outside-service-interface <si-interface-name.outside-logical-unit>]"
                    }
                ],
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "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."
                        }
                    ]
                },
                "exploit": [
                    {
                        "lang": "en",
                        "value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
                    }
                ],
                "generator": {
                    "engine": "Vulnogram 0.0.9"
                },
                "impact": {
                    "cvss": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7.5,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    }
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "CWE-696 Incorrect Behavior Order"
                                }
                            ]
                        },
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "Denial of Service (DoS)"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://kb.juniper.net/JSA11247",
                            "refsource": "CONFIRM",
                            "url": "https://kb.juniper.net/JSA11247"
                        },
                        {
                            "name": "https://www.juniper.net/documentation/en_US/junos/topics/topic-map/map-e-configuring.html",
                            "refsource": "MISC",
                            "url": "https://www.juniper.net/documentation/en_US/junos/topics/topic-map/map-e-configuring.html"
                        }
                    ]
                },
                "solution": [
                    {
                        "lang": "en",
                        "value": "The following software releases have been updated to resolve this specific issue: 17.3R3-S9, 17.4R2-S12, 17.4R3-S3, 18.1R3-S11, 18.2R2-S6, 18.2R3-S3, 18.3R2-S4, 18.3R3-S1, 18.4R1-S8, 18.4R2-S5, 18.4R3, 19.1R1-S6, 19.1R2-S2, 19.1R3, 19.2R1-S5, 19.2R2, 19.3R2-S5, 19.3R3, 19.4R1, and all subsequent releases."
                    }
                ],
                "source": {
                    "advisory": "JSA11247",
                    "defect": [
                        "1468454"
                    ],
                    "discovery": "INTERNAL"
                },
                "work_around": [
                    {
                        "lang": "en",
                        "value": "To work around this issue customers can either:\n\n1. Disable Mapping of Address and port - Encapsulation (MAP-E) as an inline service on MX Series routers that use MPC and MIC interfaces.\n\nor\n\n2. 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:\n\n  [services softwire softwire-concentrator]\n  [services softwires softwire-types]\n  [security softwires]\n\nand the following syntaxes: \n\n  map-e name {\n      v4-reassembly;      <<<<<  DISABLE the v4-reassembly option.\n      v6-reassembly;      <<<<<  DISABLE the v6-reassembly option.\n  }"
                    }
                ]
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T22:55:53.818Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://kb.juniper.net/JSA11247"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://www.juniper.net/documentation/en_US/junos/topics/topic-map/map-e-configuring.html"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
        "assignerShortName": "juniper",
        "cveId": "CVE-2021-31379",
        "datePublished": "2021-10-19T18:17:19.849366Z",
        "dateReserved": "2021-04-15T00:00:00",
        "dateUpdated": "2024-09-16T22:56:51.495Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}