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

[security] Please upgrade to curl 7.78 #106

Open
bluesmoon opened this issue Sep 1, 2021 · 6 comments
Open

[security] Please upgrade to curl 7.78 #106

bluesmoon opened this issue Sep 1, 2021 · 6 comments

Comments

@bluesmoon
Copy link

Due to security issues in prior versions of curl, it is recommended to upgrade the dependency to curl 7.78.0

@omus
Copy link
Collaborator

omus commented Sep 1, 2021

That should happen automatically if you update LibCURL_jll here: https://github.com/JuliaPackaging/Yggdrasil/blob/master/L/LibCURL/build_tarballs.jl

@bluesmoon
Copy link
Author

Thanks, I've proposed the change.

As a secondary question, do you know how I can specify LibCURL_jll v7.73.0+2 as a dependency? (I'm using Julia 1.5).
If I try to install it directly, I get this:

pkg> add [email protected]+2
ERROR: ArgumentError: invalid version range: "7.73.0+2"

@omus
Copy link
Collaborator

omus commented Sep 1, 2021

Pkg doesn't understand the build number. You should be able to leave it off (e.g. add [email protected]) and it should use the latest build

@bluesmoon
Copy link
Author

The problem is that the latest build is "7.73.0+6" which does not work with julia 1.5, so I get unsatisfiable dependencies.

@omus
Copy link
Collaborator

omus commented Sep 2, 2021

The problem is that the latest build is "7.73.0+6" which does not work with julia 1.5, so I get unsatisfiable dependencies.

Essh, that's definitely not great.

As a secondary question, do you know how I can specify LibCURL_jll v7.73.0+2 as a dependency? (I'm using Julia 1.5).

I did a little digging and found JuliaLang/Pkg.jl#1568 which is the issue for supporting build numbers in Pkg. The work around seems to be using the commit SHA. So a workaround for you would be:

pkg> add LibCURL_jll#1711b0b

That's the short commit SHA for LibCURL_jll v7.73.0+2

@bluesmoon
Copy link
Author

Thanks. I was able to install it with the SHA, but then I get this:

julia> using LibCURL
ERROR: InitError: could not load library "/home/ubuntu/.julia/artifacts/987abeee1b538b19bb506476319e47ae1fdea638/lib/libcurl.so"
libmbedtls.so.13: cannot open shared object file: No such file or directory

Perhaps something has to be rebuilt, but not sure what.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants