Miggo Logo

CVE-2024-3056: Podman vulnerable to memory-based denial of service

4.8

CVSS Score
3.1

Basic Information

EPSS Score
0.46079%
Published
8/2/2024
Updated
12/27/2024
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/containers/podman/v5go<= 5.2.0
github.com/containers/podmango<= 5.2.0
github.com/containers/podman/v2go<= 5.2.0
github.com/containers/podman/v3go<= 5.2.0
github.com/containers/podman/v4go<= 5.2.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper IPC resource management in shared namespaces during container lifecycle events. Key functions involved in cleanup (cleanup), removeContainer and restart logic (restartWithPolicy) likely fail to detach or release IPC resources tied to namespaces held by other containers. This allows malicious containers to repeatedly exhaust memory via /dev/shm. The confidence is medium due to the absence of explicit patch details, but the functions align with described behavior in vulnerability reports and Red Hat bugzilla discussions.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

* *l*w w*s *oun* in Po*m*n. T*is issu* m*y *llow *n *tt**k*r to *r**t* * sp**i*lly *r**t** *ont*in*r t**t, w**n *on*i*ur** to s**r* t** s*m* IP* wit* *t l**st on* ot**r *ont*in*r, **n *r**t* * l*r** num**r o* IP* r*sour**s in /**v/s*m. T** m*li*ious

Reasoning

T** vuln*r**ility st*ms *rom improp*r IP* r*sour** m*n***m*nt in s**r** n*m*sp***s *urin* *ont*in*r li***y*l* *v*nts. K*y *un*tions involv** in *l**nup (`*l**nup`), r*mov**ont*in*r *n* r*st*rt lo*i* (`r*st*rtWit*Poli*y`) lik*ly **il to **t*** or r*l*