ghsa-xrjf-phvv-r4vr
Vulnerability from github
Published
2022-02-27 00:00
Modified
2022-03-09 20:26
Severity ?
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "strapi" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "4.1.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-0764" ], "database_specific": { "cwe_ids": [ "CWE-77", "CWE-78" ], "github_reviewed": true, "github_reviewed_at": "2022-03-01T21:42:15Z", "nvd_published_at": "2022-02-26T15:15:00Z", "severity": "MODERATE" }, "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](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.", "id": "GHSA-xrjf-phvv-r4vr", "modified": "2022-03-09T20:26:21Z", "published": "2022-02-27T00:00:15Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-0764" }, { "type": "WEB", "url": "https://github.com/strapi/strapi/issues/12879" }, { "type": "WEB", "url": "https://github.com/strapi/strapi/commit/2a3f5e988be6a2c7dae5ac22b9e86d579b462f4c" }, { "type": "PACKAGE", "url": "https://github.com/strapi/strapi" }, { "type": "WEB", "url": "https://github.com/strapi/strapi/blob/master/packages/generators/app/lib/utils/fetch-npm-template.js#L13" }, { "type": "WEB", "url": "https://huntr.dev/bounties/001d1c29-805a-4035-93bb-71a0e81da3e5" }, { "type": "WEB", "url": "https://www.github.com/strapi/strapi/commit/2a3f5e988be6a2c7dae5ac22b9e86d579b462f4c" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:L", "type": "CVSS_V3" } ], "summary": "Command injection in strapi" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.