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

[23.11] python311Packages.uamqp: add patches for CVE-2024-25110 & CVE-2024-27099 #293099

Conversation

risicle
Copy link
Contributor

@risicle risicle commented Mar 3, 2024

Description of changes

https://nvd.nist.gov/vuln/detail/CVE-2024-25110
https://nvd.nist.gov/vuln/detail/CVE-2024-27099

Backport from #293035 not quite as simple as I'd hoped - CVE-2024-25110's patch depends on a file in the vendored azure-uamqp-c's vendored azure-c-shared-utility which wasn't present in python-uamqp 1.6.5. Ended up having to include the patch adding it in-tree because fetchpatch will helpfully add an extraPrefix to all paths - including /dev/null - meaning the includes option won't be able to find files that are created in that patch.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 24.05 Release Notes (or backporting 23.05 and 23.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
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@risicle risicle added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Mar 3, 2024
@ofborg ofborg bot requested a review from mwilsoncoding March 3, 2024 22:32
@risicle risicle marked this pull request as ready for review March 4, 2024 21:17
Copy link
Contributor

@LeSuisse LeSuisse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patches looks fine, everything builds (no new failures).

Result of nixpkgs-review pr 293099 run on x86_64-linux 1

6 packages failed to build:
  • baserow
  • baserow.dist
  • python310Packages.django-celery-beat
  • python310Packages.django-celery-beat.dist
  • python311Packages.django-celery-beat
  • python311Packages.django-celery-beat.dist
87 packages built:
  • dvc (python311Packages.dvc)
  • dvc-with-remotes
  • dvc-with-remotes.dist
  • dvc.dist (python311Packages.dvc.dist)
  • paperless-ngx
  • python310Packages.azure-servicebus
  • python310Packages.azure-servicebus.dist
  • python310Packages.celery
  • python310Packages.celery-redbeat
  • python310Packages.celery-redbeat.dist
  • python310Packages.celery-singleton
  • python310Packages.celery-singleton.dist
  • python310Packages.celery.dist
  • python310Packages.django-celery-email
  • python310Packages.django-celery-email.dist
  • python310Packages.django-celery-results
  • python310Packages.django-celery-results.dist
  • python310Packages.django-google-analytics-app
  • python310Packages.django-google-analytics-app.dist
  • python310Packages.django-health-check
  • python310Packages.django-health-check.dist
  • python310Packages.django-raster
  • python310Packages.django-raster.dist
  • python310Packages.djmail
  • python310Packages.djmail.dist
  • python310Packages.dvc
  • python310Packages.dvc-task
  • python310Packages.dvc-task.dist
  • python310Packages.dvc.dist
  • python310Packages.dvclive
  • python310Packages.dvclive.dist
  • python310Packages.flower
  • python310Packages.flower.dist
  • python310Packages.kombu
  • python310Packages.kombu.dist
  • python310Packages.uamqp
  • python310Packages.uamqp.dist
  • python311Packages.azure-servicebus
  • python311Packages.azure-servicebus.dist
  • python311Packages.celery
  • python311Packages.celery-redbeat
  • python311Packages.celery-redbeat.dist
  • python311Packages.celery-singleton
  • python311Packages.celery-singleton.dist
  • python311Packages.celery.dist
  • python311Packages.django-celery-email
  • python311Packages.django-celery-email.dist
  • python311Packages.django-celery-results
  • python311Packages.django-celery-results.dist
  • python311Packages.django-google-analytics-app
  • python311Packages.django-google-analytics-app.dist
  • python311Packages.django-health-check
  • python311Packages.django-health-check.dist
  • python311Packages.django-raster
  • python311Packages.django-raster.dist
  • python311Packages.djmail
  • python311Packages.djmail.dist
  • python311Packages.dvc-task
  • python311Packages.dvc-task.dist
  • python311Packages.dvclive
  • python311Packages.dvclive.dist
  • python311Packages.flower
  • python311Packages.flower.dist
  • python311Packages.kombu
  • python311Packages.kombu.dist
  • python311Packages.uamqp
  • python311Packages.uamqp.dist
  • sourcehut.buildsrht
  • sourcehut.buildsrht.dist
  • sourcehut.coresrht
  • sourcehut.coresrht.dist
  • sourcehut.gitsrht
  • sourcehut.gitsrht.dist
  • sourcehut.hgsrht
  • sourcehut.hgsrht.dist
  • sourcehut.hubsrht
  • sourcehut.hubsrht.dist
  • sourcehut.listssrht
  • sourcehut.listssrht.dist
  • sourcehut.mansrht
  • sourcehut.mansrht.dist
  • sourcehut.metasrht
  • sourcehut.metasrht.dist
  • sourcehut.pastesrht
  • sourcehut.pastesrht.dist
  • sourcehut.todosrht
  • sourcehut.todosrht.dist

@LeSuisse LeSuisse merged commit 148d289 into NixOS:release-23.11 Mar 8, 2024
26 checks passed
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.

2 participants