supply-chain-tools/gitverify · Security
gitverify has improper tag signature verification
- GHSA ID
- GHSA-h829-5cg7-6hff
- Severity
- medium
- Published
- Updated
- CVSS v4
- 5.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Description
gitverify is still a prototype.
Impact
The bug is related to requireSignedTags which is on by default: an unsigned annotated tag would pass the verification. The commit pointed to by the tag would still have to be signed by a maintainer or a contributor.
Patches
Since the initial commit, fixed in c2c60da05d5c73621d0ce7ea02770bacd79ec8b1 (no semantic versions yet).
Workarounds
No
CWEs
- CWE-347 · Improper Verification of Cryptographic Signature