Skip to content

[21.11] python3Packages.pillow: add patches for CVE-2022-22817 (part 2) & CVE-2022-24303#158722

Merged
mweinelt merged 1 commit intoNixOS:staging-21.11from
risicle:ris-pillow-CVE-2022-22817p2-CVE-2022-24303-r21.11
Feb 12, 2022
Merged

[21.11] python3Packages.pillow: add patches for CVE-2022-22817 (part 2) & CVE-2022-24303#158722
mweinelt merged 1 commit intoNixOS:staging-21.11from
risicle:ris-pillow-CVE-2022-22817p2-CVE-2022-24303-r21.11

Conversation

@risicle
Copy link
Copy Markdown
Contributor

@risicle risicle commented Feb 8, 2022

Motivation for this change

Backport of the patches fixing these issues in https://github.com/python-pillow/Pillow/releases/tag/9.0.1

See #158475 for unstable.

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, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 22.05 Release Notes (or backporting 21.11 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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@risicle risicle added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Feb 8, 2022
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Feb 8, 2022
@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: 1001-2500 This PR causes many rebuilds on Darwin and should most likely 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: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Feb 8, 2022
@risicle
Copy link
Copy Markdown
Contributor Author

risicle commented Feb 9, 2022

Also built kivy tilequant mahotas pydicom pilkit cairosvg piexif pytesseract bokeh wordcloud faker pikepdf imageio python-mapnik imageio for python 3.8 & 3.9 on macos 10.15

@mweinelt mweinelt merged commit ad4ff65 into NixOS:staging-21.11 Feb 12, 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. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 1001-2500 This PR causes many rebuilds on Darwin and should most likely 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: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants