CVE-2024-58134

NameCVE-2024-58134
DescriptionMojolicious versions from 0.999922 through 9.39 for Perl uses a hard coded string, or the application's class name, as a HMAC session secret by default. These predictable default secrets can be exploited to forge session cookies. An attacker who knows or guesses the secret could compute valid HMAC signatures for the session cookie, allowing them to tamper with or hijack another user’s session.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1104648

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libmojolicious-perl (PTS)bullseye8.71+dfsg-1vulnerable
bookworm9.31+dfsg-1vulnerable
sid, trixie9.39+dfsg-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libmojolicious-perlsource(unstable)(unfixed)1104648

Notes

https://lists.security.metacpan.org/cve-announce/msg/29247502/
https://github.com/mojolicious/mojo/pull/1791
https://github.com/mojolicious/mojo/pull/2200

Search for package or bug name: Reporting problems