CVE-2022-24193 Command Injection in CasaOS

Critical 9.8 Published Updated

Attackers can execute arbitrary commands on CasaOS servers due to a command injection flaw, requiring an upgrade to secure the system.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-24193?

CVE-2022-24193 is a critical command injection vulnerability in n/a, published on 7 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CasaOS before v0.2.7 was discovered to contain a command injection vulnerability.

Weakness: CWE-78

Which versions are affected by CVE-2022-24193?

3 open source packages ship an affected version, including github.com/IceWhaleTech/CasaOS. It affects 1 product.

PackageAffectedFixed in
github.com/IceWhaleTech/CasaOS GoAll versions0.2.8
github.com/IceWhaleTech/CasaOS GoAll versions0.2.8
github.com/IceWhaleTech/CasaOS GoAll versions0.2.8

Products include Icewhale Casaos.

How do I fix CVE-2022-24193?

Upgrade github.com/IceWhaleTech/CasaOS to 0.2.8 or later.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2022-24193 being exploited?

There is no known exploitation of CVE-2022-24193 in the wild and no public exploit code.

Sources

Also known as GHSA-jh63-28gx-7p26, GO-2022-0606.

Is CVE-2022-24193 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free