CVE-2022-24193: Command Injection in CasaOS
9.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.95543%
CWE
Published
3/11/2022
Updated
1/27/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/IceWhaleTech/CasaOS | go | < 0.2.7 | 0.2.8 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability manifests in ZeroTier network management endpoints where:
- Pre-patch code accepted arbitrary network IDs without length/character validation
- The patch added critical validation checks (16-character length, alphanumeric filter via NetworkIdFilter)
- Command injection typically occurs when untrusted input flows into system command execution
- Service layer methods in zerotier.go likely construct OS commands using networkId parameter
- The CWE-78 classification confirms improper neutralization of OS command special elements