GHSA-6hwc-9h8r-3vmf

Suggest an improvement
Source
https://github.com/advisories/GHSA-6hwc-9h8r-3vmf
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-6hwc-9h8r-3vmf/GHSA-6hwc-9h8r-3vmf.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6hwc-9h8r-3vmf
Aliases
Published
2025-06-26T06:31:04Z
Modified
2025-07-28T20:30:11.434166Z
Severity
  • 7.2 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
  • 1.2 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:H/AT:P/PR:H/UI:P/VC:L/VI:N/VA:N/SC:H/SI:H/SA:H/E:P CVSS Calculator
Summary
Snyk CLI Insertion of Sensitive Information into Log File allowed in DEBUG or DEBUG/TRACE mode
Details

Versions of the package snyk before 1.1297.3 are vulnerable to Insertion of Sensitive Information into Log File through local Snyk CLI debug logs. Container Registry credentials provided via environment variables or command line arguments can be exposed when executing Snyk CLI in DEBUG or DEBUG/TRACE mode.

The issue affects the following Snyk commands:

  1. When snyk container test or snyk container monitor commands are run against a container registry, with debug mode enabled, the container registry credentials may be written into the local Snyk CLI debug log. This only happens with credentials specified in environment variables (SNYKREGISTRYUSERNAME and SNYKREGISTRYPASSWORD), or in the CLI (--password/-p and --username/-u).

  2. When snyk auth command is executed with debug mode enabled AND the log level is set to TRACE, the Snyk access / refresh credential tokens used to connect the CLI to Snyk may be written into the local CLI debug logs.

  3. When snyk iac test is executed with a Remote IAC Custom rules bundle, debug mode enabled, AND the log level is set to TRACE, the docker registry token may be written into the local CLI debug logs.

Database specific
{
    "github_reviewed": true,
    "severity": "LOW",
    "github_reviewed_at": "2025-06-30T11:42:49Z",
    "cwe_ids": [
        "CWE-532"
    ],
    "nvd_published_at": "2025-06-26T05:15:23Z"
}
References

Affected packages

npm / snyk

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1297.3

Go / github.com/snyk/go-application-framework

Package

Name
github.com/snyk/go-application-framework
View open source insights on deps.dev
Purl
pkg:golang/github.com/snyk/go-application-framework

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Database specific

{
    "last_known_affected_version_range": "< 0.0.0-20250623124518-ca7ba7d72e68"
}