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

https://github.com/wouterscm/openssl-lucky13/issues #1

Open
davidalanreid opened this issue Aug 11, 2021 · 0 comments
Open

https://github.com/wouterscm/openssl-lucky13/issues #1

davidalanreid opened this issue Aug 11, 2021 · 0 comments

Comments

@davidalanreid
Copy link

Hello,

I noticed that the version of OpenSSL in this repo is subject to a recent security vulnerability (https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3449). The issue can be resolved by updating to the latest version of OpenSSL or applying the following patch to ssl/statem/extensions.c (the line numbers in the patch might not exactly line up depending on what version of OpenSSL you have):

@@ -1137,8 +1137,9 @@
static int init_sig_algs(SSL *s, unsigned int context)
{
    /* Clear any signature algorithms extension received */
    OPENSSL_free(s->s3->tmp.peer_sigalgs);
    s->s3->tmp.peer_sigalgs = NULL;
+    s->s3->tmp.peer_sigalgslen = 0;

    return 1;
}
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

1 participant