Improper authentication in the SOCKS5 inbound in sing-box
SagerNet sing-box
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/sagernet/sing-box Go |
|
|
| github.com/sagernet/sing Go |
|
SagerNet sing-box
| Product | Affected | Fixed in |
|---|---|---|
| github.com/sagernet/sing-box Go |
|
|
| github.com/sagernet/sing Go |
|
0.2.12-0.20230925092853-5b05b5c147d9Sing-box is an open source proxy system. Affected versions are subject to an authentication bypass when specially crafted requests are sent to sing-box. This affects all SOCKS5 inbounds with user authentication and an attacker may be able to bypass authentication. Users are advised to update to sing-box 1.4.4 or to 1.5.0-rc.4. Users unable to update should not expose the SOCKS5 inbound to insecure environments.
From the CVE record · GitHub_M
Affected sing-box versions have an authentication bypass in SOCKS5 inbounds configured with user authentication. An attacker can send specially crafted requests to bypass authentication; the issue is exposed when those inbounds are reachable.
Check deployments of sing-box before 1.4.5 or from 1.5.0-beta.1 through versions before 1.5.0-rc.5, and Go projects using github.com/sagernet/sing before 0.2.12-0.20230925092853-5b05b5c147d9.