{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-28966 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-28966 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-28966 is a high-severity vulnerability in Juniper Junos Os Evolved, published on 17 Apr 2023. 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-2023-28966 and fix it if it is affected.\n\nWhat it is: CVE-2023-28966 is a high-severity vulnerability in Juniper Junos Os Evolved, published on 17 Apr 2023. 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-2023-28966 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-2023-28966/ (Markdown: https://insights.sbomify.com/CVE-2023-28966/index.md)","id":"CVE-2023-28966","markdown":"https://insights.sbomify.com/CVE-2023-28966/index.md","name":"CVE-2023-28966","record":{"aliases":["GHSA-j4j5-7fvq-m4rf"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Junos OS Evolved","requires_auth":"low_privilege","summary":"A local low-privileged user with shell access can execute CLI commands as root due to incorrect default permissions on system files.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[{"product":"junos_os_evolved","vendor":"juniper"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-276","name":"Incorrect Default Permissions"}],"description":"An Incorrect Default Permissions vulnerability in Juniper Networks Junos OS Evolved allows a low-privileged local attacker with shell access to modify existing files or execute commands as root. The issue is caused by improper file and directory permissions on certain system files, allowing an attacker with access to these files and folders to inject CLI commands as root. This issue affects Juniper Networks Junos OS Evolved: All versions prior to 20.4R3-S5-EVO; 21.2 versions prior to 21.2R3-EVO; 21.3 versions prior to 21.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: Local low-privileged user with shell access can execute CLI commands as root","id":"CVE-2023-28966","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"juniper:junos_os_evolved","products":["juniper:junos_os_evolved"],"type":"privilege_escalation","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Junos OS and Junos OS Evolved: An attacker sending genuine BGP packets causes an RPD crash","id":"CVE-2023-28967"},"packages":[],"prev":{"headline":"Junos OS: QFX10002: Failure of storm control feature may lead to Denial of Service","id":"CVE-2023-28965"},"products":["Junos OS Evolved"],"published":"2023-04-17","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":"2025-02-06","vendors":["Juniper Networks"]},"summary":"A local low-privileged user with shell access can execute CLI commands as root due to incorrect default permissions on system files.","url":"https://insights.sbomify.com/CVE-2023-28966/"}