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
Affected Vendors & Products
References
History
Thu, 26 Sep 2024 23:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Mon, 23 Sep 2024 05:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Wed, 21 Aug 2024 04:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Tue, 13 Aug 2024 16:30:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Wed, 07 Aug 2024 16:45:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
MITRE
Status: PUBLISHED
Assigner: redhat
Published: 2024-03-21T12:16:38.790Z
Updated: 2024-11-13T23:21:38.990Z
Reserved: 2024-02-09T06:02:35.056Z
Link: CVE-2024-1394
Vulnrichment
Updated: 2024-08-01T18:40:20.583Z
NVD
Status : Awaiting Analysis
Published: 2024-03-21T13:00:08.037
Modified: 2024-09-26T23:15:02.303
Link: CVE-2024-1394
Redhat