Description Preview
Overview
The vulnerability affects users of Syft v0.69.0 and v0.69.1 who have the SYFT_ATTEST_PASSWORD environment variable set with credentials, regardless of whether the attest command is being used. The password disclosure occurs in debug logs and in JSON output formats. This could lead to unauthorized access to private keys used for SBOM attestations, potentially compromising the integrity and security of the software supply chain. Users who do not have the SYFT_ATTEST_PASSWORD environment variable set are not affected by this issue.
Remediation
Users should upgrade to Syft v0.70.0 or later, which contains the fix for this vulnerability (commit 9995950c70e849f9921919faffbfcf46401f71f3). There are no workarounds for this vulnerability other than upgrading. If you have used affected versions with the SYFT_ATTEST_PASSWORD environment variable set, you should consider:
- Rotating any credentials that may have been leaked
- Checking OCI registries for potentially compromised attestations
- Regenerating attestations using the patched version
- Reviewing your environment for any logs that might contain the exposed credentials
References
- Patch: https://github.com/anchore/syft/commit/9995950c70e849f9921919faffbfcf46401f71f3
- Advisory: https://github.com/anchore/syft/security/advisories/GHSA-jp7v-3587-2956
- CWE-532: Information Exposure Through Log Files
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- ManufacturingManufacturing
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade