artefactory / one-click-mlflow

A tool to deploy a mostly serverless MLflow tracking server on a GCP project with one command
GNU Lesser General Public License v3.0
66 stars 21 forks source link

sqlparse 0.4.2 security update #76

Closed Cedric-Magnan closed 3 years ago

Cedric-Magnan commented 3 years ago

Description

The formatter function that strips comments from a SQL contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). The regular expression may cause exponential backtracking on strings containing many repetitions of '\r\n' in SQL comments. The issues has been fixed in sqlparse 0.4.2.

Licence

Commits