GSD-2021-23435
Vulnerability from gsd - Updated: 2021-09-13 00:00Details
This affects the package clearance before 2.5.0. The vulnerability can
be possible when users are able to set the value of session[:return_to]. If the
value used for return_to contains multiple leading slashes (/////example.com) the
user ends up being redirected to the external domain that comes after the slashes
(http://example.com).
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2021-23435",
"description": "This affects the package clearance before 2.5.0. The vulnerability can be possible when users are able to set the value of session[:return_to]. If the value used for return_to contains multiple leading slashes (/////example.com) the user ends up being redirected to the external domain that comes after the slashes (http://example.com).",
"id": "GSD-2021-23435"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "clearance",
"purl": "pkg:gem/clearance"
}
}
],
"aliases": [
"CVE-2021-23435",
"GHSA-4hpq-rjcx-7vj9"
],
"details": "This affects the package clearance before 2.5.0. The vulnerability can\nbe possible when users are able to set the value of session[:return_to]. If the\nvalue used for return_to contains multiple leading slashes (/////example.com) the\nuser ends up being redirected to the external domain that comes after the slashes\n(http://example.com).\n",
"id": "GSD-2021-23435",
"modified": "2021-09-13T00:00:00.000Z",
"published": "2021-09-13T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/advisories/GHSA-4hpq-rjcx-7vj9"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 7.6,
"type": "CVSS_V3"
}
],
"summary": "Open Redirect in clearance"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"DATE_PUBLIC": "2021-09-12T20:00:23.031648Z",
"ID": "CVE-2021-23435",
"STATE": "PUBLIC",
"TITLE": "Open Redirect"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "clearance",
"version": {
"version_data": [
{
"version_affected": "\u003c",
"version_value": "2.5.0"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"credit": [
{
"lang": "eng",
"value": "Snyk Security Team"
}
],
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "This affects the package clearance before 2.5.0. The vulnerability can be possible when users are able to set the value of session[:return_to]. If the value used for return_to contains multiple leading slashes (/////example.com) the user ends up being redirected to the external domain that comes after the slashes (http://example.com)."
}
]
},
"impact": {
"cvss": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.6,
"baseSeverity": "HIGH",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H",
"version": "3.1"
}
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Open Redirect"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284",
"refsource": "MISC",
"url": "https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284"
},
{
"name": "https://github.com/thoughtbot/clearance/pull/945",
"refsource": "MISC",
"url": "https://github.com/thoughtbot/clearance/pull/945"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2021-23435",
"cvss_v3": 7.6,
"date": "2021-09-13",
"description": "This affects the package clearance before 2.5.0. The vulnerability can\nbe possible when users are able to set the value of session[:return_to]. If the\nvalue used for return_to contains multiple leading slashes (/////example.com) the\nuser ends up being redirected to the external domain that comes after the slashes\n(http://example.com).\n",
"gem": "clearance",
"ghsa": "4hpq-rjcx-7vj9",
"patched_versions": [
"\u003e= 2.5.0"
],
"title": "Open Redirect in clearance",
"url": "https://github.com/advisories/GHSA-4hpq-rjcx-7vj9"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c2.5.0",
"affected_versions": "All versions before 2.5.0",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-937"
],
"date": "2021-09-23",
"description": "This affects the package clearance The vulnerability can be possible when users are able to set the value of `session[:return_to]`.",
"fixed_versions": [
"2.5.0"
],
"identifier": "CVE-2021-23435",
"identifiers": [
"CVE-2021-23435"
],
"not_impacted": "All versions starting from 2.5.0",
"package_slug": "gem/clearance",
"pubdate": "2021-09-12",
"solution": "Upgrade to version 2.5.0 or above.",
"title": "URL Redirection to Untrusted Site (Open Redirect)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-23435"
],
"uuid": "15a00489-9670-4142-bb4b-409657e3da73"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:thoughtbot:clearance:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "2.5.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "report@snyk.io",
"ID": "CVE-2021-23435"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "This affects the package clearance before 2.5.0. The vulnerability can be possible when users are able to set the value of session[:return_to]. If the value used for return_to contains multiple leading slashes (/////example.com) the user ends up being redirected to the external domain that comes after the slashes (http://example.com)."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-601"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Third Party Advisory"
],
"url": "https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284"
},
{
"name": "N/A",
"refsource": "CONFIRM",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/thoughtbot/clearance/pull/945"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 5.8,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 4.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
}
},
"lastModifiedDate": "2021-09-23T17:33Z",
"publishedDate": "2021-09-12T20:15Z"
}
}
}
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…