{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-22402 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-22402 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-22402 is a medium-severity use after free vulnerability in Juniper Junos Os Evolved, published on 12 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-22402 and fix it if it is affected.\n\nWhat it is: CVE-2023-22402 is a medium-severity use after free vulnerability in Juniper Junos Os Evolved, published on 12 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-22402 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-22402/ (Markdown: https://insights.sbomify.com/CVE-2023-22402/index.md)","id":"CVE-2023-22402","markdown":"https://insights.sbomify.com/CVE-2023-22402/index.md","name":"CVE-2023-22402","record":{"aliases":["GHSA-3gh6-5qqw-c955"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"Junos OS Evolved","requires_auth":"none","summary":"An unauthenticated attacker can cause a kernel restart and denial of service in Junos OS Evolved if BGP auto-discovery is enabled and a neighbor flaps.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[{"product":"junos_os_evolved","vendor":"juniper"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"A Use After Free vulnerability in the kernel of Juniper Networks Junos OS Evolved allows an unauthenticated, network-based attacker to cause a Denial of Service (DoS). In a Non Stop Routing (NSR) scenario, an unexpected kernel restart might be observed if \"bgp auto-discovery\" is enabled and if there is a BGP neighbor flap of auto-discovery sessions for any reason. This is a race condition which is outside of an attackers direct control and it depends on system internal timing whether this issue occurs. This issue affects Juniper Networks Junos OS Evolved: 21.3 versions prior to 21.3R3-EVO; 21.4 versions prior to 21.4R2-EVO; 22.1 versions prior to 22.1R2-EVO; 22.2 versions prior to 22.2R1-S1-EVO, 22.2R2-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":"Use after free in Junos OS Evolved","id":"CVE-2023-22402","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"juniper:junos_os_evolved","products":["juniper:junos_os_evolved"],"type":"use_after_free","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Junos OS: QFX10K Series: An ICCP flap will be observed due to excessive specific traffic","id":"CVE-2023-22403"},"packages":[],"prev":{"headline":"Junos OS and Junos OS Evolved: PTX10008, PTX10016: When a specific SNMP MIB is queried the FPC will crash","id":"CVE-2023-22401"},"products":["Junos OS Evolved"],"published":"2023-01-12","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":"partial"},"state":"PUBLISHED","updated":"2025-04-07","vendors":["Juniper Networks"]},"summary":"An unauthenticated attacker can cause a kernel restart and denial of service in Junos OS Evolved if BGP auto-discovery is enabled and a neighbor flaps.","url":"https://insights.sbomify.com/CVE-2023-22402/"}