CVEMETERBack to radar
OFFICIAL RECORD · Perl packages

CVE-2024-58135

PUBLISHEDOfficial status check: verifiedCVSS unknown: unknown · unknown

Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default

Mojolicious versions from 7.28 through 9.45 for Perl will generate weak HMAC session cookie secrets via "mojo generate app" by default. When creating a default app skeleton with the "mojo generate app" tool, a weak secret is written to the application's configuration file using the insecure rand() function, and used for authenticating and protecting the integrity of the application's sessions. This may allow an attacker to brute force the application's session keys. Release 9.46 fixes the issue by providing high quality randomness, even in absence of CryptX. Users should be aware that the update does not replace previously generated weak secrets. A secret generated with the previous version MUST be replaced to ensure the updated version is using a strong secret.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.572% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:59:58.648Z. Public exploit availability is not used to set this status.

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssunknownunknownunknown
epssverified2026-11-19T16:04:39.514ZFIRST EPSS
patchesunknownunknownunknown
affectedverified2026-11-19T12:57:21.872ZCVE Program
lifecycleverified2026-11-19T12:57:21.872ZCVE Program

Affected versions and configuration

SRI Mojolicious; default status: unaffected: 7.28 to ≤ 9.45 [affected; scheme: custom]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "repo": "https://github.com/mojolicious/mojo",
      "vendor": "SRI",
      "product": "Mojolicious",
      "versions": [
        {
          "status": "affected",
          "version": "7.28",
          "versionType": "custom",
          "lessThanOrEqual": "9.45"
        }
      ],
      "packageName": "Mojolicious",
      "programFiles": [
        "lib/Mojolicious/Command/Author/generate/app.pm",
        "lib/Mojo/Util.pm",
        "lib/Mojolicious/Command/generate/app.pm"
      ],
      "collectionURL": "https://cpan.org/modules",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "Mojolicious::Command::Author::generate::app::run()"
        },
        {
          "name": "Mojo::Util::generate_secret()"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 5.3,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
            "integrityImpact": "NONE",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "LOW"
          }
        },
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2024-58135",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2025-05-05T17:58:51.652027Z"
            }
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "lang": "en",
              "type": "CWE",
              "cweId": "CWE-338",
              "description": "CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)"
            }
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2025-05-07T19:06:35.967Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2024-58135",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "package": {
        "name": "libmojolicious-perl",
        "purl": "pkg:deb/debian/libmojolicious-perl?arch=source&distro=trixie",
        "ecosystem": "Debian:13"
      },
      "versions": [
        "9.39+dfsg-1",
        "9.42+dfsg-1",
        "9.42+dfsg-1~bpo13+2",
        "9.45+dfsg-1",
        "9.45+dfsg-2",
        "9.46+dfsg-1",
        "9.47+dfsg-1",
        "9.48+dfsg-1",
        "9.49+dfsg-1",
        "9.53+dfsg-1"
      ],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58135.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [
    "CVE-2024-58135"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2024-58135",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "DEBIAN-CVE-2024-58135",
  "aliases": [],
  "affected": [
    {
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            }
          ]
        }
      ],
      "package": {
        "name": "libmojolicious-perl",
        "purl": "pkg:deb/debian/libmojolicious-perl?arch=source&distro=bookworm",
        "ecosystem": "Debian:12"
      },
      "versions": [
        "9.31+dfsg-1",
        "9.33+dfsg-1",
        "9.34+dfsg-1",
        "9.35+dfsg-1",
        "9.36+dfsg-1",
        "9.36+dfsg-1~bpo12+2",
        "9.37+dfsg-1",
        "9.37+dfsg-2",
        "9.37+dfsg-2~bpo12+1",
        "9.38+dfsg-1",
        "9.39+dfsg-1",
        "9.42+dfsg-1",
        "9.42+dfsg-1~bpo13+2",
        "9.45+dfsg-1",
        "9.45+dfsg-2",
        "9.46+dfsg-1",
        "9.47+dfsg-1",
        "9.48+dfsg-1",
        "9.49+dfsg-1",
        "9.53+dfsg-1"
      ],
      "database_specific": {
        "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-58135.json"
      },
      "ecosystem_specific": {
        "urgency": "not yet assigned"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
    }
  ],
  "upstream": [
    "CVE-2024-58135"
  ],
  "withdrawn": null,
  "references": [
    {
      "url": "https://security-tracker.debian.org/tracker/CVE-2024-58135",
      "type": "ADVISORY"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {}
}
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

No correction has been verified in the connected records. This does not mean the system is secure or that no vendor correction exists.

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history