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

Test::AdoPlugin - common code needed for testing Ado plugins

SYNOPSIS

#in your plugin basic.t or restapi etc...

DESCRIPTION

This modules holds boilerplate code which sets up the environment for your Ado plugin tests

METHODS

setup

Sets up the $ENV{MOJO_MODE}, $ENV{MOJO_HOME}, modifies @INC and requires the needed modules.

GLOBAL VARIABLES

$OUTPUT_ENCODING

Encode STDOUT to avoid "Wide character in print" warning. Defaults to cp866 for windows and UTF-8 otherwise.

$T

The current Test::Mojo instance.