CVE-2025-40923 Affecting libplack-middleware-session-perl package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.05% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-LIBPLACKMIDDLEWARESESSIONPERL-10768236
  • published17 Jul 2025
  • disclosed16 Jul 2025

Introduced: 16 Jul 2025

NewCVE-2025-40923  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 libplack-middleware-session-perl.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libplack-middleware-session-perl package and not the libplack-middleware-session-perl package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

Plack-Middleware-Session before version 0.35 for Perl generates session ids insecurely.

The default session id generator returns 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.