GHSA-P926-6HJP-W9JW
Hardcoded secret key in standalone telemetry server
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-P926-6HJP-W9JW divulgada | |
| Remediación | Parche 1.4.0 | openssl_encrypt · 21 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Severity: CRITICAL
Summary
The standalone telemetry server's `config.py` at line 34 defaults the `secret_key` to the literal string `"CHANGE_THIS_IN_PRODUCTION"`. This key is used for API key hashing.
Affected Code
# server/telemetry-server/app/config.py:34
secret_key: str = os.getenv("SECRET_KEY", "CHANGE_THIS_IN_PRODUCTION")Impact
If deployed with the default, an attacker who knows this default value could potentially predict or forge API key hashes, compromising the telemetry API authentication.
Recommended Fix
- Remove the default value and require explicit configuration
- Fail at startup if `SECRET_KEY` is not set or matches the known default
- Generate a random secret on first startup and persist it
---
Resolution
Resolved in commit `9982c0c` on branch `feature/v1.4.x-development`.
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypiopenssl_encrypt |
Corregida | 1.4.0 | 21 d | 1.4.9 no afectada |
1.4.0Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-p926-6hjp-w9jwLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
