~ / search / GHSA-m5q5-8mfw-p2hr

GHSA-m5q5-8mfw-p2hr

CasaOS contains weak JWT secrets

Source: GitHub Advisory Database (reviewed) Critical CVE-2023-37266

Packages

EcosystemPackageAffectedFixed in
Go github.com/IceWhaleTech/CasaOS < 0.4.4 0.4.4

Details

As written in the advisory (Markdown source, shown as plain text).

### Impact Unauthenticated attackers can craft arbitrary JWTs and access features that usually require authentication and execute arbitrary commands as `root` on CasaOS instances. ### Patches The problem was addressed by improving the validation of JWTs in 705bf1f. This patch is part of CasaOS 0.4.4. ### Workarounds Users 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. ### References - 705bf1f - https://www.sonarsource.com/blog/security-vulnerabilities-in-casaos/

References

External links from the advisory. They lead to third-party sites.