cve-2025-1860
Vulnerability from cvelistv5
Published
2025-03-28 00:56
Modified
2025-04-02 22:03
Severity ?
Summary
Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.
Impacted products
Vendor Product Version
ZEFRAM Data::Entropy Version: 0   < 0.008
Create a notification for this product.
Show details on NVD website


{
   containers: {
      adp: [
         {
            providerMetadata: {
               dateUpdated: "2025-04-02T22:03:16.908Z",
               orgId: "af854a3a-2127-422b-91ae-364da2661108",
               shortName: "CVE",
            },
            references: [
               {
                  url: "https://lists.debian.org/debian-lts-announce/2025/03/msg00026.html",
               },
            ],
            title: "CVE Program Container",
         },
      ],
      cna: {
         affected: [
            {
               collectionURL: "https://cpan.org/modules",
               defaultStatus: "unaffected",
               packageName: "Data-Entropy",
               product: "Data::Entropy",
               programFiles: [
                  "lib/Data/Entropy.pm",
               ],
               vendor: "ZEFRAM",
               versions: [
                  {
                     lessThan: "0.008",
                     status: "affected",
                     version: "0",
                     versionType: "custom",
                  },
               ],
            },
         ],
         credits: [
            {
               lang: "en",
               type: "finder",
               value: "Robert Rothenberg (RRWO)",
            },
         ],
         descriptions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, <span style=\"background-color: rgb(255, 255, 255);\">which is not</span><span style=\"background-color: rgb(255, 255, 255);\">&nbsp;cryptographically secure,</span>&nbsp;for cryptographic functions.<br><br><br>",
                  },
               ],
               value: "Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.",
            },
         ],
         problemTypes: [
            {
               descriptions: [
                  {
                     cweId: "CWE-338",
                     description: "CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)",
                     lang: "en",
                     type: "CWE",
                  },
               ],
            },
         ],
         providerMetadata: {
            dateUpdated: "2025-03-28T02:01:52.834Z",
            orgId: "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            shortName: "CPANSec",
         },
         references: [
            {
               url: "https://perldoc.perl.org/functions/rand",
            },
            {
               url: "https://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80",
            },
         ],
         solutions: [
            {
               lang: "en",
               supportingMedia: [
                  {
                     base64: false,
                     type: "text/html",
                     value: "Version 0.008 was released to address the issue and this module has been marked as deprecated.  Users should upgrade and plan to migrate to a different module.",
                  },
               ],
               value: "Version 0.008 was released to address the issue and this module has been marked as deprecated.  Users        should upgrade and plan to migrate to a different module.",
            },
         ],
         source: {
            discovery: "UNKNOWN",
         },
         title: "Data::Entropy for Perl uses insecure rand() function for cryptographic functions",
         x_generator: {
            engine: "Vulnogram 0.2.0",
         },
      },
   },
   cveMetadata: {
      assignerOrgId: "9b29abf9-4ab0-4765-b253-1875cd9b441e",
      assignerShortName: "CPANSec",
      cveId: "CVE-2025-1860",
      datePublished: "2025-03-28T00:56:08.647Z",
      dateReserved: "2025-03-03T00:08:28.075Z",
      dateUpdated: "2025-04-02T22:03:16.908Z",
      state: "PUBLISHED",
   },
   dataType: "CVE_RECORD",
   dataVersion: "5.1",
   "vulnerability-lookup:meta": {
      nvd: "{\"cve\":{\"id\":\"CVE-2025-1860\",\"sourceIdentifier\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\",\"published\":\"2025-03-28T01:15:16.063\",\"lastModified\":\"2025-04-02T22:15:18.623\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"Data::Entropy for Perl 0.007 and earlier use the rand() function as the default source of entropy, which is not cryptographically secure, for cryptographic functions.\"},{\"lang\":\"es\",\"value\":\"Data::Entropy para Perl 0.007 y anteriores utilizan la función rand() como fuente predeterminada de entropía, que no es criptográficamente segura para las funciones criptográficas.\"}],\"metrics\":{},\"weaknesses\":[{\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-338\"}]}],\"references\":[{\"url\":\"https://metacpan.org/release/ZEFRAM/Data-Entropy-0.007/source/lib/Data/Entropy.pm#L80\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"https://perldoc.perl.org/functions/rand\",\"source\":\"9b29abf9-4ab0-4765-b253-1875cd9b441e\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2025/03/msg00026.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.