{"id":"GHSA-m5q5-8mfw-p2hr","summary":"CasaOS contains weak JWT secrets","details":"### Impact\n\nUnauthenticated attackers can craft arbitrary JWTs and access features that usually require authentication and execute arbitrary commands as `root` on CasaOS instances.\n\n### Patches\n\nThe problem was addressed by improving the validation of JWTs in 705bf1f. 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- 705bf1f\n- https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos/\n","aliases":["CVE-2023-37266","GO-2023-1931"],"modified":"2024-12-12T22:30:02Z","published":"2023-07-17T14:40:16Z","database_specific":{"github_reviewed_at":"2023-07-17T14:40:16Z","nvd_published_at":"2023-07-17T21:15:09Z","cwe_ids":["CWE-1391","CWE-287"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"WEB","url":"https://github.com/IceWhaleTech/CasaOS/security/advisories/GHSA-m5q5-8mfw-p2hr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37266"},{"type":"WEB","url":"https://github.com/IceWhaleTech/CasaOS/commit/705bf1facbffd2ca40b159b0303132b6fdf657ad"},{"type":"PACKAGE","url":"https://github.com/IceWhaleTech/CasaOS"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1931"},{"type":"WEB","url":"https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos"}],"affected":[{"package":{"name":"github.com/IceWhaleTech/CasaOS","ecosystem":"Go","purl":"pkg:golang/github.com/IceWhaleTech/CasaOS"},"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-m5q5-8mfw-p2hr/GHSA-m5q5-8mfw-p2hr.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"}]}