GHSA-pmwq-pjrm-6p5r
ADVISORY - githubSummary
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.
Common Weakness Enumeration (CWE)
Improper Handling of Inconsistent Special Elements
GitHub
0.5
CVSS SCORE
4.1mediumChainguard
CGA-mgcf-64vp-9m6x
-
minimos
MINI-29wq-fgj2-h8jx
-
minimos
MINI-2cjw-4p7f-g7vq
-
minimos
MINI-35vj-ghhj-773q
-
minimos
MINI-3m5x-fm49-44p3
-
minimos
MINI-3v7p-8334-2hrm
-
minimos
MINI-42jx-9v29-v65x
-
minimos
MINI-542v-rph9-xw93
-
minimos
MINI-582r-c4wm-wwmj
-
minimos
MINI-5g5x-rm7w-vgxc
-
minimos
MINI-646r-8pv4-hjqg
-
minimos
MINI-64q7-35c7-99f9
-
minimos
MINI-69qg-mjg3-hr5v
-
minimos
MINI-6r55-9658-4885
-
minimos
MINI-7vwp-jg23-63vf
-
minimos
MINI-7wx7-4gg2-x3q6
-
minimos
MINI-8g6x-hr4r-522r
-
minimos
MINI-9524-4vwp-pfm2
-
minimos
MINI-9hq7-rgph-hxw3
-
minimos
MINI-9m2m-m449-7wpg
-
minimos
MINI-9wgm-74m9-p5r2
-
minimos
MINI-c33g-5fr4-qmfw
-
minimos
MINI-f6wv-p938-9gvf
-
minimos
MINI-fpg4-cjhj-9q7c
-
minimos
MINI-fw8v-4v89-2w8r
-
minimos
MINI-h934-586j-2j3q
-
minimos
MINI-hqqx-52xw-hrjp
-
minimos
MINI-j5rq-82r2-66xw
-
minimos
MINI-jpv6-2fmm-24qv
-
minimos
MINI-m448-7rp4-qx53
-
minimos
MINI-mqc9-xpjw-j3cf
-
minimos
MINI-mrc9-985m-4438
-
minimos
MINI-pgr9-vqcv-657m
-
minimos
MINI-pvgq-q9qg-2wp2
-
minimos
MINI-q5jw-59jv-r524
-
minimos
MINI-qjjj-4pj2-qfpc
-
minimos
MINI-r233-6rr5-x2gr
-
minimos
MINI-r4h2-mq56-wx5p
-
minimos
MINI-rc52-q276-q44x
-
minimos
MINI-rw5p-46xx-56jh
-
minimos
MINI-v4fh-v5gm-3pmq
-
minimos
MINI-v65x-4q2j-pgcr
-
minimos
MINI-vgj5-wf96-mvj3
-
minimos
MINI-vh5p-vc4p-ph5v
-
minimos
MINI-vxrg-fr4c-c83q
-
minimos
MINI-w624-qg29-9v23
-
minimos
MINI-w77r-9m36-cp94
-
minimos
MINI-wqr9-fwv6-37v8
-
minimos
MINI-wx82-52x5-w2v8
-
minimos
MINI-xgj9-pvp9-q2cq
-
minimos
MINI-xqgp-2953-99v7
-