{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-22397 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2023-22397 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-22397 is a medium-severity denial of service vulnerability in Juniper Junos Os Evolved, published on 12 Jan 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-22397 and fix it if it is affected.\n\nWhat it is: CVE-2023-22397 is a medium-severity denial of service vulnerability in Juniper Junos Os Evolved, published on 12 Jan 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-22397 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-22397/ (Markdown: https://insights.sbomify.com/CVE-2023-22397/index.md)","id":"CVE-2023-22397","markdown":"https://insights.sbomify.com/CVE-2023-22397/index.md","name":"CVE-2023-22397","record":{"aliases":["GHSA-63q5-87g5-fg36"],"analysis":{"component_type":"network_device","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Juniper network router","requires_auth":"none","summary":"An attacker can cause a memory leak and subsequent device reboot on Juniper PTX10003 routers by sending specific packets, leading to a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"juniper","cpe":[{"product":"junos_os_evolved","vendor":"juniper"}],"cvss":{"score":6.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"An Allocation of Resources Without Limits or Throttling weakness in the memory management of the Packet Forwarding Engine (PFE) on Juniper Networks Junos OS Evolved PTX10003 Series devices allows an adjacently located attacker who has established certain preconditions and knowledge of the environment to send certain specific genuine packets to begin a Time-of-check Time-of-use (TOCTOU) Race Condition attack which will cause a memory leak to begin. Once this condition begins, and as long as the attacker is able to sustain the offending traffic, a Distributed Denial of Service (DDoS) event occurs. As a DDoS event, the offending packets sent by the attacker will continue to flow from one device to another as long as they are received and processed by any devices, ultimately causing a cascading outage to any vulnerable devices. Devices not vulnerable to the memory leak will process and forward the offending packet(s) to neighboring devices. Due to internal anti-flood security controls and mechanisms reaching their maximum limit of response in the worst-case scenario, all affected Junos OS Evolved devices will reboot in as little as 1.5 days. Reboots to restore services cannot be avoided once the memory leak begins. The device will self-recover after crashing and rebooting. Operator intervention isn't required to restart the device. This issue affects: Juniper Networks Junos OS Evolved on PTX10003: All versions prior to 20.4R3-S4-EVO; 21.3 versions prior to 21.3R3-S1-EVO; 21.4 versions prior to 21.4R2-S2-EVO, 21.4R3-EVO; 22.1 versions prior to 22.1R1-S2-EVO, 22.1R2-EVO; 22.2 versions prior to 22.2R2-EVO. To check memory, customers may VTY to the PFE first then execute the following show statement: show jexpr jtm ingress-main-memory chip 255 | no-more Alternatively one may execute from the RE CLI: request pfe execute target fpc0 command \"show jexpr jtm ingress-main-memory chip 255 | no-more\" Iteration 1: Example output: Mem type: NH, alloc type: JTM 136776 bytes used (max 138216 bytes used) 911568 bytes available (909312 bytes from free pages) Iteration 2: Example output: Mem type: NH, alloc type: JTM 137288 bytes used (max 138216 bytes used) 911056 bytes available (909312 bytes from free pages) The same can be seen in the CLI below, assuming the scale does not change: show npu memory info Example output: FPC0:NPU16 mem-util-jnh-nh-size 2097152 FPC0:NPU16 mem-util-jnh-nh-allocated 135272 FPC0:NPU16 mem-util-jnh-nh-utilization 6","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":"Denial of service in Junos OS Evolved","id":"CVE-2023-22397","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"juniper:junos_os_evolved","products":["juniper:junos_os_evolved"],"type":"denial_of_service","year":"2023"},"n_packages":0,"n_references":1,"next":{"headline":"Junos OS and Junos OS Evolved: RPD might crash when MPLS ping is performed on BGP LSPs","id":"CVE-2023-22398"},"packages":[],"prev":{"headline":"Denial of service in Junos OS","id":"CVE-2023-22396"},"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 attacker can cause a memory leak and subsequent device reboot on Juniper PTX10003 routers by sending specific packets, leading to a denial of service.","url":"https://insights.sbomify.com/CVE-2023-22397/"}