Advisory

GHSA-wm7x-ww72-r77q

Also known as: CVE-2025-9039, GO-2025-3891

Summary

Information Disclosure in Amazon ECS Container Agent

Details

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 [[email protected]](mailto:[email protected]). Please do not create a public GitHub issue.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-08-14 18:30 UTC
Modified
2025-08-18 13:57 UTC

Affected packages and fixes

github.com/aws/amazon-ecs-agent

Go · All systems

Affected

  • introduced 0.0.3, fixed 1.97.1 (semver)

Fixed versions

1.97.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences