Advisory

GHSA-xrjf-phvv-r4vr

Also known as: CVE-2022-0764

Summary

Command injection in strapi

Details

When creating a strapi app using npxcreate-strapi-app, we can inject arbitrary commands through the template cli argument as per the code in this particular link, this happens due to improper sanitization of user input.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-02-27 00:00 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

strapi

npm · All systems

Affected

  • introduced 0, fixed 4.1.0 (semver)

Fixed versions

4.1.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences