Security readout for executives and security teams
Plain-English summary
Applications using vulnerable koa-remove-trailing-slashes can redirect users to an unintended external site when malformed paths are normalized. This is mainly a phishing and trust-abuse risk, not a server takeover. The affected package is fixed in versions 2.0.2 and later according to the source bundle.
Executive priority
Treat as a moderate-priority web trust issue. It is unlikely to cause direct system compromise, but public customer-facing applications should remediate promptly because open redirects can support phishing and damage user confidence.
Technical view
The flaw is in removeTrailingSlashes(), where relative redirect targets are used while stripping trailing slashes. A URL with double slashes can be interpreted as a scheme-relative destination, producing an open redirect. Affected scope is koa-remove-trailing-slashes before 2.0.2.
Likely exposure
Exposure is limited to Node/Koa applications that directly or transitively use koa-remove-trailing-slashes before 2.0.2 on public routes. Risk is higher where redirects affect login, onboarding, password reset, or customer-facing links.
Exploitation context
The bundle does not show KEV listing or confirmed active exploitation. Exploitation requires user interaction: a victim must follow a crafted link to a vulnerable endpoint. Potential impact is credential phishing, brand abuse, and limited confidentiality or integrity loss through misdirection.
Researcher notes
The public record attributes the issue to index.js removeTrailingSlashes() using relative URLs. The source bundle provides affected package and fixed-version information, but no confirmed exploitation evidence, no CWE mapping, and no broader affected-product list.
Mitigation direction
- Upgrade koa-remove-trailing-slashes to version 2.0.2 or later.
- Review dependency locks for transitive use of the package.
- Prefer absolute, same-origin redirect targets in redirect middleware.
- Check vendor guidance if package constraints block upgrading.
Validation and detection
- Inventory applications using koa-remove-trailing-slashes.
- Confirm installed versions are 2.0.2 or later.
- Review public Koa routes that normalize trailing slashes.
- Test redirect handling in a safe staging environment.
- Verify security scanners no longer flag CVE-2021-23384.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CVE-2021-23384 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- Medium
- CVSS
- 5.4 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C2.82.5Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
5.4MediumVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:O/RC:C
Source materials
- CVE List V5 sourceCVE List V5
- https://snyk.io/vuln/SNYK-JS-KOAREMOVETRAILINGSLASHES-1085708CVE reference · x_refsource_MISC
- https://github.com/vgno/koa-remove-trailing-slashes/blame/6a01ba8fd019bd3ece44879c553037ad96ba7d47/index.js%23L31CVE reference · x_refsource_MISC
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
