CVE-2024-54140
sigstore-java is a sigstore java client for interacting with …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/sigstore/sigstore-conformance/pull/139
- github.com/sigstore/sigstore-java/commit/23fb4885e6704a5df4977f7acf253a745349edf9
- github.com/sigstore/sigstore-java/security/advisories/GHSA-jp26-88mw-89qr
- nvd.nist.gov/vuln/detail/CVE-2024-54140
- github.com/advisories/GHSA-jp26-88mw-89qr
- nvd.nist.gov/vuln/detail/CVE-2024-54140
- cve.org/CVERecord?id=CVE-2024-54140
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.