Home

Description

Ado::Sessions versions through 0.935 for Perl generates insecure session ids. The session id is generated from a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. 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. Predicable session ids could allow an attacker to gain access to systems. Note that Ado is no longer maintained, and has been removed from the CPAN index. It is still available on BackPAN.

PUBLISHED Reserved 2026-03-28 | Published 2026-04-08 | Updated 2026-04-08 | Assigner CPANSec

Problem types

CWE-340 Generation of Predictable Numbers or Identifiers

CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator

Product status

Default status
unaffected

Any version
affected

Timeline

2017-09-02:Last version of Ado was released on CPAN.
2018-09-24:Announcement that Ado will not be updated anymore.

References

www.openwall.com/lists/oss-security/2026/04/08/7

github.com/kberov/Ado/issues/112 issue-tracking

backpan.perl.org/authors/id/B/BE/BEROV/Ado-0.935.tar.gz

security.metacpan.org/...uides/random-data-for-security.html technical-description

cve.org (CVE-2026-5083)

nvd.nist.gov (CVE-2026-5083)

Download JSON