<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openssl, branch OpenSSL_1_1_1d</title>
<subtitle>TLS/SSL and crypto library.</subtitle>
<id>http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1d</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/openssl/atom?h=OpenSSL_1_1_1d'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/'/>
<updated>2019-09-10T13:13:07Z</updated>
<entry>
<title>Prepare for 1.1.1d release</title>
<updated>2019-09-10T13:13:07Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2019-09-10T13:13:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=894da2fb7ed5d314ee5c2fc9fd2d9b8b74111596'/>
<id>urn:sha1:894da2fb7ed5d314ee5c2fc9fd2d9b8b74111596</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
</content>
</entry>
<entry>
<title>Update copyright year</title>
<updated>2019-09-10T12:56:40Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2019-09-10T12:56:40Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1cb7eff45b4a213f216c779c291d8622f9a84170'/>
<id>urn:sha1:1cb7eff45b4a213f216c779c291d8622f9a84170</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9847)
</content>
</entry>
<entry>
<title>Remove duplicate CHANGES entry</title>
<updated>2019-09-10T11:08:15Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2019-09-10T10:51:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=a95b0815c7d2dc0e03875fa553bb8309a206ab0a'/>
<id>urn:sha1:a95b0815c7d2dc0e03875fa553bb8309a206ab0a</id>
<content type='text'>
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9844)
</content>
</entry>
<entry>
<title>Fix a padding oracle in PKCS7_dataDecode and CMS_decrypt_set1_pkey</title>
<updated>2019-09-10T10:41:20Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2019-08-31T22:16:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=08229ad838c50f644d7e928e2eef147b4308ad64'/>
<id>urn:sha1:08229ad838c50f644d7e928e2eef147b4308ad64</id>
<content type='text'>
An attack is simple, if the first CMS_recipientInfo is valid but the
second CMS_recipientInfo is chosen ciphertext. If the second
recipientInfo decodes to PKCS #1 v1.5 form plaintext, the correct
encryption key will be replaced by garbage, and the message cannot be
decoded, but if the RSA decryption fails, the correct encryption key is
used and the recipient will not notice the attack.

As a work around for this potential attack the length of the decrypted
key must be equal to the cipher default key length, in case the
certifiate is not given and all recipientInfo are tried out.

The old behaviour can be re-enabled in the CMS code by setting the
CMS_DEBUG_DECRYPT flag.

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

(cherry picked from commit 5840ed0cd1e6487d247efbc1a04136a41d7b3a37)
</content>
</entry>
<entry>
<title>Update CHANGES and NEWS for the new release</title>
<updated>2019-09-10T09:51:54Z</updated>
<author>
<name>Matt Caswell</name>
<email>matt@openssl.org</email>
</author>
<published>2019-09-10T09:26:07Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=7ff84d88036237dc36f4c2cf2dc814e4bf611084'/>
<id>urn:sha1:7ff84d88036237dc36f4c2cf2dc814e4bf611084</id>
<content type='text'>
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Richard Levitte &lt;levitte@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9841)
</content>
</entry>
<entry>
<title>Fix a potential crash in rand_unix.c</title>
<updated>2019-09-10T09:03:04Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2019-09-06T19:54:13Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=79f5e2f4b9d9886d1b0da09c2eb3e397bcf82876'/>
<id>urn:sha1:79f5e2f4b9d9886d1b0da09c2eb3e397bcf82876</id>
<content type='text'>
Due to the dynamic allocation that was added to rand_pool_add_begin
this function could now return a null pointer where it was previously
guaranteed to succeed. But the return value of this function does
not need to be checked by design.

Move rand_pool_grow from rand_pool_add_begin to rand_pool_bytes_needed.
Make an allocation error persistent to avoid falling back to less secure
or blocking entropy sources.

Fixes: a6a66e4511ee ("Make rand_pool buffers more dynamic in their sizing.")

Reviewed-by: Matthias St. Pierre &lt;Matthias.St.Pierre@ncp-e.com&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/9687)

