Out-of-Bounds Affecting envoyproxy/envoy package, versions [1.16.0,1.16.5)[1.17.0,1.17.4)[1.18.0,1.18.4)[1.19.0,1.91.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ENVOYPROXYENVOY-2365517
  • published26 Jan 2022
  • disclosed24 Aug 2021
  • creditUnknown

Introduced: 24 Aug 2021

CVE-2021-32781  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade envoyproxy/envoy to version 1.16.5, 1.17.4, 1.18.4, 1.91.1 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds. Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In affected versions after Envoy sends a locally generated response it must stop further processing of request or response data. However when local response is generated due the internal buffer overflow while request or response is processed by the filter chain the operation may not be stopped completely and result in accessing a freed memory block. A specifically constructed request delivered by an untrusted downstream or upstream peer in the presence of extensions that modify and increase the size of request or response bodies resulting in a Denial of Service when using extensions that modify and increase the size of request or response bodies, such as decompressor filter. Envoy versions 1.19.1, 1.18.4, 1.17.4, 1.16.5 contain fixes to address incomplete termination of request processing after locally generated response. As a workaround disable Envoy's decompressor, json-transcoder or grpc-web extensions or proprietary extensions that modify and increase the size of request or response bodies, if feasible.

CVSS Scores

version 3.1