CVE-2024-1394
A memory leak flaw was found in Golang in the RSA …
A memory leak flaw was found in Golang in the RSA encrypting/decrypting code, which might lead to a resource exhaustion vulnerability using attacker-controlled inputs. The memory leak happens in github.com/golang-fips/openssl/openssl/rsa.go#L113. The objects leaked are pkey and ctx. That function uses named return parameters to free pkey and ctx if there is an error initializing the context or setting the different properties. All return statements related to error cases follow the "return nil, nil, fail(...)" pattern, meaning that pkey and ctx will be nil inside the deferred function that should free them.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- access.redhat.com/errata/RHSA-2024:1462
- access.redhat.com/errata/RHSA-2024:1468
- access.redhat.com/errata/RHSA-2024:1472
- access.redhat.com/errata/RHSA-2024:1501
- access.redhat.com/errata/RHSA-2024:1502
- access.redhat.com/errata/RHSA-2024:1561
- access.redhat.com/errata/RHSA-2024:1563
- access.redhat.com/errata/RHSA-2024:1566
- nvd.nist.gov/vuln/detail/CVE-2024-1394
- cve.org/CVERecord?id=CVE-2024-1394
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.