(cherry picked from commit fa3eb248e29ca8031e6a14e8a2c6f3cd58b5450e)
</content>
</entry>
<entry>
<title>Fix a strict warnings error in rand_pool_acquire_entropy</title>
<updated>2019-09-10T09:03:04Z</updated>
<author>
<name>Bernd Edlinger</name>
<email>bernd.edlinger@hotmail.de</email>
</author>
<published>2019-08-24T09:38:32Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1d36536457c14c92a2e728e8499260f396bd4657'/>
<id>urn:sha1:1d36536457c14c92a2e728e8499260f396bd4657</id>
<content type='text'>
There was a warning about unused variables in this config:
./config --strict-warnings --with-rand-seed=rdcpu

Reviewed-by: Matthias St. Pierre &lt;Matthias.St.Pierre@ncp-e.com&gt;
Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
(Merged from https://github.com/openssl/openssl/pull/9687)

(cherry picked from commit e301c147a763f67dcc5ba63eb7e2ae40d83a68aa)
</content>
</entry>
<entry>
<title>drbg: fix issue where DRBG_CTR fails if NO_DF is used (2nd attempt)</title>
<updated>2019-09-09T16:09:06Z</updated>
<author>
<name>Dr. Matthias St. Pierre</name>
<email>Matthias.St.Pierre@ncp-e.com</email>
</author>
<published>2019-05-30T16:37:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=63180182ecfe6474fbc50bc4021e558d11414e88'/>
<id>urn:sha1:63180182ecfe6474fbc50bc4021e558d11414e88</id>
<content type='text'>
Since commit 7c226dfc434d a chained DRBG does not add additional
data anymore when reseeding from its parent. The reason is that
the size of the additional data exceeded the allowed size when
no derivation function was used.

This commit provides an alternative fix: instead of adding the
entire DRBG's complete state, we just add the DRBG's address
in memory, thereby providing some distinction between the different
DRBG instances.

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9802)
</content>
</entry>
<entry>
<title>drbg: add fork id to additional data on UNIX systems</title>
<updated>2019-09-09T16:09:06Z</updated>
<author>
<name>Dr. Matthias St. Pierre</name>
<email>Matthias.St.Pierre@ncp-e.com</email>
</author>
<published>2019-05-30T16:52:39Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=5520695c733f7e6577a8b06e5ed3e34aa48df19a'/>
<id>urn:sha1:5520695c733f7e6577a8b06e5ed3e34aa48df19a</id>
<content type='text'>
Provides a little extra fork-safety on UNIX systems, adding to the
fact that all DRBGs reseed automatically when the fork_id changes.

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9802)
</content>
</entry>
<entry>
<title>drbg: ensure fork-safety without using a pthread_atfork handler</title>
<updated>2019-09-09T16:09:06Z</updated>
<author>
<name>Dr. Matthias St. Pierre</name>
<email>Matthias.St.Pierre@ncp-e.com</email>
</author>
<published>2019-05-27T19:03:09Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/openssl/commit/?id=1b0fe00e2704b5e20334a16d3c9099d1ba2ef1be'/>
<id>urn:sha1:1b0fe00e2704b5e20334a16d3c9099d1ba2ef1be</id>
<content type='text'>
When the new OpenSSL CSPRNG was introduced in version 1.1.1,
it was announced in the release notes that it would be fork-safe,
which the old CSPRNG hadn't been.

The fork-safety was implemented using a fork count, which was
incremented by a pthread_atfork handler. Initially, this handler
was enabled by default. Unfortunately, the default behaviour
had to be changed for other reasons in commit b5319bdbd095, so
the new OpenSSL CSPRNG failed to keep its promise.

This commit restores the fork-safety using a different approach.
It replaces the fork count by a fork id, which coincides with
the process id on UNIX-like operating systems and is zero on other
operating systems. It is used to detect when an automatic reseed
after a fork is necessary.

To prevent a future regression, it also adds a test to verify that
the child reseeds after fork.

CVE-2019-1549

Reviewed-by: Paul Dale &lt;paul.dale@oracle.com&gt;
Reviewed-by: Matt Caswell &lt;matt@openssl.org&gt;
(Merged from https://github.com/openssl/openssl/pull/9802)
</content>
</entry>
</feed>
