CVE-2023-43644
JSON

9.1critical

Improper authentication in the SOCKS5 inbound in sing-box

Severity
9.1critical CVSS:3.1 by GitHub_M
Exploit likelihood
0.82% (higher than 58% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-r5hm-mp3j-285gGO-2023-2077

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.

Affected

Product or packageVersionsReported by
SagerNet sing-box< 1.4.5, >= 1.5.0-beta.1, < 1.5.0-rc.4, before 1.5.0-rc.5, before 1.4.5, 1.5.0CVE List, NVD
github.com/sagernet/sing-box (Go)before 1.4.5, from 1.5.0-beta.1 before 1.5.0-rc.5GitHub Advisory Database
github.com/sagernet/sing (Go)before 0.2.12-0.20230925092853-5b05b5c147d9GitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
GitHub9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-306

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.

Go Vulnerability Database

Authentication bypass in github.com/sagernet/sing

NVD (es)

Sing-box es un sistema proxy de código abierto. Las versiones afectadas están sujetas a una omisión de autenticación cuando se envían solicitudes especialmente manipuladas a sing-box. Esto afecta a todas las entradas de SOCKS5 con autenticación de usuario y un atacante puede eludir la autenticación. Se recomienda a los usuarios que actualicen a sing-box 1.4.4 o 1.5.0-rc.4. Los usuarios que no puedan actualizar no deben exponer el SOCKS5 entrante a entornos inseguros.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-43644 changed 2024-09-24CVE Terms of Use
GitHub Advisory DatabaseGHSA-r5hm-mp3j-285g changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2023-2077 changed 2024-05-20CC-BY-4.0
NVDCVE-2023-43644 changed 2026-06-17Public domain