CVE-2024-1394
Last modified
CVE-2024-1394 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 1.53% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-1394?
How severe is CVE-2024-1394?
How do I fix CVE-2024-1394?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-13929Servlet injection vulnerabilities in ASPECT allow remote cod…7.5
- CVE-2024-1393The Elementor Addon Elements plugin for WordPress is vulnera…5.4
- CVE-2024-13930An Unchecked Loop Condition in ASPECT provides an attacker t…5.9
- CVE-2024-13931Relative Path Traversal vulnerabilities in ASPECT allow acce…7.5
- CVE-2024-13933The FoodBakery | Delivery Restaurant Directory WordPress The…8.8
- CVE-2024-13939String::Compare::ConstantTime for Perl through 0.321 is vuln…7.5
- CVE-2024-13940The Ninja Forms Webhooks plugin for WordPress is vulnerable …5.5
- CVE-2024-13941A vulnerability was found in ouch-org ouch up to 0.3.1. It h…5.3
- CVE-2024-13943Tesla Model S Iris Modem QCMAP_ConnectionManager Improper In…7.8
- CVE-2024-13944Link Following Local Privilege Escalation Vulnerability in N…7.8
- CVE-2024-13945Stored Absolute Path Traversal vulnerabilities in ASPECT cou…8.4
- CVE-2024-13946DLL's are not digitally signed when loaded in ASPECT's confi…7.1
Are you affected by CVE-2024-1394?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
