Skip to content

← Public intelligence

Go package

github.com/in-toto/in-toto-golang

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 4.1GoPublished

    in-toto-golang and in-toto-python have inconsistent negation behavior

    GHSA-pmwq-pjrm-6p5r

    Affected
    • Go github.com/in-toto/in-toto-golang < 0.11.0
    Fixed in
    0.11.0· Vendor fix available
    Issue
    Impact What kind of vulnerability is it? Who is impacted? in-toto-golang and in-toto-python both support glob patterns in artifact rules to indicate the artifacts that a rule applies to. Both support negations in character classes to indicate what should not be matched, but they used different operators to indicate the negation. in-toto-python uses ! while in-toto-golang used ^. A layout authored with the expectations of one implementation can therefore exhibit different behavior in the other implementation. This impacts users in a specific set of circumstances where two different implementations are used to verify the same layout + attestation bundle at different stages of the same pipeline. As a rule of thumb, we advise using a single implementation across all aspects of a pipeline, from layout creation to pipeline execution and verification to prevent this class of bugs. Patches Has the problem been patched? What versions should users upgrade to? in-toto-golang has been updated to…

    Recommended action: Upgrade to 0.11.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Medium, CVSS 5.6GoPublished

    Improperly Implemented path matching for in-toto-golang

    CVE-2021-41087 · GHSA-vrxp-mg9f-hwf3

    Affected
    • Go github.com/in-toto/in-toto-golang <= 0.2.0
    Fixed in
    0.3.0· Vendor fix available
    Issue
    Impact Authenticated attackers posing as functionaries (i.e., within a trusted set of users for a layout) are able to create attestations that may bypass DISALLOW rules in the same layout. An attacker with access to trusted private keys, may issue an attestation that contains a disallowed artifact by including path traversal semantics (e.g., foo vs dir/../foo). Patches The problem has been fixed in version 0.3.0. Workarounds Exploiting this vulnerability is dependent on the specific policy applied. For more information If you have any questions or comments about this advisory: Open an issue in in-toto-golang Email us at in-toto-public If this is a sensitive security-relevant disclosure, please send a PGP encrypted email to santiagotorres@purdue.edu or jcappos@nyu.edu

    Recommended action: Upgrade to 0.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →