ArchLinux: 201711-40: shadowsocks-libev: arbitrary command execution
Summary
In manager.c in ss-manager in shadowsocks-libev before 3.1.1, improper parsing allows command injection via shell metacharacters in a JSON configuration request received via 127.0.0.1 UDP traffic, related to the add_server, build_config, and construct_command_line functions.
Resolution
Upgrade to 3.1.1-1.
# pacman -Syu "shadowsocks-libev>=3.1.1-1"
The problem has been fixed upstream in version 3.1.1.
References
https://www.openwall.com/lists/oss-security/2017/10/13/2 https://github.com/shadowsocks/shadowsocks-libev/commit/c67d275803dc6ea22c558d06b1f7ba9f94cd8de3 https://github.com/shadowsocks/shadowsocks-libev/issues/1734 https://www.x41-dsec.de/lab/advisories/x41-2017-010-shadowsocks-libev/ https://security.archlinux.org/CVE-2017-15924
Workaround
None.