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

Use curl >=8.5.0 to align with conda-forge and avoid CVEs. #574

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Dec 9, 2024

This PR uses libcurl 8.5.0 at build time, and should permit >=8.5.0,<9.0a0 at runtime. This is needed to align with conda-forge which uses libcurl 8, and also gets a new enough minor version to avoid some known CVEs.

@bdice bdice requested review from a team as code owners December 9, 2024 21:48
@bdice bdice requested a review from AyodeAwe December 9, 2024 21:48
@bdice bdice changed the base branch from branch-25.02 to branch-24.12 December 9, 2024 21:48
@bdice bdice self-assigned this Dec 9, 2024
@bdice bdice added breaking Introduces a breaking change bug Something isn't working labels Dec 9, 2024
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

Leaving some notes for posterity:

  • The conda run exports are overly strict because libcurl has been ABI-stable since 7.16.0, so building against 7.* and running with 8.* is fine.
  • For conda, we shouldn't really need to bump the build version for CVE reasons since we could simply relax the run_exported constraint above and be fine. It's not really worthwhile though since the conda-forge pinning is already at 8.
  • For wheels, for CVE reasons we definitely need to bump the build version in addition to runtime constraints because we statically link libcurl into wheels so the build version entirely controls runtime behavior.

@jakirkham
Copy link
Member

jakirkham commented Dec 10, 2024

  • The conda run exports are overly strict because libcurl has been ABI-stable since 7.16.0, so building against 7.* and running with 8.* is fine.

Please feel free to raise a feedstock issue (though am not sure to what extent the 7 series is still supported)

Edit: We could also use build/ignore_run_exports_from and set our own constraints if we like

@raydouglass raydouglass merged commit e900177 into rapidsai:branch-24.12 Dec 10, 2024
56 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Introduces a breaking change bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants