{"id":"GHSA-vjh7-5r6x-xh6g","summary":"CasaOS Gateway vulnerable to incorrect identification of source IP addresses","details":"### Impact\n\nUnauthenticated attackers can execute arbitrary commands as `root` on CasaOS instances.\n\n### Patches\n\nThe problem was addressed by improving the detection of client IP addresses in 391dd7f. This patch is part of CasaOS 0.4.4.\n\n### Workarounds\n\nUsers should upgrade to CasaOS 0.4.4. If they can't, they should temporarily restrict access to CasaOS to untrusted users, for instance by not exposing it publicly. \n\n### References\n\n- 391dd7f\n- https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos/","aliases":["CVE-2023-37265","GO-2023-1932"],"modified":"2026-09-10T03:49:54.660033562Z","published":"2023-07-17T14:36:09Z","database_specific":{"nvd_published_at":"2023-07-17T21:15:09Z","cwe_ids":["CWE-306","CWE-348"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2023-07-17T14:36:09Z"},"references":[{"type":"WEB","url":"https://github.com/IceWhaleTech/CasaOS-Gateway/security/advisories/GHSA-vjh7-5r6x-xh6g"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37265"},{"type":"WEB","url":"https://github.com/IceWhaleTech/CasaOS-Gateway/commit/391dd7f0f239020c46bf057cfa25f82031fc15f7"},{"type":"PACKAGE","url":"https://github.com/IceWhaleTech/CasaOS-Gateway"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1932"},{"type":"WEB","url":"https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos"}],"affected":[{"package":{"name":"github.com/IceWhaleTech/CasaOS-Gateway","ecosystem":"Go","purl":"pkg:golang/github.com/IceWhaleTech/CasaOS-Gateway"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/07/GHSA-vjh7-5r6x-xh6g/GHSA-vjh7-5r6x-xh6g.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:H/A:H"}]}