製品・ソフトウェアに関する情報
go-proxyproto における脆弱性
Title go-proxyproto における脆弱性
Summary

go-proxyproto には、不特定の脆弱性が存在します。

Possible impacts サービス運用妨害 (DoS) 状態にされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 3, 2021, midnight
Registration Date Nov. 16, 2021, 10:26 a.m.
Last Update Nov. 16, 2021, 10:26 a.m.
CVSS3.0 : 警告
Score 4.9
Vector CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CVSS2.0 : 警告
Score 4
Vector AV:N/AC:L/Au:S/C:N/I:N/A:P
Affected System
go-proxyproto project
go-proxyproto 0.5.0 未満
Fedora Project
Fedora 
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
1 [2021年11月16日]
  掲載
Nov. 16, 2021, 10:26 a.m.

NVD Vulnerability Information
CVE-2021-23351
Summary

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.

Publication Date March 8, 2021, 2:15 p.m.
Registration Date March 8, 2021, 4:01 p.m.
Last Update Nov. 21, 2024, 2:51 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:go-proxyproto_project:go-proxyproto:*:*:*:*:*:*:*:* 0.5.0
Configuration2 or higher or less more than less than
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List