fix(deps): update module github.com/in-toto/in-toto-golang to v0.11.0 [security] (alauda-v2.5.3)#41
Conversation
alaudabot
left a comment
There was a problem hiding this comment.
Review Summary
This PR updates the github.com/in-toto/in-toto-golang dependency from v0.9.0 to v0.11.0 to address security vulnerability GHSA-pmwq-pjrm-6p5r (inconsistent negation behavior in character classes).
Verdict: ✅ Approved
- No critical issues found
- This is a straightforward dependency security update
- Changes are limited to go.mod and go.sum (3 lines added, 3 lines deleted)
- No breaking changes identified in the upstream changelog
The PR is ready to merge.
🤖 AI Code Review
SummaryThis PR updates the Review Statistics
Critical Issues
None - this is a dependency security update with no code changes in this repository. Warnings
None. Suggestions
None - this is a dependency-only change (go.mod/go.sum updates) with no application code to review. Positive Feedback
ℹ️ About this reviewThis review was automatically generated using the
|
|
🚨 Stale Pull Request Warning This pull request has been inactive for 33 days. Automated Actions Schedule:
To keep this PR active:
Protected branches (won't be deleted): This is an automated message. Reply to this comment to reset the inactivity timer. |
This PR contains the following updates:
v0.9.0->v0.11.0in-toto-golang and in-toto-python have inconsistent negation behavior
GHSA-pmwq-pjrm-6p5r
More information
Details
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 use
!instead of^to indicate negation. See https://github.com/in-toto/in-toto-golang/pull/462. This is part of v0.11.0.Severity
CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:H/A:NReferences
This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).
Release Notes
in-toto/in-toto-golang (github.com/in-toto/in-toto-golang)
v0.11.0Compare Source
What's Changed
Full Changelog: in-toto/in-toto-golang@v0.10.0...v0.11.0
v0.10.0Compare Source
What's Changed
anyfor hash objects by @adityasaky in https://github.com/in-toto/in-toto-golang/pull/238New Contributors
Full Changelog: in-toto/in-toto-golang@v0.9.0...v0.10.0
Configuration
📅 Schedule: Branch creation - "" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.