Read the docs
TI-2024-39035 Aliases GHSA-rjc6-vm4h-85cg

Sensitive Information Exposure Through Insecure Logging For Secrets Like Metadata.DockerBuildArgs

Priority LOW 38CWE-532Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Information disclosure
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-532.

Summary

### Summary The AWS Serverless Application Model (SAM) CLI is an open source tool that allows customers to build, deploy and test their serverless applications built on AWS. AWS SAM CLI can build container (Docker) images and customers can specify arguments in the SAM template that are passed to the Docker engine during build [1]. ### Impact If customers specify sensitive data in the DockerBuildArgs parameter of their template, the sensitive data will be shown in clear text in the AWS SAM CLI output via STDERR when running the sam build command. ### Patches A patch is included in aws-sam-cli>=1.122.0. We strongly recommend customers install AWS SAM CLI v1.122.0 or above. Please review logs produced by your SAM CLI runs if you have used the DockerBuildArgs parameter and consider rotating the secrets if you believe they were exposed. ### References If you have any questions or comments about this issue, we ask that you contact AWS/Amazon Security via our vulnerability reporting page [2] or directly via email to [[email protected]](mailto:[email protected]). Please do not create a public GitHub issue. [1] https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-using-build.html#build-container-image [2] https://aws.amazon.com/security/vulnerability-reporting

Why it matters now

Fix Fixed aws-sam-cli (PyPI): 1.122.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—aws-sam-cli (PyPI)before 1.122.01.122.0Patch availableGHSA-rjc6-vm4h-85cg
  • aws-sam-cli (PyPI) Vendor— Affected before 1.122.0 Fixed in 1.122.0 Patch available GHSA-rjc6-vm4h-85cg

Remediation

  • Fix · GHSA-rjc6-vm4h-85cg aws-sam-cli (PyPI) Fixed in 1.122.0 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-rjc6-vm4h-85cg

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences