{
  "cveId": "CVE-2021-23385",
  "url": "https://patchblox.com/security/cve/CVE-2021-23385",
  "summary": "CVE-2021-23385 is fixed in 2 products on 1 platform, first by python3-flask-security 1.7.5-2ubuntu0.18.04.1~esm1, released August 2, 2022. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "flask-security: This affects all versions of package Flask-Security",
  "description": "This affects all versions of package Flask-Security. When using the get_post_logout_redirect and get_post_login_redirect functions, it is possible to bypass URL validation and redirect a user to an arbitrary URL by providing multiple back slashes such as \\\\\\evil.com/path. This vulnerability is only exploitable if an alternative WSGI server other than Werkzeug is used, or the default behaviour of Werkzeug is modified using \u0027autocorrect_location_header=False. **Note:** Flask-Security is not maintained anymore.",
  "published": "2022-08-02T07:15:00Z",
  "severity": "medium",
  "cvss": 6.1,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "epss": 0.01247,
  "epssPercentile": 0.69506,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "flask-security",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "5.0.2-1",
      "fix": "DEBIAN-CVE-2021-23385",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-23385",
      "released": "2022-08-02T14:15:10Z"
    },
    {
      "platform": "linux",
      "product": "flask-security",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "5.0.2-1",
      "fix": "DEBIAN-CVE-2021-23385",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-23385",
      "released": "2022-08-02T14:15:10Z"
    },
    {
      "platform": "linux",
      "product": "flask-security",
      "release": "Debian 14",
      "fixedVersion": "5.0.2-1",
      "fix": "DEBIAN-CVE-2021-23385",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2021-23385",
      "released": "2022-08-02T14:15:10Z"
    },
    {
      "platform": "linux",
      "product": "python3-flask-security",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.7.5-2ubuntu0.18.04.1~esm1",
      "fix": "python3-flask-security 1.7.5-2ubuntu0.18.04.1~esm1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-flask-security-1.7.5-2ubuntu0.18.04.1-esm1",
      "released": "2022-08-02T07:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-flask-security",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.7.5-2ubuntu0.20.04.1",
      "fix": "python3-flask-security 1.7.5-2ubuntu0.20.04.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-flask-security-1.7.5-2ubuntu0.20.04.1",
      "released": "2022-08-02T07:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-flask-security",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "4.0.0-1ubuntu0.1",
      "fix": "python3-flask-security 4.0.0-1ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-python3-flask-security-4.0.0-1ubuntu0.1",
      "released": "2022-08-02T07:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T13:06:02Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}