CVE-2024-28834: Gnutls: vulnerable to minerva side-channel information leak

Published Mar 12, 2024
·
Updated

A flaw was found in GnuTLS. The Minerva attack is a cryptographic vulnerability that exploits deterministic behavior in systems like GnuTLS, leading to side-channel leaks. In specific scenarios, such as when using the GNUTLSPRIVKEYFLAGREPRODUCIBLE flag, it can result in a noticeable step in nonce size from 513 to 512 bits, exposing a potential timing side-channel.

Other sources

Embargoed issue reported upstream:

---

My team and I have tested GnuTLS and we found that it is vulnerable to the Minerva attack. GnuTLS on its own is not vulnerable but when we are using the deterministic code we can see a step from 513 K-bit-size to 512 K-bit-size.

The test scenario is that we are signing random messages using the gnutlsprivkeysigndata2 API function using "GNUTLSPRIVKEYFLAGREPRODUCIBLE" flag. Then using the private key, we extract the K value from the signatures. After that, based on the bit size of the extracted nonce we compare full-sized nonces to smaller ones and use the statistical tests to compare the signature times.

For testing, we used gnutls-3.7.6-23.el9.x8664 and gnutls-devel-3.7.6-23.el9.x8664

In these results, we can clearly see that there is a "step" from nonce size of 513 bits to nonce size of 512 bits. The size of this side channel is around 34 ns. The sample tested has 43,190,069 observations.

Reference: https://minerva.crocs.fi.muni.cz

Red Hat

GnuTLS could allow a remote authenticated attacker to obtain sensitive information, caused by a flaw in the ECDSA code. By utilize Minerva attack techniques, an attacker could exploit this vulnerability to obtain private key information, and use this information to launch further attacks against the affected system.

IBM

Gnutls: vulnerable to minerva side-channel information leak

Microsoft

Affected Software

11 affected componentsFixes available
ubuntu/gnutls28<3.6.13-2ubuntu1.11
3.6.13-2ubuntu1.11
ubuntu/gnutls28<3.7.3-4ubuntu1.5
3.7.3-4ubuntu1.5
ubuntu/gnutls28<3.8.1-4ubuntu1.3
3.8.1-4ubuntu1.3
ubuntu/gnutls28<3.8.3-1.1ubuntu3.1
3.8.3-1.1ubuntu3.1
debian/gnutls28<=3.7.1-5+deb11u4, <=3.7.1-5+deb11u3, <=3.7.9-2+deb12u2
3.6.7-4+deb10u83.6.7-4+deb10u123.8.5-4
F5 Traffix SDC=5.2.0, =5.1.0
redhat/gnutls<3.8.4
3.8.4
IBM QRadar Network Packet Capture<=7.5.0 - 7.5.0 Update Package 7
Microsoft azl3 gnutls 3.8.3-2
Microsoft azl3 gnutls 3.8.3-4
Microsoft cbl2 gnutls 3.7.11-1

Event History

Mar 12, 2024
Data Sourced
via Red Hat·06:30 PM
DescriptionSeverityAffected Software
Mar 21, 2024
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·01:29 PM
Data Sourced
via MITRE·01:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
May 31, 2024
Data Sourced
via Launchpad·12:57 PM
Description
Jul 23, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Sep 12, 2024
Advisory Published
via F5·04:05 PM
Nov 9, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
Affected Software
Updated
via Microsoft·08:00 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-28834?

CVE-2024-28834 has been classified as a significant cryptographic vulnerability due to its potential for side-channel attacks.

2

How do I fix CVE-2024-28834?

To fix CVE-2024-28834, upgrade to GnuTLS versions 3.6.13-2ubuntu1.11 or later for Ubuntu, or to appropriate versions provided by other distributions like Debian and Red Hat.

3

What systems are affected by CVE-2024-28834?

CVE-2024-28834 affects various GnuTLS implementations across different platforms, including specific versions on Ubuntu, Debian, and Red Hat.

4

What are the consequences of CVE-2024-28834 if exploited?

If exploited, CVE-2024-28834 can lead to information leakage through side-channel attacks, potentially compromising sensitive data.

5

Is there a workaround for CVE-2024-28834?

Currently, the best approach for CVE-2024-28834 is to update to the latest GnuTLS versions, as no specific workarounds are recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203