Search

Find a vulnerability

Search criteria Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    1 vulnerability by hachi

    CVE-2025-1805 (GCVE-0-2025-1805)

    Vulnerability from cvelistv5 – Published: 2025-04-02 12:53 – Updated: 2025-04-03 19:11
    VLAI
    Title
    Crypt::Salt for Perl uses insecure rand() function when generating salts for cryptographic purposes
    Summary
    Crypt::Salt for Perl version 0.01 uses insecure rand() function when generating salts for cryptographic purposes.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator (v2.0.3)
    CWE
    • CWE-338 - Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
    Assigner
    Impacted products
    Vendor Product Version
    HACHI Crypt::Salt Affected: 0.01 (custom)
    Create a notification for this product.
    Credits
    Robert Rothenberg
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "LOW",
                  "baseScore": 5.3,
                  "baseSeverity": "MEDIUM",
                  "confidentialityImpact": "NONE",
                  "integrityImpact": "NONE",
                  "privilegesRequired": "NONE",
                  "scope": "UNCHANGED",
                  "userInteraction": "NONE",
                  "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-1805",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-04-02T14:09:06.451901Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-04-03T19:11:47.221Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://cpan.org/modules",
              "defaultStatus": "unaffected",
              "packageName": "Crypt-Salt",
              "product": "Crypt::Salt",
              "programFiles": [
                "lib/Crypt/Salt.pm"
              ],
              "programRoutines": [
                {
                  "name": "salt()"
                }
              ],
              "vendor": "HACHI",
              "versions": [
                {
                  "status": "affected",
                  "version": "0.01",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Robert Rothenberg"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "Crypt::Salt for Perl version 0.01 uses insecure rand() function when generating salts for cryptographic purposes.\u003cbr\u003e"
                }
              ],
              "value": "Crypt::Salt for Perl version 0.01 uses insecure rand() function when generating salts for cryptographic purposes."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-338",
                  "description": "CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2025-04-02T12:53:08.960Z",
            "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
            "shortName": "CPANSec"
          },
          "references": [
            {
              "url": "https://metacpan.org/release/HACHI/Crypt-Salt-0.01/source/lib/Crypt/Salt.pm#L76"
            },
            {
              "url": "https://perldoc.perl.org/functions/rand"
            },
            {
              "url": "https://security.metacpan.org/docs/guides/random-data-for-security.html"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Crypt::Salt for Perl uses insecure rand() function when generating salts for cryptographic purposes",
          "x_generator": {
            "engine": "Vulnogram 0.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "assignerShortName": "CPANSec",
        "cveId": "CVE-2025-1805",
        "datePublished": "2025-04-02T12:53:08.960Z",
        "dateReserved": "2025-03-01T01:06:50.243Z",
        "dateUpdated": "2025-04-03T19:11:47.221Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }