GHSA-RFHR-62XP-2FP2
Vulnerability from github – Published: 2021-06-08 23:19 – Updated: 2021-05-27 22:38
VLAI?
Summary
Open Redirect in trailing-slash
Details
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.
Severity ?
5.4 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "trailing-slash"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2021-23387"
],
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"github_reviewed": true,
"github_reviewed_at": "2021-05-27T22:38:20Z",
"nvd_published_at": "2021-05-24T19:15:00Z",
"severity": "MODERATE"
},
"details": "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.",
"id": "GHSA-rfhr-62xp-2fp2",
"modified": "2021-05-27T22:38:20Z",
"published": "2021-06-08T23:19:21Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23387"
},
{
"type": "WEB",
"url": "https://github.com/fardog/trailing-slash/commit/f8e66f1429308247e5a119d430203077d8f05048"
},
{
"type": "WEB",
"url": "https://github.com/fardog/trailing-slash/blob/f640ece055fe85275c983de5eb94661b95e35670/index.js%23L36"
},
{
"type": "WEB",
"url": "https://snyk.io/vuln/SNYK-JS-TRAILINGSLASH-1085707"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "Open Redirect in trailing-slash"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…