{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-21599",
        "assignerOrgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
        "state": "PUBLISHED",
        "assignerShortName": "juniper",
        "dateReserved": "2023-12-27T19:38:25.706Z",
        "datePublished": "2024-01-12T00:53:23.497Z",
        "dateUpdated": "2024-08-01T22:27:35.799Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "platforms": [
                        "MX Series"
                    ],
                    "product": "Junos OS",
                    "vendor": "Juniper Networks",
                    "versions": [
                        {
                            "lessThan": "20.4R3-S3",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "21.1R3-S4",
                            "status": "affected",
                            "version": "21.1",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "21.2R3",
                            "status": "affected",
                            "version": "21.2",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "21.3R2-S1, 21.3R3",
                            "status": "affected",
                            "version": "21.3",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "21.4R2",
                            "status": "affected",
                            "version": "21.4",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.1R2",
                            "status": "affected",
                            "version": "22.1",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "configurations": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>To be affected by this issue an interface on the MPC needs to be configured with PTP as follows:</p><code>  [ protocols ptp master/slave interface &lt;interface-name&gt; ]</code><br/>"
                        }
                    ],
                    "value": "To be affected by this issue an interface on the MPC needs to be configured with PTP as follows:\n\n  [ protocols ptp master/slave interface <interface-name> ]\n"
                }
            ],
            "datePublic": "2024-01-10T17:00:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "\n\n<p>A Missing Release of Memory after Effective Lifetime vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series allows an adjacent, unauthenticated attacker to cause a Denial of Service (DoS).</p><p>If an MX Series device receives PTP packets on an MPC3E that doesn't support PTP this causes a memory leak which will result in unpredictable behavior and ultimately in an MPC crash and restart.</p><p>To monitor for this issue, please use the following FPC vty level commands:</p><code>show heap</code><br><p>shows an increase in \"LAN buffer\" utilization and</p><code>show clksync ptp nbr-upd-info</code><br><p>shows non-zero \"Pending PFEs\" counter.</p><p>This issue affects Juniper Networks Junos OS on MX Series with MPC3E:</p><p></p><ul><li>All versions earlier than 20.4R3-S3;</li><li>21.1 versions earlier than 21.1R3-S4;</li><li>21.2 versions earlier than 21.2R3;</li><li>21.3 versions earlier than 21.3R2-S1, 21.3R3;</li><li>21.4 versions earlier than 21.4R2;</li><li>22.1 versions earlier than 22.1R2.</li></ul><p></p>\n\n"
                        }
                    ],
                    "value": "\nA Missing Release of Memory after Effective Lifetime vulnerability in the Packet Forwarding Engine (PFE) of Juniper Networks Junos OS on MX Series allows an adjacent, unauthenticated attacker to cause a Denial of Service (DoS).\n\nIf an MX Series device receives PTP packets on an MPC3E that doesn't support PTP this causes a memory leak which will result in unpredictable behavior and ultimately in an MPC crash and restart.\n\nTo monitor for this issue, please use the following FPC vty level commands:\n\nshow heap\nshows an increase in \"LAN buffer\" utilization and\n\nshow clksync ptp nbr-upd-info\nshows non-zero \"Pending PFEs\" counter.\n\nThis issue affects Juniper Networks Junos OS on MX Series with MPC3E:\n\n\n\n  *  All versions earlier than 20.4R3-S3;\n  *  21.1 versions earlier than 21.1R3-S4;\n  *  21.2 versions earlier than 21.2R3;\n  *  21.3 versions earlier than 21.3R2-S1, 21.3R3;\n  *  21.4 versions earlier than 21.4R2;\n  *  22.1 versions earlier than 22.1R2.\n\n\n\n\n\n\n"
                }
            ],
            "exploits": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Juniper SIRT is not aware of any malicious exploitation of this vulnerability.</p>"
                        }
                    ],
                    "value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability.\n\n"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "ADJACENT_NETWORK",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.5,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-401",
                            "description": "CWE-401 Missing Release of Memory after Effective Lifetime",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "description": "Denial of Service (DoS)",
                            "lang": "en"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
                "shortName": "juniper",
                "dateUpdated": "2024-01-12T00:53:23.497Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://supportportal.juniper.net/JSA75740"
                },
                {
                    "tags": [
                        "technical-description"
                    ],
                    "url": "https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>The following software releases have been updated to resolve this specific issue: Junos OS 20.4R3-S3, 21.1R3-S4, 21.2R3, 21.3R2-S1, 21.3R3, 21.4R2, 22.1R2, 22.2R1, and all subsequent releases.</p>"
                        }
                    ],
                    "value": "The following software releases have been updated to resolve this specific issue: Junos OS 20.4R3-S3, 21.1R3-S4, 21.2R3, 21.3R2-S1, 21.3R3, 21.4R2, 22.1R2, 22.2R1, and all subsequent releases.\n\n"
                }
            ],
            "source": {
                "advisory": "JSA75740",
                "defect": [
                    "1646324"
                ],
                "discovery": "USER"
            },
            "timeline": [
                {
                    "lang": "en",
                    "time": "2024-01-10T17:00:00.000Z",
                    "value": "Initial Publication"
                }
            ],
            "title": "Junos OS: MX Series: MPC3E memory leak with PTP configuration",
            "workarounds": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Although not a workaround the leaked memory can be recovered by: deactivate protocol ptp; commit; activate protocol ptp; commit. </p>"
                        }
                    ],
                    "value": "Although not a workaround the leaked memory can be recovered by: deactivate protocol ptp; commit; activate protocol ptp; commit. \n\n"
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.1.0-av217"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-01T22:27:35.799Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://supportportal.juniper.net/JSA75740"
                    },
                    {
                        "tags": [
                            "technical-description",
                            "x_transferred"
                        ],
                        "url": "https://www.first.org/cvss/calculator/4.0#CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:L"
                    }
                ]
            }
        ]
    }
}