-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
backport oauth2_proxy: 6.0.0 -> 7.0.1 [security] #119795
Conversation
Is this major update backwards compatible? |
Sadly, no: https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0 |
I think we'll either have to mark it as insecure or backport that particular security fix. The issue is that (to the best to my recollection) backward incompatible changes are disallowed on the release branches. Reading the changelog suggests that 6.1.1 should be good to use: https://github.com/oauth2-proxy/oauth2-proxy/blob/master/CHANGELOG.md#changes-since-v611 |
Also, 7.0.1 should use Go 1.16: oauth2-proxy/oauth2-proxy#1054 (nixpkgs code forces Go 1.15) |
6.1.1 would be vulnerable to CVE-2021-21291. Maybe it's possible to backport oauth2-proxy/oauth2-proxy@780ae4f ? |
We can change that version but 1.16 is not yet available in 20.09. |
The function in question hasn't been touched in 13 months previous to the patch, other than being relocated in the same file. The interface around it looks to be the same judging by its tests. |
You're going to have to stop giving me opportunities to plug #116665 |
Closing in favor of #119899 |
Motivation for this change
Security backport, fixes #113489
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)