{"id":"CVE-2025-40925","published":"2025-09-20T12:31:34Z","modified":"2025-09-22T17:27:16Z","title":"Starch versions 0.14 and earlier generate session ids insecurely","vendor":"BLUEFEET","product":"Starch","tier":"tail","description":{"text":"Starch versions 0.14 and earlier generate session ids insecurely.\n\nThe default session id generator returns a SHA-1 hash seeded with a counter, the epoch time, the built-in rand function, the PID, and internal Perl reference addresses. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00374,"percentile":0.32228,"provenance":"source"},"cwes":[{"id":"CWE-340","name":"Generation of Predictable Numbers or Identifiers"},{"id":"CWE-338","name":"Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"}],"references":[{"url":"https://github.com/bluefeet/Starch/pull/5","tags":[]},{"url":"https://github.com/bluefeet/Starch/commit/5573449e64e0660f7ee209d1eab5881d4ccbee3b.patch","tags":["patch"]},{"url":"https://metacpan.org/dist/Starch/source/lib/Starch/Manager.pm","tags":[]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":6.45},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"bluefeet","affectedVersions":[{"vendor":"BLUEFEET","product":"Starch","versions":[">= 0.01, <= 0.14"]}],"capec":[{"id":"CAPEC-115","name":"Authentication Bypass"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-09-22T16:57:53.410409Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-30364","exploited":false,"provenance":"source"}}