ADVISORIES

GitHub Advisory Database

GHSA-r5hm-mp3j-285g

sing-box vulnerable to improper authentication in the SOCKS inbound

Details

Impact

This vulnerability allows specially crafted requests to bypass authentication, affecting all SOCKS inbounds with user authentication.

Patches

Update to sing-box 1.4.5 or 1.5.0-rc.5 and later versions.

Workarounds

Don't expose the SOCKS5 inbound to insecure environments.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/sagernet/sing-box
All versions before 1.4.5 (fixed in 1.4.5)
Gogithub.com/sagernet/sing-box
From 1.5.0-beta.1 before 1.5.0-rc.5 (fixed in 1.5.0-rc.5)
Gogithub.com/sagernet/sing
All versions before 0.2.12-0.20230925092853-5b05b5c147d9 (fixed in 0.2.12-0.20230925092853-5b05b5c147d9)

References