sigstore-ruby — это реализация команды sigstoreverify из проекта sigstore/cosign на чистом Ruby. До версии 0.2.3 Sigstore::Verifier#verify не распространяет VerificationFailure, возвращаемыйverify_in_toto, когда дайджест артефакта не соответствует дайджесту в субъекте аттестации in-toto. В результате проверка пакетов DSSE, содержащих инструкции in-toto, возвращает VerificationSuccess независимо от того, соответствует ли артефакт аттестованному субъекту.
Эта уязвимость исправлена в версии 0.2.3.
Показать оригинальное описание (EN)
sigstore-ruby is a pure Ruby implementation of the sigstore verify command from the sigstore/cosign project. Prior to 0.2.3, Sigstore::Verifier#verify does not propagate the VerificationFailure returned by verify_in_toto when the artifact digest does not match the digest in the in-toto attestation subject. As a result, verification of DSSE bundles containing in-toto statements returns VerificationSuccess regardless of whether the artifact matches the attested subject. This vulnerability is fixed in 0.2.3.
Характеристики атаки
Последствия
Строка CVSS v3.1