{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-58134 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-58134 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-58134 is a high-severity vulnerability in SRI Mojolicious, published on 3 May 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-58134 and fix it if it is affected.\n\nWhat it is: CVE-2024-58134 is a high-severity vulnerability in SRI Mojolicious, published on 3 May 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-58134 in the wild and no public exploit code.\n\nAffected product: SRI Mojolicious. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-58134/ (Markdown: https://insights.sbomify.com/CVE-2024-58134/index.md)","id":"CVE-2024-58134","markdown":"https://insights.sbomify.com/CVE-2024-58134/index.md","name":"CVE-2024-58134","record":{"aliases":["AZL-61673","AZL-61825","DEBIAN-CVE-2024-58134","GHSA-3g23-7g3r-898j","UBUNTU-CVE-2024-58134"],"analysis":{"component_type":"library","fix_type":"configuration_change","impacts":["account_takeover","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Perl web framework","requires_auth":"low_privilege","summary":"Attackers can forge session cookies using predictable default HMAC secrets to hijack user sessions in Mojolicious applications.","user_interaction":"not_required","vuln_class":"hardcoded_credentials"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CPANSec","cpe":[{"product":"mojolicious","vendor":"mojolicious"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-331","name":"Insufficient Entropy"},{"id":"CWE-321","name":"Use of Hard-coded Cryptographic Key"}],"description":"Mojolicious versions from 0.999922 for Perl uses a hard coded string, or the application's class name, as an HMAC session cookie secret by default.\n\nThese predictable default secrets can be exploited by an attacker 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Hardcoded credentials in Mojolicious","id":"CVE-2024-58134","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"hardcoded_credentials","year":"2024"},"n_packages":0,"n_references":11,"next":{"headline":"Weak cryptography in Mojolicious","id":"CVE-2024-58135"},"packages":[],"prev":{"headline":"Race condition in chainmaker-go","id":"CVE-2024-58133"},"products":["Mojolicious"],"published":"2025-05-03","related":[{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2009-5074","kev_date_added":null,"published":"2011-05-03"},{"cvss_score":10,"headline":"Other in n/a","id":"CVE-2010-4802","kev_date_added":null,"published":"2011-05-03"},{"cvss_score":10,"headline":"Weak cryptography in n/a","id":"CVE-2010-4803","kev_date_added":null,"published":"2011-05-03"},{"cvss_score":5.3,"headline":"Weak cryptography in Mojolicious","id":"CVE-2024-58135","kev_date_added":null,"published":"2025-05-03"},{"cvss_score":5,"headline":"Path traversal in n/a","id":"CVE-2011-1589","kev_date_added":null,"published":"2011-04-29"},{"cvss_score":4.3,"headline":"Denial of service in n/a","id":"CVE-2021-47208","kev_date_added":null,"published":"2024-04-07"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-20","vendors":["SRI"]},"summary":"Attackers can forge session cookies using predictable default HMAC secrets to hijack user sessions in Mojolicious applications.","url":"https://insights.sbomify.com/CVE-2024-58134/"}