CVE-2021-39165
JSON

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 packageVersionsReported by
fiveai Cachet<= 2.3.18CVE List
cachethq/cachet (Packagist)up to 2.3.18GitHub Advisory Database
chachethq cachetbefore 2.3.18NVD

All scores

GitHub_M8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
GitHub8.1high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV: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

Sources

SourceRecordLicence
CVE ListCVE-2021-39165 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-79mg-4w23-4fqc changed 2026-07-08CC-BY-4.0
NVDCVE-2021-39165 changed 2026-06-17Public domain