Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-23384

5.4 · MEDIUM
Published May 17, 2021 koa-remove-trailing-slashes_project CWE-601 EPSS 0.83% (55th pctl)

Overview

CVE-2021-23384 is a medium-severity vulnerability affecting koa-remove-trailing-slashes_project koa-remove-trailing-slashes. It was published on May 17, 2021 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from koa-remove-trailing-slashes_project. Update koa-remove-trailing-slashes to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
koa-remove-trailing-slashes_project koa-remove-trailing-slashes >= 0, < 2.0.2 Affected

Frequently Asked Questions

What is CVE-2021-23384?

CVE-2021-23384 is a medium-severity vulnerability affecting koa-remove-trailing-slashes_project koa-remove-trailing-slashes. It was published on May 17, 2021 and has a CVSS 3.1 base score of 5.4 (MEDIUM).

How severe is CVE-2021-23384?

This vulnerability has a CVSS 3.1 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-23384?

Check the references section for vendor advisories and patches from koa-remove-trailing-slashes_project. Update koa-remove-trailing-slashes to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-23384?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-23384 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.