[GH-ISSUE #522] Security vulnerability in 'untrusted' crate which trust-dns uses #217

Closed
opened 2026-03-07 22:50:53 +03:00 by kerem · 6 comments
Owner

Originally created by @cswindle on GitHub (Jul 4, 2018).
Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/522

When running cargo audit against a crate which uses trust-dns it reports there is a security vulnerability in the version of 'untrusted' create which trust-dns uses:

ID: RUSTSEC-2018-0001
Crate: untrusted
Version: 0.3.2
Date: 2018-06-21
URL: https://github.com/briansmith/untrusted/pull/20
Title: An integer underflow could lead to panic
Solution: upgrade to: >= 0.6.2

Could you upgrade to 0.6.2 of 'untrusted' so that cargo audit does not flag a failure?

Originally created by @cswindle on GitHub (Jul 4, 2018). Original GitHub issue: https://github.com/hickory-dns/hickory-dns/issues/522 When running cargo audit against a crate which uses trust-dns it reports there is a security vulnerability in the version of 'untrusted' create which trust-dns uses: ``` ID: RUSTSEC-2018-0001 Crate: untrusted Version: 0.3.2 Date: 2018-06-21 URL: https://github.com/briansmith/untrusted/pull/20 Title: An integer underflow could lead to panic Solution: upgrade to: >= 0.6.2 ``` Could you upgrade to 0.6.2 of 'untrusted' so that cargo audit does not flag a failure?
Author
Owner

@bluejekyll commented on GitHub (Jul 4, 2018):

Thank you for the report. I’ll try and do this ASAP.

<!-- gh-comment-id:402553485 --> @bluejekyll commented on GitHub (Jul 4, 2018): Thank you for the report. I’ll try and do this ASAP.
Author
Owner

@bluejekyll commented on GitHub (Jul 4, 2018):

@cswindle can you give me the features you're enabling for trust-dns? I'm guessing it's either dnssec-ring or dns-over-rustls...

As of now, the underlying *ring* library is still in alpha: https://crates.io/crates/ring, 0.13 has the upgraded 0.6.1, but I've been hesitant to upgrade until 0.13 stabalizes.

@briansmith, any guidance here?

<!-- gh-comment-id:402569651 --> @bluejekyll commented on GitHub (Jul 4, 2018): @cswindle can you give me the features you're enabling for trust-dns? I'm guessing it's either `dnssec-ring` or `dns-over-rustls`... As of now, the underlying \*ring\* library is still in alpha: https://crates.io/crates/ring, 0.13 has the upgraded 0.6.1, but I've been hesitant to upgrade until 0.13 stabalizes. @briansmith, any guidance here?
Author
Owner

@briansmith commented on GitHub (Jul 5, 2018):

I would use 0.13-alpha over 0.12 any day, myself. It means everybody using Trust-DNS and using ring for anything would need to upgrade to 0.13-alpha too.

<!-- gh-comment-id:402846380 --> @briansmith commented on GitHub (Jul 5, 2018): I would use 0.13-alpha over 0.12 any day, myself. It means everybody using Trust-DNS and using *ring* for anything would need to upgrade to 0.13-alpha too.
Author
Owner

@bluejekyll commented on GitHub (Jul 6, 2018):

Ok, I'll work on getting this in: #327

@cswindle do you need this in 0.9 or in master?

<!-- gh-comment-id:403144065 --> @bluejekyll commented on GitHub (Jul 6, 2018): Ok, I'll work on getting this in: #327 @cswindle do you need this in 0.9 or in master?
Author
Owner

@bluejekyll commented on GitHub (Jul 8, 2018):

I’m going to close this as it’s resolved in master. If we need this before the next release, it can be backported to 0.9

<!-- gh-comment-id:403305296 --> @bluejekyll commented on GitHub (Jul 8, 2018): I’m going to close this as it’s resolved in master. If we need this before the next release, it can be backported to 0.9
Author
Owner

@cswindle commented on GitHub (Jul 9, 2018):

I am happy for it to just be in master.

<!-- gh-comment-id:403411438 --> @cswindle commented on GitHub (Jul 9, 2018): I am happy for it to just be in master.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hickory-dns#217
No description provided.