OS Command Injection Affecting shadowsocks-libev package, versions <3.1.0+ds-2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.14% (51st 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 Learn

Learn about OS Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-SHADOWSOCKSLIBEV-1559854
  • published27 Oct 2017
  • disclosed27 Oct 2017

Introduced: 27 Oct 2017

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

How to fix?

Upgrade Debian:12 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:12 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.