AZL-110327

See a problem?
Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-110327.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-110327
Upstream
Published
2024-03-21T13:00:08Z
Modified
2026-10-27T05:33:59Z
Summary
CVE-2024-1394 affecting package buildah 1.43.1-3
Details

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.

References

Affected packages

Azure Linux:3 / buildah

Package

Name
buildah
Purl
pkg:rpm/azure-linux/buildah

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
1.43.1-3

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-110327.json"