vulnerability
Rocky Linux: CVE-2024-1394: osbuild-composer (Multiple Advisories)
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
8 | (AV:N/AC:L/Au:N/C:N/I:N/A:C) | Mar 21, 2024 | Mar 28, 2024 | Feb 20, 2025 |
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.
Solution(s)
References
- CVE-2024-1394
- https://attackerkb.com/topics/CVE-2024-1394
- URL-https://errata.rockylinux.org/RLSA-2024:1472
- URL-https://errata.rockylinux.org/RLSA-2024:1502
- URL-https://errata.rockylinux.org/RLSA-2024:1644
- URL-https://errata.rockylinux.org/RLSA-2024:1646
- URL-https://errata.rockylinux.org/RLSA-2024:2562
- URL-https://errata.rockylinux.org/RLSA-2024:2568
- URL-https://errata.rockylinux.org/RLSA-2024:2569
- URL-https://errata.rockylinux.org/RLSA-2024:3265
- URL-https://errata.rockylinux.org/RLSA-2024:4502
- URL-https://errata.rockylinux.org/RLSA-2024:5258
- URL-https://errata.rockylinux.org/RLSA-2024:7262

Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.