« Volver al listado

CVE-2025-22867

Estado: AplazadaAlta (7.5)—

On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the @executable_path, @loader_path, or @rpath special values in a "#cgo LDFLAGS" directive. This issue only affected go1.24rc2.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

🎯 Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Vulnerabilidad en cadena de suministro: módulo Go malicioso con directiva CGO LDFLAGS manipulada ejecuta código arbitrario durante la compilación en sistemas Darwin.

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

🛡️ Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

⚠ Inferidas por IA a partir de la descripción — NVD aún no ha analizado esta CVE; no son CPE verificados.

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2025-22867",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2025-22867",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "yes"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2025-02-06T20:06:49.179700Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 7.5,
          "attackVector": "NETWORK",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "NONE",
          "confidentialityImpact": "NONE"
        },
        "impactScore": 3.6,
        "exploitabilityScore": 3.9
      }
    ]
  },
  "affected": [
    {
      "source": "security@golang.org",
      "affectedData": [
        {
          "vendor": "Go toolchain",
          "product": "cmd/go",
          "versions": [
            {
              "status": "affected",
              "version": "1.24.0-rc.2",
              "lessThan": "1.24.0-rc.3",
              "versionType": "semver"
            }
          ],
          "platforms": [
            "darwin"
          ],
          "packageName": "cmd/go",
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2025-02-06T18:15:32.543",
  "references": [
    {
      "url": "https://go.dev/cl/646996",
      "source": "security@golang.org"
    },
    {
      "url": "https://go.dev/issue/71476",
      "source": "security@golang.org"
    },
    {
      "url": "https://groups.google.com/g/golang-dev/c/TYzikTgHK6Y",
      "source": "security@golang.org"
    },
    {
      "url": "https://pkg.go.dev/vuln/GO-2025-3428",
      "source": "security@golang.org"
    }
  ],
  "vulnStatus": "Deferred",
  "descriptions": [
    {
      "lang": "en",
      "value": "On Darwin, building a Go module which contains CGO can trigger arbitrary code execution when using the Apple version of ld, due to usage of the @executable_path, @loader_path, or @rpath special values in a \"#cgo LDFLAGS\" directive. This issue only affected go1.24rc2."
    },
    {
      "lang": "es",
      "value": "En Darwin, la creación de un módulo Go que contiene CGO puede desencadenar la ejecución de código arbitrario al utilizar la versión Apple de ld, debido al uso de los valores especiales @executable_path, @loader_path o @rpath en una directiva \"#cgo LDFLAGS\". Este problema solo afectó a go1.24rc2."
    }
  ],
  "lastModified": "2026-06-17T08:50:39.083",
  "sourceIdentifier": "security@golang.org"
}