原始 OSV JSON{
"id": "GHSA-4hpq-rjcx-7vj9",
"aliases": [
"CVE-2021-23435"
],
"details": "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`).",
"summary": "Clearance Gem Open Redirect Vulnerability",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.0"
}
]
}
],
"package": {
"name": "clearance",
"ecosystem": "RubyGems"
}
}
],
"modified": "2023-08-25T20:56:57Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H"
}
],
"published": "2021-09-13T20:05:09Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-23435",
"type": "ADVISORY"
},
{
"url": "https://github.com/thoughtbot/clearance/pull/945",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-4hpq-rjcx-7vj9",
"type": "ADVISORY"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/clearance/CVE-2021-23435.yml",
"type": "WEB"
},
{
"url": "https://github.com/thoughtbot/clearance",
"type": "PACKAGE"
},
{
"url": "https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-601"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2021-09-13T19:07:07Z"
}
}