CVE-2025-40933
published high CVSS 3.1 · 7.5Apache::AuthAny::Cookie v0.201 or earlier for Perl generates session ids insecurely
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| KGOLDOV | — | Apache-AuthAnyApache::AuthAny · 0.19 through 0.201 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
Apache::AuthAny::Cookie v0.201 or earlier for Perl generates session ids insecurely. Session ids are generated using an MD5 hash of the epoch time and a call to the built-in rand function. 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. Predicable session ids could allow an attacker to gain access to systems.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| KGOLDOV | Apache::AuthAny | 0.19 through 0.201 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
2- CWE-340 CWE-340 Generation of Predictable Numbers or Identifiers
- CWE-338 CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator
References
1Provider assertions
2CPANSec · cna
Apache::AuthAny::Cookie v0.201 or earlier for Perl generates session ids insecurely
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b230d736a5ab7aeda4ce42f335fc9ae6924717cc0ed1c65492558dbf4c02d823
- Ingested
- 23 Sep 2026, 08:48:23 UTC
- Source record
- Official CVE record