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

GHSA-8G4V-6VGC-MR38

OBOM host probes follow links that local users plant in their home directories

Parche disponible
Descargar PNG JSON
CVSS 3.1
4.4
Media
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L 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
Remediar en la ventana regular de mantenimiento
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 parcial. Hay versiones corregidas disponibles.
Se arregla en el próximo ciclo. Sin estrés.Ponle etiqueta y a la cola. Ordenadito.
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-8G4V-6VGC-MR38 divulgada · CVSS 4.4 (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 root runs `cdxgen -t os` (OBOM) on a host with other users, the probes for unpackaged Ruby gems, Node.js and Ruby runtimes read paths in those users' home directories and follow symbolic links in directories above the files they open. An unprivileged local user can get metadata from directories that only root can read copied into the BOM, learn whether chosen directories exist, or make the scan run for hours or fail.

Details
  • `findGemHomes()` in `lib/ecosystems/gemHostProbe.js`, `collectCandidates()` in `lib/inventory/hostRuntimeProbe.js`, and `findRbConfigFiles()` and `siblingLibraries()` in `lib/inventory/rubyBuildInfo.js` check only the last component of a path and that its real path lies under the scan root, which is `/` on a live host. A link such as `~/.gem/ruby/x/specifications` pointing into a root-only directory is followed, and name, version, summary, authors and homepage of the gemspecs found there are recorded. The rbconfig reader also serves `cdxgen -t rootfs`, where the author of a scanned root filesystem with intact links learns whether chosen directories exist on the scanning machine.
  • `probeHostRubyGems()` passes a gemspec's host path to `parseGemspecData()`, whose helpers `resolveGemVersionConstant()` and `listGemBindirFiles()` in `lib/ecosystems/rubyutils.js` read the version file and list the bin directory beside it with no link, type or size check. A user can thereby get one version-shaped value from any file root can read, and the file names of any directory root can list. Linking the version file to `/dev/zero` or a FIFO makes the scan run out of memory or hang. These helpers also run for `cdxgen -t ruby` on a local project directory that contains such links.
  • `collectCandidates()` follows links named like runtimes (`ruby<N>`) without counting them against its cap, and each one costs minutes of CPU.
Impact

Local information disclosure to unprivileged users who can read the BOM, which is written with the default umask, and denial of service of OBOM scans. The disclosed values are limited to parsed fields of files with specific names and to directory listings and existence; arbitrary file contents are not copied.

Patches

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

First affected release of each issue:

  • linked directories in home directories: 13.6.0 (not in 12.x)
  • files beside gemspecs: 13.3.0 (not in 12.x)
  • runtime-named links: 13.6.0 (not in 12.x)
Workarounds
  • Run OBOM scans with a restrictive umask (for example `umask 077`) and keep the BOM unreadable to other users.
  • Where other users can write their home directories, run OBOM scans in a time-limited job.
Credit

These issues were found by Anthropic's OSS Scanner (scan cdxgen-20261108-009) and reported as ANT-2026-41V9GEL1, ANT-2026-QTTYUNHT, ANT-2026-G2NBRPWW.

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:L
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:L
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
6.4/ 10Medio
Vector 6.4 (fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida
@cdxgen/cdxgen≥ 13.3.0 < 13.8.0
13.3.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-8g4v-6vgc-mr38

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