CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HHigh (7.5). EPSS 2.3% estimated probability of exploitation activity in the next 30 days. Fixed in mako 1.2.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hmako (PyPI): fixed in 1.2.2Explain CVE-2022-40023 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-40023?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-40023?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-40023 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| sqlalchemy:mako | before 1.2.2 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-v973-fxgf-6xhp | PyPI | mako | <1.2.2 | 1.2.2 |
| PYSEC-2022-260 | PyPI | mako | <1.2.2 | 1.2.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | mako | 1.0.7+ds1-1+deb10u1 | DLA-3116-1 |
| Debian | 11 | mako | 1.1.3+ds1-2+deb11u1 | DLA-4393-1 |
| Debian | 12, 13, 14 | mako | 1.2.2+ds1-1 | DEBIAN-CVE-2022-40023 |
| Ubuntu | 18.04:LTS | mako | 1.0.7+ds1-1ubuntu0.2 | UBUNTU-CVE-2022-40023 USN-5625-1 |
| Ubuntu | 20.04:LTS | mako | 1.1.0+ds1-1ubuntu2.1 | UBUNTU-CVE-2022-40023 USN-5625-1 |
| Ubuntu | 22.04:LTS | mako | 1.1.3+ds1-2ubuntu0.1 | UBUNTU-CVE-2022-40023 USN-5625-1 |
| Ubuntu | Pro:16.04:LTS | mako | 1.0.3+ds1-1ubuntu1+esm1 | UBUNTU-CVE-2022-40023 USN-5625-1 |
| Red Hat | enterprise_linux:8::appstream | python-mako, python3-mako | 0:1.0.6-14.el8 | RHSA-2023:2893 |
| Red Hat | enterprise_linux:9::appstream | python-mako, python3-mako | 0:1.1.4-6.el9 | RHSA-2023:2258 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-Mako | 1.0.7-3.3.1 | SUSE-SU-2022:3701-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Package Hub 15 SP3 and 1 more | python-Mako | 1.0.7-150000.3.3.1 | SUSE-SU-2022:3979-1 |
| SUSE | OpenStack Cloud 9, OpenStack Cloud Crowbar 9 | python-Mako | 1.0.7-4.3.1 | SUSE-SU-2022:3700-1 |
| openSUSE | Leap 15.3, Leap 15.4 | python-Mako | 1.0.7-150000.3.3.1 | SUSE-SU-2022:3979-1 |
| openSUSE | Tumbleweed | python-Mako | 1.3.0-2.1 | openSUSE-SU-2024:13610-1 |
| openSUSE | Tumbleweed | python-Mako | 1.4.1-1.1 | openSUSE-SU-2026:11567-1 |
| AlmaLinux | 8 | python3-mako | 1.0.6-14.el8 | ALSA-2023:2893 |
| AlmaLinux | 9 | python3-mako | 1.1.4-6.el9 | ALSA-2023:2258 |
| Rocky Linux | 8 | python-mako | 0:1.0.6-14.el8 | RLSA-2023:2893 |
| Rocky Linux | 9 | python-mako | 0:1.1.4-6.el9 | RLSA-2023:2258 |
| Alpine | v3.16, v3.17, v3.18 and 6 more | py3-mako | 1.2.2-r0 | ALPINE-CVE-2022-40023 |
| Azure Linux | 2 | python-mako | 1.2.2-1 | AZL-10892 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | python-mako-0:1.0.6-14.el8 | Fixed 2023-05-16 | RHSA-2023:2893 |
| Red Hat Enterprise Linux 9 | python-mako-0:1.1.4-6.el9 | Fixed 2023-05-09 | RHSA-2023:2258 |
| Red Hat Ceph Storage 3 | python-pecan | Out of support scope | |
| Red Hat Ceph Storage 4 | python-pecan | Not affected | |
| Red Hat Ceph Storage 5 | python-pecan | Not affected | |
| Red Hat Enterprise Linux 6 | python-mako | Out of support scope | |
| Red Hat Enterprise Linux 7 | python-mako | Out of support scope | |
| Red Hat Enterprise Linux 7 | resource-agents | Out of support scope | |
| Red Hat Enterprise Linux 8 | resource-agents | Will not fix | |
| Red Hat Openshift Container Storage 4 | python-pecan | Affected | |
| Red Hat Openshift Data Foundation 4 | python-pecan | Affected | |
| Red Hat OpenStack Platform 13 (Queens) | python-pecan | Out of support scope | |
| Red Hat OpenStack Platform 16.1 | python-pecan | Not affected | |
| Red Hat OpenStack Platform 16.2 | python-pecan | Not affected | |
| Red Hat OpenStack Platform 17.0 | python-pecan | Not affected | |
| Red Hat Quay 3 | quay/quay-rhel8 | Affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-40023.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.