Credential Exposure Affecting github.com/anchore/syft/internal/config package, versions >=0.69.0 <0.70.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.18% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMANCHORESYFTINTERNALCONFIG-3312078
  • published7 Feb 2023
  • disclosed7 Feb 2023
  • creditAlex Goodman

Introduced: 7 Feb 2023

CVE-2023-24827  (opens in a new tab)
CWE-256  (opens in a new tab)

How to fix?

Upgrade github.com/anchore/syft/internal/config to version 0.70.0 or higher.

Overview

github.com/anchore/syft/internal/config is a library for generating a Software Bill of Materials from container images and filesystems

Affected versions of this package are vulnerable to Credential Exposure by exposing the contents of the SYFT_ATTEST_PASSWORD, whether or not the attest command is in use. An attacker can view this stored password using the syft command with the -vv or -vvv option, or in an SBOM attestation using the syft-json format.

References

CVSS Scores

version 3.1