Arbitrary Command Injection Affecting shadowsocks/shadowsocks-libev package, versions [,3.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.27% (69th percentile)

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 IDSNYK-UNMANAGED-SHADOWSOCKSSHADOWSOCKSLIBEV-2366875
  • published26 Jan 2022
  • disclosed27 Oct 2017
  • creditUnknown

Introduced: 27 Oct 2017

CVE-2017-15924  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Upgrade shadowsocks/shadowsocks-libev to version 3.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary 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 add_server, build_config, and construct_command_line functions.

CVSS Base Scores

version 3.1