Vulnerability · Published May 3, 2022 · Assigned by mitre
CVE-2021-46440
High 7.5
In plain English
A high-severity security flaw in the @strapi/strapi package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.9% (higher than 87% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)7.5High
Exploit odds (30 days)2.9%top 13.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
Storing passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi before 3.6.9 and 4.x before 4.1.5 allows an attacker to access a victim's HTTP request, get the victim's cookie, perform a base64 decode on the victim's cookie, and obtain a cleartext password, leading to getting API documentation for further API attacks.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @strapi/strapi | 4.1.5 | GHSA-85vg-grr5-pw42 |
| npm | strapi | 3.6.9 | GHSA-85vg-grr5-pw42 |
Affected products (as reported)
References
- https://strapi.io/ x_refsource_MISC
- https://hub.docker.com/r/strapi/strapi x_refsource_MISC
- http://packetstormsecurity.com/files/166915/Strapi-3.6.8-Password-Disclosure-Insecure-Handling.html x_refsource_MISC
- https://github.com/strapi/strapi/pull/12246 x_refsource_MISC