Skip to content

python3Packages.sqlparse: 0.4.1 -> 0.4.2 - #140787

Closed
risicle wants to merge 1 commit into
NixOS:stagingfrom
risicle:ris-sqlparse-0.4.2
Closed

risicle wants to merge 1 commit into
NixOS:stagingfrom
risicle:ris-sqlparse-0.4.2

Conversation

@risicle

@risicle risicle commented Oct 6, 2021 •

Copy link
Copy Markdown
Contributor
Motivation for this change

https://nvd.nist.gov/vuln/detail/CVE-2021-32839

Have built all packages matching .*django.* on master on macos 10.15 & nixos x86_64 with no problems.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@risicle risicle added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Oct 6, 2021
@github-actions github-actions Bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Oct 6, 2021
@ofborg ofborg Bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. labels Oct 6, 2021
@risicle
risicle force-pushed the ris-sqlparse-0.4.2 branch from 499d663 to 5f141cb Compare October 6, 2021 18:17
@risicle
risicle changed the base branch from master to staging October 6, 2021 18:17
@ofborg ofborg Bot added 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. and removed 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. labels Oct 6, 2021
@ofborg ofborg Bot added 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. and removed 10.rebuild-darwin-stdenv This PR causes stdenv to rebuild on Darwin and must target a staging branch. 10.rebuild-linux-stdenv This PR causes stdenv to rebuild on Linux and must target a staging branch. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. labels Oct 6, 2021
@SuperSandro2000

Copy link
Copy Markdown
Member

Why is this drafted?

@risicle

risicle commented Oct 7, 2021

Copy link
Copy Markdown
Contributor Author

Haven't run enough tests on it myself yet to waste other peoples time testing it.

@SuperSandro2000

Copy link
Copy Markdown
Member

Haven't run enough tests on it myself yet to waste other peoples time testing it.

The changelog does not mention any breaking changes so I think we can just merge it to staging and fix the fallout later. Currently there is also not cached stdenv/gcc so building takes a long time.

Release 0.4.2 (Sep 10, 2021)
----------------------------

Notable Changes

* IMPORTANT: This release fixes a security vulnerability in the
  strip comments filter. In this filter a regular expression that was
  vulnerable to ReDOS (Regular Expression Denial of Service) was
  used. See the security advisory for details: https://github.com/andialbrecht/sqlparse/security/advisories/GHSA-p5w8-wqhj-9hhf
  The vulnerability was discovered by @erik-krogh and @yoff from
  GitHub Security Lab (GHSL). Thanks for reporting!

Enhancements

* Add ELSIF as keyword (issue584).
* Add CONFLICT and ON_ERROR_STOP keywords (pr595, by j-martin).

Bug Fixes

* Fix parsing of backticks (issue588).
* Fix parsing of scientific number (issue399).

@risicle
risicle marked this pull request as ready for review October 7, 2021 21:37
@vcunat

vcunat commented Jan 25, 2022

Copy link
Copy Markdown
Member

Done by b8cf470, as part of PR #141037. (included in 21.11, too)

@vcunat vcunat closed this Jan 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 6.topic: python Python is a high-level, general-purpose programming language. 8.has: clean-up This PR removes packages or removes other cruft 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 2501-5000 This PR causes many rebuilds on Darwin and should target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants