CVE-2023-43644 Improper authentication in the SOCKS5 inbound in sing-box
Attackers can bypass authentication in sing-box SOCKS5 inbounds via crafted requests, requiring updates or restricted exposure.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-43644?
CVE-2023-43644 is a critical authentication bypass vulnerability in SagerNet sing-box, published on 25 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-306
Which versions are affected by CVE-2023-43644?
7 open source packages ship an affected version, including github.com/sagernet/sing-box and github.com/sagernet/sing. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/sagernet/sing-box Go | All versions | 1.4.5 |
github.com/sagernet/sing-box Go | All versions | 1.4.5 |
github.com/sagernet/sing-box Go | From 1.5.0-beta.1 | 1.5.0-rc.5 |
github.com/sagernet/sing-box Go | From 1.5.0-beta.1 | 1.5.0-rc.5 |
github.com/sagernet/sing Go | All versions | 0.2.12-0.20230925092853-5b05b5c147d9 |
github.com/sagernet/sing Go | All versions | 0.2.12-0.20230925092853-5b05b5c147d9 |
1 more packages
github.com/sagernet/sing Go | All versions | 0.2.12-0.20230925092853-5b05b5c147d9 |
Products include Sagernet Sing-Box.
How do I fix CVE-2023-43644?
Upgrade github.com/sagernet/sing-box to a fixed version for your release line: 1.4.5 or 1.5.0-rc.5.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2023-43644 being exploited?
There is no known exploitation of CVE-2023-43644 in the wild and no public exploit code.
Sources
Also known as GHSA-r5hm-mp3j-285g, GO-2023-2077.