Keystore Go
Monthly
Integrity-check and password-verification bypass in the legacy keystore-go v2 module path (github.com/pavel-v-chernykh/keystore-go ≤ v2.1.0+incompatible) lets an attacker with write access to a .jks truststore replace or add trusted CA certificates without knowing the keystore password, simply by deleting the file's final 20-byte SHA-1 digest before the consuming Go program decodes it. Because certificate-only stores built from TrustedCertificateEntry values rely on that trailing digest as their only tamper check and their only password verification, the forged store loads with err == nil, which can enable interception or modification of TLS connections that trust the injected CA. The issue is fixed in v3.0.0 and in the /v3 and /v4 module paths, but there is no fixed release on the bare v2 path; exploitation requires local file-write access (AV:L, PR:L), no CISA KEV entry exists, and the upstream advisory publishes a public proof-of-concept reproduction.
Integrity-check and password-verification bypass in the legacy keystore-go v2 module path (github.com/pavel-v-chernykh/keystore-go ≤ v2.1.0+incompatible) lets an attacker with write access to a .jks truststore replace or add trusted CA certificates without knowing the keystore password, simply by deleting the file's final 20-byte SHA-1 digest before the consuming Go program decodes it. Because certificate-only stores built from TrustedCertificateEntry values rely on that trailing digest as their only tamper check and their only password verification, the forged store loads with err == nil, which can enable interception or modification of TLS connections that trust the injected CA. The issue is fixed in v3.0.0 and in the /v3 and /v4 module paths, but there is no fixed release on the bare v2 path; exploitation requires local file-write access (AV:L, PR:L), no CISA KEV entry exists, and the upstream advisory publishes a public proof-of-concept reproduction.