Skip to content

python27: add patches for known security issues#203362

Merged
mweinelt merged 1 commit intoNixOS:stagingfrom
thiagokokada:add-patches-to-python27-cves
Nov 28, 2022
Merged

python27: add patches for known security issues#203362
mweinelt merged 1 commit intoNixOS:stagingfrom
thiagokokada:add-patches-to-python27-cves

Conversation

@thiagokokada
Copy link
Contributor

@thiagokokada thiagokokada commented Nov 27, 2022

Description of changes

Add patches from Arch Linux package (that itself source its patches from Gentoo) to the following known security issues in Python 2.7:

This should cover all security issues currently listed in https://www.activestate.com/products/python/python-2-end-of-life-security-updates/.

Substitute for #201859 since this should fix all CVEs listed in that PR.

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.11 Release Notes (or backporting 22.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
    • (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes
  • Fits CONTRIBUTING.md.

@thiagokokada thiagokokada requested a review from FRidh as a code owner November 27, 2022 22:44
@thiagokokada thiagokokada added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Nov 27, 2022
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Nov 27, 2022
@thiagokokada thiagokokada added backport release-22.11 and removed 6.topic: python Python is a high-level, general-purpose programming language. labels Nov 27, 2022
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Nov 27, 2022
Add patches from Arch Linux package (that itself source its patches from
Gentoo) to the following known security issues in Python 2.7:

- CVE-2020-26116
- CVE-2020-27619
- CVE-2020-8492

This should cover all security issues currently listed in
https://www.activestate.com/products/python/python-2-end-of-life-security-updates/.
@ofborg ofborg bot added 10.rebuild-darwin: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux. labels Nov 27, 2022
@mweinelt mweinelt self-assigned this Nov 28, 2022
@mweinelt mweinelt merged commit acb119a into NixOS:staging Nov 28, 2022
@github-actions
Copy link
Contributor

Successfully created backport PR #203382 for staging-22.11.

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: 101-500 This PR causes between 101 and 500 packages to rebuild on Darwin. 10.rebuild-linux: 101-500 This PR causes between 101 and 500 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants