<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl/crypto, branch openssl-3.3.2</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=openssl-3.3.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2024-09-03T12:44:27Z</updated>
<entry>
<title>Copyright year updates</title>
<updated>2024-09-03T12:44:27Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-09-03T12:44:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=96782e34ddf480d10ca4781cabbd2a7d4feff982'/>
<id>urn:sha1:96782e34ddf480d10ca4781cabbd2a7d4feff982</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Release: yes
</content>
</entry>
<entry>
<title>Avoid type errors in EAI-related name check logic.</title>
<updated>2024-09-03T10:03:11Z</updated>
<author>
<name>Viktor Dukhovni</name>
<email>viktor@openssl.org</email>
</author>
<published>2024-06-19T11:04:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7dfcee2cd2a63b2c64b9b4b0850be64cb695b0a0'/>
<id>urn:sha1:7dfcee2cd2a63b2c64b9b4b0850be64cb695b0a0</id>
<content type='text'>
The incorrectly typed data is read only, used in a compare operation, so
neither remote code execution, nor memory content disclosure were possible.
However, applications performing certificate name checks were vulnerable to
denial of service.

The GENERAL_TYPE data type is a union, and we must take care to access the
correct member, based on `gen-&gt;type`, not all the member fields have the same
structure, and a segfault is possible if the wrong member field is read.

The code in question was lightly refactored with the intent to make it more
obviously correct.

Fixes CVE-2024-6119

Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(cherry picked from commit 0890cd13d40fbc98f655f3974f466769caa83680)
</content>
</entry>
<entry>
<title>Fix error handling in OBJ_add_object</title>
<updated>2024-08-21T13:53:57Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2023-10-27T10:05:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=2e966354956e55825331f61bf98976ffe60e4332'/>
<id>urn:sha1:2e966354956e55825331f61bf98976ffe60e4332</id>
<content type='text'>
This fixes the possible memory leak in OBJ_add_object
when a pre-existing object is replaced by a new one,
with identical NID, OID, and/or short/long name.
We do not try to delete any orphans, but only mark
them as type == -1, because the previously returned
pointers from OBJ_nid2obj/OBJ_nid2sn/OBJ_nid2ln
may be cached by applications and can thus not
be cleaned up before the application terminates.

Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/22534)

(cherry picked from commit e91384d5b0547bf797e2b44976f142d146c4e650)
</content>
</entry>
<entry>
<title>Explicitly include e_os.h for close()</title>
<updated>2024-08-19T10:27:54Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-08-19T09:34:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=ca21a1deb1348195244ac5a6b4508f43e8a2b418'/>
<id>urn:sha1:ca21a1deb1348195244ac5a6b4508f43e8a2b418</id>
<content type='text'>
Reviewed-by: Tim Hudson &lt;tjh@openssl.org&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25229)

(cherry picked from commit 0c0c6954bf4fa7b56e21e1393c9e5e5d55c1b2d6)
</content>
</entry>
<entry>
<title>RAND_write_file(): Avoid potential file descriptor leak</title>
<updated>2024-08-19T09:13:09Z</updated>
<author>
<name>shridhar kalavagunta</name>
<email>coolshrid@hotmail.com</email>
</author>
<published>2024-08-04T21:04:53Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=8372c752b8365e7f82041d9ad0e63adcf584b8b7'/>
<id>urn:sha1:8372c752b8365e7f82041d9ad0e63adcf584b8b7</id>
<content type='text'>
If fdopen() call fails we need to close the fd. Also
return early as this is most likely some fatal error.

Fixes #25064

Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/25081)

(cherry picked from commit d6048344398ec75996fee1f465abb61ab3aa377e)
</content>
</entry>
<entry>
<title>Fix unpredictible refcount handling of d2i functions</title>
<updated>2024-08-16T08:08:59Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2024-03-12T19:04:56Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=9577662515c30910595882e6c15d7d8295fb485c'/>
<id>urn:sha1:9577662515c30910595882e6c15d7d8295fb485c</id>
<content type='text'>
The passed in reference of a ref-counted object
is free'd by d2i functions in the error handling.
However if it is not the last reference, the
in/out reference variable is not set to null here.
This makes it impossible for the caller to handle
the error correctly, because there are numerous
cases where the passed in reference is free'd
and set to null, while in other cases, where the
passed in reference is not free'd, the reference
is left untouched.

Therefore the passed in reference must be set
to NULL even when it was not the last reference.

Fixes #23713

Reviewed-by: Dmitry Belyavskiy &lt;beldmit@gmail.com&gt;
Reviewed-by: Tomas Mraz &lt;tomas@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/22809)

(cherry picked from commit d550d2aae531c6fa2e10b1a30d2acdf373663889)
</content>
</entry>
<entry>
<title>do_print_ex(): Avoid possible integer overflow</title>
<updated>2024-08-07T17:39:39Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-08-05T12:49:52Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=57230b0d75eb5bdfdfaacea879011304d757b1c4'/>
<id>urn:sha1:57230b0d75eb5bdfdfaacea879011304d757b1c4</id>
<content type='text'>
Fixes Coverity 1604657
Fixes openssl/project#780

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Tom Cosgrove &lt;tom.cosgrove@arm.com&gt;
Reviewed-by: Paul Dale &lt;ppzgs1@gmail.com&gt;
(Merged from https://github.com/openssl/openssl/pull/25084)

(cherry picked from commit e3e15e77f14cc4026fd456cc8a2b5190b2d79610)
</content>
</entry>
<entry>
<title>evp_get_digest/cipherbyname_ex(): Try to fetch if not found</title>
<updated>2024-07-31T09:26:10Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-07-19T10:24:47Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=422a13fb5cd668cdc4c1eebce8accb4d25c3d8eb'/>
<id>urn:sha1:422a13fb5cd668cdc4c1eebce8accb4d25c3d8eb</id>
<content type='text'>
If the name is not found in namemap, we need
to try to fetch the algorithm and query the
namemap again.

Fixes #19338

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Paul Dale &lt;ppzgs1@gmail.com&gt;
Reviewed-by: Shane Lontis &lt;shane.lontis@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/24940)

(cherry picked from commit 454ca902c7d5337249172b38efc5e4fd63f483f4)
</content>
</entry>
<entry>
<title>i2d_name_canon(): Check overflow in len accumulation</title>
<updated>2024-07-21T16:28:22Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2024-07-18T08:48:58Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=dd744cd19b3ff2bdc320c8a77b5c32ff543eaeb3'/>
<id>urn:sha1:dd744cd19b3ff2bdc320c8a77b5c32ff543eaeb3</id>
<content type='text'>
Fixes Coverity 1604638

Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Paul Dale &lt;ppzgs1@gmail.com&gt;
Reviewed-by: Todd Short &lt;todd.short@me.com&gt;
(Merged from https://github.com/openssl/openssl/pull/24930)

(cherry picked from commit b2deefb9d262f0f9eae6964006df98c2fa24daac)
</content>
</entry>
<entry>
<title>Allow short reads in asn1_d2i_read_bio()</title>
<updated>2024-07-18T17:06:20Z</updated>
<author>
<name>Tomas Mraz</name>
<email>tomas@openssl.org</email>
</author>
<published>2023-10-24T07:27:23Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=03781fb4b396061b81836e7e4f0be4122d316994'/>
<id>urn:sha1:03781fb4b396061b81836e7e4f0be4122d316994</id>
<content type='text'>
Reviewed-by: Neil Horman &lt;nhorman@openssl.org&gt;
Reviewed-by: Paul Dale &lt;ppzgs1@gmail.com&gt;
(Merged from https://github.com/openssl/openssl/pull/22486)

(cherry picked from commit 202ef97edc8e5561a6f4db28919d5ed73d411cc7)
</content>
</entry>
</feed>
