Security Resilience

CVE-2023-4695

Pkp Pkb-Lib ≤ 3.3.0-16

Public PoC
Published
01 September 2023
Modified
21 November 2024
Patch / advisory
CVSS Score v3.1 8.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0072 53th percentile
Risk Priority 61 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2023-4695 is a high-severity Use of Predictable Algorithm in Random Number Generator (CWE-1241) vulnerability in Pkp Pkb-Lib. Its CVSS base score is 8.1 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Data Obfuscation (T1001); ranked in the top 47% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1001 Data Obfuscation Command And Control
Adversaries may obfuscate command and control traffic to make it more difficult to detect.
T1003 OS Credential Dumping Credential Access
Adversaries may attempt to dump credentials to obtain account login and credential material, normally in the form of a hash or a clear text password.
T1003.004 LSA Secrets Credential Access
Adversaries with SYSTEM access to a host may attempt to access Local Security Authority (LSA) secrets, which can contain a variety of different credential materials, such as credentials for service accounts.
T1003.005 Cached Domain Credentials Credential Access
Adversaries may attempt to access cached domain credentials used to allow authentication to occur in the event a domain controller is unavailable.
T1003.006 DCSync Credential Access
Adversaries may attempt to access credentials and other sensitive information by abusing a Windows Domain Controller's application programming interface (API)(Citation: Microsoft DRSR Dec 2017) (Citation: Microsoft GetNCCChanges) (Citati…
T1011 Exfiltration Over Other Network Medium Exfiltration
Adversaries may attempt to exfiltrate data over a different network medium than the command and control channel.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-13079Shared CWE-1241
CVE-2025-32056Shared CWE-1241
CVE-2026-6420Shared CWE-1241
CVE-2023-5889Same vendor: Pkp
CVE-2023-5899Same vendor: Pkp
CVE-2023-5898Same vendor: Pkp
CVE-2026-57869Shared CWE-1241
CVE-2026-26018Shared CWE-1241

Affected Assets

pkp
pkb-lib
≤ 3.3.0-16

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)
  • 5 hardening rules · 2 OS baselines
Validate
Prove the fix (OWASP ASVS)
  • V6.5.3
  • V7.2.3
  • V11.5.1
  • V11.5.2

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 partial match
blocks

Secure SDLC practices directly require cryptographically strong RNGs, preventing predictable algorithms at design time.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

blocks

A.8.24 requires selecting and correctly applying approved cryptographic algorithms for protection needs; it does not address or stop the use of a weak/predictable PRNG algorithm that produces the CWE-1241 defect

blocks

Secure SDLC requires vetted RNG components, reducing likelihood of predictable algorithms.

blocks

Secure engineering principles include selection of cryptographically strong random number generators.

prevents

Secure coding standards prohibit use of weak or predictable RNG functions.

finds

Security testing can detect predictable RNG behavior before deployment.

Hardening callouts derived

Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over `controls_xwalks` (higher-evidence rows only; rows rated `none` are excluded).

Oracle Linux 8 (2 rules)
  • V-248600 OL 8 must have the packages required to use the hardware random number generator entropy gatherer service. blocks CWE-1241
  • V-248563 The OL 8 SSH server must be configured to use strong entropy. blocks CWE-1241
RHEL 8 (2 rules)
  • V-230253 RHEL 8 must ensure the SSH server uses strong entropy. blocks CWE-1241
  • V-244527 RHEL 8 must have the packages required to use the hardware random number generator entropy gatherer service. blocks CWE-1241

References