From dc5c0d694b4ea38ddc3e76724b3795801e1b8ede Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Mon, 8 Jan 2024 21:48:30 +0000 Subject: [PATCH] Publish Advisories GHSA-672h-6x89-76m5 GHSA-672h-6x89-76m5 --- .../GHSA-672h-6x89-76m5.json | 65 +++++++++++++++++++ .../GHSA-672h-6x89-76m5.json | 39 ----------- 2 files changed, 65 insertions(+), 39 deletions(-) create mode 100644 advisories/github-reviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json delete mode 100644 advisories/unreviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json diff --git a/advisories/github-reviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json b/advisories/github-reviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json new file mode 100644 index 00000000000..0c182adf3c5 --- /dev/null +++ b/advisories/github-reviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json @@ -0,0 +1,65 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-672h-6x89-76m5", + "modified": "2024-01-08T21:47:12Z", + "published": "2023-12-27T00:30:25Z", + "aliases": [ + "CVE-2023-49438" + ], + "summary": "Open redirect vulnerability in Flask-Security-Too", + "details": "An open redirect vulnerability in the python package Flask-Security-Too <=5.3.2 allows attackers to redirect unsuspecting users to malicious sites via a crafted URL by abusing the ?next parameter on the /login and /register routes.\n\nFlask-Security-Too contains logic to validate that the URL specified within the next parameter is either relative or has the same network location as the requesting URL in an attempt to prevent open redirections. Previously known examples that bypassed the validation logic such as `https://example/login?next=\\\\\\\\\\\\github.com` were patched in version 4.1.0\n\nHowever, examples such as `https://example/login?next=/\\\\github.com` and `https://example/login?next=\\\\/github.com` were discovered due to how web browsers normalize slashes in URLs, which makes the package vulnerable through version <=5.3.2\n\nAdditionally, with Werkzeug >=2.1.0 the autocorrect_location_header configuration was changed to False - which means that location headers in redirects are relative by default. Thus, this issue may impact applications that were previously not impacted, if they are using Werkzeug >=2.1.0 as the WSGI layer.", + "severity": [ + { + "type": "CVSS_V3", + "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" + } + ], + "affected": [ + { + "package": { + "ecosystem": "PyPI", + "name": "Flask-Security-Too" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "5.3.3" + } + ] + } + ] + } + ], + "references": [ + { + "type": "ADVISORY", + "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49438" + }, + { + "type": "WEB", + "url": "https://github.com/Flask-Middleware/flask-security/commit/8b5abc4d4db9926a3d76b34b8b03255effb5e712" + }, + { + "type": "WEB", + "url": "https://github.com/Flask-Middleware/flask-security" + }, + { + "type": "WEB", + "url": "https://github.com/brandon-t-elliott/CVE-2023-49438" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-601" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2024-01-08T21:47:12Z", + "nvd_published_at": "2023-12-26T22:15:13Z" + } +} \ No newline at end of file diff --git a/advisories/unreviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json b/advisories/unreviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json deleted file mode 100644 index 521df7a9a92..00000000000 --- a/advisories/unreviewed/2023/12/GHSA-672h-6x89-76m5/GHSA-672h-6x89-76m5.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "schema_version": "1.4.0", - "id": "GHSA-672h-6x89-76m5", - "modified": "2023-12-27T00:30:25Z", - "published": "2023-12-27T00:30:25Z", - "aliases": [ - "CVE-2023-49438" - ], - "details": "An open redirect vulnerability in the python package Flask-Security-Too <=5.3.2 allows attackers to redirect unsuspecting users to malicious sites via a crafted URL by abusing the ?next parameter on the /login and /register routes.", - "severity": [ - - ], - "affected": [ - - ], - "references": [ - { - "type": "ADVISORY", - "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49438" - }, - { - "type": "WEB", - "url": "https://github.com/Flask-Middleware/flask-security" - }, - { - "type": "WEB", - "url": "https://github.com/brandon-t-elliott/CVE-2023-49438" - } - ], - "database_specific": { - "cwe_ids": [ - - ], - "severity": null, - "github_reviewed": false, - "github_reviewed_at": null, - "nvd_published_at": "2023-12-26T22:15:13Z" - } -} \ No newline at end of file