Home / anchore / syft / CVE-2023-24827
CVE-2023-24827: is it exploited, and which versions of anchore syft are affected and fixed?
CVE-2023-24827 is an information disclosure vulnerability in anchore syft. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: github.com/anchore/syft from 0.69.0 before 0.70.0 (GitHub advisory GHSA-jp7v-3587-2956). Fixed in 0.70.0 (GitHub advisory GHSA-jp7v-3587-2956). Severity: Medium (6.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-24827?
Credential disclosure in syft when SYFT_ATTEST_PASSWORD environment variable set in syft
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.
From the CVE record by GitHub_M, last updated March 10, 2025, 21:15 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| anchore | syft | >= 0.69.0, < 0.70.0 |
As the CVE record by GitHub_M states it, last updated March 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/anchore/syft | >= 0.69.0, < 0.70.0 | 0.70.0 | GHSA-jp7v-3587-2956 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 8, 2023. Summary: Credential disclosure in syft when SYFT_ATTEST_PASSWORD environment variable set.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| anchore | syft | 0.69.0 | application |
| anchore | syft | 0.69.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:39 UTC.
How severe is CVE-2023-24827?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | GitHub_M |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-24827 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, March 10, 2025)
- EPSS
- 0.80% probability of exploitation activity in the next 30 days, percentile 57.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-532 Insertion of Sensitive Information into Log File
Where are the vendor advisories and references?
- https://github.com/anchore/syft/security/advisories/GHSA-jp7v-3587-2956 x_refsource_CONFIRM
- https://github.com/anchore/syft/commit/9995950c70e849f9921919faffbfcf46401f71f3 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 30, 2023
- Published
- February 7, 2023, 00:07 UTC
- CVE record updated
- March 10, 2025, 21:15 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:39 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect syft?
- Mar 26, 2026CVE-2026-33481 anchore syft: improper Cleanup on Thrown Exception
Questions about CVE-2023-24827
Is CVE-2023-24827 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.80% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of anchore syft are affected by CVE-2023-24827?
github.com/anchore/syft from 0.69.0 before 0.70.0, per the GitHub advisory GHSA-jp7v-3587-2956. The tables above give every range the sources list.
Which version fixes CVE-2023-24827?
0.70.0, per the GitHub advisory GHSA-jp7v-3587-2956. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-24827?
Medium (6.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-24827?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.