{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-39520","assignerOrgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","state":"PUBLISHED","assignerShortName":"juniper","dateReserved":"2024-06-25T15:12:53.239Z","datePublished":"2024-07-11T15:56:53.855Z","dateUpdated":"2024-08-02T04:26:15.876Z"},"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Junos OS Evolved","vendor":"Juniper Networks","versions":[{"lessThan":"20.4R3-S6-EVO","status":"affected","version":"0","versionType":"semver"},{"lessThan":"21.2R3-S4-EVO","status":"affected","version":"21.2-EVO","versionType":"semver"},{"lessThan":"21.4R3-S6-EVO","status":"affected","version":"21.4-EVO","versionType":"semver"},{"lessThan":"22.2R2-S1-EVO, 22.2R3-EVO","status":"affected","version":"22.2-EVO","versionType":"semver"},{"lessThan":"22.3R2-EVO","status":"affected","version":"22.3-EVO","versionType":"semver"}]}],"datePublic":"2024-07-10T16:00:00.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"An&nbsp;Improper Neutralization of Special Elements vulnerability in Juniper Networks Junos OS Evolved commands allows a local, authenticated attacker with low privileges to escalate their privileges to 'root' leading to a full compromise of the system.<br><br>The Junos OS Evolved CLI doesn't properly handle command options in some cases, allowing users which execute specific CLI commands with a crafted set of parameters to escalate their privileges to root on shell level.<br><br><span style=\"background-color: var(--wht);\">This issue affects Junos OS Evolved:</span><p></p><ul><li>All version before 20.4R3-S6-EVO,&nbsp;</li><li>21.2-EVO versions before 21.2R3-S4-EVO,</li><li>21.4-EVO versions before 21.4R3-S6-EVO,&nbsp;</li><li>22.2-EVO versions before 22.2R2-S1-EVO, 22.2R3-EVO,&nbsp;</li><li>22.3-EVO versions before 22.3R2-EVO.</li></ul><p></p>"}],"value":"An Improper Neutralization of Special Elements vulnerability in Juniper Networks Junos OS Evolved commands allows a local, authenticated attacker with low privileges to escalate their privileges to 'root' leading to a full compromise of the system.\n\nThe Junos OS Evolved CLI doesn't properly handle command options in some cases, allowing users which execute specific CLI commands with a crafted set of parameters to escalate their privileges to root on shell level.\n\nThis issue affects Junos OS Evolved:\n\n  *  All version before 20.4R3-S6-EVO, \n  *  21.2-EVO versions before 21.2R3-S4-EVO,\n  *  21.4-EVO versions before 21.4R3-S6-EVO, \n  *  22.2-EVO versions before 22.2R2-S1-EVO, 22.2R3-EVO, \n  *  22.3-EVO versions before 22.3R2-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":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/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":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":8.5,"baseSeverity":"HIGH","privilegesRequired":"LOW","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/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-78","description":"CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"8cbe9d5a-a066-4c94-8978-4b15efeae968","shortName":"juniper","dateUpdated":"2024-07-11T15:56:53.855Z"},"references":[{"tags":["vendor-advisory"],"url":"https://supportportal.juniper.net/JSA82975"}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"The following software releases have been updated to resolve this specific issue: 20.4R3-S6-EVO, 21.2R3-S4-EVO, 21.4R3-S6-EVO, 22.2R2-S1-EVO, 22.2R3-EVO, 22.3R2-EVO, 22.4R1-EVO, and all subsequent releases."}],"value":"The following software releases have been updated to resolve this specific issue: 20.4R3-S6-EVO, 21.2R3-S4-EVO, 21.4R3-S6-EVO, 22.2R2-S1-EVO, 22.2R3-EVO, 22.3R2-EVO, 22.4R1-EVO, and all subsequent releases."}],"source":{"advisory":"JSA82975","defect":["1693858"],"discovery":"EXTERNAL"},"title":"Junos OS Evolved: CLI parameter processing issue allows privilege escalation","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:21.2:*:*:*:*:*:*:*","cpe:2.3:o:juniper:junos_os_evolved:21.4:*:*:*:*:*:*:*","cpe:2.3:o:juniper:junos_os_evolved:22.2:*:*:*:*:*:*:*","cpe:2.3:o:juniper:junos_os_evolved:22.3:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"21.2","status":"affected","lessThan":"21.2r3-s4","versionType":"semver"},{"version":"21.4","status":"affected","lessThan":"21.4r3-s6","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2r2-s1","versionType":"semver"},{"version":"22.3","status":"affected","lessThan":"22.3r2","versionType":"semver"},{"version":"22.2","status":"affected","lessThan":"22.2r3","versionType":"semver"}]},{"vendor":"juniper","product":"junos_os_evolved","cpes":["cpe:2.3:o:juniper:junos_os_evolved:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"20.4r3-s6","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-39520"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-13T03:55:21.233Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T04:26:15.876Z"},"title":"CVE Program Container","references":[{"tags":["vendor-advisory","x_transferred"],"url":"https://supportportal.juniper.net/JSA82975"}]}]}}