-
Notifications
You must be signed in to change notification settings - Fork 59
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
Consider minimizing curl #183
Comments
Note that in
The two deps on
and I can replace it with the minimal version:
so theoretically we should just be able to update the manifests to specify |
|
The first comment mentions we'd lose TFTP support, but we now officially support TFTP rootfs URLs: coreos/fedora-coreos-config#1526. Wouldn't we regress on that if we switched? |
In that case there's nothing we can do and we should close this out? That being said, I wonder if we can or should make it more explicit that we require I wish we could iterate over our scripts and autogenerate rpm requires and make sure those deps are satisfied. |
I think it makes sense indeed to explicitly list |
coreos/fedora-coreos-config#1707 Once that merges I'd say we can close this as I doubt we're going to drop tftp support. |
Good catch @jlebon. That brings us back to where we were, which is that we'd need to make a custom subpackage. Sadly I don't think we're likely to do that, so closing. |
curl and libcurl are a significant source of CVEs. Since the beginning of 2018, there have been 15. Six of those have been in the core, or in relevant functionality like HTTP and FTP. The rest have been in code to support NTLM, POP3, IMAP, SMTP, RTSP, or LDAP.
To reduce our attack surface, consider shipping an alternate build of curl that disables all protocols except HTTP(S), FTP, and maybe TFTP.
-minimal builds
curl.spec
includescurl-minimal
andlibcurl-minimal
packages, but they don't seem to be quite what we want.Full builds:
-minimal builds:
If we shipped the -minimal builds, we'd lose IDN, HTTP2, TFTP, and libz, but still retain NTLM, IMAP, POP, dict, and Gopher.
The text was updated successfully, but these errors were encountered: