GO-2022-1155

    Dashboard / Vulnerabilities / GO-2022-1155

    GO-2022-1155

    Published: 22 Dec 2022Last Modified: 20 May 2024

    Summary: Panic in github.com/ipfs/go-merkledag

    Details: A ProtoNode may be modified in such a way as to cause various encode errors which will trigger a panic on common method calls that don't allow for error returns. Additionally, use of the ProtoNode.SetCidBuilder() method to set non-functioning CidBuilder (such as one that refers to a multihash where an implementation of that hash function is not available) may cause the same methods to panic as a new CID is required but cannot be created.

    Affected packages

    Package

    Name: github.com/ipfs/go-merkledag

    Purl: pkg:golang/github.com/ipfs/go-merkledag

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0.4.0
    Fixed -0.8.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GO-2022-1155 | CVE-DB