{"id":"GHSA-r5hm-mp3j-285g","summary":"sing-box vulnerable to improper authentication in the SOCKS inbound","details":"### Impact\n\nThis vulnerability allows specially crafted requests to bypass authentication, affecting all SOCKS inbounds with user authentication.\n\n### Patches\n\nUpdate to sing-box 1.4.5 or 1.5.0-rc.5 and later versions.\n\n### Workarounds\n\nDon't expose the SOCKS5 inbound to insecure environments.\n","aliases":["CVE-2023-43644","GO-2023-2077"],"modified":"2026-09-10T03:50:03.205884551Z","published":"2023-09-26T19:35:39Z","database_specific":{"cwe_ids":["CWE-306"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2023-09-26T19:35:39Z","nvd_published_at":"2023-09-25T20:15:11Z"},"references":[{"type":"WEB","url":"https://github.com/SagerNet/sing-box/security/advisories/GHSA-r5hm-mp3j-285g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-43644"},{"type":"WEB","url":"https://github.com/SagerNet/sing-box/commit/9891fd672f5da9f20f59a1693271a946727f49e2"},{"type":"WEB","url":"https://github.com/SagerNet/sing/commit/5b05b5c147d9650e8accb4441e216c72a61f4859"},{"type":"PACKAGE","url":"https://github.com/SagerNet/sing-box"},{"type":"WEB","url":"https://github.com/SagerNet/sing-box/releases/tag/v1.4.5"}],"affected":[{"package":{"name":"github.com/sagernet/sing-box","ecosystem":"Go","purl":"pkg:golang/github.com/sagernet/sing-box"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.4.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-r5hm-mp3j-285g/GHSA-r5hm-mp3j-285g.json"}},{"package":{"name":"github.com/sagernet/sing-box","ecosystem":"Go","purl":"pkg:golang/github.com/sagernet/sing-box"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.5.0-beta.1"},{"fixed":"1.5.0-rc.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-r5hm-mp3j-285g/GHSA-r5hm-mp3j-285g.json"}},{"package":{"name":"github.com/sagernet/sing","ecosystem":"Go","purl":"pkg:golang/github.com/sagernet/sing"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.2.12-0.20230925092853-5b05b5c147d9"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-r5hm-mp3j-285g/GHSA-r5hm-mp3j-285g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}