Skip to content

CVE-2024-54140 sigstore-java has a vulnerability with bundle verification

LowCVSS 2.1 EPSS 0.21%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

sigstore-java is a sigstore java client for interacting with sigstore infrastructure. sigstore-java has insufficient verification for a situation where a bundle provides a invalid signature for a checkpoint. This bug impacts clients using any variation of KeylessVerifier.verify(). Currently checkpoints are only used to ensure the root hash of an inclusion proof was provided by the log in question. Failing to validate that means a bundle may provide an inclusion proof that doesn't actually correspond to the log in question. This may eventually lead a monitor/witness being unable to detect when a compromised logs are providing different views of themselves to different clients. There are other mechanisms right now that mitigate this, such as the signed entry timestamp. Sigstore-java currently requires a valid signed entry timestamp. By correctly verifying the signed entry timestamp we can make certain assertions about the log signing the log entry (like the log was aware of the artifact signing event and signed it). Therefore the impact on clients that are not monitors/witnesses is very low. This vulnerability is fixed in 1.2.0.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
dev.sigstore/sigstore-java(Maven) < 1.2.0; = 0.1.0; = 0.2.0; = 0.3.0 +11 more 1.2.0 Fixed
sigstore-java < 1.2.0; = < 1.2.0 1.2.0 Fixed

Affected products

ProductAffected versionsFixed in
dev.sigstore/sigstore-java(Maven) < 1.2.0 1.2.0
dev.sigstore/sigstore-java(Maven) = 0.1.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.10.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.11.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.12.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.2.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.3.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.4.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.5.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.6.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.7.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.8.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 0.9.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 1.0.0 No fix listed
dev.sigstore/sigstore-java(Maven) = 1.1.0 No fix listed
sigstore-java = < 1.2.0 No fix listed
sigstore-java < 1.2.0 1.2.0

References