ADVISORIES

openEuler Security Advisory

OESA-2024-1646

python-sqlparse security update

Details

`sqlparse` is a non-validating SQL parser module. It provides support for parsing, splitting and formatting SQL statements.

Security Fix(es):

Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

(CVE-2024-4340)

Affected packages

EcosystemPackageAffected versions
openEuler:22.03-LTS-SP3python-sqlparse
All versions before 0.4.2-3.oe2203sp3 (fixed in 0.4.2-3.oe2203sp3)

References