Skip to content

chore(dns): update hickory-resolver from 0.25 to 0.26#4544

Merged
cratelyn merged 8 commits into
mainfrom
kate/update-hickory-to-0.26
Jun 4, 2026
Merged

chore(dns): update hickory-resolver from 0.25 to 0.26#4544
cratelyn merged 8 commits into
mainfrom
kate/update-hickory-to-0.26

Conversation

@cratelyn

@cratelyn cratelyn commented May 29, 2026

Copy link
Copy Markdown
Member

see:

this branch provides changes, updating hickory-resolver in particular, to address RUSTSEC-2026-0120 (aka GHSA-3v94-mw7p-v465) and RUSTSEC-2026-0119 (aka GHSA-q2qq-hmj6-3wpp, CVE-2024-8508).

we update hickory-resolver from 0.25.2 to 0.26.1.

this is a significant release that includes many changes to the hickory-resolver public interface. see the release notes in 0.26.0 for a detailed summary of changes to that library since 0.25.2.

see also:

this branch updates the quickcheck library to 1.1.0, now that the linkerd2-proxy-api dependency has been updated to v0.20.0. this removes a dependency on rand@0.8.

rand 0.9 is still in our dependency tree, and is ignored in our cargo deny at the time of writing. open-telemetry/opentelemetry-rust#3536 updates our remaining dependency on rand 0.9, but otherwise we now depend entirely on rand 0.10.

@cratelyn cratelyn self-assigned this May 29, 2026
@cratelyn
cratelyn force-pushed the kate/update-hickory-to-0.26 branch 2 times, most recently from f016653 to 54746e3 Compare May 29, 2026 17:58
Comment thread linkerd/dns/src/lib.rs
@cratelyn cratelyn changed the title kate/update hickory to 0.26 chore(dns): update hickory-resolver from 0.25 to 0.26 May 29, 2026

@zaharidichev zaharidichev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

Comment thread linkerd/dns/src/lib.rs
@cratelyn

cratelyn commented Jun 2, 2026

Copy link
Copy Markdown
Member Author

to get ourselves onto a proper version of rand, we need to update the quickcheck library that we inherit via linkerd2-proxy-api.

we will need to publish a v0.20 release of the proxy api before these changes can be pulled in here.

cratelyn added a commit that referenced this pull request Jun 3, 2026
see:

* https://github.com/linkerd/linkerd2-proxy-api/releases/tag/v0.20.0
* linkerd/linkerd2-proxy-api#562
* linkerd/linkerd2-proxy-api#559
* linkerd/linkerd2-proxy-api#565
* #4537
* #4546
* #4544

this commit updates linkerd2-proxy-api, pulling in the latest release.

aside from a slew of dependency updates, this new version most
importantly includes changes to set the state for forthcoming
load-balancing work.

these new fields are marked with "todo" comments to indicate where
future work in `linkerd-proxy-client-policy` in that vein will introduce
future enum variants, fields, marshalling and validation, etc.

this new version also includes an update to the most recent version of
rand, which will allow us to properly update to the latest version of
hickory-resolver without introducing breakage in our audit job in CI.

Signed-off-by: katelyn martin <kate@buoyant.io>
cratelyn added 4 commits June 4, 2026 10:18
Signed-off-by: katelyn martin <kate@buoyant.io>
Signed-off-by: katelyn martin <kate@buoyant.io>
Signed-off-by: katelyn martin <kate@buoyant.io>
Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn
cratelyn force-pushed the kate/update-hickory-to-0.26 branch from 54746e3 to bd4e227 Compare June 4, 2026 15:33
see open-telemetry/opentelemetry-rust#3536.

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn
cratelyn marked this pull request as ready for review June 4, 2026 15:58
@cratelyn
cratelyn requested a review from a team as a code owner June 4, 2026 15:58
Signed-off-by: katelyn martin <kate@buoyant.io>
`rand@0.9` leaves a pair of duplicate dependencies that we can
acknowledge and skip.

see open-telemetry/opentelemetry-rust#3536.

Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn
cratelyn force-pushed the kate/update-hickory-to-0.26 branch from fe5cb02 to 58685ba Compare June 4, 2026 16:26
Comment thread linkerd/dns/src/lib.rs Outdated
Comment thread linkerd/dns/src/lib.rs
Signed-off-by: katelyn martin <kate@buoyant.io>
@cratelyn
cratelyn enabled auto-merge (squash) June 4, 2026 19:19
@cratelyn
cratelyn merged commit 0bfa870 into main Jun 4, 2026
17 of 18 checks passed
@cratelyn
cratelyn deleted the kate/update-hickory-to-0.26 branch June 4, 2026 19:23
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

Successfully merging this pull request may close these issues.

3 participants