Affected versions
Ubuntu22.04:LTS/sqlparse
- Affected versions
- * || =0.4.1-1ubuntu1 || =0.4.2-1 || =0.4.2-1ubuntu0.22.04.1 || =0.4.2-1ubuntu0.22.04.2 || =0.4.2-1ubuntu0.22.04.3
- Fixed version
- Not reported
Ubuntu24.04:LTS/sqlparse
- Affected versions
- * || =0.4.2-1ubuntu1 || =0.4.4-1 || =0.4.4-1ubuntu0.1 || =0.4.4-1ubuntu0.2
- Fixed version
- Not reported
Ubuntu26.04:LTS/sqlparse
- Affected versions
- * || =0.5.3-1 || =0.5.4-1 || =0.5.4-1ubuntu0.1
- Fixed version
- Not reported
Ubuntu26.10/sqlparse
- Affected versions
- * || =0.5.4-1 || =0.5.5-2 || =0.5.5-2ubuntu1
- Fixed version
- Not reported
UbuntuPro:16.04:LTS/sqlparse
- Affected versions
- Unknown
- Fixed version
- Not reported
UbuntuPro:18.04:LTS/sqlparse
- Affected versions
- * || =0.2.2-1 || =0.2.4-0.1 || =0.2.4-0.1ubuntu0.1 || =0.2.4-0.1ubuntu0.1+esm1
- Fixed version
- Not reported
UbuntuPro:20.04:LTS/sqlparse
- Affected versions
- * || =0.2.4-1 || =0.2.4-1build1 || =0.2.4-2 || =0.2.4-3 || =0.2.4-3ubuntu0.1 || =0.2.4-3ubuntu0.1+esm1
- Fixed version
- Not reported
Description
sqlparse through 0.6.0 contains a PHP code injection vulnerability that allows attackers to inject PHP expressions by supplying SQL text containing unescaped dollar signs. Attackers can embed ${expr} or {${expr}} sequences that OutputPHPFilter places in double-quoted strings, executing arbitrary PHP code when the generated snippet runs.

