Skip to content
DoS Advisory Intermediate CVE-2019-5163

Shadowsocks-libev ss-server UdpRelay Denial-of-Service Vulnerability

The UDP relay in Shadowsocks-libev 3.3.2, when using a stream cipher and a local_address, can be crashed by sending arbitrary UDP packets. An attacker can cause the server to exit, leading to denial of service.

A member Follow

Originally disclosed on Cisco Talos

Medium 5.9 View original

An exploitable denial-of-service vulnerability exists in the UDPRelay functionality of Shadowsocks-libev 3.3.2. When utilizing a Stream Cipher and a localaddress, arbitrary UDP packets can cause a FATAL error code path and exit.

a member, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

The server process exits, causing a denial of service for all users relying on that Shadowsocks server.

What the attacker needed

Ss-server uses a stream cipher; UDP relay is enabled; local_address is set or -b flag used

The fix

Use an AEAD cipher instead of a stream cipher.

How it was found

  1. Configure ss-server with a stream cipher (e.g., aes-256-cfb) and set local_address.
  2. Enable UDP relay (e.g., with -u flag).
  3. Send arbitrary UDP packets to the ss-server port.
  4. The server logs errors and exits with a FATAL error.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Shadowsocks is a tool that helps people bypass internet censorship by encrypting their traffic. In this version, if it is set up in a certain way, anyone can send it random data over UDP (a network protocol) and make it shut down completely. This means the service becomes unavailable for legitimate users.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by A member

View all

110 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.