LiuOS is a small Python project meant to imitate the functions of a regular operating system. Version 0.1.0 and prior of LiuOS allow an attacker to set the GITHUB_ACTIONS environment variable to anything other than null or true and skip authentication checks. This issue is patched in the latest commit (c658b4f3e57258acf5f6207a90c2f2169698ae22) by requiring the var to be set to true, causing a test script to run instead of being able to login. A potential workaround is to check for the GITHUB_ACTIONS environment variable and set it to "" (no quotes) to null the variable and force credential checks.
References
Link | Resource |
---|---|
https://github.com/LiuWoodsCode/LiuOS/commit/c658b4f3e57258acf5f6207a90c2f2169698ae22 | Patch Third Party Advisory |
https://github.com/LiuWoodsCode/LiuOS/security/advisories/GHSA-f9x3-mj2r-cqmf | Exploit Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-12-28T07:00:37.036Z
Updated:
Reserved: 2022-11-28T17:27:19.999Z
Link: CVE-2022-46179
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-12-28T08:15:08.417
Modified: 2023-01-13T15:40:19.647
Link: CVE-2022-46179
JSON object: View
Redhat Information
No data.
CWE