{"id":"UBUNTU-CVE-2022-23094","details":"Libreswan 4.2 through 4.5 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a crafted IKEv1 packet because pluto/ikev1.c wrongly expects that a state object exists. This is fixed in 4.6.","modified":"2025-10-24T04:53:28Z","published":"2022-01-15T02:15:00Z","upstream":["CVE-2022-23094"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-23094"},{"type":"REPORT","url":"https://libreswan.org/security/CVE-2022-23094/CVE-2022-23094.txt"},{"type":"REPORT","url":"https://libreswan.org/security/CVE-2022-23094/CVE-2022-23094-libreswan-4.2-4.3.patch"},{"type":"REPORT","url":"https://libreswan.org/security/CVE-2022-23094/CVE-2022-23094-libreswan-4.4-4.5.patch"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-23094"}],"affected":[{"package":{"name":"libreswan","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libreswan@3.23-4?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.20-7build1","3.21-2","3.22-1","3.22-2","3.22-3","3.22-4","3.23-1","3.23-4"],"ecosystem_specific":{"binaries":[{"binary_name":"libreswan","binary_version":"3.23-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23094.json"}},{"package":{"name":"libreswan","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libreswan@3.29-2build1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.29-2","3.29-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"3.29-2build1","binary_name":"libreswan"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23094.json"}},{"package":{"name":"libreswan","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libreswan@3.32-3ubuntu3?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.32-3ubuntu3"],"ecosystem_specific":{"binaries":[{"binary_name":"libreswan","binary_version":"3.32-3ubuntu3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23094.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}