Skip to contentSkip to conversation

package/python-sqlparse: security bump to version 0.6.1

PATCH In review James Hilliard 2 participants 2 messages Nov 2 – Nov 4

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-sqlparse: security bump to version 0.6.1

Fix CVE-2026-112307: unescaped dollar signs in generated PHP snippets allow code injection through interpolation:
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-xmww-55xg-h3vc

Also fix quadratic CPU consumption when formatting statements with unterminated quotes:
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-3r5h-5jcg-gmgg

---
 package/python-sqlparse/python-sqlparse.hash | 4 ++--
 package/python-sqlparse/python-sqlparse.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-sqlparse/python-sqlparse.hash +2 -2
index b0bb518e72..1b8d4f4f81 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/sqlparse/json
-md5  900c83341958cb0a16380b204f2fd748  sqlparse-0.6.0.tar.gz
-sha256  113c35c75365ab9cc9c7231d68c6428fb11c085fc8e9eb1ad659b7ddbf6cd2b9  sqlparse-0.6.0.tar.gz
+md5  8e1d392847417849baa6b533b608bee2  sqlparse-0.6.1.tar.gz
+sha256  ca722573f848ff2d30e40ea30f53a104b7dea7635ea9285891263eb2c58fb6e7  sqlparse-0.6.1.tar.gz
 # Locally computed sha256 checksums
 sha256  c1938235b80d39e93138eae89edc3af67e18ecbc40d266529fa57b2dce426310  LICENSE
package/python-sqlparse/python-sqlparse.mk +2 -2
index 6dc7b59a96..a6ec641188 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_SQLPARSE_VERSION = 0.6.0
+PYTHON_SQLPARSE_VERSION = 0.6.1
 PYTHON_SQLPARSE_SOURCE = sqlparse-$(PYTHON_SQLPARSE_VERSION).tar.gz
-PYTHON_SQLPARSE_SITE = https://files.pythonhosted.org/packages/5f/d3/3f06a1006f2261d1342aefb3c71eed02f5d4ca5bdbecd86ebc12ad38306e
+PYTHON_SQLPARSE_SITE = https://files.pythonhosted.org/packages/7e/e0/361c764ea58cc1a75f7b4b424a74b08449db8bfa5e9199c7275999fdd1b9
 PYTHON_SQLPARSE_SETUP_TYPE = hatch
 PYTHON_SQLPARSE_LICENSE = BSD-3-Clause
 PYTHON_SQLPARSE_LICENSE_FILES = LICENSE
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · James Hilliard

Fix CVE-2026-112307: unescaped dollar signs in generated PHP snippets allow code injection through interpolation:
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-xmww-55xg-h3vc

Also fix quadratic CPU consumption when formatting statements with unterminated quotes:
https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-3r5h-5jcg-gmgg

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot