Advisory

GHSA-79mg-4w23-4fqc

Also known as: CVE-2021-39165

Summary

Unauthenticated SQL Injection in Cachet

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-08-30 16:12 UTC
Modified
2026-07-08 06:28 UTC

Affected packages and fixes

cachethq/cachet

Packagist · All systems

Affected

  • introduced 0, last affected 2.3.18 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences