4.9
MEDIUM
CVE-2021-23351
SolarWinds Go-Proxyproto Denial of Service (DoS)
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.

INFO

Published Date :

March 8, 2021, 5:15 a.m.

Last Modified :

Nov. 7, 2023, 3:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

1.2
Affected Products

The following products are affected by CVE-2021-23351 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Go-proxyproto_project go-proxyproto

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-23351 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-23351 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Snyk https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4BNVGJMVI3ZTZ675EFPUHPGXCKCGSX46/ [No types assigned]
    Added Reference Snyk https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C36IBVOZXRTWM7MGTRUTOM56P5RR74VU/ [No types assigned]
    Removed Reference Snyk https://lists.fedoraproject.org/archives/list/[email protected]/message/4BNVGJMVI3ZTZ675EFPUHPGXCKCGSX46/
    Removed Reference Snyk https://lists.fedoraproject.org/archives/list/[email protected]/message/C36IBVOZXRTWM7MGTRUTOM56P5RR74VU/
  • Modified Analysis by [email protected]

    Mar. 23, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/4BNVGJMVI3ZTZ675EFPUHPGXCKCGSX46/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/4BNVGJMVI3ZTZ675EFPUHPGXCKCGSX46/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/C36IBVOZXRTWM7MGTRUTOM56P5RR74VU/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/C36IBVOZXRTWM7MGTRUTOM56P5RR74VU/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Mar. 19, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/C36IBVOZXRTWM7MGTRUTOM56P5RR74VU/ [No Types Assigned]
  • CVE Modified by [email protected]

    Mar. 17, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/4BNVGJMVI3ZTZ675EFPUHPGXCKCGSX46/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 11, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/pires/go-proxyproto/commit/7f48261db810703d173f27f3309a808cc2b49b8b No Types Assigned https://github.com/pires/go-proxyproto/commit/7f48261db810703d173f27f3309a808cc2b49b8b Patch, Third Party Advisory
    Changed Reference Type https://github.com/pires/go-proxyproto/issues/69 No Types Assigned https://github.com/pires/go-proxyproto/issues/69 Third Party Advisory
    Changed Reference Type https://github.com/pires/go-proxyproto/pull/71 No Types Assigned https://github.com/pires/go-proxyproto/pull/71 Patch, Third Party Advisory
    Changed Reference Type https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPIRESGOPROXYPROTO-1081577 No Types Assigned https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMPIRESGOPROXYPROTO-1081577 Third Party Advisory
    Added CWE NIST NVD-CWE-noinfo
    Added CPE Configuration OR *cpe:2.3:a:go-proxyproto_project:go-proxyproto:*:*:*:*:*:*:*:* versions up to (excluding) 0.5.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-23351 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-23351 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.15 }} -0.02%

score

0.51362

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability