Skip to contentSkip to conversation

new openssl = new OpenVPN release ?

Openvpn-devel Gert Doering 5 participants 8 messages Apr 21, 2020 – Apr 26, 2020 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

Quoted 3 lines · mike tancsa

    Will the sec issue with OpenSSL force a new release of OpenVPN ?

https://www.openssl.org/news/secadv/20200421.txt

This is a question better asked on the openvpn-devel list.

But anyway: normally we do not statically link OpenSSL, so whenever your Linux / BSD distribution updates OpenSSL, it will make sure OpenVPN has the latest patch -> all good.

Now, on *Windows* we ship OpenSSL as part of our package, so if this is an issue that is relevant for OpenVPN (haven't checked yet - some of the security issues in OpenSSL in the past have not affected us because we didn't use that functionality) we'll re-roll the windows installers, bumping from "2.4.9-I601" to "2.4.9-I602". So, no new OpenVPN release, but new Windows installers.

On MacOS, I think Tunnelblick has to bundle OpenSSL, so you'll see an update there as well...

Long story short: we'll look into the advisory, and then see what to do.

gert

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...
#2 lore raw

Hi,

Quoted 4 lines · Gert Doering
Quoted 3 lines · mike tancsa

    Will the sec issue with OpenSSL force a new release of OpenVPN ?

https://www.openssl.org/news/secadv/20200421.txt

So, speaking to myself again :-) - I've looked at the advisory, and it talks about "Server or client applications that call the SSL_check_chain() function".

Which we don't, I just grepped through our source tree.

So, unless I misunderstand something about OpenSSL intricacies, I think we're safe - no new installers needed, and OpenVPN is not in risk.

gert

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...
#3 lore raw

Hi Gert,

Quoted 7 lines · Gert Doering

Hi,

Quoted 4 lines · Gert Doering
Quoted 3 lines · mike tancsa

    Will the sec issue with OpenSSL force a new release of OpenVPN ?

https://www.openssl.org/news/secadv/20200421.txt

Quoted 10 lines

So, speaking to myself again :-) - I've looked at the advisory, and it talks about "Server or client applications that call the SSL_check_chain() function".

Which we don't, I just grepped through our source tree.

So, unless I misunderstand something about OpenSSL intricacies, I think we're safe - no new installers needed, and OpenVPN is not in risk.

the advisory applies only to application that use the SSL_check_chain() function as part of a TLS 1.3 handshake. AFAIK, iIn OpenVPN 2.4 we don't do anything with TLS 1.3 just yet, so this security advisory does not apply to OpenVPN. Also note that this bug appears only in OpenSSL 1.1.1 [d-f] , so anything older is fine as well.

cheers,

JJK

#4 lore raw
Quoted 8 lines
Quoted 8 lines

SSL_check_chain() function".

Which we don't, I just grepped through our source tree.

So, unless I misunderstand something about OpenSSL intricacies, I think we're safe - no new installers needed, and OpenVPN is not in risk.

Quoted 5 lines

the advisory applies only to application that use the SSL_check_chain() function as part of a TLS 1.3 handshake. AFAIK, iIn OpenVPN 2.4 we don't do anything with TLS 1.3 just yet, so this security advisory does not apply to OpenVPN. Also note that this bug appears only in OpenSSL 1.1.1 [d-f] , so anything older is fine as well.

Hu? OpenVPN 2.4 supports TLS 1.3 just fine. We have support for it in tls-version-min and also tls-ciphersuites which is TLS 1.3 specific.

Arne

#7 lore raw
In reply to Gert Doering

Gert Doering <[email protected]...> on Tue, 2020/04/21 20:59:

Quoted 8 lines

Hi,

Quoted 4 lines · Gert Doering
Quoted 3 lines · mike tancsa

    Will the sec issue with OpenSSL force a new release of OpenVPN ?

https://www.openssl.org/news/secadv/20200421.txt

Quoted 8 lines

So, speaking to myself again :-) - I've looked at the advisory, and it talks about "Server or client applications that call the SSL_check_chain() function".

Which we don't, I just grepped through our source tree.

So, unless I misunderstand something about OpenSSL intricacies, I think we're safe - no new installers needed, and OpenVPN is not in risk.

