CVE-2021-23387
Assigner: snyk
Published: 2021-05-24T00:00:00
State: PUBLISHED
affected: product: trailing-slash
vendor: n/a
versions: lessThan: 2.0.1
status: affected
version: unspecified
versionType: custom
credits: value: apple502j
datePublic: 2021-05-24T00:00:00
descriptions: value: The package trailing-slash before 2.0.1 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::createTrailing(), as the web server uses relative URLs instead of absolute URLs.
metrics: cvssV3_1: attackComplexity: LOW
attackVector: NETWORK
availabilityImpact: NONE
baseScore: 5.4
baseSeverity: MEDIUM
confidentialityImpact: LOW
exploitCodeMaturity: PROOF_OF_CONCEPT
integrityImpact: LOW
privilegesRequired: NONE
remediationLevel: OFFICIAL_FIX
reportConfidence: CONFIRMED
scope: UNCHANGED
temporalScore: 4.9
temporalSeverity: MEDIUM
userInteraction: REQUIRED
vectorString: 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
version: 3.1
problemTypes: descriptions: description: Open Redirect
type: text
title: Open Redirect