Описание
sing-box vulnerable to improper authentication in the SOCKS inbound
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.
Ссылки
- https://github.com/SagerNet/sing-box/security/advisories/GHSA-r5hm-mp3j-285g
- https://nvd.nist.gov/vuln/detail/CVE-2023-43644
- https://github.com/SagerNet/sing-box/commit/9891fd672f5da9f20f59a1693271a946727f49e2
- https://github.com/SagerNet/sing/commit/5b05b5c147d9650e8accb4441e216c72a61f4859
- https://github.com/SagerNet/sing-box/releases/tag/v1.4.5
Пакеты
github.com/sagernet/sing-box
< 1.4.5
1.4.5
github.com/sagernet/sing-box
>= 1.5.0-beta.1, < 1.5.0-rc.5
1.5.0-rc.5
github.com/sagernet/sing
< 0.2.12-0.20230925092853-5b05b5c147d9
0.2.12-0.20230925092853-5b05b5c147d9
Связанные уязвимости
Sing-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.