Description
Goproxy before 1.9.4 contains a weak key generation vulnerability in NewCounterEncryptorRandFromKey that derives RSA and Ed25519 leaf certificate private keys from public data due to misuse of hash.Sum. Attackers with the CA certificate and one observed leaf certificate can regenerate that host's leaf private key and impersonate the host to clients trusting the proxy CA.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
elazarl goproxy
Default version status: unaffected
0 to < 1.9.4affected1.9.4unaffected
pkg:golang/github.com/elazarl/goproxyReferences
- https://github.com/elazarl/goproxy/pull/822 ↗
- https://github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c ↗
- https://github.com/elazarl/goproxy/releases/tag/v1.9.4 ↗
- https://github.com/elazarl/goproxy/blob/v1.9.3/internal/signer/counterecryptor.go#L37-L44 ↗
- https://github.com/elazarl/goproxy ↗
- https://www.vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys ↗