An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service....
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Alpine:v3.23libreswan |
≥ 4.6, < 5.3.3-r0→ 5.3.3-r0 |
5.3.3-r0 |
| Alpine:v3.24libreswan |
≥ 4.6, < 5.3.2-r0→ 5.3.2-r0 |
5.3.2-r0 |
Original description The description as published by the source.
An invalidly formatted IKEv2 fragment causes the Libreswan pluto daemon to crash and restart. Continued exploitation would cause a denial of service. The function reassemble_v2_incoming_fragments() would ignore unknown outer payloads but still store these in a fixed size array msg_digest.digest[PAYLIMIT]. An off-by-one error in the assertion PASSERT(logger, md->digest_roof < elemsof(md->digest)) causes the daemon to abort. No remote code execution is possible. Any configuration that allows IKEv2 connections that do not set fragmentation=no are vulnerable. IKEv1 is not affected.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security.alpinelinux.org