Skip to content

x/vulndb: potential Go vuln in github.com/containerd/containerd: CVE-2024-40635 #3531

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
GoVulnBot opened this issue Mar 17, 2025 · 1 comment

Comments

@GoVulnBot
Copy link

Advisory CVE-2024-40635 references a vulnerability in the following Go modules:

Module
github.com/containerd/containerd

Description:
containerd is an open-source container runtime. A bug was found in containerd prior to versions 1.6.38, 1.7.27, and 2.0.4 where containers launched with a User set as a UID:GID larger than the maximum 32-bit signed integer can cause an overflow condition where the container ultimately runs as root (UID 0). This could cause unexpected behavior for environments that require containers to run as a non-root user. This bug has been fixed in containerd 1.6.38, 1.7.27, and 2.04. As a workaround, ensure that only trusted images are used and that only trusted users have permissions to import images.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/containerd/containerd
      vulnerable_at: 1.7.27
summary: CVE-2024-40635 in github.com/containerd/containerd
cves:
    - CVE-2024-40635
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-40635
    - fix: https://github.com/containerd/containerd/commit/05044ec0a9a75232cad458027ca83437aae3f4da
    - fix: https://github.com/containerd/containerd/commit/1a43cb6a1035441f9aca8f5666a9b3ef9e70ab20
    - fix: https://github.com/containerd/containerd/commit/cf158e884cfe4812a6c371b59e4ea9bc4c46e51a
    - web: https://github.com/containerd/containerd/security/advisories/GHSA-265r-hfxg-fhmg
source:
    id: CVE-2024-40635
    created: 2025-03-17T23:01:10.648117188Z
review_status: UNREVIEWED

@thatnealpatel
Copy link
Member

Duplicate of #3528

@thatnealpatel thatnealpatel marked this as a duplicate of #3528 Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants