GPU VulnDB

Database/Kernel, userspace & hypervisor

golang-fips OpenSSL RSA bindings: memory leak on error paths allows remote resource exhaustion

CVSS 7.5CVE-2024-1394Kernel, userspace & hypervisorcurated

Impact

Go programs built against the Red Hat golang-fips OpenSSL bindings leak the pkey and ctx objects on every RSA init/property-setting error, because the deferred cleanup runs with nil named return values. An attacker who can feed malformed inputs to an RSA encrypt/decrypt path drives unbounded memory growth until the process is OOM-killed. This matters wherever a FIPS-mode Go service terminates TLS or handles RSA on datacenter infrastructure - registries, control-plane APIs, operators - all of which are Go and all of which ship on RHEL in many fleets. Availability only; no confidentiality or integrity impact.

Who can reach it

Remote, unauthenticated, for any service that processes attacker-supplied input through the affected RSA code path in a FIPS-enabled Go build.

What to do

Apply the Red Hat errata for the affected golang / go-toolset packages and rebuild or re-pull any Go binaries built against them, then restart the services. Patching the base image is not enough: statically linked Go services must be rebuilt or replaced with vendor-rebuilt images.

References

Related entries

All Kernel, userspace & hypervisor entries

This entry is curated: imported from vendor advisories with machine assistance, not yet individually verified. Confirm against your vendor's advisory before acting, and report anything wrong.