Are you sure that openvpn code does not call any openssl function that calls SSL_check_chain() then? Did not check, but I guess that's possible.

Signature · 3 lines
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
#5 lore raw
In reply to Arne Schwabe

Hi Arne,

Quoted 8 lines · Arne Schwabe
Quoted 8 lines
Quoted 8 lines

SSL_check_chain() function".

Which we don't, I just grepped through our source tree.

So, unless I misunderstand something about OpenSSL intricacies, I think we're safe - no new installers needed, and OpenVPN is not in risk.

Quoted 9 lines
Quoted 5 lines

the advisory applies only to application that use the SSL_check_chain() function as part of a TLS 1.3 handshake. AFAIK, iIn OpenVPN 2.4 we don't do anything with TLS 1.3 just yet, so this security advisory does not apply to OpenVPN. Also note that this bug appears only in OpenSSL 1.1.1 [d-f] , so anything older is fine as well.

Hu? OpenVPN 2.4 supports TLS 1.3 just fine. We have support for it in tls-version-min and also tls-ciphersuites which is TLS 1.3 specific.

what I meant was that OpenVPN 2.4 does not do any *specific* with any of the new features of TLS 1.3, like the new psk callbacks etc. If the control session is negotiated using TLS 1.3 then sure, OpenVPN will use that, but other that OpenVPN does not make use of any of the new features or crypto algorithms that come with OpenSSL 1.1.1 or TLS 1.3 (chacha20 anyone ;) ? )

cheers,

JJK

#8 lore raw
In reply to Christian Hesse

Hi,

Quoted 6 lines · Christian Hesse
Quoted 3 lines

So, speaking to myself again :-) - I've looked at the advisory, and it talks about "Server or client applications that call the SSL_check_chain() function".

Are you sure that openvpn code does not call any openssl function that calls SSL_check_chain() then? Did not check, but I guess that's possible.

This is one of the OpenSSL intricacies I wouldn't know.

OTOH, I would expect the advisory then to be worded as "a TLS 1.3 handshake might crash" not "... applications that call ... SSL_check_chain()", which sounds very specific to me.

gert

Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you 
 feed honest figures into a computer, honest figures come out. Never doubted 
 it myself till I met a computer with a sense of humor."
                             Robert A. Heinlein, The Moon is a Harsh Mistress

Gert Doering - Munich, Germany                             [email protected]...
#6 lore raw
In reply to Jan Just Keijser
Quoted 18 lines · Jan Just Keijser
Quoted 8 lines · Arne Schwabe
Quoted 8 lines
Quoted 8 lines

SSL_check_chain() function".

Which we don't, I just grepped through our source tree.

So, unless I misunderstand something about OpenSSL intricacies, I think we're safe - no new installers needed, and OpenVPN is not in risk.

Quoted 9 lines
Quoted 5 lines

the advisory applies only to application that use the SSL_check_chain() function as part of a TLS 1.3 handshake. AFAIK, iIn OpenVPN 2.4 we don't do anything with TLS 1.3 just yet, so this security advisory does not apply to OpenVPN. Also note that this bug appears only in OpenSSL 1.1.1 [d-f] , so anything older is fine as well.

Hu? OpenVPN 2.4 supports TLS 1.3 just fine. We have support for it in tls-version-min and also tls-ciphersuites which is TLS 1.3 specific.

Quoted 6 lines

what I meant was that OpenVPN 2.4 does not do any *specific* with any of the new features of TLS 1.3, like the new psk callbacks etc. If the control session is negotiated using TLS 1.3 then sure, OpenVPN will use that, but other that OpenVPN does not make use of any of the new features or crypto algorithms that come with OpenSSL 1.1.1 or TLS 1.3 (chacha20 anyone ;) ? )

Arne has been working on some of the TLS 1.3-specific features, such as using CHACHA20-POLY1305 for the control channel:

$ openvpn --show-tls
Available TLS Ciphers, listed in order of preference:

For TLS 1.3 and newer (--tls-ciphersuites):

TLS_AES_256_GCM_SHA384
TLS_CHACHA20_POLY1305_SHA256
TLS_AES_128_GCM_SHA256

For TLS 1.2 and older (--tls-cipher):

TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384

(This is with OpenVPN 2.4.7 from the Ubuntu 20.04 package.)

-Steffan