{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23351","published":"2021-03-08T05:15:12.593000Z","last_modified":"2026-06-17T03:38:36.220000Z","status":"Modified","cvss":{"version":"3.1","score":4.9,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":[],"cpes":[{"criteria":"cpe:2.3:a:go-proxyproto_project:go-proxyproto:*:*:*:*:*:*:*:*","part":"a","vendor":"go-proxyproto_project","product":"go-proxyproto","version_end_excluding":"0.5.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"33"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"34"}],"cpes_truncated":false,"vendors":["go-proxyproto_project","fedoraproject"],"products":["go-proxyproto_project/go-proxyproto","fedoraproject/fedora"],"epss":{"score":0.01871,"percentile":0.79933,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-fqh4-rh59-xhvf","ecosystem":"Go","name":"github.com/pires/go-proxyproto","purl":"pkg:golang/github.com/pires/go-proxyproto","ranges":[{"introduced":"0","fixed":"0.5.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":30,"links":{"html_es":"/es/cve/CVE-2021-23351/","html_en":"/en/cve/CVE-2021-23351/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23351","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23351"},"untrusted":{"vendor_name":"Go-proxyproto Project","product_name":"Go-proxyproto","desc_en":"The package github.com/pires/go-proxyproto before 0.5.0 are vulnerable to Denial of Service (DoS) via the parseVersion1() function. The reader in this package is a default bufio.Reader wrapping a net.Conn. It will read from the connection until it finds a newline. Since no limits are implemented in the code, a deliberately malformed V1 header could be used to exhaust memory in a server process using this code - and create a DoS. This can be exploited by sending a stream starting with PROXY and continuing to send data (which does not contain a newline) until the target stops acknowledging. The risk here is small, because only trusted sources should be allowed to send proxy protocol headers.","affected":[],"references":[{"url":"https://github.com/pires/go-proxyproto/commit/7f48261db810703d173f27f3309a808cc2b49b8b","tags":["Patch","Third Party Advisory"]},{"url":"https://github.com/pires/go-proxyproto/issues/69","tags":["Third Party Advisory"]},{"url":"https://github.com/pires/go-proxyproto/pull/71","tags":["Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4BNVGJMVI3ZTZ675EFPUHPGXCKCGSX46/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36IBVOZXRTWM7MGTRUTOM56P5RR74VU/","tags":[]},{"url":"https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPIRESGOPROXYPROTO-1081577","tags":["Third Party Advisory"]}]}}