{"api_version":"1","generated_at":"2026-07-24T23:42:44+00:00","cve":"CVE-2021-43777","urls":{"html":"https://cve.report/CVE-2021-43777","api":"https://cve.report/api/cve/CVE-2021-43777.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-43777","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-43777"},"summary":{"title":"CVE-2021-43777","description":"Redash is a package for data visualization and sharing. In Redash version 10.0 and prior, the implementation of Google Login (via OAuth) incorrectly uses the `state` parameter to pass the next URL to redirect the user to after login. The `state` parameter should be used for a Cross-Site Request Forgery (CSRF) token, not a static and easily predicted value. This vulnerability does not affect users who do not use Google Login for their instance of Redash. A patch in the `master` and `release/10.x.x` branches addresses this by replacing `Flask-Oauthlib` with `Authlib` which automatically provides and validates a CSRF token for the state variable. The new implementation stores the next URL on the user session object. As a workaround, one may disable Google Login to mitigate the vulnerability.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-11-24 16:15:00","updated_at":"2021-11-30 15:39:00"},"problem_types":["CWE-601"],"metrics":[],"references":[{"url":"https://github.com/getredash/redash/security/advisories/GHSA-vhc7-w7r8-8m34","name":"https://github.com/getredash/redash/security/advisories/GHSA-vhc7-w7r8-8m34","refsource":"CONFIRM","tags":[],"title":"Insecure use of state parameter for Google OAuth Login · Advisory · getredash/redash · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/getredash/redash/commit/da696ff7f84787cbf85967460fac52886cbe063e","name":"https://github.com/getredash/redash/commit/da696ff7f84787cbf85967460fac52886cbe063e","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-vhc7-w7r8-8m34 · getredash/redash@da696ff · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-43777","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-43777","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"43777","vulnerable":"1","versionEndIncluding":"10.0.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"redash","cpe5":"redash","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-43777","STATE":"PUBLIC","TITLE":"Vulnerability in Redash OAuth2 flows due to misuse of state field (should be a nonce)"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"redash","version":{"version_data":[{"version_value":"<= 10.0"}]}}]},"vendor_name":"getredash"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Redash is a package for data visualization and sharing. In Redash version 10.0 and prior, the implementation of Google Login (via OAuth) incorrectly uses the `state` parameter to pass the next URL to redirect the user to after login. The `state` parameter should be used for a Cross-Site Request Forgery (CSRF) token, not a static and easily predicted value. This vulnerability does not affect users who do not use Google Login for their instance of Redash. A patch in the `master` and `release/10.x.x` branches addresses this by replacing `Flask-Oauthlib` with `Authlib` which automatically provides and validates a CSRF token for the state variable. The new implementation stores the next URL on the user session object. As a workaround, one may disable Google Login to mitigate the vulnerability."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-352: Cross-Site Request Forgery (CSRF)"}]}]},"references":{"reference_data":[{"name":"https://github.com/getredash/redash/security/advisories/GHSA-vhc7-w7r8-8m34","refsource":"CONFIRM","url":"https://github.com/getredash/redash/security/advisories/GHSA-vhc7-w7r8-8m34"},{"name":"https://github.com/getredash/redash/commit/da696ff7f84787cbf85967460fac52886cbe063e","refsource":"MISC","url":"https://github.com/getredash/redash/commit/da696ff7f84787cbf85967460fac52886cbe063e"}]},"source":{"advisory":"GHSA-vhc7-w7r8-8m34","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-11-24 16:15:00","lastModifiedDate":"2021-11-30 15:39:00","problem_types":["CWE-601"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:redash:redash:*:*:*:*:*:*:*:*","versionEndIncluding":"10.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"43777","Ordinal":"221304","Title":"CVE-2021-43777","CVE":"CVE-2021-43777","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"43777","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}