{
  "id": "CVE-2025-40925",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40925",
  "published_at": "2025-09-20T12:31:34.353Z",
  "title": "Starch versions 0.14 and earlier generate session ids insecurely",
  "vendor": "BLUEFEET",
  "product": "Starch",
  "cvss": {
    "score": 9.1,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "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": "Starch versions 0.14 and earlier generate session ids insecurely.\n\nThe default session id generator returns a SHA-1 hash seeded with a counter, the epoch time, the built-in rand function, the PID, and internal Perl reference addresses. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage.\n\nPredicable session ids could allow an attacker to gain access to systems.",
  "cwe": "CWE-340",
  "cvss_by_source": {
    "cisa-adp": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "BLUEFEET",
        "product": "Starch",
        "ranges": [
          "\u003e= 0.01, \u003c= 0.14"
        ],
        "fixed_in": null
      }
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/bluefeet/Starch/pull/5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/bluefeet/Starch/commit/5573449e64e0660f7ee209d1eab5881d4ccbee3b.patch"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
