{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-39521 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-39521 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-39521 is a high-severity command injection vulnerability in Juniper Junos Os Evolved, published on 11 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-39521 and fix it if it is affected.\n\nWhat it is: CVE-2024-39521 is a high-severity command injection vulnerability in Juniper Junos Os Evolved, published on 11 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-39521 in the wild and no public exploit code.\n\nAffected product: Juniper Junos Os Evolved. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-39521/ (Markdown: https://insights.sbomify.com/CVE-2024-39521/index.md)","id":"CVE-2024-39521","markdown":"https://insights.sbomify.com/CVE-2024-39521/index.md","name":"CVE-2024-39521","record":{"aliases":["GHSA-556v-xwc9-3f54"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Junos OS Evolved","requires_auth":"low_privilege","summary":"A local authenticated attacker can escalate privileges to root via improper CLI parameter handling in Junos OS Evolved.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[{"product":"junos_os_evolved","vendor":"juniper"}],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"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"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"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  *  21.1-EVO versions 21.1R1-EVO and later before 21.2R3-S8-EVO, \n  *  21.4-EVO versions before 21.4R3-S7-EVO,\n  *  22.1-EVO versions before 22.1R3-S6-EVO, \n  *  22.2-EVO versions before 22.2R3-EVO,\n  *  22.3-EVO versions before 22.3R2-EVO.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Junos OS Evolved: CLI parameter processing issue allows privilege escalation","id":"CVE-2024-39521","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"juniper:junos_os_evolved","products":["juniper:junos_os_evolved"],"type":"command_injection","year":"2024"},"n_packages":0,"n_references":1,"next":{"headline":"Junos OS Evolved: CLI parameter processing issue allows privilege escalation","id":"CVE-2024-39522"},"packages":[],"prev":{"headline":"Junos OS Evolved: CLI parameter processing issue allows privilege escalation","id":"CVE-2024-39520"},"products":["Junos OS Evolved"],"published":"2024-07-11","related":[{"cvss_score":9.3,"headline":"Junos OS Evolved: PTX Series: A vulnerability allows a unauthenticated, network-based attacker to execute code as root","id":"CVE-2026-21902","kev_date_added":null,"published":"2026-02-25"},{"cvss_score":8.8,"headline":"Junos OS Evolved: Shell Injection vulnerability in the gNOI server","id":"CVE-2023-28983","kev_date_added":null,"published":"2023-04-17"},{"cvss_score":8.7,"headline":"Denial of service in Junos OS Evolved","id":"CVE-2025-21599","kev_date_added":null,"published":"2025-01-09"},{"cvss_score":8.7,"headline":"Junos OS Evolved: TCP session state is not always cleared on the Routing Engine leading to DoS","id":"CVE-2024-47502","kev_date_added":null,"published":"2024-10-11"},{"cvss_score":8.7,"headline":"Junos OS Evolved: ACX 7000 Series: Protocol specific DDoS configuration affects other protocols","id":"CVE-2024-39531","kev_date_added":null,"published":"2024-07-11"},{"cvss_score":8.7,"headline":"Junos OS Evolved: A high rate of SSH connections causes a Denial of Service","id":"CVE-2024-39562","kev_date_added":null,"published":"2024-07-10"},{"cvss_score":8.5,"headline":"Junos OS Evolved: Local, authenticated attacker can gain privileged access to FPCs","id":"CVE-2026-33788","kev_date_added":null,"published":"2026-04-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["Juniper Networks"]},"summary":"A local authenticated attacker can escalate privileges to root via improper CLI parameter handling in Junos OS Evolved.","url":"https://insights.sbomify.com/CVE-2024-39521/"}