{"id":"CVE-2023-38710","aliases":["ALPINE-CVE-2023-38710","ALSA-2023:6549","ALSA-2023:7052","AZL-28064","AZL-34935","DEBIAN-CVE-2023-38710","EUVD-2023-42485","GHSA-4967-9mw7-522q","MGASA-2024-0085","OESA-2023-1581","RHBA-2024:11505","RHBA-2024:11525","RHBA-2024:11565","RHSA-2023:6549","RHSA-2023:7052","RHSA-2024:10594","RHSA-2025:0309","RLSA-2023:7052","UBUNTU-CVE-2023-38710"],"status":"published","title":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an...","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","severity":{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00813,"percentile":0.57429,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2023-08-25T00:00:00Z","modified":"2026-11-06T17:27:38Z","fixes":[{"ecosystem":"Alpine:v3.19","package":"libreswan","fixed_in":["4.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"libreswan","fixed_in":["4.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"libreswan","fixed_in":["4.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"libreswan","fixed_in":["4.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"libreswan","fixed_in":["4.12-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"libreswan","fixed_in":["4.12-r0"],"sources":["osv"]},{"ecosystem":"Azure Linux:2","package":"libreswan","fixed_in":["4.7-5"],"sources":["osv"]},{"ecosystem":"Azure Linux:3","package":"libreswan","fixed_in":["4.7-6"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libreswan","fixed_in":["4.12-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.19","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.20"},{"fixed":"4.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.20"},{"fixed":"4.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.20"},{"fixed":"4.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.20"},{"fixed":"4.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.20"},{"fixed":"4.12-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.20"},{"fixed":"4.12-r0"}]}]},{"source":"osv","ecosystem":"AlmaLinux:9","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1.el9"}]}],"bundled":3},{"source":"osv","ecosystem":"AlmaLinux:8","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-2.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Azure Linux:2","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7-5"}]}]},{"source":"osv","ecosystem":"Azure Linux:3","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.7-6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.10-2","4.10-2+deb12u1","4.11-1","4.12-1","4.12-2","4.12-3","4.14-1","4.14-1.1","4.15-1","5.0~rc2-1","5.0~rc2-2","5.2-1","5.2-2","5.2-2.1","5.2-2.2","5.2-2.3","5.2-2.4","5.2-2.5"]},{"source":"osv","ecosystem":"Debian:13","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1"}]}]},{"source":"osv","ecosystem":"Mageia:9","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1.mga9"}]}],"bundled":4},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1.oe1"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP3","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1.oe1"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1.oe2203sp2"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1.oe2203sp1"}]}],"bundled":3},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.12-1.oe2203sp2"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:openshift:4.16::el9","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.16::el9","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.16::el9","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.17::el9","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.17::el9","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.17::el9","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.15::el9","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.15::el9","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:openshift:4.15::el9","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":8},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.12-1.el9"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.12-1.el9"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:9::appstream","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.12-1.el9"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.12-2.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.12-2.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:8::appstream","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.12-2.el8"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_e4s:9.0::appstream","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:rhel_e4s:9.0::appstream","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:rhel_e4s:9.0::appstream","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.6-3.el9_0.3"}]}],"bundled":6},{"source":"osv","ecosystem":"Red Hat:rhel_eus:9.2::appstream","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.9-5.el9_2.4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_eus:9.2::appstream","package":"libreswan-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.9-5.el9_2.4"}]}],"bundled":3},{"source":"osv","ecosystem":"Red Hat:rhel_eus:9.2::appstream","package":"libreswan-debugsource","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.9-5.el9_2.4"}]}],"bundled":3},{"source":"osv","ecosystem":"Rocky Linux:8","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:4.12-2.el8_10.3"}]}],"bundled":3},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libreswan","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"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.29-2","3.29-2build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.32-3ubuntu3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11-1ubuntu1","4.12-1ubuntu1","4.14-1ubuntu1","4.14-1ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.14-1ubuntu2","5.2-2.2ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2-2.2ubuntu2"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libreswan","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2-2.2ubuntu1","5.2-2.2ubuntu2"]}],"products":[{"vendor":"libreswan","product":"libreswan"}],"references":[{"url":"https://github.com/libreswan/libreswan/tags","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://libreswan.org/security/CVE-2023-38710/","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38710","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-4967-9mw7-522q"},{"url":"https://security.alpinelinux.org/vuln/CVE-2023-38710","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:6549","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-38710","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-38711","tags":["report"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-38712","tags":["report"]},{"url":"https://bugzilla.redhat.com/2215952","tags":["report"]},{"url":"https://bugzilla.redhat.com/2225368","tags":["report"]},{"url":"https://bugzilla.redhat.com/2225369","tags":["report"]},{"url":"https://errata.almalinux.org/9/ALSA-2023-6549.html","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2023:7052","tags":["advisory"]},{"url":"https://errata.almalinux.org/8/ALSA-2023-7052.html","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38710.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-38710","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2024-0085.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=31865","tags":["report"]},{"url":"https://libreswan.org/security/CVE-2023-30570/CVE-2023-30570.txt","tags":["advisory","article"]},{"url":"https://access.redhat.com/errata/RHSA-2023:2120","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/APPXJHIVUBS4I2AVIB6C36ED6XNUYVC2/","tags":["web"]},{"url":"https://libreswan.org/security/CVE-2023-38710","tags":["advisory"]},{"url":"https://libreswan.org/security/CVE-2023-38711","tags":["advisory"]},{"url":"https://libreswan.org/security/CVE-2023-38712","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2023-1581","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38711","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-38712","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHBA-2024:11505","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11505.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-2295","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2189777","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2295","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2295","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-23009","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2173610","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-23009","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-23009","tags":["advisory"]},{"url":"https://github.com/libreswan/libreswan/issues/954","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2023-30570","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2187165","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-30570","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-30570","tags":["advisory"]},{"url":"https://libreswan.org/security/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2225368","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-38710","tags":["advisory","report"]},{"url":"https://github.com/libreswan/libreswan/releases/tag/v4.12","tags":["article"]},{"url":"https://libreswan.org/security/CVE-2023-38710/CVE-2023-38710.txt","tags":["article","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2215952","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-38711","tags":["advisory"]},{"url":"https://libreswan.org/security/CVE-2023-38711/CVE-2023-38711.txt","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2225369","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-38712","tags":["advisory"]},{"url":"https://libreswan.org/security/CVE-2023-38712/CVE-2023-38712.txt","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-2357","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2268952","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-2357","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2357","tags":["advisory"]},{"url":"https://github.com/libreswan/libreswan/commit/cb9e1047d33fde695d63a95854c2bc2470a476c8.patch","tags":["article"]},{"url":"https://libreswan.org/security/CVE-2024-2357","tags":["article"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-3652","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2274448","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-3652","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-3652","tags":["advisory"]},{"url":"https://libreswan.org/security/CVE-2024-3652","tags":["article"]},{"url":"https://access.redhat.com/errata/RHBA-2024:11525","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11525.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHBA-2024:11565","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhba-2024_11565.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.3_release_notes/index","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_6549.json","tags":["advisory"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.9_release_notes/index","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2234731","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2023/rhsa-2023_7052.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2024:10594","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10594.json","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2025:0309","tags":["advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_0309.json","tags":["advisory"]},{"url":"https://errata.rockylinux.org/RLSA-2023:7052","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-38710","tags":["report"]},{"url":"https://libreswan.org/security/CVE-2023-38710/CVE-2023-38710.patch","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-38710","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T00:00:00Z","modified":"2024-11-26T21:53:27.752Z","updated_at":"2026-11-02T14:35:29.772612Z"}],"euvd":[{"id":"EUVD-2023-42485","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T00:00:00Z","modified":"2024-11-26T21:53:27Z","updated_at":"2026-11-03T00:04:46.096988Z"}],"ghsa":[{"id":"GHSA-4967-9mw7-522q","title":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an...","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T21:30:48Z","modified":"2023-12-20T05:06:24Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T14:55:15.236949Z"}],"nvd":[{"id":"CVE-2023-38710","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T21:15:08.167Z","modified":"2026-06-17T06:11:00.14Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:08:25.025396Z"}],"osv":[{"id":"ALPINE-CVE-2023-38710","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T21:15:08.167Z","modified":"2026-11-03T06:32:59.100836106Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-03T07:16:09.603409Z"},{"id":"AZL-28064","title":"CVE-2023-38710 affecting package libreswan for versions less than 4.7-5","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T21:15:08Z","modified":"2026-04-21T04:25:48.258525Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:03.46006Z"},{"id":"AZL-34935","title":"CVE-2023-38710 affecting package libreswan for versions less than 4.7-6","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T21:15:08Z","modified":"2026-04-21T04:51:10.09698Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:28:03.821827Z"},{"id":"DEBIAN-CVE-2023-38710","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T21:15:08.167Z","modified":"2026-11-06T17:27:38.878267966Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-06T18:00:26.717991Z"},{"id":"OESA-2023-1581","title":"libreswan security update","description":"Libreswan is an implementation of IKEv1 and IKEv2 for IPsec. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. \r\n\r\nSecurity Fix(es):\r\n\r\nAn issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload\u0026apos;s protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.(CVE-2023-38710)\r\n\r\nAn issue was discovered in Libreswan before 4.12. When an IKEv1 Quick Mode connection configured with ID_IPV4_ADDR or ID_IPV6_ADDR receives an IDcr payload with ID_FQDN, a NULL pointer dereference causes a crash and restart of the pluto daemon. NOTE: the earliest affected version is 4.6.(CVE-2023-38711)\r\n\r\nAn issue was discovered in Libreswan 3.x and 4.x before 4.12. When an IKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify payload followed by further Notifies that act on the ISAKMP SA, such as a duplicated Delete/Notify message, a NULL pointer dereference on the deleted state causes the pluto daemon to crash and restart.(CVE-2023-38712)","status":"published","published":"2023-09-02T11:06:02Z","modified":"2026-08-18T01:17:48.67587167Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:52:40.328856Z"},{"id":"RHBA-2024:11505","title":"Red Hat Bug Fix Advisory: OpenShift Container Platform 4.16.28 packages and security update","status":"published","published":"2025-01-14T10:10:05Z","modified":"2026-01-29T10:57:32.51331Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:58.636919Z"},{"id":"RHBA-2024:11525","title":"Red Hat Bug Fix Advisory: OpenShift Container Platform 4.17.10 packages and security update","status":"published","published":"2025-01-09T10:07:44Z","modified":"2026-01-29T10:57:31.938371Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:58.636919Z"},{"id":"RHBA-2024:11565","title":"Red Hat Bug Fix Advisory: OpenShift Container Platform 4.15.42 packages update","status":"published","published":"2025-01-14T10:10:06Z","modified":"2026-01-29T10:57:32.750352Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:58.636919Z"},{"id":"RHSA-2023:6549","title":"Red Hat Security Advisory: libreswan security update","status":"published","published":"2024-09-16T12:48:01Z","modified":"2026-08-26T10:03:52Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:11.734882Z"},{"id":"RHSA-2023:7052","title":"Red Hat Security Advisory: libreswan security update","status":"published","published":"2024-09-16T12:48:11Z","modified":"2026-08-26T10:03:57Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:11.734882Z"},{"id":"RHSA-2024:10594","title":"Red Hat Security Advisory: libreswan security update","status":"published","published":"2024-12-02T10:11:25Z","modified":"2026-08-26T10:04:32Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:12.787505Z"},{"id":"RHSA-2025:0309","title":"Red Hat Security Advisory: libreswan security update","status":"published","published":"2025-01-15T10:02:39Z","modified":"2026-08-26T10:06:18Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:15.137262Z"},{"id":"RLSA-2023:7052","title":"Moderate: libreswan security update","description":"Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).\n\nSecurity Fix(es):\n\n* libreswan: Invalid IKEv2 REKEY proposal causes restart (CVE-2023-38710)\n\n* libreswan: Invalid IKEv1 Quick Mode ID causes restart (CVE-2023-38711)\n\n* libreswan: Invalid IKEv1 repeat IKE SA delete causes crash and restart (CVE-2023-38712)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the Rocky Linux 8.9 Release Notes linked from the References section.","status":"published","published":"2026-05-21T16:24:56.966088Z","modified":"2026-05-21T17:00:03.889496191Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T15:53:24.63379Z"},{"id":"UBUNTU-CVE-2023-38710","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T21:15:00Z","modified":"2026-10-17T12:57:20.831579098Z","cvss":[{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T16:54:21.882004Z"},{"id":"ALSA-2023:6549","title":"Moderate: libreswan security update","description":"Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).\n\nSecurity Fix(es):\n\n* libreswan: Invalid IKEv2 REKEY proposal causes restart (CVE-2023-38710)\n* libreswan: Invalid IKEv1 Quick Mode ID causes restart (CVE-2023-38711)\n* libreswan: Invalid IKEv1 repeat IKE SA delete causes crash and restart (CVE-2023-38712)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2023-11-07T00:00:00Z","modified":"2026-10-29T11:31:58.104286191Z","updated_at":"2026-11-02T15:27:52.091404Z"},{"id":"ALSA-2023:7052","title":"Moderate: libreswan security update","description":"Libreswan is an implementation of IPsec and IKE for Linux. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).\n\nSecurity Fix(es):\n\n* libreswan: Invalid IKEv2 REKEY proposal causes restart (CVE-2023-38710)\n* libreswan: Invalid IKEv1 Quick Mode ID causes restart (CVE-2023-38711)\n* libreswan: Invalid IKEv1 repeat IKE SA delete causes crash and restart (CVE-2023-38712)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.\n\nAdditional Changes:\n\nFor detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.","status":"published","published":"2023-11-14T00:00:00Z","modified":"2026-10-29T11:02:19.358938814Z","updated_at":"2026-11-02T15:27:52.091404Z"},{"id":"CVE-2023-38710","description":"An issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA REKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an error notify INVALID_SPI is sent back. The notify payload's protocol ID is copied from the incoming packet, but the code that verifies outgoing packets fails an assertion that the protocol ID must be ESP (2) or AH(3) and causes the pluto daemon to crash and restart. NOTE: the earliest affected version is 3.20.","status":"published","published":"2023-08-25T00:00:00Z","modified":"2026-10-28T02:30:32.849793473Z","updated_at":"2026-11-02T15:44:32.922049Z"},{"id":"MGASA-2024-0085","title":"Updated libreswan packages fix security vulnerabilities","description":"The updated package fixes security vulnerabilities:\npluto in Libreswan before 4.11 allows a denial of service (responder SPI\nmishandling and daemon crash) via unauthenticated IKEv1 Aggressive Mode\npackets. (CVE-2023-30570)\nAn issue was discovered in Libreswan before 4.12. When an IKEv2 Child SA\nREKEY packet contains an invalid IPsec protocol ID number of 0 or 1, an\nerror notify INVALID_SPI is sent back. The notify payload's protocol ID\nis copied from the incoming packet, but the code that verifies outgoing\npackets fails an assertion that the protocol ID must be ESP (2) or AH(3)\nand causes the pluto daemon to crash and restart. (CVE-2023-38710)\nAn issue was discovered in Libreswan before 4.12. When an IKEv1 Quick\nMode connection configured with ID_IPV4_ADDR or ID_IPV6_ADDR receives an\nIDcr payload with ID_FQDN, a NULL pointer dereference causes a crash and\nrestart of the pluto daemon. (CVE-2023-38711)\nAn issue was discovered in Libreswan 3.x and 4.x before 4.12. When an\nIKEv1 ISAKMP SA Informational Exchange packet contains a Delete/Notify\npayload followed by further Notifies that act on the ISAKMP SA, such as\na duplicated Delete/Notify message, a NULL pointer dereference on the\ndeleted state causes the pluto daemon to crash and restart.\n(CVE-2023-38712)\n","status":"published","published":"2024-03-24T04:57:19Z","modified":"2026-04-16T04:42:16.639883996Z","updated_at":"2026-11-02T15:49:42.684501Z"}]}}
