Skip to main content
CVE Radar
HIGH

CVE-2024-1394

CVE-2024-1394 — Golang-fips/openssl: memory leaks in code encrypting and decrypting rsa payloads

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.

Published Updated Sources: cvelistV5, redhat

Triage

Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.

Exploitation

Unreported

no source claims exploitation

EPSS

2%

chance of exploitation in 30 days

Affects

Red Hat

35 products listed

CVSS base

7.5

HIGH

CISA SSVC assessment

Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.

CISA

Exploitation

None

none · proof-of-concept · active

Automatable

No

can an attacker script all four kill-chain steps

Technical impact

Partial

partial · total control of the vulnerable component

Affected scope

The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.

Vendors (1)

Products (35)

red hat ansible automation platform 2 4 for rhel 8red hat ansible automation platform 2 4 for rhel 9red hat developer toolsred hat enterprise linux 8red hat enterprise linux 9red hat enterprise linux 9 0 update services for sap solutionsred hat enterprise linux 9 2 extended update supportred hat openshift container platform 4 12red hat openshift container platform 4 13red hat openshift container platform 4 14red hat openshift container platform 4 15red hat openstack platform 16 2red hat openstack platform 17 1 for rhel 8red hat openstack platform 17 1 for rhel 9rhodf 4 16 rhel 9nbde tang serveropenshift developer tools and servicesopenshift pipelinesopenshift serverlessred hat ansible automation platform 1 2red hat certification for red hat enterprise linux 8red hat certification program for red hat enterprise linux 9red hat enterprise linux 7red hat openshift container platform 4red hat openshift container storage 4red hat openshift dev spacesred hat openshift gitopsred hat openshift on awsred hat openshift virtualization 4red hat openstack platform 16 1red hat openstack platform 17 1red hat openstack platform 18 0red hat service interconnect 1red hat software collectionsred hat storage 3

Every base score collected

Sources score independently and disagree; each row says who scored it and under which version.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
7.5CVSS 3.1HIGHn/an/acvelistV5

Weakness & attack patterns

  • CWE-401

Detection

Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.

  • Search application, proxy, and WAF logs for requests touching /decrypting, /golang-fips/openssl/openssl/rsa.go#L113.

References

25 on the record

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

  • Red Hatevery CVE for this vendor
  • CWE-401other pages naming this weakness

Not in any source we poll

Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.

  • No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
  • No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
  • No exploit packet captures, log samples, or incident case IDs supplied.