CVE-2024-3056: Github.com/containers/podman/v5 Denial of Service Vulnerability
HIGHCVE-2024-3056 is a HIGH (CVSS 4.8) denial of service vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Github.com/containers/podman/v5 libraries in the Go ecosystem. The issue involves podman vulnerable to memory-based denial of service. Remediation is available in the latest vendor maintenance releases.
CVE-2024-3056 at a Glance
Security Impact
CVSS: 4.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H).
How to Fix CVE-2024-3056
To remediate this vulnerability, upgrade all affected Github.com/containers/podman/v5 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/containers/podman/v5 to Latest secure release
Upgrade github.com/containers/podman to Latest secure release
Upgrade github.com/containers/podman/v2 to Latest secure release
Upgrade github.com/containers/podman/v3 to Latest secure release
Upgrade github.com/containers/podman/v4 to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/containers/podman/v5
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-3056, inspect your project dependencies for Github.com/containers/podman/v5:
inspect dependencies for github.com/containers/podman/v5
Analyze the terminal output to locate any version of Github.com/containers/podman/v5 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. In Github.com/containers/podman/v5, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-3056 Affected Github.com/containers/podman/v5 Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/containers/podman/v5
|
Go |
≤ 5.2.0
|
|
|
github.com/containers/podman
|
Go |
≤ 5.2.0
|
|
|
github.com/containers/podman/v2
|
Go |
≤ 5.2.0
|
|
|
github.com/containers/podman/v3
|
Go |
≤ 5.2.0
|
|
|
github.com/containers/podman/v4
|
Go |
≤ 5.2.0
|
|
References
Frequently Asked Questions
What is CVE-2024-3056?
Which Github.com/containers/podman/v5 versions are affected?
What version fixes CVE-2024-3056?
Is github.com/containers/podman/v5 affected?
Is github.com/containers/podman affected?
What is the CVSS score of CVE-2024-3056?
What CWE is associated with CVE-2024-3056?
How can I check Go dependencies for CVE-2024-3056?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rpcc-p8xm-rc6p",
"modified" : "2024-12-27T18:30:26Z",
"published" : "2024-08-02T21:31:34Z",
"aliases" : [ "CVE-2024-3056" ],
"summary" : "Podman vulnerable to memory-based denial of service",
"details" : "A flaw was found in Podman. This issue may allow an attacker to create a specially crafted container that, when configured to share the same IPC with at least one other container, can create a large number of IPC resources in /dev/shm. The malicious container will continue to exhaust resources until it is out-of-memory (OOM) killed. While the malicious container's cgroup will be removed, the IPC resources it created are not. Those resources are tied to the IPC namespace that will not be removed until all containers using it are stopped, and one non-malicious container is holding the namespace open. The malicious container is restarted, either automatically or by attacker control, repeating the process and increasing the amount of memory consumed. With a container configured to restart always, such as `podman run --restart=always`, this can result in a memory-based denial of service of the system.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman/v5"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "5.2.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-3056"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2024-3056"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2270717"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/containers/podman"
}, {
"type" : "WEB",
"url" : "https://pkg.go.dev/vuln/GO-2024-3042"
}, {
"type" : "WEB",
"url" : "https://security.netapp.com/advisory/ntap-20241227-0002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-08-05T17:28:04Z",
"nvd_published_at" : "2024-08-02T21:16:30Z"
}
}