logo

CVE-2022-0764 strapi

Package

Manager: npm
Name: strapi
Vulnerable Version: >=0 <4.1.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N

EPSS: 0.00295 pctl0.52337

Details

Command injection in strapi 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](https://github.com/strapi/strapi/blob/master/packages/generators/app/lib/utils/fetch-npm-template.js#L13), this happens due to improper sanitization of user input.

Metadata

Created: 2022-02-27T00:00:15Z
Modified: 2022-03-09T20:26:21Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-xrjf-phvv-r4vr/GHSA-xrjf-phvv-r4vr.json
CWE IDs: ["CWE-77", "CWE-78"]
Alternative ID: GHSA-xrjf-phvv-r4vr
Finding: F422
Auto approve: 1