CVE-2022-0764 Arbitrary Command Injection in strapi/strapi
Attackers can execute arbitrary commands on the server hosting the Strapi CMS, leading to full system compromise.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-0764?
CVE-2022-0764 is a medium-severity command injection vulnerability in strapi/strapi, published on 26 Feb 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Arbitrary Command Injection in GitHub repository strapi/strapi prior to 4.1.0.
Weakness: CWE-78
Which versions are affected by CVE-2022-0764?
2 open source packages ship an affected version, including strapi. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
strapi npm | All versions | 4.1.0 |
strapi npm | All versions | 4.1.0 |
Products include Strapi Strapi.
How do I fix CVE-2022-0764?
Upgrade strapi to 4.1.0 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-0764 being exploited?
There is no known exploitation of CVE-2022-0764 in the wild and no public exploit code.
Other vulnerabilities in strapi/strapi
- CVE-2023-22894 Strapi Cleartext Storage of Sensitive Information
- CVE-2023-22621 Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin
- CVE-2022-27263 Unrestricted Upload of File with Dangerous Type in Strapi
- CVE-2020-27664 Authorization bypass in Strapi
- CVE-2019-18818 Strapi allows unauthenticated attacker to reset admin password without valid reset token
Sources
Also known as GHSA-xrjf-phvv-r4vr.