CVE-2024-40635
Public on
Last Modified:
Description
A flaw was found in containerd package. 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 issue could cause unexpected behavior for environments that require containers to run as a non-root user.
Statement
For Red Hat OpenShift GitOps and OpenShift Container Platform deployments, image sources are controlled through OpenShift's Image configuration and RBAC policies. Administrators can restrict image imports to trusted registries using allowedRegistriesForImport and registrySources configuration.In typical GitOps deployments, application images are pulled from pre-approved registries configured by platform administrators.
Mitigation
To mitigate this vulnerability, ensure that only trusted images are used and that only trusted users have permissions to import images.
To implement the recommended controls in OpenShift:
1. Restrict allowed registries at the cluster level by configuring image.config.openshift.io/cluster with allowedRegistriesForImport and registrySources.allowedRegistries.
2. To find out who can pull/import container images into OpenShift for that namespace Based on RBAC permissions: `oc adm policy who-can create imagestreamimports -n <namespace>`
3. Enforce image signature verification using sigstore or cluster image signature policies.
4. For GitOps deployments, use Gatekeeper/OPA policies to enforce that ArgoCD Applications reference only approved registries.
Additional information
- This content is not included.Bugzilla 2353043: containerd: containerd has an integer overflow in User ID handling
- Content from cwe.mitre.org is not included.CWE-190: Integer Overflow or Wraparound
Affected Packages and Issued Red Hat Security Errata
Unless explicitly stated as not affected, all previous versions of packages in any minor update stream of a product listed here should be assumed vulnerable, although may not have been subject to full analysis.
| Products / Services | Components | State | Errata |
|---|---|---|---|
| Assisted Installer for Red Hat OpenShift Container Platform 2 | rhai-tech-preview/assisted-installer-agent-rhel8 | Fix deferred | |
| Deployment Validation Operator | deployment-validation-operator-container | Fix deferred | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/logging-loki-rhel9 | Fix deferred | |
| Migration Toolkit for Virtualization | migration-toolkit-virtualization/mtv-validation-rhel9 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-service-8-rhel8 | Fix deferred | |
| Multicluster Engine for Kubernetes | multicluster-engine/assisted-service-9-rhel9 | Fix deferred | |
| Network Observability Operator | network-observability/network-observability-cli-rhel9 | Fix deferred | |
| OpenShift Developer Tools and Services | jenkins-agent-base-container | Fix deferred | |
| OpenShift Developer Tools and Services | ocp-tools-4/jenkins-agent-base-rhel8 | Fix deferred | |
| OpenShift Lightspeed | openshift-lightspeed-tech-preview/lightspeed-service-api-rhel9 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1-func-utils-rhel8-container | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/client-kn-rhel8 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/kn-client-cli-artifacts-rhel8 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/kn-client-kn-rhel8 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/kn-plugin-func-func-util-rhel8 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/serverless-ingress-rhel8 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/serverless-kn-operator-rhel8 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/serverless-must-gather-rhel8 | Fix deferred | |
| OpenShift Serverless | openshift-serverless-1/serverless-openshift-kn-rhel8-operator | Fix deferred | |
| OpenShift Service Mesh 3 | openshift-istio-operator-container | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | multicloud-integrations-container | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multicluster-operators-channel-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/multicluster-operators-subscription-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Management for Kubernetes 2 | rhacm2/prometheus-rhel9 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-central-db-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-main-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-rhel8-operator | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-roxctl-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-scanner-v4-db-rhel8 | Fix deferred | |
| Red Hat Advanced Cluster Security 4 | advanced-cluster-security/rhacs-scanner-v4-rhel8 | Fix deferred | |
| Red Hat Developer Hub | rhdh-orchestrator-dev-preview-beta/controller-rhel9-operator | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-api-server-v2-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-driver-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-launcher-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-persistenceagent-v2-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ml-pipelines-scheduledworkflow-v2-rhel8 | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-model-controller-rhel8 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | kata-containers | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | openshift4/ose-operator-framework-tools-rhel9 | Fix deferred | |
| Red Hat OpenShift Container Platform 4 | stargz-snapshotter | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Fix deferred | |
| Red Hat OpenShift Virtualization 4 | container-native-virtualization/multus-dynamic-networks-rhel9 | Fix deferred | |
| Red Hat Openshift Data Foundation 4.22 | odf4/cephcsi-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/cephcsi-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/devicefinder-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/mcg-core-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/mcg-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/ocs-client-console-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/ocs-client-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/ocs-metrics-exporter-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/ocs-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-blackbox-exporter-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-cli-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-cloudnative-pg-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-console-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-cosi-sidecar-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-csi-addons-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-csi-addons-sidecar-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-drbd-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-external-snapshotter-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-external-snapshotter-sidecar-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-multicluster-console-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-multicluster-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-must-gather-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odf-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odr-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odr-volsync-plugin-mover-rhel9 | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/odr-volsync-plugin-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Data Foundation 4.22 | odf4/rook-ceph-rhel9-operator | Fixed | RHSA-2026:37387 |
| Red Hat Openshift Sandboxed Containers | openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9 | Fix deferred | |
| Red Hat Openshift Sandboxed Containers | openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9 | Fix deferred | |
| Red Hat Openshift Sandboxed Containers | openshift-sandboxed-containers/osc-podvm-payload-rhel9 | Fix deferred | |
| Red Hat Openshift Sandboxed Containers | osc-podvm-builder-container | Fix deferred | |
| Red Hat Trusted Application Pipeline | rhtap-cli/rhtap-cli-rhel9 | Fix deferred | |
| cert-manager Operator for Red Hat OpenShift | cert-manager/jetstack-cert-manager-acmesolver-rhel9 | Fix deferred | |
| cert-manager Operator for Red Hat OpenShift | jetstack-cert-manager-container | Fix deferred |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| CVSS v3 Base Score | 4.6 | 7.8 | N/A |
| Attack Vector | Local | Local | N/A |
| Attack Complexity | Low | Low | N/A |
| Privileges Required | High | Low | N/A |
| User Interaction | None | None | N/A |
| Scope | Changed | Unchanged | N/A |
| Confidentiality Impact | Low | High | N/A |
| Integrity Impact | Low | High | N/A |
| Availability Impact | None | High | N/A |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:N
NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.