ZoeS17/CCG_Bot

[RUSTSEC-2023-0052] webpki: CPU denial of service in certificate path building

Closed this issue · 1 comments

ZoeS17 commented

Warning

Blocking on robotty/twitch-irc-rs#192


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.

rustls-webpki is a fork of this crate which contains a fix for this issue
and is actively maintained.

Additional potentially relevant IDs

GHSA ID: GHSA-8qv2-5vq6-g2g7
CVE: CVE-2018-16875

ZoeS17 commented

Fix available upstream for twitch-irc-rs in version 5.0.1 and it appears was already fixed in serenity version 0.11.6.