CVE-2020-14370: Information disclosure in podman
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31132%
CWE
Published
4/24/2024
Updated
4/24/2024
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| github.com/containers/podman/v2 | go | < 2.0.5 | 2.0.5 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from using a mutable global variable (DefaultEnvVariables) for environment defaults. The pre-patch code in spec.go's createConfigToOCISpec directly used this variable and passed it to env.Join, which modified the shared map. The combination of: 1) using a shared map reference for default environment variables, and 2) Join's mutation of this map without isolation, caused cross-container leaks. The patch fixed this by replacing the variable with a function (DefaultEnvVariables()) that returns new map instances, eliminating shared state.