Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    HSEC-2024-0009 (CVE-2024-41949)

    Vulnerability from osv_haskell – Published: 2025-11-14 14:45 – Updated: 2025-11-14 14:45 – Source website
    VLAI
    Summary
    Public key confusion in third-party blocks
    Details

    Public key confusion in third-party blocks

    Third-party blocks can be generated without transferring the whole token to the third-party authority. Instead, a ThirdPartyBlock request can be sent, providing only the necessary info to generate a third-party block and to sign it:

    • the public key of the previous block (used in the signature);
    • the public keys part of the token symbol table (for public key interning in datalog expressions).

    A third-party block request forged by a malicious user can trick the third-party authority into generating datalog trusting the wrong keypair.

    Impacted products
    Ecosystem Package Version
    Hackage biscuit-haskell
    Affected: ≥ 0.3.0.0, < 0.4.0.0 (ecosystem)

    {
      "affected": [
        {
          "database_specific": {
            "human_link": "https://github.com/haskell/security-advisories/tree/main/advisories/published/2024/HSEC-2024-0009.md",
            "osv": "https://raw.githubusercontent.com/haskell/security-advisories/refs/heads/generated/osv-export/2024/HSEC-2024-0009.json"
          },
          "package": {
            "ecosystem": "Hackage",
            "name": "biscuit-haskell"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0.3.0.0"
                },
                {
                  "fixed": "0.4.0.0"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "severity": [
            {
              "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N",
              "type": "CVSS_V3"
            }
          ]
        }
      ],
      "aliases": [
        "CVE-2024-41949",
        "GHSA-rgqv-mwc3-c78m",
        "GHSA-47cq-pc2v-3rmp"
      ],
      "database_specific": {
        "home": "https://github.com/haskell/security-advisories",
        "osvs": "https://raw.githubusercontent.com/haskell/security-advisories/refs/heads/generated/osv-export",
        "repository": "https://github.com/haskell/security-advisories"
      },
      "details": "# Public key confusion in third-party blocks\n\nThird-party blocks can be generated without transferring the whole token to the third-party authority. Instead, a `ThirdPartyBlock` request can be sent, providing only the necessary info to generate a third-party block and to sign it:\n\n- the public key of the previous block (used in the signature);\n- the public keys part of the token symbol table (for public key interning in datalog expressions).\n\nA third-party block request forged by a malicious user can trick the third-party authority into generating datalog trusting the wrong keypair.\n",
      "id": "HSEC-2024-0009",
      "modified": "2025-11-14T14:45:34Z",
      "published": "2025-11-14T14:45:34Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://github.com/biscuit-auth/biscuit-haskell/security/advisories/GHSA-47cq-pc2v-3rmp"
        },
        {
          "type": "FIX",
          "url": "https://github.com/biscuit-auth/biscuit-haskell/pull/93"
        }
      ],
      "schema_version": "1.5.0",
      "summary": "Public key confusion in third-party blocks"
    }