-
-
Notifications
You must be signed in to change notification settings - Fork 15.5k
fontconfig_210: remove #92919
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
fontconfig_210: remove #92919
Conversation
fontconfig 2.10.x hasn't had a relase in years, is nowhere used inside nixpkgs and vulnerable to CVE-2016-5384.
Corresponding 20.03 PR that marks this as insecure: #92921 |
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.
It is still used in nixos/modules/config/fonts/fontconfig.nix
. I suspect we don't really need to support systems with fontconfig < 2.11 (CentOS 6 is the only one I can think of), but in that case we should look into cleaning that reference.
Okay, I can remove this. We might want to resurrect the code when bumping fontconfig to 2.13 and keep backwards-compat support for 2.12, but then it can easily be resurrected from the history I guess. |
Urgh, just took a closer look - in |
@@ -149,6 +149,7 @@ mapAliases ({ | |||
fontconfig-ultimate has been removed. The repository has been archived upstream and activity has ceased for several years. | |||
https://github.com/bohoomil/fontconfig-ultimate/issues/171. | |||
''; | |||
fontconfig_210 = throw "fontconfig 2.10.x hasn't had a relase in years, is nowhere used inside nixpkgs and vulnerable to CVE-2016-5384"; # 2020-07-11 |
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.
fontconfig_210 = throw "fontconfig 2.10.x hasn't had a relase in years, is nowhere used inside nixpkgs and vulnerable to CVE-2016-5384"; # 2020-07-11 | |
fontconfig_210 = throw "fontconfig 2.10.x hasn't had a release in years, is nowhere used inside nixpkgs and vulnerable to CVE-2016-5384"; # 2020-07-11 |
If there's any issue see here so we can fix them in one go #73795 |
I expect that severity of 2.10 remaining is low (in the current way). Just getting the config files from 2.10 shouldn't be vulnerable, and it seems very unlikely that someone opted in to use 2.10 in some other way. Still, it would be nice to clean this up during that 2.13/2.14 update. |
Okay, fine to not pursue this any further if we can address this during #73795 soon - it was already suggested in #73795 (comment) anyways. |
Doesn't look like this made it into #73795. Should we reopen? |
I reopened #88289. |
I'm unclear on what direction I should go in, if I were to accept. Do we want to remove 2.10, or just patch it (https://cgit.freedesktop.org/fontconfig/commit/?id=7a4a5bd7897d216f0794ca9dbce0a4a5c9d14940, according to the vulnerability page)? In the case we want to remove it, how should I handle the aforementioned Once these questions are answered, I can find some time during the week to tackle this. However, I wouldn't be offended if somebody beats me to the punch... ;^) |
I expect we want to bump |
2.12 is not necessary since our patched 2.14 should be compatible with 2.11+. We should just drop support version altogether once we are sure there are no regressions. |
fontconfig 2.10.x hasn't had a release in years, is nowhere used inside
nixpkgs and vulnerable to CVE-2016-5384.
Motivation for this change
#88289
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)