CVE-2022-40023
Description
Moderate: python-mako security update
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: alma — https://errata.almalinux.org/9/ALSA-2023-2258.html
Vendor advisory: alma — https://errata.almalinux.org/8/ALSA-2023-2893.html
Vendor advisory: alma — https://bugzilla.redhat.com/2128977
Vendor advisory: alma — https://access.redhat.com/errata/RHSA-2023:2893
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-40023
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:2258
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-40023.html
Vendor advisory: redhat — https://access.redhat.com/errata/RHSA-2023:2258
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:2893
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rocky | 8 | fixed | |
| rhel | 9 | fixed | |
| sles | affected | | |
| rocky | 9 | fixed | |
| debian | bookworm | fixed | 1.2.2+ds1-1 |
| debian | bullseye | fixed | 1.1.3+ds1-2+deb11u1 |
| debian | forky | fixed | 1.2.2+ds1-1 |
| debian | sid | fixed | 1.2.2+ds1-1 |
| debian | trixie | fixed | 1.2.2+ds1-1 |
References
- https://errata.rockylinux.org/RLSA-2023:2893
- https://access.redhat.com/errata/RHSA-2023:2258
- https://nvd.nist.gov/vuln/detail/CVE-2022-40023
- https://github.com/sqlalchemy/mako/issues/366
- https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c
- https://github.com/advisories/GHSA-v973-fxgf-6xhp
- https://github.com/pypa/advisory-database/tree/main/vulns/mako/PYSEC-2022-260.yaml
- https://github.com/sqlalchemy/mako
- https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21
- https://lists.debian.org/debian-lts-announce/2022/09/msg00026.html
- https://lists.debian.org/debian-lts-announce/2025/12/msg00004.html
- https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages
- https://pyup.io/vulnerabilities/CVE-2022-40023/50870
- https://pyup.io/vulnerabilities/CVE-2022-40023/50870/
- https://www.suse.com/security/cve/CVE-2022-40023.html
- https://errata.rockylinux.org/RLSA-2023:2258
- https://security-tracker.debian.org/tracker/CVE-2022-40023
- https://access.redhat.com/errata/RHSA-2023:2893
- https://bugzilla.redhat.com/2128977
- https://errata.almalinux.org/8/ALSA-2023-2893.html
- https://errata.almalinux.org/9/ALSA-2023-2258.html
Verify integrity in audit chain (admin only). AS-IS.