CVE-2017-15924: OS Command Injection
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 addserver, buildconfig, and constructcommandline functions.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/shadowsocks-libevto a version that resolves this vulnerability.Fixed in 3.1.0+ds-2 - Upgrade
Upgrade
debian/shadowsocks-libevto a version that resolves this vulnerability.Fixed in 2.6.3+ds-3+deb9u1Fixed in 3.1.0+ds-2
Event History
Frequently Asked Questions
What is the severity of CVE-2017-15924?
The severity of CVE-2017-15924 is considered medium due to its potential for command injection via improper parsing in specific configurations.
How do I fix CVE-2017-15924?
To fix CVE-2017-15924, update to a patched version of shadowsocks-libev that addresses the vulnerability.
What versions are affected by CVE-2017-15924?
CVE-2017-15924 affects shadowsocks-libev versions 1.3.0 to 3.1.0.
What type of attack is possible with CVE-2017-15924?
CVE-2017-15924 allows for command injection attacks through shell metacharacters in JSON configuration requests.
Which functions are associated with CVE-2017-15924 vulnerabilities?
The functions related to CVE-2017-15924 vulnerabilities are add_server, build_config, and construct_command_line.