PYSEC-2022-260
Dashboard / Vulnerabilities / PYSEC-2022-260
PYSEC-2022-260
Published: 7 Sept 2022Last Modified: 8 Nov 2023
Aliases:
Summary:
Details: 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.
References: https://github.com/sqlalchemy/mako/commit/925760291d6efec64fda6e9dd1fd9cfbd5be068c, https://pyup.io/vulnerabilities/CVE-2022-40023/50870/, https://github.com/sqlalchemy/mako/issues/366, https://github.com/sqlalchemy/mako/blob/c2f392e0be52dc67d1b9770ab8cce6a9c736d547/mako/ext/extract.py#L21, https://github.com/advisories/GHSA-v973-fxgf-6xhp
Affected packages
Package
Name: mako
Purl: pkg:pypi/mako
Affected ranges
Affected versions
0.1.0
0.1.1
0.1.10
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.1.7
0.1.8
0.1.9
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
