Memory Leak Affecting podman-plugins package, versions <4:4.9.4-12.0.2.module+el8.10.0+90384+a78ffc57


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
1.53% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ORACLE8-PODMANPLUGINS-7687389
  • published15 Aug 2024
  • disclosed21 Mar 2024

Introduced: 21 Mar 2024

CVE-2024-1394  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Oracle:8 podman-plugins to version 4:4.9.4-12.0.2.module+el8.10.0+90384+a78ffc57 or higher.
This issue was patched in ELSA-2024-5258.

NVD Description

Note: Versions mentioned in the description apply only to the upstream podman-plugins package and not the podman-plugins package as distributed by Oracle. See How to fix? for Oracle:8 relevant fixed versions and status.

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

CVSS Base Scores

version 3.1