Integer Overflow to Buffer Overflow Affecting ecs-service-connect-agent package, versions <0:v1.34.4.2-1.amzn2023


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
1.24% (67th 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-14905409
  • published9 Jan 2026
  • disclosed5 Feb 2025

Introduced: 5 Feb 2025

CVE-2025-0725  (opens in a new tab)
CWE-680  (opens in a new tab)

How to fix?

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

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.

When libcurl is asked to perform automatic gzip decompression of content-encoded HTTP responses with the CURLOPT_ACCEPT_ENCODING option, using zlib 1.2.0.3 or older, an attacker-controlled integer overflow would make libcurl perform a buffer overflow.

CVSS Base Scores

version 3.1