-
-
Notifications
You must be signed in to change notification settings - Fork 15k
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
[release-22.05] botan2: Fix CVE-2022-43705 #204288
[release-22.05] botan2: Fix CVE-2022-43705 #204288
Conversation
Backports security patches and regression tests. A complete fix would require an API change that is scheduled for the 3.0 release, which is out of scope. GHSA-4v9w-qvcq-6q7w Fixes: CVE-2022-43705
Applying patches for the tests was kinda pointless, when we don't run them in the first place. And there seem to be unrelated failing ones as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixpkgs-review
happy on x86_64.
Patches looks OK/appropriate.
Result of nixpkgs-review pr 204288
run on x86_64-linux 1
8 packages built:
- biboumi
- botan2
- corectrl
- kea
- keepassxc
- monotone
- rnp
- softhsm
Result of nixpkgs-review pr 204288
run on x86_64-linux 1
8 packages built:
- biboumi
- botan2
- corectrl
- kea
- keepassxc
- monotone
- rnp
- softhsm
If it's anything like unstable, enabling the tests was a simple matter of |
I tried that and unrelated things failed. Let me prepare the diff between the two test runs though. All tests print their durations 😞 |
release-22.05
this branch
Looks like we're missing an artifact. |
Ok so the existing failures all seem to be A new test fails with |
We patch it in via randombit/botan@c2faa88 but it's missing right now, still searching. Oh no. It is a binary horror story! 🤡 I suddenly lost all interest in getting this test running. cc #204320 |
I can do it... |
(even if we don't commit it) |
Feel free if you're bored. Looking at filterdiff right now to understand why we are in this pickle. |
Yeah last I looked basically none of the patch tools work with binary sections except git, and we don't want |
Ok, I've got the (new) tests passing, see my commit @ risicle@8752459 if anyone wants to try it. Don't suggest you include the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nixpkgs-review
happy, macos 10.15, nixos x86_64 & aarch64-linux
Backports security patches and regression tests. A complete fix would require an API change that is scheduled for the 3.0 release, which is out of scope.
GHSA-4v9w-qvcq-6q7w
Fixes: CVE-2022-43705
List of patches via https://security-tracker.debian.org/tracker/CVE-2022-43705
cc #204194
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes