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

OpenSSL: Update to version 1.1.1j #2206

Merged
merged 1 commit into from Mar 23, 2021

Conversation

EchterAgo
Copy link

This has an important fix:

  • Fixed the X509_issuer_and_serial_hash() function. It attempts to
    create a unique hash value based on the issuer and serial number data
    contained within an X509 certificate. However it was failing to
    correctly handle any errors that may occur while parsing the issuer
    field (which might occur if the issuer field is maliciously
    constructed). This may subsequently result in a NULL pointer deref and
    a crash leading to a potential denial of service attack.
    ([CVE-2021-23841])

There are more security fixes, but they do not affect us.

This has an important fix:

* Fixed the X509_issuer_and_serial_hash() function. It attempts to
  create a unique hash value based on the issuer and serial number data
  contained within an X509 certificate. However it was failing to
  correctly handle any errors that may occur while parsing the issuer
  field (which might occur if the issuer field is maliciously
  constructed). This may subsequently result in a NULL pointer deref and
  a crash leading to a potential denial of service attack.
  ([CVE-2021-23841])

There are more security fixes, but they do not affect us.
@EchterAgo
Copy link
Author

Note that we still have the vulnerable OpenSSL version in the Windows build because Python bundles its own version. Python 3.8.8 released in February is still on version 1.1.1i.

@EchterAgo
Copy link
Author

Tested on Windows and Linux

@EchterAgo
Copy link
Author

@cculianu
Copy link
Collaborator

Jesus openssl is just a constant grab-bag of poor coding practices. Like.. since the beginning of time it was this way. Scary stuff.

This is why I stopped coding in C. Stuff like this. It's just too easy to write unsafe code. C++ FTW.

@cculianu cculianu merged commit b55e8fc into Electron-Cash:master Mar 23, 2021
@EchterAgo EchterAgo deleted the openssl_1_1_1j branch March 23, 2021 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants