Security Advisories (1)
CVE-2026-5083 (2026-04-08)

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.

NAME

Ado::Command::version - Version command

SYNOPSIS

use Ado::Command::version;

my $v = Ado::Command::version->new;
$v->run();

DESCRIPTION

Ado::Command::version shows version information for installed core and optional modules.

This is a core command, that means it is always enabled and its code a good example for learning to build new commands, you're welcome to fork it.

ATTRIBUTES

Ado::Command::version inherits all attributes from Ado::Command and implements the following new ones.

description

my $description = $v->description;
$v              = $v->description('Foo!');

Short description of this command, used for the command list.

usage

my $usage = $v->usage;
$v        = $v->usage('Foo!');

Usage information for this command, used for the help screen.

latest

Checks for the latest version on metacpan.org and returns it if successfully connected

METHODS

Ado::Command::version inherits all methods from Ado::Command and implements the following new ones.

init

Default initialization.

version

#set in init().
$self->args->{do} ='version';

The default and only action this command implements. See "run" in Ado::Command.

SEE ALSO

Mojolicious::Command::version, Ado::Command Ado::Manual, Mojolicious, Mojolicious::Guides.