GHSA-635V-PC42-FR74

GHSA-635V-PC42-FR74 is a medium-severity security vulnerability in sagemaker-training (pip), affecting versions >= 4.7.0, < 4.8.0. It is fixed in 4.8.0.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

AWS SageMaker Training Toolkit logs CodeArtifact Authorization token

Description

For SageMaker Training Toolkit[1] versions 4.7.4; 4.7.3; 4.7.2; 4.7.1; 4.7.0, the authorization tokens for CodeArtifact (temporary token with an expiration of 12 hours) were logged in the log files when the CodeArtifact capability was enabled. If customers push these log files to their CloudWatch Log streams, anyone having access to cloudwatch logs within their AWS account, may be abe to see the authorization token. If the token is not expired, they may use the authorization token to publish or consume CodeArtifact package versions.

This issue was addressed in version 4.8.0. We recommend users upgrade to version 4.8.0 or higher.

Please note that users can add SageMaker Training Toolkit to any Docker container[2] used for SageMaker training[3]. It also comes pre-packaged with the prebuilt SageMaker Docker image[4] for SageMaker training.

Workarounds

N/A

References

N/A

If you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page[5] or directly via email to [email protected]. Please do not create a public GitHub issue.

[1] https://github.com/aws/sagemaker-training-toolkit
[2] https://www.docker.com/resources/what-container/
[3] https://aws.amazon.com/sagemaker/train/
[4] https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html
[5] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting

Impact

GHSA-635V-PC42-FR74 has a CVSS score of 4.2 (Medium). The vector is network-reachable, high privileges required, and user interaction required. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (4.8.0); upgrading removes the vulnerable code path.

Affected versions

sagemaker-training (>= 4.7.0, < 4.8.0)

Security releases

sagemaker-training → 4.8.0 (pip)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

This issue has been addressed in version 4.8.0 and higher.

Frequently Asked Questions

  1. What is GHSA-635V-PC42-FR74? GHSA-635V-PC42-FR74 is a medium-severity security vulnerability in sagemaker-training (pip), affecting versions >= 4.7.0, < 4.8.0. It is fixed in 4.8.0.
  2. How severe is GHSA-635V-PC42-FR74? GHSA-635V-PC42-FR74 has a CVSS score of 4.2 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of sagemaker-training are affected by GHSA-635V-PC42-FR74? sagemaker-training (pip) versions >= 4.7.0, < 4.8.0 is affected.
  4. Is there a fix for GHSA-635V-PC42-FR74? Yes. GHSA-635V-PC42-FR74 is fixed in 4.8.0. Upgrade to this version or later.
  5. Is GHSA-635V-PC42-FR74 exploitable, and should I be worried? Whether GHSA-635V-PC42-FR74 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether GHSA-635V-PC42-FR74 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix GHSA-635V-PC42-FR74? Upgrade sagemaker-training to 4.8.0 or later.

Stop the waste.
Protect your environment with Kodem.