REDHAT-BUG-2315719: Buffer Overflow

Published Sep 30, 2024
·
Updated

Binaries built with golang-1.21.13-3.el94 and golang-1.21.13-2.module+el8.10.0+22329+6cd5c9c6 may intermittently return a zeroed buffer from (boringHMAC).Sum() in FIPS mode due to an uninitialized buffer length variable in the CGO bindings. This bug occurs randomly based on the stack layout at the time of the function call. It is not vulnerable to eg. buffer overflow attack because the underlying openssl routine checks the bounds of the buffer before writing to it. However, it may be possible to force a false positive match between non-equal hashes when comparing a trusted computed hmac sum to an untrusted input sum if an attacker is able to send a zeroed buffer in place of a pre-computed sum. It is also possible to force a derived key to be all zeros instead of an unpredictable value. This may have follow-on implications for the Go TLS stack.

Affected Software

1 affected component
go golang

Event History

Sep 30, 2024
Data Sourced
via Red Hat·05:59 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2315719?

REDHAT-BUG-2315719 is considered a moderate severity vulnerability as it can lead to insecure handling of cryptographic operations.

2

How do I fix REDHAT-BUG-2315719?

To address REDHAT-BUG-2315719, you should update to the latest version of golang that includes the appropriate patches.

3

What are the potential impacts of REDHAT-BUG-2315719?

The impact of REDHAT-BUG-2315719 includes the risk of returning a zeroed buffer from cryptographic functions, potentially compromising data integrity.

4

Which software versions are affected by REDHAT-BUG-2315719?

REDHAT-BUG-2315719 affects binaries built with golang-1.21.13-3.el9_4 and golang-1.21.13-2.module+el8.10.0+22329+6cd5c9c6.

5

Is REDHAT-BUG-2315719 specific to particular configurations?

Yes, REDHAT-BUG-2315719 occurs intermittently based on the stack layout at the time, particularly in FIPS mode.

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