CWE-337 Predictable Seed in a PRNG: Time and Process ID Are Not Secrets
Seeding a generator from the clock or process ID shrinks the search space to a handful of guesses. CWE-337 explained, including the Debian OpenSSL case.
Deep dives, practical guides, and incident analyses from engineers who build Safeguard. No fluff, no vendor FUD — just what you need to ship secure software.
Seeding a generator from the clock or process ID shrinks the search space to a handful of guesses. CWE-337 explained, including the Debian OpenSSL case.
Seeding a generator with a constant gives the same sequence on every start. CWE-336 explained in brief, with the fix.
A pseudo-random generator is only as strong as its seed. CWE-335 covers unseeded, reused and guessable seeds, with real examples and fixes.
If the number of possible values is too small, attackers just try them all. CWE-334 explained, with real cases from tokens, filenames and TCP cookies.
True random generators have limited output and can block or fail. CWE-333 is about code that crashes or hangs when the supply of random numbers runs dry.
A pseudo-random generator fed too little entropy can crash, stall or fall back to something insecure. CWE-332 explained, with mitigations from MITRE.
When a generator leaves patterns or clusters, some values are likelier than others and attackers exploit that. CWE-331 explained with practical fixes.
Session IDs, reset tokens and keys all depend on unpredictable numbers. CWE-330 shows how weak randomness breaks them and how to generate values safely.
Four dots can act like several parent hops on some Windows systems and slip past filters that only know about two. How CWE-33 works, with MITRE's observed cases and a fix.
Weekly insights on software supply chain security, delivered to your inbox.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.