1. Accueil
  2. Vulnérabilités
  3. CVE-2023-29404

CVE-2023-29404

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get"…

Publiée le 8 juin 2023 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Moyen 62/100

Résumé

The go command may execute arbitrary code at build time when using cgo. This may occur when running "go get" on a malicious module, or when running any other command which builds untrusted code. This is can by triggered by linker flags, specified via a "#cgo LDFLAGS" directive. The arguments for a number of flags which are non-optional are incorrectly considered optional, allowing disallowed flags to be smuggled through the LDFLAGS sanitization. This affects usage of both the gc and gccgo compilers.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Fedoraproject (1 ligne(s))
Fedoraproject
ProduitVersionsCorrigé dansSource
Fedora 38 — NVD
Golang (2 ligne(s))
Golang
ProduitVersionsCorrigé dansSource
Go avant 1.19.10 (exclu) — NVD
Go de 1.20.0 (inclus) à 1.20.5 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-94 · Injection de commandes / code

Comment sont obtenues et calculées ces données