{"answers":{"affected":"7 open source packages ship an affected version, including github.com/sagernet/sing-box and github.com/sagernet/sing. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-43644 in the wild and no public exploit code.","fix":"Upgrade github.com/sagernet/sing-box to a fixed version for your release line: 1.4.5 or 1.5.0-rc.5.","what":"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."},"fix_prompt":"Check this codebase for CVE-2023-43644 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2023-43644 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/sagernet/sing-box (Go): affected all versions; fixed in 1.4.5\n- github.com/sagernet/sing-box (Go): affected all versions; fixed in 1.4.5\n- github.com/sagernet/sing-box (Go): affected from 1.5.0-beta.1; fixed in 1.5.0-rc.5\n- github.com/sagernet/sing-box (Go): affected from 1.5.0-beta.1; fixed in 1.5.0-rc.5\n- github.com/sagernet/sing (Go): affected all versions; fixed in 0.2.12-0.20230925092853-5b05b5c147d9\n- github.com/sagernet/sing (Go): affected all versions; fixed in 0.2.12-0.20230925092853-5b05b5c147d9\n- github.com/sagernet/sing (Go): affected all versions; fixed in 0.2.12-0.20230925092853-5b05b5c147d9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-43644/ (Markdown: https://insights.sbomify.com/CVE-2023-43644/index.md)","id":"CVE-2023-43644","markdown":"https://insights.sbomify.com/CVE-2023-43644/index.md","name":"CVE-2023-43644","record":{"aliases":["GHSA-r5hm-mp3j-285g","GO-2023-2077"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Proxy system","requires_auth":"none","summary":"Attackers can bypass authentication in sing-box SOCKS5 inbounds via crafted requests, requiring updates or restricted exposure.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"sing-box","vendor":"sagernet"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper authentication in the SOCKS5 inbound in sing-box","id":"CVE-2023-43644","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"auth_bypass","year":"2023"},"n_packages":7,"n_references":1,"next":{"headline":"Denial of service from circular relationship definitions in OpenFGA","id":"CVE-2023-43645"},"packages":[{"ecosystem":"Go","fixed":["0.2.12-0.20230925092853-5b05b5c147d9"],"introduced":["0"],"last_affected":[],"package":"github.com/sagernet/sing","purl":null,"source":"GHSA-r5hm-mp3j-285g"},{"ecosystem":"Go","fixed":["0.2.12-0.20230925092853-5b05b5c147d9"],"introduced":["0"],"last_affected":[],"package":"github.com/sagernet/sing","purl":"pkg:golang/github.com/sagernet/sing","source":"GHSA-r5hm-mp3j-285g"},{"ecosystem":"Go","fixed":["0.2.12-0.20230925092853-5b05b5c147d9"],"introduced":["0"],"last_affected":[],"package":"github.com/sagernet/sing","purl":"pkg:golang/github.com/sagernet/sing","source":"GO-2023-2077"},{"ecosystem":"Go","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"github.com/sagernet/sing-box","purl":null,"source":"GHSA-r5hm-mp3j-285g"},{"ecosystem":"Go","fixed":["1.4.5"],"introduced":["0"],"last_affected":[],"package":"github.com/sagernet/sing-box","purl":"pkg:golang/github.com/sagernet/sing-box","source":"GHSA-r5hm-mp3j-285g"},{"ecosystem":"Go","fixed":["1.5.0-rc.5"],"introduced":["1.5.0-beta.1"],"last_affected":[],"package":"github.com/sagernet/sing-box","purl":null,"source":"GHSA-r5hm-mp3j-285g"},{"ecosystem":"Go","fixed":["1.5.0-rc.5"],"introduced":["1.5.0-beta.1"],"last_affected":[],"package":"github.com/sagernet/sing-box","purl":"pkg:golang/github.com/sagernet/sing-box","source":"GHSA-r5hm-mp3j-285g"}],"prev":{"headline":"mXSS in AntiSamy","id":"CVE-2023-43643"},"products":["sing-box"],"published":"2023-09-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-09-24","vendors":["SagerNet"]},"summary":"Attackers can bypass authentication in sing-box SOCKS5 inbounds via crafted requests, requiring updates or restricted exposure.","url":"https://insights.sbomify.com/CVE-2023-43644/"}