llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · @cdxgen/cdxgen

GHSA-V75X-HMMX-GM3M

C/C++ scans run a git filter from the scanned tree's own .git/config

Parche disponible
Descargar PNG JSON
CVSS 3.1
7.5
Alta
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche1 versión13.8.0
Exposición8 dDesde la divulgación, 12 nov 2026, 9:51 p. m.
Detección5 dDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir de cerca
Monitorear y programar la remediación
Estimación de Llama con el árbol SSVC de CISA a partir de vector CVSS 3.1 y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Las PoC crecen rápido, como las llamas bebé.Agéndala y deja de pensar en ella.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
13 nov 26
18 nov 26
21 nov 26
13 nov 26
15 nov 26
17 nov 26
19 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-V75X-HMMX-GM3M divulgada · CVSS 7.5 (GitHub)
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

When a scanned C/C++ tree has a `.gitmodules` file, cdxgen runs `git submodule status --recursive` in it. If the tree arrives with its own `.git` directory, git can run a clean filter defined in that tree's `.git/config` through `sh -c`, so the tree's author gets a command run as the user running cdxgen. This works with `-t c`, `-t cpp`, untyped scans and the server's `/sbom?path=`, also with `--no-install-deps` and `--lifecycle pre-build`.

Details

`collectSubmoduleStatus()` in `lib/ecosystems/cmakeResolver.js` runs the command through `execGitCommand()`. Its `-c` overrides fix `core.fsmonitor`, `core.hooksPath` and the gpg programs, but they cannot fix `filter.<name>.clean`, because the repository chooses the filter name in `.gitattributes`. Unlike cdxgen's other git calls, `submodule status` compares work-tree files with the index, and for entries git considers racily clean it hashes the file again through the configured clean filter.

The tree controls every condition, but three things narrow the attack:

  • The tree must keep its `.git` directory and file modification times, for example an unpacked tar or zip archive, a `cp -a` copy or a restored cache. Repositories obtained with `git clone` are not affected, so the server's git URL option and cdx-audit are not affected.
  • The tree must be owned by the scanning user or be covered by `safe.directory`.
  • Secure mode skips the call, and `--dry-run` blocks it.
Impact

Command execution with the privileges and environment of the cdxgen process for whoever supplies a source archive or directory that cdxgen scans, in configurations where nothing else in the scan runs project code.

Patches

Fixed in `@cdxgen/cdxgen` 13.8.0. Versions 13.0.0 through 13.7.0 of `@cdxgen/cdxgen` are affected. The 12.x line, published as `@cyclonedx/cdxgen`, does not contain the affected code.

Workarounds
  • Use `CDXGEN_SECURE_MODE=true`.
  • Remove the `.git` directory from untrusted archives before scanning, or scan a fresh `git clone` instead of an unpacked tree.
Credit

This issue was found by Anthropic's OSS Scanner (scan cdxgen-20261108-009) and reported as ANT-2026-9YVEQ257.

References
  • https://github.com/cdxgen/cdxgen/blob/master/SECURITY.md
  • https://github.com/cdxgen/cdxgen/blob/master/docs/THREAT_MODEL.md
  • Fixed in: https://github.com/cdxgen/cdxgen/pull/4787
Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · GitHub
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:H
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
5.9/ 10Medio
Vector 5.9 (moderada) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
@cdxgen/cdxgen≥ 13.0.0 < 13.8.0
13.0.0
13.8.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@cdxgen/cdxgen
Corregida 13.8.0 — —
Versiones corregidas13.8.0
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://github.com/cdxgen/cdxgen/security/advisories/GHSA-v75x-hmmx-gm3m

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.