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

GHSA-4JM8-5WCQ-V6H6

Invalid error handling, missing return statement

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:29 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-4JM8-5WCQ-V6H6 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
There are two instances of a missing return statement inside an if branch that handles an error from a downstream method.
The first issue is in the UpdateTransportOption function, where failed parsing of the Proxy option prints an error, but does not terminate execution of the UpdateTransportOption function.

func UpdateTransportOption(transport *http.Transport, optionYaml []byte) error { [skipped]
       if len(opt.Proxy) > 0 {
             proxy, err := url.Parse(opt.Proxy)
             if err != nil {
                    fmt.Printf("proxy parse error: %s\n", err)
             }
             transport.Proxy = http.ProxyURL(proxy)
       }

The second issue is in the GetV1Preheat method, where failed parsing of the rawID argument does not result in termination of the method execution. Instead, the id variable will be assigned either the zero or max_uint value.

func (s *service) GetV1Preheat(ctx context.Context, rawID string)
(*types.GetV1PreheatResponse, error) {
       id, err := strconv.ParseUint(rawID, 10, 32)
       if err != nil {
             logger.Errorf("preheat convert error", err)
       }
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-4jm8-5wcq-v6h6

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