8.1high
Unauthenticated SQL Injection
- Severity
- 8.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 8.17% (higher than 94% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-79mg-4w23-4fqc
Description
Cachet is an open source status page. With Cachet prior to and including 2.3.18, there is a SQL injection which is in the `SearchableTrait#scopeSearch()`. Attackers without authentication can utilize this vulnerability to exfiltrate sensitive data from the database such as administrator's password and session. The original repository of Cachet <https://github.com/CachetHQ/Cachet> is not active, the stable version 2.3.18 and it's developing 2.4 branch is affected.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| fiveai Cachet | <= 2.3.18 | CVE List |
| cachethq/cachet (Packagist) | up to 2.3.18 | GitHub Advisory Database |
| chachethq cachet | before 2.3.18 | NVD |
All scores
| GitHub_M | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
Cachet is an open source status page. With Cachet prior to and including 2.3.18, there is a SQL injection which is in the `SearchableTrait#scopeSearch()`. Attackers without authentication can utilize this vulnerability to exfiltrate sensitive data from the database such as administrator's password and session. The original repository of Cachet <https://github.com/CachetHQ/Cachet> is not active, the stable version 2.3.18 and it's developing 2.4 branch is affected.
GitHub Advisory Database
Impact
In Cachet versions through 2.3.18, there is a SQL injection which is in the SearchableTrait#scopeSearch(). Attackers without authentication can utilize this vulnerability to exfiltrate sensitive data from the database such as administrator's password and session.
Patches
The original repository of https://github.com/CachetHQ/Cachet is not active, the stable version 2.3.18 and it's developing 2.4 branch is affected.
Update to version 2.5 or later in the https://github.com/fiveai/Cachet fork to fix this vulnerability.
NVD (es)
Cachet es una página de estado de código abierto. Con Cachet versiones anteriores a 2.3.18 incluyéndola, se presenta una inyección SQL que se encuentra en la función "SearchableTrait#scopeSearch()". Unos atacantes sin autenticación pueden utilizar esta vulnerabilidad para exfiltrar datos confidenciales de la base de datos, como la contraseña y la sesión del administrador. El repositorio original de Cachet (https://github.com/CachetHQ/Cachet) no está activo, la versión estable 2.3.18 y su rama 2.4 en desarrollo están afectadas.
References
| https://github.com/fiveai/Cachet/security/advisories/GHSA-79mg-4w23-4fqc | third-party-advisory, web | |
| https://github.com/fiveai/Cachet/commit/27bca8280419966ba80c6fa283d985ddffa84bb6 | patch, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-39165 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39165 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-79mg-4w23-4fqc changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-39165 changed 2026-06-17 | Public domain |