Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[18.09] sqlite: 3.25.3 -> 3.26.0 #52141

Merged
merged 1 commit into from Dec 15, 2018
Merged

Conversation

andir
Copy link
Member

@andir andir commented Dec 15, 2018

Motivation for this change

https://blade.tencent.com/magellan/index_en.html

The page suggests claims that sqlite <3.26.0 is vulnerable to "Remote code execution, leaking program memory or causing program crashes".

This PR backports the commit made by @dtzWill on master (PR #51352).

I am still a bit confused by the fact that google upgraded to 3.25.0 to fix the issue https://chromium.googlesource.com/chromium/src/+/c368e30ae55600a1c3c9cb1710a54f9c55de786e. If that is indeed sufficient we do not need merge this straight into the release branch but can let all the rebuilds take place on staging instead.

Things done

I rebuild python3Packages.sqlalchemy successfully. It comes with a larger test suite that seems like a good "smoketest".

  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Assured whether relevant documentation is up to date
  • Fits CONTRIBUTING.md.

(cherry picked from commit 2d7c6d0)
@ivan
Copy link
Member

ivan commented Dec 15, 2018

It looks like Google upgraded to 3.25.3, not 3.25.0?

There are things that look like security fixes in branch-3.25.

@andir
Copy link
Member Author

andir commented Dec 15, 2018 via email

@vcunat
Copy link
Member

vcunat commented Dec 15, 2018

I'm also confused by that (from before reading about your confusion). It's theoretically possible that chrome's particular use cases were easier to fix or something like that. 3.26.0 release notes don't seem to contain any "fixes".

@obadz
Copy link
Contributor

obadz commented Dec 15, 2018

@vcunat, it looks to me like they might have tried to obfuscate the fixes…

I vote for merging.

@obadz
Copy link
Contributor

obadz commented Dec 15, 2018

(I will merge in 1h unless I hear an objection)

@obadz
Copy link
Contributor

obadz commented Dec 15, 2018

According to https://worthdoingbadly.com/sqlitebug/ the fix is in mackyle/sqlite@52e2764cd which seems to be in versions Sqlite 3.25.1 and up.

I still think we should merge but I'll now wait for an objection for 6 hours instead of 1.

@obadz obadz merged commit d683610 into NixOS:release-18.09 Dec 15, 2018
@andir andir deleted the 18.09/sqlite branch December 19, 2018 17:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants