diff options
author | Filippo Valsorda <filippo@cloudflare.com> | 2015-12-14 02:18:13 +0000 |
---|---|---|
committer | Filippo Valsorda <filippo@cloudflare.com> | 2016-01-21 20:12:17 +0000 |
commit | 4d318be1951d6bbae0eae7aff69a58de353c8337 (patch) | |
tree | 264c7d7fde6b7ce9bf96d20cc5eb9e3bf7ad51b4 /CONTRIBUTING.md | |
parent | 6b45f9aba2dad6e965ab51b4d18f4bb05336eaf1 (diff) |
[update] fix (unexploitable) BB'06 vulnerability in rsa_verify
The rsa_verify code was vulnerable to a BB'06 attack, allowing to forge
signatures for arbitrary messages if and only if the public key exponent is
3. Since the updates key is hardcoded to 65537, there is no risk for
youtube-dl, but I don't want vulnerable code in the wild.
The new function adopts a way safer approach of encoding-and-comparing to
replace the dangerous parsing code.
Diffstat (limited to 'CONTRIBUTING.md')
0 files changed, 0 insertions, 0 deletions