llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/dragonflyoss/dragonfly

GHSA-9C53-M9F9-FR93

gRPC requests are weakly validated

Texto original en inglés · Ver en español

Sin parche publicado
Descargar PNG JSON
CVSS
—
low
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
ParcheSin parcheEl fabricante no ha publicado corrección
Exposición429 dDesde la divulgación, 17 sept 2025, 3:25 a. m.
Detección427 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Monitoreo
Detectada +1
17 sept 25
18 nov 26
21 nov 26
17 sept 25
2 ene 26
20 abr 26
5 ago 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-9C53-M9F9-FR93 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés

### Impact
The gRPC requests are weakly validated, and some requests’ fields are not validated at all.

For example, the ImportTaskRequest’s url_meta field is not validated and may be missing from a request . Sending requests to the ImportTask endpoint triggers the code shown in figure 14.3. The highlighted call to the logger accesses the req.UrlMeta.Tag variable, causing a nil dereference panic (because the req.UrlMeta variable is nil).

s.Keep()
peerID := idgen.PeerIDV1(s.peerHost.Ip)
taskID := idgen.TaskIDV1(req.Url, req.UrlMeta)
log := logger.With("function", "ImportTask", "URL", req.Url, "Tag", req.UrlMeta.Tag,
"taskID", taskID, "file", req.Path)

Another example of weak validation can be observed in the definition of the UrlMeta request. The digest field of the request should contain a prefix followed by an either MD5 or SHA256 hex-encoded hash. While prefix and hex-encoding is validated, length of the hash is not. The length is validated only during the parsing.

// UrlMeta describes url meta info.
message UrlMeta {
  // Digest checks integrity of url content, for example md5:xxx or sha256:yyy.
  string digest = 1 [(validate.rules).string = {pattern:
"^(md5)|(sha256):[A-Fa-f0-9]+$", ignore_empty:true}];
Patches
  • Dragonfy v2.1.0 and above.
Workarounds

There are no effective workarounds, beyond upgrading.

References

A third party security audit was performed by Trail of Bits, you can see the full report https://github.com/dragonflyoss/dragonfly/blob/main/docs/security/dragonfly-comprehensive-report-2023.pdf.

If you have any questions or comments about this advisory, please email us at [dragonfly-maintainers@googlegroups.com](mailto:dragonfly-maintainers@googlegroups.com).

Versiones

Rangos afectados

Afectada Corregida Última
github.com/dragonflyoss/dragonfly< 2.1.0
v0.4.1
2.1.0
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/dragonflyoss/dragonfly
Sin parche — — v0.4.1 afectada
Versiones corregidas2.1.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/dragonflyoss/dragonfly/security/advisories/GHSA-9c53-m9f9-fr93

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