Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    CVE-2024-42350 (GCVE-0-2024-42350)

    Vulnerability from cvelistv5 – Published: 2024-08-05 19:47 – Updated: 2024-08-05 20:23
    VLAI
    Title
    Public key confusion in third party block in Biscuit
    Summary
    Biscuit is an authorization token with decentralized verification, offline attenuation and strong security policy enforcement based on a logic language. 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: 1. the public key of the previous block (used in the signature), 2. the public keys part of the token symbol table (for public key interning in datalog expressions). A third-part block request forged by a malicious user can trick the third-party authority into generating datalog trusting the wrong keypair. Tokens with third-party blocks containing `trusted` annotations generated through a third party block request. This has been addressed in version 4 of the specification. Users are advised to update their implementations to conform. There are no known workarounds for this vulnerability.
    SSVC
    Exploitation: none Automatable: no Technical Impact: partial
    CISA Coordinator · CISA-ADP (v2.0.3)
    Decision recorded 2024-08-05 20:23 UTC
    CWE
    • CWE-668 - Exposure of Resource to Wrong Sphere
    Assigner
    GitHub_M CNA under the mitre root
    CNA scorecard C 72/100 over 7832 records in the last 180 days details
    References
    Impacted products
    Show details on NVD website

    {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2024-42350",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2024-08-05T20:23:26.079868Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2024-08-05T20:23:35.031Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "product": "biscuit",
              "vendor": "biscuit-auth",
              "versions": [
                {
                  "status": "affected",
                  "version": "\u003c 4"
                }
              ]
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Biscuit is an authorization token with decentralized verification, offline attenuation and strong security policy enforcement based on a logic language. 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: 1. the public key of the previous block (used in the signature), 2. the public keys part of the token symbol table (for public key interning in datalog expressions). A third-part block request forged by a malicious user can trick the third-party authority into generating datalog trusting the wrong keypair. Tokens with third-party blocks containing `trusted` annotations generated through a third party block request. This has been addressed in version 4 of the specification. Users are advised to update their implementations to conform. There are no known workarounds for this vulnerability."
            }
          ],
          "metrics": [
            {
              "cvssV3_1": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 3,
                "baseSeverity": "LOW",
                "confidentialityImpact": "NONE",
                "integrityImpact": "LOW",
                "privilegesRequired": "HIGH",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:N/I:L/A:N",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-668",
                  "description": "CWE-668: Exposure of Resource to Wrong Sphere",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2024-08-05T19:47:44.903Z",
            "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
            "shortName": "GitHub_M"
          },
          "references": [
            {
              "name": "https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m",
              "tags": [
                "x_refsource_CONFIRM"
              ],
              "url": "https://github.com/biscuit-auth/biscuit/security/advisories/GHSA-rgqv-mwc3-c78m"
            },
            {
              "name": "https://github.com/biscuit-auth/biscuit/commit/c87cbb5d778964d6574df3e9e6579567cad12fff",
              "tags": [
                "x_refsource_MISC"
              ],
              "url": "https://github.com/biscuit-auth/biscuit/commit/c87cbb5d778964d6574df3e9e6579567cad12fff"
            }
          ],
          "source": {
            "advisory": "GHSA-rgqv-mwc3-c78m",
            "discovery": "UNKNOWN"
          },
          "title": "Public key confusion in third party block in Biscuit"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "assignerShortName": "GitHub_M",
        "cveId": "CVE-2024-42350",
        "datePublished": "2024-08-05T19:47:44.903Z",
        "dateReserved": "2024-07-30T14:01:33.922Z",
        "dateUpdated": "2024-08-05T20:23:35.031Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }

    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"
    }