llamaCVEVulnerability Intelligence
/
Advisory · GitHub · Go · github.com/daptin/daptin

GHSA-XJP4-FM2R-36G9

Public statistics endpoints expose host and cluster operational metadata

Parche disponible
Descargar PNG JSON
CVSS 3.1
5.3
Media
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N Fuente: GitHub
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche el mismo día de la divulgación
Exposición17 dDesde la divulgación, 2 nov 2026, 6:29 a. m.
Detección16 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche v0.13.45
Monitoreo
Detectada +1
2 nov 26
18 nov 26
20 nov 26
2 nov 26
6 nov 26
11 nov 26
15 nov 26
20 nov 26
FechaFaseEventoDetalle
Divulgación Publicada GHSA-XJP4-FM2R-36G9 divulgada · CVSS 5.3 (GitHub)
Remediación Parche v0.13.45 github.com/daptin/daptin · 0 d desde divulgación
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

Daptin's main `GET /statistics` endpoint returns operational diagnostics without authentication. The route is registered before authentication middleware, and the statistics handler does not independently authorize access. This was previously documented as a public diagnostics endpoint; access is now being restricted to administrators as a hardening measure.

Verified exposure and impact

An unauthenticated request can return hostname, OS/kernel information, uptime, CPU and memory information, disk I/O counters, load averages, process count and details for the first ten enumerated processes, database connection-pool statistics, and web request metrics. Some host information, including logged-in users and sensors, is platform-dependent.

Olric data includes member and coordinator addresses, the local membership view, aggregate DMap and PubSub counters, and partition counts. It does not include DMap names or an inventory of authentication/token caches, cached values, or complete routing tables. Disk partitions and mount points are not returned. Process command lines are not returned, and the listed processes are not ranked by resource usage.

This is operational information disclosure that can assist reconnaissance. The investigation did not demonstrate an authorization bypass, credential disclosure, direct access to Olric, code execution, or an integrity/availability impact. Security of the underlying services must not depend on hiding these details.

Subsites also expose web metrics at `/statistics` and `/stats`; these are covered by the same new administrator access requirement.

Reproduction

On an affected installation, without credentials:

curl -i http://<daptin-host>:6336/statistics

The main endpoint returns HTTP 200 and a JSON object containing `cpu`, `db`, `disk`, `host`, `load`, `memory`, `olric`, `process`, and `web`. Hostname is at `host.info.hostname`; cluster member addresses are at `olric.members` when Olric statistics are available. An invalid bearer token also returned HTTP 200 in the isolated reproduction.

The source path was verified in releases `v0.13.36` and `v0.13.44`, and in the pre-fix checkout at `b769feef`.

Remediation status

The fix is committed as `78ea8b17b49811d93415833ce1aff40a0d82dde5` https://github.com/daptin/daptin/commit/78ea8b17b49811d93415833ce1aff40a0d82dde5 (Restrict statistics endpoints to administrators) and released in v0.13.45 https://github.com/daptin/daptin/releases/tag/v0.13.45. Upgrade to v0.13.45 or later.

The fix registers the main endpoint after authentication and resource initialization, then uses current persisted usergroup membership and Daptin's operation-specific permission check to require administrator access before collecting metrics. Subsite `/statistics` and `/stats` use the same authorization guard. Guests and non-administrators receive HTTP 403 without statistics. Removing administrator membership revokes access on the next request, without waiting for session-cache expiry. Authorization transactions end before metrics collection.

Until a patched build is deployed, operators can restrict the metrics routes at their ingress or private network boundary. Use `/ping` for liveness and `/ready` for readiness checks.

Validation

The full ordinary Go test suite, focused statistics/subsite tests, `go vet ./server`, shell syntax validation for the updated monitoring caller, and `git diff --check` passed. The isolated HTTP E2E test passed for anonymous and invalid-token denial, ordinary-user denial, administrator access, membership grant, and immediate revocation through normal Daptin relationship resources. Monitoring documentation and existing statistics consumers were updated to send administrator bearer tokens.

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:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:L
AltoBajoNinguno
IntegridadI:N
AltoBajoNinguno
DisponibilidadA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
github.com/daptin/daptin< 0.13.45
0.13.45
v0.13.57
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
gogithub.com/daptin/daptin
Corregida v0.13.45 0 d v0.13.57 no afectada
Versiones corregidas0.13.45v0.13.45
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/daptin/daptin/security/advisories/GHSA-xjp4-fm2r-36g9

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