{
  "cveId": "CVE-2022-40023",
  "url": "https://patchblox.com/security/cve/CVE-2022-40023",
  "summary": "CVE-2022-40023 is fixed in 4 products on 1 platform, first by python-mako 1.0.7\u002Bds1-1ubuntu0.2, released September 7, 2022. It is not reported as exploited. Patch Radar priority: High.",
  "title": "python3-mako: Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse",
  "description": "Sqlalchemy mako before 1.2.2 is vulnerable to Regular expression Denial of Service when using the Lexer class to parse. This also affects babelplugin and linguaplugin.",
  "published": "2022-09-07T06:15:00Z",
  "severity": "Medium",
  "cvss": 7.5,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
  "epss": 0.0232,
  "epssPercentile": 0.83553,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "mako",
      "release": "Debian 11.6 (bullseye)",
      "fixedVersion": "1.1.3\u002Bds1-2\u002Bdeb11u1",
      "fix": "DLA-4393-1",
      "url": "https://patchblox.com/security/fix/linux/dla-4393-1",
      "released": "2025-12-03T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "mako",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.2.2\u002Bds1-1",
      "fix": "DEBIAN-CVE-2022-40023",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-40023",
      "released": "2022-09-07T13:15:09Z"
    },
    {
      "platform": "linux",
      "product": "mako",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.2.2\u002Bds1-1",
      "fix": "DEBIAN-CVE-2022-40023",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-40023",
      "released": "2022-09-07T13:15:09Z"
    },
    {
      "platform": "linux",
      "product": "mako",
      "release": "Debian 14",
      "fixedVersion": "1.2.2\u002Bds1-1",
      "fix": "DEBIAN-CVE-2022-40023",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-40023",
      "released": "2022-09-07T13:15:09Z"
    },
    {
      "platform": "linux",
      "product": "python-mako",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.0.7\u002Bds1-1ubuntu0.2",
      "fix": "python-mako 1.0.7\u002Bds1-1ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python-mako-1.0.7-ds1-1ubuntu0.2",
      "released": "2022-09-07T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python-mako",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.1.0\u002Bds1-1ubuntu2.1",
      "fix": "python-mako 1.1.0\u002Bds1-1ubuntu2.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python-mako-1.1.0-ds1-1ubuntu2.1",
      "released": "2022-09-07T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python-mako",
      "release": "rocky 8",
      "fixedVersion": "0:1.0.6-14.el8",
      "fix": "RLSA-2023:2893",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2023-2893",
      "released": "2025-12-03T09:02:28Z"
    },
    {
      "platform": "linux",
      "product": "python-mako",
      "release": "rocky 9",
      "fixedVersion": "0:1.1.4-6.el9",
      "fix": "RLSA-2023:2258",
      "url": "https://patchblox.com/security/fix/linux/rlsa-2023-2258",
      "released": "2025-12-03T09:05:37Z"
    },
    {
      "platform": "linux",
      "product": "python-mako-doc",
      "release": "amzn 2023",
      "fixedVersion": "1.1.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-288",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-288",
      "released": "2023-08-03T20:26:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "RHEL 8",
      "fixedVersion": "0:1.0.6-14.el8",
      "fix": "RHSA-2023:2893",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2023-2893",
      "released": "2023-05-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "RHEL 9",
      "fixedVersion": "0:1.1.4-6.el9",
      "fix": "RHSA-2023:2258",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2023-2258",
      "released": "2023-05-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "1.0.7\u002Bds1-1ubuntu0.2",
      "fix": "python3-mako 1.0.7\u002Bds1-1ubuntu0.2",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-python3-mako-1.0.7-ds1-1ubuntu0.2",
      "released": "2022-09-07T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "1.1.0\u002Bds1-1ubuntu2.1",
      "fix": "python3-mako 1.1.0\u002Bds1-1ubuntu2.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-python3-mako-1.1.0-ds1-1ubuntu2.1",
      "released": "2022-09-07T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "Ubuntu 22.04.1 LTS (jammy)",
      "fixedVersion": "1.1.3\u002Bds1-2ubuntu0.1",
      "fix": "python3-mako 1.1.3\u002Bds1-2ubuntu0.1",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-jammy-python3-mako-1.1.3-ds1-2ubuntu0.1",
      "released": "2022-09-07T06:15:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "almalinux 8",
      "fixedVersion": "1.0.6-14.el8",
      "fix": "ALSA-2023:2893",
      "url": "https://patchblox.com/security/fix/linux/alsa-2023-2893",
      "released": "2023-05-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "almalinux 9",
      "fixedVersion": "1.1.4-6.el9",
      "fix": "ALSA-2023:2258",
      "url": "https://patchblox.com/security/fix/linux/alsa-2023-2258",
      "released": "2023-05-09T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "amzn 2023",
      "fixedVersion": "1.1.4-3.amzn2023.0.3",
      "fix": "ALAS2023-2023-288",
      "url": "https://patchblox.com/security/fix/linux/alas2023-2023-288",
      "released": "2023-08-03T20:26:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "ol 8",
      "fixedVersion": "0:1.0.6-14.el8",
      "fix": "ELSA-2023-2893",
      "url": "https://patchblox.com/security/fix/linux/elsa-2023-2893",
      "released": "2023-05-24T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "python3-mako",
      "release": "ol 9",
      "fixedVersion": "0:1.1.4-6.el9",
      "fix": "ELSA-2023-2258",
      "url": "https://patchblox.com/security/fix/linux/elsa-2023-2258",
      "released": "2023-05-15T00:00:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T06:59:42Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}