{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2023-2295 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2023-2295 is a high-severity denial of service vulnerability in Redhat Enterprise Linux, published on 17 May 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-2295 and fix it if it is affected.\n\nWhat it is: CVE-2023-2295 is a high-severity denial of service vulnerability in Redhat Enterprise Linux, published on 17 May 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-2295 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. 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-2295/ (Markdown: https://insights.sbomify.com/CVE-2023-2295/index.md)","id":"CVE-2023-2295","markdown":"https://insights.sbomify.com/CVE-2023-2295/index.md","name":"CVE-2023-2295","record":{"aliases":["GHSA-gcrh-c42h-m2vw","RHSA-2023:3107","RHSA-2023:3148","RLSA-2023:3107","UBUNTU-CVE-2023-2295"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"IPsec VPN library","requires_auth":"none","summary":"A remote attacker can crash the libreswan pluto daemon by sending crafted IKEv1 packets, causing a denial of service.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libreswan","vendor":"libreswan"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"A vulnerability was found in the libreswan library. This security issue occurs when an IKEv1 Aggressive Mode packet is received with only unacceptable crypto algorithms, and the response packet is not sent with a zero responder SPI. When a subsequent packet is received where the sender reuses the libreswan responder SPI as its own initiator SPI, the pluto daemon state machine crashes. No remote code execution is possible. This CVE exists because of a CVE-2023-30570 security regression for libreswan package in Red Hat Enterprise Linux 8.8 and Red Hat Enterprise Linux 9.2.","ecosystems":["Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Rocky Linux:8"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Denial of service in libreswan","id":"CVE-2023-2295","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:enterprise_linux_eus","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus"],"type":"denial_of_service","year":"2023"},"n_packages":7,"n_references":4,"next":{"headline":"Loginizer 1.7.8 - Reflected XSS","id":"CVE-2023-2296"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.9-3.el8_8"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2023:3107"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.9-3.el8_8"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2023:3107"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:4.9-3.el8_8"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2023:3107"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.9-4.el9_2"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/redhat/libreswan","source":"RHSA-2023:3148"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.9-4.el9_2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debuginfo","purl":"pkg:rpm/redhat/libreswan-debuginfo","source":"RHSA-2023:3148"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:4.9-4.el9_2"],"introduced":["0"],"last_affected":[],"package":"libreswan-debugsource","purl":"pkg:rpm/redhat/libreswan-debugsource","source":"RHSA-2023:3148"},{"ecosystem":"Rocky Linux:8","fixed":["0:4.9-3.el8_8"],"introduced":["0"],"last_affected":[],"package":"libreswan","purl":"pkg:rpm/rocky-linux/libreswan?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2023:3107"}],"prev":{"headline":"UCMS Column Configuration saddpost.php cross site scripting","id":"CVE-2023-2294"},"products":["libreswan"],"published":"2023-05-17","related":[{"cvss_score":9.3,"headline":"Race condition in n/a","id":"CVE-2013-7283","kev_date_added":null,"published":"2014-01-09"},{"cvss_score":7.5,"headline":"IKEv2 Denial of Service via malformed fragmentation","id":"CVE-2026-12413","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.5,"headline":"IKEv1 Denial of Service via RSA-SHA1 (PKCS#1 Version 1.5 Encrypted) authentication payload","id":"CVE-2026-50721","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.5,"headline":"IKEv2 Denial of Service via RSA-SHA1 (PKCS#1 RSASSA-PKCS1-v1_5) authentication payload","id":"CVE-2026-50722","kev_date_added":null,"published":"2026-07-02"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2023-30570","kev_date_added":null,"published":"2023-05-28"},{"cvss_score":7.5,"headline":"Denial of service in libreswan","id":"CVE-2020-1763","kev_date_added":null,"published":"2020-05-12"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-22","vendors":["n/a"]},"summary":"A remote attacker can crash the libreswan pluto daemon by sending crafted IKEv1 packets, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2023-2295/"}