HTTP Request Smuggling Affecting ecs-service-connect-agent package, versions <0:v1.25.4.0-1.amzn2023


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (55th 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-AMZN2023-ECSSERVICECONNECTAGENT-5496032
  • published4 May 2023
  • disclosed4 Apr 2023

Introduced: 4 Apr 2023

CVE-2023-27493  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 ecs-service-connect-agent to version 0:v1.25.4.0-1.amzn2023 or higher.
This issue was patched in ALAS2023-2023-165.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ecs-service-connect-agent package and not the ecs-service-connect-agent package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

Envoy is an open source edge and service proxy designed for cloud-native applications. Prior to versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9, Envoy does not sanitize or escape request properties when generating request headers. This can lead to characters that are illegal in header values to be sent to the upstream service. In the worst case, it can cause upstream service to interpret the original request as two pipelined requests, possibly bypassing the intent of Envoy’s security policy. Versions 1.26.0, 1.25.3, 1.24.4, 1.23.6, and 1.22.9 contain a patch. As a workaround, disable adding request headers based on the downstream request properties, such as downstream certificate properties.

CVSS Scores

version 3.1