CVE-2024-29903

Cosign provides code signing and transparency for containers and binaries. Prior to version 2.2.4, maliciously-crafted software artifacts can cause denial of service of the machine running Cosign thereby impacting all services on the machine. The root cause is that Cosign creates slices based on the number of signatures, manifests or attestations in untrusted artifacts. As such, the untrusted artifact can control the amount of memory that Cosign allocates. The exact issue is Cosign allocates excessive memory on the lines that creates a slice of the same length as the manifests. Version 2.2.4 contains a patch for the vulnerability.
Configurations

No configuration.

History

21 Nov 2024, 09:08

Type Values Removed Values Added
References () https://github.com/sigstore/cosign/blob/14795db16417579fac0c00c11e166868d7976b61/pkg/cosign/verify.go#L948-L955 - () https://github.com/sigstore/cosign/blob/14795db16417579fac0c00c11e166868d7976b61/pkg/cosign/verify.go#L948-L955 -
References () https://github.com/sigstore/cosign/blob/286a98a4a99c1b2f32f84b0d560e324100312280/pkg/oci/remote/signatures.go#L56-L70 - () https://github.com/sigstore/cosign/blob/286a98a4a99c1b2f32f84b0d560e324100312280/pkg/oci/remote/signatures.go#L56-L70 -
References () https://github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629e - () https://github.com/sigstore/cosign/commit/629f5f8fa672973503edde75f84dcd984637629e -
References () https://github.com/sigstore/cosign/releases/tag/v2.2.4 - () https://github.com/sigstore/cosign/releases/tag/v2.2.4 -
References () https://github.com/sigstore/cosign/security/advisories/GHSA-95pr-fxf5-86gv - () https://github.com/sigstore/cosign/security/advisories/GHSA-95pr-fxf5-86gv -
Summary
  • (es) Cosign proporciona firma de código y transparencia para contenedores y binarios. Antes de la versión 2.2.4, los artefactos de software creados con fines malintencionados podían provocar la denegación de servicio de la máquina que ejecuta Cosign, lo que afectaba a todos los servicios de la máquina. La causa principal es que Cosign crea sectores basados en la cantidad de firmas, manifiestos o certificaciones en artefactos que no son de confianza. Como tal, el artefacto que no es de confianza puede controlar la cantidad de memoria que asigna Cosign. El problema exacto es que Cosign asigna memoria excesiva en las líneas, lo que crea un segmento de la misma longitud que los manifiestos. La versión 2.2.4 contiene un parche para la vulnerabilidad.

10 Apr 2024, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-04-10 23:15

Updated : 2024-11-21 09:08


NVD link : CVE-2024-29903

Mitre link : CVE-2024-29903

CVE.ORG link : CVE-2024-29903


JSON object : View

Products Affected

No product.

CWE
CWE-770

Allocation of Resources Without Limits or Throttling