{"id":"UBUNTU-CVE-2026-133185","details":"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.","modified":"2026-11-25T17:45:51Z","published":"2026-11-19T15:17:00Z","upstream":["CVE-2026-133185"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-133185"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-133185"},{"type":"REPORT","url":"https://github.com/elazarl/goproxy"},{"type":"REPORT","url":"https://github.com/elazarl/goproxy/blob/v1.9.3/internal/signer/counterecryptor.go#L37-L44"},{"type":"REPORT","url":"https://github.com/elazarl/goproxy/commit/c150a338c02550eedace75f4baad4f73c0605b3c"},{"type":"REPORT","url":"https://github.com/elazarl/goproxy/pull/822"},{"type":"REPORT","url":"https://github.com/elazarl/goproxy/releases/tag/v1.9.4"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/elazarl-goproxy-before-1.9.4-predictable-mitm-leaf-certificate-private-keys"}],"affected":[{"package":{"name":"golang-github-elazarl-goproxy","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-github-elazarl-goproxy?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.0-1","binary_name":"golang-github-elazarl-goproxy-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133185.json"}},{"package":{"name":"golang-github-elazarl-goproxy","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-github-elazarl-goproxy?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0-1","1.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-elazarl-goproxy-dev","binary_version":"1.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133185.json"}},{"package":{"name":"golang-github-elazarl-goproxy","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-github-elazarl-goproxy?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-elazarl-goproxy-dev","binary_version":"1.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133185.json"}},{"package":{"name":"golang-github-elazarl-goproxy","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/golang-github-elazarl-goproxy?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-elazarl-goproxy-dev","binary_version":"1.1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133185.json"}},{"package":{"name":"golang-github-elazarl-goproxy","ecosystem":"Ubuntu:26.10","purl":"pkg:deb/ubuntu/golang-github-elazarl-goproxy?arch=source&distro=stonking"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1+git20240726.8b0c205+dfsg-1","1.1+git20240726.8b0c205+dfsg-2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.1+git20240726.8b0c205+dfsg-2","binary_name":"golang-github-elazarl-goproxy-dev"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133185.json"}},{"package":{"name":"golang-github-elazarl-goproxy","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/golang-github-elazarl-goproxy?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.1+git20240726.8b0c205+dfsg-1"],"ecosystem_specific":{"binaries":[{"binary_name":"golang-github-elazarl-goproxy-dev","binary_version":"1.1+git20240726.8b0c205+dfsg-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-133185.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","source":"CNA"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"CNA"},{"type":"Ubuntu","score":"medium","source":"SELF"}]}