{
  "id": "CVE-2025-1828",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-1828",
  "published_at": "2025-03-10T23:51:33.279Z",
  "title": "Perl's Crypt::Random module after 1.05 and before 1.56 may use rand() function for cryptographic functions",
  "vendor": "perl",
  "product": "Crypt::Random",
  "cvss": {
    "score": 8.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Crypt::Random Perl package 1.05 through 1.55 may use rand() function, which is not cryptographically strong, for cryptographic functions.\n\nIf the Provider is not specified and /dev/urandom or an Entropy Gathering Daemon (egd) service is not available Crypt::Random will default to use the insecure Crypt::Random::rand provider.\n\nIn particular, Windows versions of perl will encounter this issue by default.",
  "cwe": "CWE-338",
  "cpes": [
    "cpe:2.3:a:timlegge:crypt\\:\\:random:*:*:*:*:*:perl:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "perl",
        "product": "Crypt::Random",
        "ranges": [
          "\u003e= 1.05, \u003c 1.56"
        ],
        "fixed_in": [
          "1.56"
        ]
      }
    ],
    "solutions": [
      "Upgrade to version 1.56 or higher"
    ],
    "upgrade": [
      "Upgrade Crypt::Random to 1.56 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/perl-Crypt-OpenPGP/Crypt-Random/pull/1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/perl-Crypt-OpenPGP/Crypt-Random/commit/1f8b29e9e89d8d083fd025152e76ec918136cc05"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
