CVE-2022-46179

LiuOS vulnerable to Authorization Bypass through User-Controlled Key

State
Published
Severity
9.2 Critical
Published
Dec 28, 2022
Updated
Apr 14, 2025
Reserved
Nov 28, 2022

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.2 CriticalCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:H/A:HGitHub_M

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
LiuOSLiuWoodsCode
  • <= 0.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.