{"id":"CVE-2021-31383","state":"PUBLISHED","title":"Junos OS and Junos OS Evolved: In Point to MultiPoint (P2MP) scenarios receipt of various crafted packets causes RPD to core.","description":"In Point to MultiPoint (P2MP) scenarios within established sessions between network or adjacent neighbors the improper use of a source to destination copy write operation combined with a Stack-based Buffer Overflow on certain specific packets processed by the routing protocol daemon (RPD) of Juniper Networks Junos OS and Junos OS Evolved sent by a remote unauthenticated network attacker causes the RPD to crash causing a Denial of Service (DoS). Continued receipt and processing of these packets will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 19.2 versions prior to 19.2R3-S2; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R2-S4, 19.4R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R2-S3, 20.2R3; 20.3 versions prior to 20.3R2. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R1. Juniper Networks Junos OS Evolved 20.1 versions prior to 20.1R3-EVO; 20.2 versions prior to 20.2R3-EVO; 20.3 versions prior to 20.3R2-EVO.","publishedAt":"2021-10-19T18:17:26.471Z","updatedAt":"2024-09-16T20:21:34.268Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"juniper"},"assigner":"juniper","products":["Juniper Networks Junos OS","Juniper Networks Junos OS Evolved"],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","versions":[{"version":"unspecified","status":"unaffected","lessThan":"19.2R1","versionType":"custom"},{"version":"19.2","status":"affected","lessThan":"19.2R3-S2","versionType":"custom"},{"version":"19.3","status":"affected","lessThan":"19.3R2-S6, 19.3R3-S2","versionType":"custom"},{"version":"19.4","status":"affected","lessThan":"19.4R1-S4, 19.4R2-S4, 19.4R3-S3","versionType":"custom"},{"version":"20.1","status":"affected","lessThan":"20.1R2-S2, 20.1R3","versionType":"custom"},{"version":"20.2","status":"affected","lessThan":"20.2R2-S3, 20.2R3","versionType":"custom"},{"version":"20.3","status":"affected","lessThan":"20.3R2","versionType":"custom"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","versions":[{"version":"20.1","status":"affected","lessThan":"20.1R3-EVO","versionType":"custom"},{"version":"20.2","status":"affected","lessThan":"20.2R3-EVO","versionType":"custom"},{"version":"20.3","status":"affected","lessThan":"20.3R2-EVO","versionType":"custom"}]}],"references":["https://kb.juniper.net/JSA11251"],"weaknesses":["CWE-121"],"ingestedAt":"2026-10-29T19:48:30.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/31xxx/CVE-2021-31383.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-31383","state":"PUBLISHED","datePublished":"2021-10-19T18:17:26.471Z","dateUpdated":"2024-09-16T20:21:34.268Z","assignerShortName":"juniper","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","dateReserved":"2021-04-15T00:00:00.000Z"},"containers":{"cna":{"title":"Junos OS and Junos OS Evolved: In Point to MultiPoint (P2MP) scenarios receipt of various crafted packets causes RPD to core.","descriptions":[{"lang":"en","value":"In Point to MultiPoint (P2MP) scenarios within established sessions between network or adjacent neighbors the improper use of a source to destination copy write operation combined with a Stack-based Buffer Overflow on certain specific packets processed by the routing protocol daemon (RPD) of Juniper Networks Junos OS and Junos OS Evolved sent by a remote unauthenticated network attacker causes the RPD to crash causing a Denial of Service (DoS). Continued receipt and processing of these packets will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 19.2 versions prior to 19.2R3-S2; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R2-S4, 19.4R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R2-S3, 20.2R3; 20.3 versions prior to 20.3R2. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R1. Juniper Networks Junos OS Evolved 20.1 versions prior to 20.1R3-EVO; 20.2 versions prior to 20.2R3-EVO; 20.3 versions prior to 20.3R2-EVO."}],"affected":[{"vendor":"Juniper Networks","product":"Junos OS","versions":[{"version":"unspecified","status":"unaffected","lessThan":"19.2R1","versionType":"custom"},{"version":"19.2","status":"affected","lessThan":"19.2R3-S2","versionType":"custom"},{"version":"19.3","status":"affected","lessThan":"19.3R2-S6, 19.3R3-S2","versionType":"custom"},{"version":"19.4","status":"affected","lessThan":"19.4R1-S4, 19.4R2-S4, 19.4R3-S3","versionType":"custom"},{"version":"20.1","status":"affected","lessThan":"20.1R2-S2, 20.1R3","versionType":"custom"},{"version":"20.2","status":"affected","lessThan":"20.2R2-S3, 20.2R3","versionType":"custom"},{"version":"20.3","status":"affected","lessThan":"20.3R2","versionType":"custom"}]},{"vendor":"Juniper Networks","product":"Junos OS Evolved","versions":[{"version":"20.1","status":"affected","lessThan":"20.1R3-EVO","versionType":"custom"},{"version":"20.2","status":"affected","lessThan":"20.2R3-EVO","versionType":"custom"},{"version":"20.3","status":"affected","lessThan":"20.3R2-EVO","versionType":"custom"}]}],"references":[{"url":"https://kb.juniper.net/JSA11251","tags":["x_refsource_CONFIRM"]}],"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":[{"description":"improper usage of a source to destination copy write operation","lang":"en","type":"text"}]},{"descriptions":[{"description":"Denial of Service (DoS)","lang":"en","type":"text"}]},{"descriptions":[{"cweId":"CWE-121","description":"CWE-121 Stack-based Buffer Overflow","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"juniper","dateUpdated":"2021-10-19T18:17:26.000Z","orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968"},"configurations":[{"lang":"en","value":"The following configuration is required for Junos OS:\n  [protocols ldp p2mp]\n  [protocols ldp interface \"interface\"]\n  [protocols ldp traffic-statistics {sensor-based-stats;}]\n\nThe following configuration is required for Junos OS Evolved: \n  [configuration protocols ldp p2mp]\n  [configuration protocols ldp interface \"interface\"]"}],"datePublic":"2021-10-13T00:00:00.000Z","exploits":[{"lang":"en","value":"Juniper SIRT is not aware of any malicious exploitation of this vulnerability."}],"solutions":[{"lang":"en","value":"The following software releases have been updated to resolve this specific issue: \n\nJunos OS: 19.2R3-S2, 19.3R2-S6, 19.3R3-S2, 19.4R1-S4, 19.4R2-S4, 19.4R3-S3, 20.1R2-S2, 20.1R3, 20.2R2-S3, 20.2R3, 20.3R2, 20.4R1, and all subsequent releases.\n\nJunos OS Evolved: 20.1R3-EVO, 20.2R3-EVO, 20.3R2-EVO, 20.4R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA11251","defect":["1558672"],"discovery":"INTERNAL"},"workarounds":[{"lang":"en","value":"For Junos OS you can remove the traffic-statistics from the configuration to work around this issue.\n\n  [protoccols ldp traffic-statistics {sensor-based-stats;}]\n\nFor Junos OS Evolved there are no viable workarounds for this issue."}],"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-31383","STATE":"PUBLIC","TITLE":"Junos OS and Junos OS Evolved: In Point to MultiPoint (P2MP) scenarios receipt of various crafted packets causes RPD to core."},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Junos OS","version":{"version_data":[{"version_affected":"<","version_name":"19.2","version_value":"19.2R3-S2"},{"version_affected":"<","version_name":"19.3","version_value":"19.3R2-S6, 19.3R3-S2"},{"version_affected":"<","version_name":"19.4","version_value":"19.4R1-S4, 19.4R2-S4, 19.4R3-S3"},{"version_affected":"<","version_name":"20.1","version_value":"20.1R2-S2, 20.1R3"},{"version_affected":"<","version_name":"20.2","version_value":"20.2R2-S3, 20.2R3"},{"version_affected":"<","version_name":"20.3","version_value":"20.3R2"},{"version_affected":"!<","version_value":"19.2R1"}]}},{"product_name":"Junos OS Evolved","version":{"version_data":[{"version_affected":"<","version_name":"20.1","version_value":"20.1R3-EVO"},{"version_affected":"<","version_name":"20.2","version_value":"20.2R3-EVO"},{"version_affected":"<","version_name":"20.3","version_value":"20.3R2-EVO"}]}}]},"vendor_name":"Juniper Networks"}]}},"configuration":[{"lang":"en","value":"The following configuration is required for Junos OS:\n  [protocols ldp p2mp]\n  [protocols ldp interface \"interface\"]\n  [protocols ldp traffic-statistics {sensor-based-stats;}]\n\nThe following configuration is required for Junos OS Evolved: \n  [configuration protocols ldp p2mp]\n  [configuration protocols ldp interface \"interface\"]"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In Point to MultiPoint (P2MP) scenarios within established sessions between network or adjacent neighbors the improper use of a source to destination copy write operation combined with a Stack-based Buffer Overflow on certain specific packets processed by the routing protocol daemon (RPD) of Juniper Networks Junos OS and Junos OS Evolved sent by a remote unauthenticated network attacker causes the RPD to crash causing a Denial of Service (DoS). Continued receipt and processing of these packets will create a sustained Denial of Service (DoS) condition. This issue affects: Juniper Networks Junos OS 19.2 versions prior to 19.2R3-S2; 19.3 versions prior to 19.3R2-S6, 19.3R3-S2; 19.4 versions prior to 19.4R1-S4, 19.4R2-S4, 19.4R3-S3; 20.1 versions prior to 20.1R2-S2, 20.1R3; 20.2 versions prior to 20.2R2-S3, 20.2R3; 20.3 versions prior to 20.3R2. This issue does not affect Juniper Networks Junos OS versions prior to 19.2R1. Juniper Networks Junos OS Evolved 20.1 versions prior to 20.1R3-EVO; 20.2 versions prior to 20.2R3-EVO; 20.3 versions prior to 20.3R2-EVO."}]},"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":"improper usage of a source to destination copy write operation"}]},{"description":[{"lang":"eng","value":"Denial of Service (DoS)"}]},{"description":[{"lang":"eng","value":"CWE-121 Stack-based Buffer Overflow"}]}]},"references":{"reference_data":[{"name":"https://kb.juniper.net/JSA11251","refsource":"CONFIRM","url":"https://kb.juniper.net/JSA11251"}]},"solution":[{"lang":"en","value":"The following software releases have been updated to resolve this specific issue: \n\nJunos OS: 19.2R3-S2, 19.3R2-S6, 19.3R3-S2, 19.4R1-S4, 19.4R2-S4, 19.4R3-S3, 20.1R2-S2, 20.1R3, 20.2R2-S3, 20.2R3, 20.3R2, 20.4R1, and all subsequent releases.\n\nJunos OS Evolved: 20.1R3-EVO, 20.2R3-EVO, 20.3R2-EVO, 20.4R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA11251","defect":["1558672"],"discovery":"INTERNAL"},"work_around":[{"lang":"en","value":"For Junos OS you can remove the traffic-statistics from the configuration to work around this issue.\n\n  [protoccols ldp traffic-statistics {sensor-based-stats;}]\n\nFor Junos OS Evolved there are no viable workarounds for this issue."}]}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://kb.juniper.net/JSA11251","tags":["x_refsource_CONFIRM","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T22:55:53.730Z"}}]}}}