{"id":"CVE-2021-23435","state":"PUBLISHED","title":"Open Redirect","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).","publishedAt":"2021-09-12T20:05:10.404Z","updatedAt":"2024-09-16T23:55:46.556Z","severity":{"score":7.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H","source":"snyk"},"assigner":"snyk","products":["n/a clearance"],"affected":[{"vendor":"n/a","product":"clearance","versions":[{"version":"unspecified","status":"affected","lessThan":"2.5.0","versionType":"custom"}]}],"references":["https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284","https://github.com/thoughtbot/clearance/pull/945"],"weaknesses":[],"ingestedAt":"2026-10-29T19:48:04.982Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/23xxx/CVE-2021-23435.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-23435","state":"PUBLISHED","datePublished":"2021-09-12T20:05:10.404Z","dateUpdated":"2024-09-16T23:55:46.556Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2021-01-08T00:00:00.000Z"},"containers":{"cna":{"title":"Open Redirect","descriptions":[{"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)."}],"affected":[{"vendor":"n/a","product":"clearance","versions":[{"version":"unspecified","status":"affected","lessThan":"2.5.0","versionType":"custom"}]}],"references":[{"url":"https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284","tags":["x_refsource_MISC"]},{"url":"https://github.com/thoughtbot/clearance/pull/945","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"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"}}],"problemTypes":[{"descriptions":[{"description":"Open Redirect","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2021-09-12T20:05:10.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Snyk Security Team"}],"datePublic":"2021-09-12T00:00:00.000Z","x_legacyV4Record":{"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":"<","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"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/thoughtbot/clearance/pull/945","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T19:05:56.218Z"}}]}}}