{"schemaVersion":3,"id":"CVE-2023-24827","aliases":["GHSA-jp7v-3587-2956","GO-2023-1533"],"status":"published","duplicateOf":null,"title":null,"description":"syft is a a CLI tool and Go library for generating a Software Bill of Materials (SBOM) from container images and filesystems. A password disclosure flaw was found in Syft versions v0.69.0 and v0.69.1. This flaw leaks the password stored in the SYFT_ATTEST_PASSWORD environment variable. The `SYFT_ATTEST_PASSWORD` environment variable is for the `syft attest` command to generate attested SBOMs for the given container image. This environment variable is used to decrypt the private key (provided with `syft attest --key <path-to-key-file>`)  during the signing process while generating an SBOM attestation. This vulnerability affects users running syft that have the `SYFT_ATTEST_PASSWORD` environment variable set with credentials (regardless of if the attest command is being used or not). Users that do not have the environment variable `SYFT_ATTEST_PASSWORD` set are not affected by this issue. The credentials are leaked in two ways: in the syft logs when `-vv` or `-vvv` are used in the syft command (which is any log level >= `DEBUG`) and in the attestation or SBOM only when the `syft-json` format is used. Note that as of v0.69.0 any generated attestations by the `syft attest` command are uploaded to the OCI registry (if you have write access to that registry) in the same way `cosign attach` is done. This means that any attestations generated for the affected versions of syft when the `SYFT_ATTEST_PASSWORD` environment variable was set would leak credentials in the attestation payload uploaded to the OCI registry. This issue has been patched in commit `9995950c70` and has been released as v0.70.0. There are no workarounds for this vulnerability. Users are advised to upgrade.","dates":{"published":"2023-02-07T00:07:38.460Z","modified":"2025-03-10T21:15:45.771Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00791,"percentile":0.55574,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00791},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00791,"percentile":0.55574}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00791,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00791,"percentile":0.55574}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_ANCHORE_SYFT","name":"Syft","source":"github","url":"https://github.com/anchore/syft/security/advisories/GHSA-jp7v-3587-2956","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor","description":"The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File","description":"The product writes sensitive information to a log file.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/532.html"}],"affected":[{"vendor":"anchore","product":"syft","name":"syft","label":"syft","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.69.0, < 0.70.0","noFixRecorded":false,"fixedIn":null},{"text":"0.69.0","noFixRecorded":false,"fixedIn":null},{"text":"0.69.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.69.0, < 0.70.0 | 0.69.0 | 0.69.1","eol":null,"hubHref":"/vendor/anchore/syft"},{"vendor":"github.com/anchore","product":"syft","name":"github.com/anchore/syft","label":"syft","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/anchore/syft","purlType":"golang","versions":[{"text":"≥ 0.69.0, < 0.70.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.69.0, < 0.70.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/anchore/syft/security/advisories/GHSA-jp7v-3587-2956","label":"github.com/anchore/syft/security/advisories/GHSA-jp7v-3587-2956","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/anchore/syft/commit/9995950c70e849f9921919faffbfcf46401f71f3","label":"github.com/anchore/syft/commit/9995950c70e849f9921919faffbfcf46401f71f3","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-24827","label":"nvd.nist.gov/vuln/detail/CVE-2023-24827","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/anchore/syft","label":"github.com/anchore/syft","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-02-07T00:07:38.460Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:15:45.771Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T09:27:56.270Z","stale":false,"partial":false}}