Skip to content

Commit

Permalink
update openssl to 3.3.1
Browse files Browse the repository at this point in the history
with
### Changes between 3.3.0 and 3.3.1 [4 Jun 2024]

 * Fixed potential use after free after SSL_free_buffers() is called.

   The SSL_free_buffers function is used to free the internal OpenSSL
   buffer used when processing an incoming record from the network.
   The call is only expected to succeed if the buffer is not currently
   in use. However, two scenarios have been identified where the buffer
   is freed even when still in use.

   The first scenario occurs where a record header has been received
   from the network and processed by OpenSSL, but the full record body
   has not yet arrived. In this case calling SSL_free_buffers will succeed
   even though a record has only been partially processed and the buffer
   is still in use.

   The second scenario occurs where a full record containing application
   data has been received and processed by OpenSSL but the application has
   only read part of this data. Again a call to SSL_free_buffers will
   succeed even though the buffer is still in use.

   ([CVE-2024-4741])

   *Matt Caswell*

 * Fixed an issue where checking excessively long DSA keys or parameters may
   be very slow.

   Applications that use the functions EVP_PKEY_param_check() or
   EVP_PKEY_public_check() to check a DSA public key or DSA parameters may
   experience long delays. Where the key or parameters that are being checked
   have been obtained from an untrusted source this may lead to a Denial of
   Service.

   To resolve this issue DSA keys larger than OPENSSL_DSA_MAX_MODULUS_BITS
   will now fail the check immediately with a DSA_R_MODULUS_TOO_LARGE error
   reason.

   ([CVE-2024-4603])

   *Tomáš Mráz*
  • Loading branch information
chcg committed Jun 4, 2024
1 parent 89242f4 commit d68f173
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_3rdparty.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
DEPENDENT_LIBS = {
'openssl': {
'order' : 1,
'url' : 'https://www.openssl.org/source/openssl-3.3.0.tar.gz',
'sha1' : '34cdf3259fd2af83ab2c92ac30c56f79ff5ad59e',
'url' : 'https://www.openssl.org/source/openssl-3.3.1.tar.gz',
'sha1' : '7376042523b6a229bc697b8099c2af369d1a84c6',
'target': {
'mingw-w64': {
'result': ['include/openssl/ssl.h', 'lib/libssl.a', 'lib/libcrypto.a'],
Expand Down

0 comments on commit d68f173

Please sign in to comment.