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

RUSTSEC-2023-0052: webpki: CPU denial of service in certificate path building #41

Open
w3irdrobot opened this issue Sep 18, 2023 · 2 comments

Comments

@w3irdrobot
Copy link

I'm using tonic_lnd in a project of mine and was notified that there is a security issue in an upstream dependency of this project. I looked into it a bit myself but was having a difficult time understanding which version to use since it seems the webpki project has been forked? I just wanted to bring this to your attention. Perhaps you can figure out the correct version to update to.

webpki: CPU denial of service in certificate path building

Details
Package webpki
Version 0.21.4
Date 2023-08-22
Patched versions >=0.22.1

When this crate is given a pathological certificate chain to validate, it will
spend CPU time exponential with the number of candidate certificates at each
step of path building.

Both TLS clients and TLS servers that accept client certificate are affected.

This was previously reported in
<briansmith/webpki#69> and re-reported recently
by Luke Malinowski.

See advisory page for additional details.

@Kixunil
Copy link
Owner

Kixunil commented Oct 13, 2023

Thanks for heads up, unfortunately we're blocked by upstream but at least the vulnerability is not very serious.

@w3irdrobot
Copy link
Author

no worries. just putting it here so it's known.

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