[ 
https://issues.apache.org/jira/browse/HBASE-30605?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Charles Connell updated HBASE-30605:
------------------------------------
    Description: 
The US government recently 
[recommended|https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF]
 that all cryptography users migrate immediately to post-quantum safe 
cryptography. This suggests that there may be a threat to asymmetric 
cryptography that the public is not aware of. Even if this is not true, it 
costs us little to respond to this.

HBase has a feature to use TLS on its connections within the cluster and with 
clients. This is built with netty-tcnative. We bundle netty-tcnative in 
hbase-thirdparty, choosing its boringssl backend. Our current build of 
netty-tcnative+boringssl [does not use any post-quantum-safe key exchange 
groups|https://github.com/google/boringssl/blob/0226f30467f540a3f62ef48d453f93927da199b6/ssl/extensions.cc#L203-L214].
 We can override this in HBase. *We should include X25519MLKEM768 at the 
beginning of our key-exchange group list, because that is the current best 
recommendation to support quantum-safe TLS.*

To note, HBase's other encryption scheme is Kerberos, which does not use 
asymmetric cryptography, and therefore is not vulnerable the same sort of 
attacks.

I'll also note that there are uncommon situations where HBase could be using 
TLS with the JDK crypto provider, instead of netty-tcnative, and this PR does 
not address those situations. A user could provide the JVM arg 
{{-Djdk.tls.namedGroups=X25519MLKEM768,secp384r1,X25519,secp256r1}} to provide 
an equivalent fix.

  was:
The US government recently 
[recommended|https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF]
 that all cryptography users migrate immediately to post-quantum safe 
cryptography. This suggests that there may be a threat to asymmetric 
cryptography that the public is not aware of. Even if this is not true, it 
costs us little to respond to this.

HBase has a feature to use TLS on its connections within the cluster and with 
clients. This is built with netty-tcnative. We bundle netty-tcnative in 
hbase-thirdparty, choosing its boringssl backend. Our current build of 
netty-tcnative+boringssl [does not use any post-quantum-safe key exchange 
groups|https://github.com/google/boringssl/blob/0226f30467f540a3f62ef48d453f93927da199b6/ssl/extensions.cc#L203-L214].
 We can override this in HBase. *We should include X25519MLKEM768 at the 
beginning of our key-exchange group list, because that is the current best 
recommendation to support quantum-safe TLS.*

To note, HBase's other encryption scheme is Kerberos, which does not use 
asymmetric cryptography, and therefore is not vulnerable the same sort of 
attacks.


> Ensure HBase TLS connections use quantum-safe key exchange
> ----------------------------------------------------------
>
>                 Key: HBASE-30605
>                 URL: https://issues.apache.org/jira/browse/HBASE-30605
>             Project: HBase
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 3.0.0, 2.6.7
>            Reporter: Charles Connell
>            Assignee: Charles Connell
>            Priority: Major
>              Labels: pull-request-available
>
> The US government recently 
> [recommended|https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF]
>  that all cryptography users migrate immediately to post-quantum safe 
> cryptography. This suggests that there may be a threat to asymmetric 
> cryptography that the public is not aware of. Even if this is not true, it 
> costs us little to respond to this.
> HBase has a feature to use TLS on its connections within the cluster and with 
> clients. This is built with netty-tcnative. We bundle netty-tcnative in 
> hbase-thirdparty, choosing its boringssl backend. Our current build of 
> netty-tcnative+boringssl [does not use any post-quantum-safe key exchange 
> groups|https://github.com/google/boringssl/blob/0226f30467f540a3f62ef48d453f93927da199b6/ssl/extensions.cc#L203-L214].
>  We can override this in HBase. *We should include X25519MLKEM768 at the 
> beginning of our key-exchange group list, because that is the current best 
> recommendation to support quantum-safe TLS.*
> To note, HBase's other encryption scheme is Kerberos, which does not use 
> asymmetric cryptography, and therefore is not vulnerable the same sort of 
> attacks.
> I'll also note that there are uncommon situations where HBase could be using 
> TLS with the JDK crypto provider, instead of netty-tcnative, and this PR does 
> not address those situations. A user could provide the JVM arg 
> {{-Djdk.tls.namedGroups=X25519MLKEM768,secp384r1,X25519,secp256r1}} to 
> provide an equivalent fix.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to