PyPI PACKAGE

sqlparse 0.5.4

Warn

PkgFire would install this release with a warning.·Checked 10 hours ago·Published 28 November 2025

pypi.org

Why

  • warnVulnerability

    sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: Quadratic O(n²) DoS in group_comments (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service) (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: Generated Python and PHP snippets allow SQL string breakout through unescaped backslashes (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: Reindentation of tuple lists causes near-cap quadratic CPU consumption (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: Quadratic O(n²) DoS in group_comments (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: Inefficient Regex Handling of Dollar-Quoted SQL Literals Leads to ReDoS (Denial of Service) (fixed in 0.6.0)

  • warnVulnerability

    sqlparse: TokenList.__init__ materializes O(subtree) value per group, causing CPU DoS before depth/token caps trigger (fixed in 0.6.0)

Provenance

A registry signature proves the registry served these bytes unaltered. Build provenance proves which workflow built them from which commit; a stolen publishing token can fake the first but not the second.

Signature
Not signed
Build provenance
None, and no earlier version had any

What the code does

On its own this is weak signal: plenty of honest libraries read files or talk to the network. What PkgFire watches is a release gaining something the one before it did not.

Source patterns

Patterns found in the source, including those malware is known to use.

  • capability-filesystem-read
  • capability-process-spawn

Other checked releases

Check every dependency before it installs

This page is one release. PkgFire checks every package in your lockfile, on every install and in every pull request, and blocks the bad ones before they run.