OS Command Injection Affecting shadowsocks-libev package, versions <3.1.0+ds-2
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-DEBIAN11-SHADOWSOCKSLIBEV-531783
- published 27 Oct 2017
- disclosed 27 Oct 2017
Introduced: 27 Oct 2017
CVE-2017-15924 Open this link in a new tabHow to fix?
Upgrade Debian:11 shadowsocks-libev to version 3.1.0+ds-2 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream shadowsocks-libev package and not the shadowsocks-libev package as distributed by Debian.
See How to fix? for Debian:11 relevant fixed versions and status.
In manager.c in ss-manager in shadowsocks-libev 3.1.0, 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.
References
- https://security-tracker.debian.org/tracker/CVE-2017-15924
- http://www.debian.org/security/2017/dsa-4009
- 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/
- http://openwall.com/lists/oss-security/2017/10/13/2