Bug 2509105 - CVE-2026-13577 perl-Dancer2: Dancer2: Predictable session IDs allow system access [fedora-all]
Summary: CVE-2026-13577 perl-Dancer2: Dancer2: Predictable session IDs allow system ac...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Dancer2
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Emmanuel Seyman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["d1449e56-3b9c-42f6-aa00-c...
Depends On:
Blocks: CVE-2026-13577
TreeView+ depends on / blocked
 
Reported: 2026-07-30 06:28 UTC by Tomas Hoger
Modified: 2026-09-15 01:03 UTC (History)
2 users (show)

Fixed In Version: perl-Dancer2-2.1.0-3.fc45 perl-Dancer2-2.0.1-4.fc44 perl-Dancer2-1.1.2-4.fc43
Clone Of:
Environment:
Last Closed: 2026-09-15 00:17:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2026-07-30 06:28:32 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

Dancer2 versions through 2.1.0 for Perl generate insecure session ids when CSPRNG modules are unavailable.

Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in rand-derived session id when both Math::Random::ISAAC::XS and Crypt::URandom are unavailable.

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.

Comment 1 Aoife Moloney 2026-08-17 15:41:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 2 Fedora Update System 2026-09-06 22:58:56 UTC
FEDORA-2026-d0bededb87 (perl-Dancer2-1.1.2-4.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-d0bededb87

Comment 3 Fedora Update System 2026-09-06 22:58:56 UTC
FEDORA-2026-28c5da9193 (perl-Dancer2-2.1.0-3.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-28c5da9193

Comment 4 Fedora Update System 2026-09-07 01:10:07 UTC
FEDORA-2026-28c5da9193 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-28c5da9193`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-28c5da9193

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-09-07 01:23:54 UTC
FEDORA-2026-d13a2593b1 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d13a2593b1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d13a2593b1

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2026-09-07 01:42:57 UTC
FEDORA-2026-d0bededb87 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-d0bededb87`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-d0bededb87

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2026-09-15 00:17:40 UTC
FEDORA-2026-28c5da9193 (perl-Dancer2-2.1.0-3.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2026-09-15 00:41:24 UTC
FEDORA-2026-d13a2593b1 (perl-Dancer2-2.0.1-4.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2026-09-15 01:03:38 UTC
FEDORA-2026-d0bededb87 (perl-Dancer2-1.1.2-4.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.