CVE-2021-23384
Summary
| CVE | CVE-2021-23384 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-05-17 18:15:00 UTC |
| Updated | 2021-05-25 14:39:00 UTC |
| Description | The package koa-remove-trailing-slashes before 2.0.2 are vulnerable to Open Redirect via the use of trailing double slashes in the URL when accessing the vulnerable endpoint (such as https://example.com//attacker.example/). The vulnerable code is in index.js::removeTrailingSlashes(), as the web server uses relative URLs instead of absolute URLs. |
Risk And Classification
Problem Types: CWE-601
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Koa-remove-trailing-slashes Project | Koa-remove-trailing-slashes | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Open Redirect in koa-remove-trailing-slashes | Snyk | MISC | snyk.io | |
| github.com/vgno/koa-remove-trailing-slashes/blame/6a01ba8fd019bd3ece4487... | MISC | github.com | |
| koa-remove-trailing-slashes/index.js at 6a01ba8fd019bd3ece44879c553037ad96ba7d47 · vgno/koa-remove-trailing-slashes · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: apple502j
There are currently no legacy QID mappings associated with this CVE.