Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/aws/amazon-ecs-agent
  4. ›
  5. CVE-2025-9039

CVE-2025-9039: Information Disclosure in Amazon ECS Container Agent

August 14, 2025

Summary Amazon Elastic Container Service (Amazon ECS) is a fully managed container orchestration service that enables customers to deploy, manage, and scale containerized applications. Amazon ECS container agent provides an introspection API that provides information about the overall state of the Amazon ECS agent and the container instances.

We identified CVE-2025-9039, an issue in the Amazon ECS agent.

Impact Under certain conditions, this issue could allow an introspection server to be accessed off-host by another instance if the instances are in the same security group or if their security groups allow incoming connections that include the port where the server is hosted. This issue does not affect instances where the option to allow off-host access to the introspection server is set to ‘false’.

Impacted versions: version 0.0.3 through 1.97.0

Patches This issue has been addressed in ECS agent version 1.97.1. We recommend upgrading to the latest version and ensuring any forked or derivative code is patched to incorporate the new fixes.

Workarounds Customers who cannot update to the latest AMI can modify the Amazon EC2 security groups to restrict incoming access to the introspection server port (51678).

References If you have any questions or comments about this advisory, we ask that you contact AWS Security via our vulnerability reporting page or directly via email to aws-security@amazon.com. Please do not create a public GitHub issue.

References

  • github.com/advisories/GHSA-wm7x-ww72-r77q
  • github.com/aws/amazon-ecs-agent
  • github.com/aws/amazon-ecs-agent/releases/tag/v1.97.1
  • github.com/aws/amazon-ecs-agent/security/advisories/GHSA-wm7x-ww72-r77q
  • nvd.nist.gov/vuln/detail/CVE-2025-9039

Code Behaviors & Features

Detect and mitigate CVE-2025-9039 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.0.3 before 1.97.1

Fixed versions

  • 1.97.1

Solution

Upgrade to version 1.97.1 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

go/github.com/aws/amazon-ecs-agent/CVE-2025-9039.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:22 +0000.