CVE-2024-54140 sigstore-java has a vulnerability with bundle verification
Insufficient bundle verification in sigstore-java allows bypassing log integrity checks, potentially hiding compromised log views from monitors.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-54140?
CVE-2024-54140 is a low-severity vulnerability in sigstore-java, published on 5 Dec 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2024-54140?
2 open source packages ship an affected version, including dev.sigstore:sigstore-java.
| Package | Affected | Fixed in |
|---|---|---|
dev.sigstore:sigstore-java Maven | All versions | 1.2.0 |
dev.sigstore:sigstore-java Maven | All versions | 1.2.0 |
How do I fix CVE-2024-54140?
Upgrade dev.sigstore:sigstore-java to 1.2.0 or later.
Is CVE-2024-54140 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-54140 exists.
Sources
Also known as GHSA-jp26-88mw-89qr.