{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2024-39556",
        "assignerOrgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
        "state": "PUBLISHED",
        "assignerShortName": "juniper",
        "dateReserved": "2024-06-25T15:12:53.247Z",
        "datePublished": "2024-07-10T22:38:44.894Z",
        "dateUpdated": "2024-08-02T04:26:15.938Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "defaultStatus": "unaffected",
                    "product": "Junos OS",
                    "vendor": "Juniper Networks",
                    "versions": [
                        {
                            "lessThan": "21.4R3-S7",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.1R3-S6",
                            "status": "affected",
                            "version": "22.1",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.2R3-S4",
                            "status": "affected",
                            "version": "22.2",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.3R3-S3",
                            "status": "affected",
                            "version": "22.3",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.4R3-S2",
                            "status": "affected",
                            "version": "22.4",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "23.2R2",
                            "status": "affected",
                            "version": "23.2",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "23.4R1-S1, 23.4R2",
                            "status": "affected",
                            "version": "23.4",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "defaultStatus": "unaffected",
                    "product": "Junos OS Evolved",
                    "vendor": "Juniper Networks",
                    "versions": [
                        {
                            "lessThan": "21.4R3-S7-EVO",
                            "status": "affected",
                            "version": "0",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.1R3-S6-EVO",
                            "status": "affected",
                            "version": "22.1-EVO",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.2R3-S4-EVO",
                            "status": "affected",
                            "version": "22.2-EVO",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.3R3-S3-EVO",
                            "status": "affected",
                            "version": "22.3-EVO",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "22.4R3-S2-EVO",
                            "status": "affected",
                            "version": "22.4-EVO",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "23.2R2-EVO",
                            "status": "affected",
                            "version": "23.2-EVO",
                            "versionType": "semver"
                        },
                        {
                            "lessThan": "23.4R1-S1-EVO, 23.4R2-EVO",
                            "status": "affected",
                            "version": "23.4-EVO",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "datePublic": "2024-07-10T16:00:00.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "A Stack-Based Buffer Overflow vulnerability in Juniper Networks Junos OS and Juniper Networks Junos OS Evolved may allow a local, low-privileged attacker with access to the CLI the ability to load a malicious certificate file, leading to a limited Denial of Service (DoS) or privileged code execution.<br><br>By exploiting the 'set security certificates' command with a crafted certificate file, a malicious attacker with access to the CLI could cause a crash of the command management daemon (mgd), limited to the local user's command interpreter, or potentially trigger a stack-based buffer overflow.\n\n<br><p>This issue affects:</p><p>&nbsp;Junos OS: <br></p><ul><li>All versions before 21.4R3-S7, </li><li>from 22.1 before 22.1R3-S6, </li><li>from 22.2 before 22.2R3-S4, </li><li>from 22.3 before 22.3R3-S3, </li><li>from 22.4 before 22.4R3-S2, </li><li>from 23.2 before 23.2R2, </li><li>from 23.4 before 23.4R1-S1, 23.4R2;&nbsp;</li></ul><p></p><p>Junos OS Evolved: <br></p><ul><li>All versions before 21.4R3-S7-EVO, </li><li>from 22.1-EVO before 22.1R3-S6-EVO, </li><li>from 22.2-EVO before 22.2R3-S4-EVO, </li><li>from 22.3-EVO before 22.3R3-S3-EVO, </li><li>from 22.4-EVO before 22.4R3-S2-EVO, </li><li>from 23.2-EVO before 23.2R2-EVO, </li><li>from 23.4-EVO before 23.4R1-S1-EVO, 23.4R2-EVO.</li></ul><p></p>"
                        }
                    ],
                    "value": "A Stack-Based Buffer Overflow vulnerability in Juniper Networks Junos OS and Juniper Networks Junos OS Evolved may allow a local, low-privileged attacker with access to the CLI the ability to load a malicious certificate file, leading to a limited Denial of Service (DoS) or privileged code execution.\n\nBy exploiting the 'set security certificates' command with a crafted certificate file, a malicious attacker with access to the CLI could cause a crash of the command management daemon (mgd), limited to the local user's command interpreter, or potentially trigger a stack-based buffer overflow.\n\n\nThis issue affects:\n\n Junos OS: \n\n\n  *  All versions before 21.4R3-S7, \n  *  from 22.1 before 22.1R3-S6, \n  *  from 22.2 before 22.2R3-S4, \n  *  from 22.3 before 22.3R3-S3, \n  *  from 22.4 before 22.4R3-S2, \n  *  from 23.2 before 23.2R2, \n  *  from 23.4 before 23.4R1-S1, 23.4R2; \n\n\n\n\nJunos OS Evolved: \n\n\n  *  All versions before 21.4R3-S7-EVO, \n  *  from 22.1-EVO before 22.1R3-S6-EVO, \n  *  from 22.2-EVO before 22.2R3-S4-EVO, \n  *  from 22.3-EVO before 22.3R3-S3-EVO, \n  *  from 22.4-EVO before 22.4R3-S2-EVO, \n  *  from 23.2-EVO before 23.2R2-EVO, \n  *  from 23.4-EVO before 23.4R1-S1-EVO, 23.4R2-EVO."
                }
            ],
            "exploits": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
                        }
                    ],
                    "value": "Juniper SIRT is not aware of any malicious exploitation of this vulnerability."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.4,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "HIGH",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                },
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "HIGH",
                        "attackRequirements": "PRESENT",
                        "attackVector": "LOCAL",
                        "baseScore": 7.1,
                        "baseSeverity": "HIGH",
                        "privilegesRequired": "HIGH",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "HIGH",
                        "vulnConfidentialityImpact": "HIGH",
                        "vulnIntegrityImpact": "HIGH",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-121",
                            "description": "CWE-121: Stack-based Buffer Overflow",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "8cbe9d5a-a066-4c94-8978-4b15efeae968",
                "shortName": "juniper",
                "dateUpdated": "2024-07-10T22:38:44.894Z"
            },
            "references": [
                {
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://supportportal.juniper.net/JSA83016"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "The following software releases have been updated to resolve this specific issue: <br>Junos OS: 21.2R3-S8, 21.4R3-S7, 22.1R3-S6, 22.2R3-S4, 22.3R3-S3, 22.4R3-S2, 23.2R2, 23.4R1-S1, 23.4R2, 24.2R1, and all subsequent releases.<br>\nJunos OS Evolved:&nbsp;21.2R3-S8-EVO, 21.4R3-S7-EVO, 22.1R3-S6-EVO, 22.2R3-S4-EVO, 22.3R3-S3-EVO, 22.4R3-S2-EVO, 23.2R2-EVO, 23.4R1-S1-EVO, 23.4R2-EVO, 24.2R1-EVO, and all subsequent releases."
                        }
                    ],
                    "value": "The following software releases have been updated to resolve this specific issue: \nJunos OS: 21.2R3-S8, 21.4R3-S7, 22.1R3-S6, 22.2R3-S4, 22.3R3-S3, 22.4R3-S2, 23.2R2, 23.4R1-S1, 23.4R2, 24.2R1, and all subsequent releases.\n\nJunos OS Evolved: 21.2R3-S8-EVO, 21.4R3-S7-EVO, 22.1R3-S6-EVO, 22.2R3-S4-EVO, 22.3R3-S3-EVO, 22.4R3-S2-EVO, 23.2R2-EVO, 23.4R1-S1-EVO, 23.4R2-EVO, 24.2R1-EVO, and all subsequent releases."
                }
            ],
            "source": {
                "advisory": "JSA83016",
                "defect": [
                    "1780283"
                ],
                "discovery": "INTERNAL"
            },
            "title": "Junos OS and Junos OS Evolved: Loading a malicious certificate from the CLI may result in a stack-based overflow",
            "workarounds": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "There are no known workarounds for this issue."
                        }
                    ],
                    "value": "There are no known workarounds for this issue."
                }
            ],
            "x_generator": {
                "engine": "Vulnogram 0.1.0-dev"
            }
        },
        "adp": [
            {
                "affected": [
                    {
                        "vendor": "juniper",
                        "product": "junos_os_evolved",
                        "cpes": [
                            "cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "21.4r3-s7-evo",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.1-evo",
                                "status": "affected",
                                "lessThan": "22.1r3-s6-evo",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.2-evo",
                                "status": "affected",
                                "lessThan": "22.2r3-s4-evo",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.3-evo",
                                "status": "affected",
                                "lessThan": "22.3r3-s3-evo",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.4-evo",
                                "status": "affected",
                                "lessThan": "22.4r3-s3-evo",
                                "versionType": "semver"
                            },
                            {
                                "version": "23.2-evo",
                                "status": "affected",
                                "lessThan": "23.2r2-evo",
                                "versionType": "semver"
                            }
                        ]
                    },
                    {
                        "vendor": "juniper",
                        "product": "junos_os",
                        "cpes": [
                            "cpe:2.3:o:juniper:junos_os:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "0",
                                "status": "affected",
                                "lessThan": "21.4r3-s7",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.1",
                                "status": "affected",
                                "lessThan": "22.1r3-s6",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.2",
                                "status": "affected",
                                "lessThan": "22.2r3-s4",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.3",
                                "status": "affected",
                                "lessThan": "22.3r3-s3",
                                "versionType": "semver"
                            },
                            {
                                "version": "22.4",
                                "status": "affected",
                                "lessThan": "22.4r3-s2",
                                "versionType": "semver"
                            },
                            {
                                "version": "23.2",
                                "status": "affected",
                                "lessThan": "23.2r2",
                                "versionType": "semver"
                            },
                            {
                                "version": "23.4",
                                "status": "affected",
                                "lessThan": "23.4r1-s1",
                                "versionType": "semver"
                            },
                            {
                                "version": "23.4",
                                "status": "affected",
                                "lessThan": "23.4r2",
                                "versionType": "semver"
                            },
                            {
                                "version": "23.4-evo",
                                "status": "affected",
                                "lessThan": "23.4r1-s1-evo",
                                "versionType": "semver"
                            },
                            {
                                "version": "23.4-evo",
                                "status": "affected",
                                "lessThan": "23.4r2-evo",
                                "versionType": "semver"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-07-12T00:00:00+00:00",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3",
                                "id": "CVE-2024-39556"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-07-13T03:55:17.897Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T04:26:15.938Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://supportportal.juniper.net/JSA83016"
                    }
                ]
            }
        ]
    }
}