ArchLinux: 201805-26: strongswan: denial of service
Summary
strongSwan VPN's charon server prior to version 5.6.3 is missing a packet length check in stroke_socket.c, allowing a buffer overflow which may lead to resource exhaustion and denial of service while reading from the socket. According to the vendor, an attacker must typically have local root permissions to access the socket. However, other accounts and groups such as the vpn group (if capability dropping in enabled, for example) may also have sufficient permissions, but this configuration does not appear to be the default behavior.
Resolution
Upgrade to 5.6.2-2.
# pacman -Syu "strongswan>=5.6.2-2"
The problem has been fixed upstream but no release is available yet.
References
https://bugs.archlinux.org/task/58719 https://www.kb.cert.org/vuls/id/338343 https://github.com/strongswan;a=commitdiff;h=0acd1ab4 https://security.archlinux.org/CVE-2018-5388
![Dist Arch](/images/distros/dist-arch.png)
Workaround
None.