CVE-2021-23351

MediumCVSS 4.9/10Last modified Jun 17, 2026

Description

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.

Metrics

CVSS 3.1 4.9/10CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Affected software

No affected versions have been published.

Timeline

Published
Mar 8, 2021
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2021

CVE-2021-233529.8This affects the package madge before 4.0.1. It is possible to specify a custom Graphviz path via the graphVizPath option parameter which whCVE-2021-233537.5This affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.CVE-2021-233547.5The package printf before 0.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the regex string /\%(?:\(([\w_.]+)\)|([1-CVE-2021-233559.8This affects all versions of package ps-kill. If (attacker-controlled) user input is given to the kill function, it is possible for an attacCVE-2021-233569.8This affects all versions of package kill-process-by-name. If (attacker-controlled) user input is given, it is possible for an attacker to eCVE-2021-233575.3All versions of package github.com/tyktechnologies/tyk/gateway are vulnerable to Directory Traversal via the handleAddOrUpdateApi function. CVE-2021-233587.2The package underscore from 1.13.0-0 and before 1.13.0-2, from 1.3.2 and before 1.12.1 are vulnerable to Arbitrary Code Injection via the teCVE-2021-233598.8This affects all versions of package port-killer. If (attacker-controlled) user input is given, it is possible for an attacker to execute arCVE-2021-23363.5Vulnerability in the Oracle Database - Enterprise Edition Data Redaction component of Oracle Database Server. Supported versions that are afCVE-2021-233608.8This affects the package killport before 1.0.2. If (attacker-controlled) user input is given, it is possible for an attacker to execute arbiCVE-2021-233625.3The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatchCVE-2021-233638.8This affects the package kill-by-port before 0.0.2. If (attacker-controlled) user input is given to the killByPort function, it is possible