[From nobody Tue Sep 29 16:51:07 2026
Received: (at submit) by bugs.debian.org; 24 Jul 2026 13:39:36 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-10.0 required=4.0 tests=BAYES_00,FROMDEVELOPER,
 NO_RELAYS,XMAILER_REPORTBUG autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 20; hammy, 150; neutral, 78; spammy,
 0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
 0.000-+--X-Debbugs-Cc, 0.000-+--H*F:U*carnil, 0.000-+--H*Ad:N*Bug,
 0.000-+--HTo:N*Debian
Return-path: &lt;carnil@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;carnil@debian.org&gt;) id 1wnG7h-00G6n5-1Y
 for submit@bugs.debian.org; Fri, 24 Jul 2026 13:39:36 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Salvatore Bonaccorso &lt;carnil@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: libdancer2-perl: CVE-2026-13577
Message-ID: &lt;178490037201.1037406.9691303598713497159.reportbug@eldamar.lan&gt;
X-Mailer: reportbug 13.2.0+nmu1
Date: Fri, 24 Jul 2026 15:39:32 +0200
Delivered-To: submit@bugs.debian.org

Source: libdancer2-perl
Version: 2.1.0-1
Severity: important
Tags: security upstream
X-Debbugs-Cc: carnil@debian.org, Debian Security Team &lt;team@security.debian.org&gt;
Control: found -1 1.1.2+dfsg-1

Hi,

The following vulnerability was published for libdancer2-perl.

CVE-2026-13577[0]:
| Dancer2 versions through 2.1.0 for Perl generate insecure session
| ids when required CSPRNG modules are unavailable.
| Dancer2::Core::Role::SessionFactory::generate_id silently falls back
| to a built-in rand-derived session id unless both
| Math::Random::ISAAC::XS and Crypt::URandom are available.  The
| fallback session id is generated from a SHA-1 hash of a call to the
| built-in rand function, the absolute path of the
| Dancer2::Core::Role::SessionFactory module, an internal counter, the
| process id, the module instance memory address, and a shuffled
| string of characters (using the List::Util::shuffle function, which
| also uses the built-in rand function).  These are all low-entropy
| and easily guessed sources.  The built-in rand() function is seeded
| with 32-bits and considered unsuitable for security applications.
| Predictable session ids could allow an attacker to gain access to
| systems.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-13577
    https://www.cve.org/CVERecord?id=CVE-2026-13577
[1] https://lists.security.metacpan.org/cve-announce/msg/41975698/

Regards,
Salvatore
]