# CVE-2023-30797: Lemur subject to insecure random generation

Source: https://junglewise.ai/threats/cve-2023-30797-lemur-subject-to-insecure-random-generation  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-04-19  
License: CC BY 4.0 with a link back

CVE-2023-30797 · Severity: low · CVSS 3.1 · Published 2023-04-19

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.

Technologies: [lemur (PyPI)](https://junglewise.ai/threats/technologies/lemur). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2023-30797 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-30797 being exploited in the wild.

**How severe is CVE-2023-30797?** Low severity, with a CVSS score of 3.1, published 19 April 2023.

**Which products and versions are affected?** lemur (PyPI) ECOSYSTEM:introduced=0,fixed=1.3.2, GIT:introduced=0,fixed=666d853212174ee7f4e6f8b3b4b389ede1872238|ECOSYSTEM:introduced=0,fixed=1.3.2.

**Is there a fix for CVE-2023-30797?** Yes. lemur (PyPI): upgrade to 1.3.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-30797?** Check whether you run lemur (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- lemur (PyPI): upgrade to 1.3.2 or later

  ```sh
  pip install "lemur>=1.3.2"
  ```


## Affected products

- lemur (PyPI) ECOSYSTEM:introduced=0,fixed=1.3.2, GIT:introduced=0,fixed=666d853212174ee7f4e6f8b3b4b389ede1872238|ECOSYSTEM:introduced=0,fixed=1.3.2

## Identifiers

- CVE-2023-30797
- GHSA-5fqv-mpj8-h7gm
- PYSEC-2023-20

## Related threats

- [Netflix Lemur arbitrary certificate revocation via duplicate upload](https://junglewise.ai/threats/cve-2026-71417-netflix-lemur-arbitrary-certificate-revocation-via-duplicate)
- [Netflix Lemur missing authorization check on POST /certificates/<id>/export](https://junglewise.ai/threats/cve-2026-71322-netflix-lemur-missing-authorization-check-on-post-certificates-id)
- [Netflix Lemur sub-CA creation authorization bypass](https://junglewise.ai/threats/cve-2026-71317-netflix-lemur-sub-ca-creation-authorization-bypass)
- [Netflix Lemur unchecked replaces authorization bypass](https://junglewise.ai/threats/cve-2026-71308-netflix-lemur-unchecked-replaces-authorization-bypass)
- [Netflix Lemur destinations API authorization bypass](https://junglewise.ai/threats/cve-2026-71307-netflix-lemur-destinations-api-authorization-bypass)
