GHSA-j4g3-3q8x-jxqp – dbt-core
Package
Manager: pip
Name: dbt-core
Vulnerable Version: >=1.7.0 <1.7.3
Severity
Level: Low
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
dbt-core's secret env vars written to package-lock.json in plaintext ### Impact When used to pull source code from a private repository using a Personal Access Token (PAT), some versions of dbt-core write a URL with the PAT in plaintext to the `package-lock.yml` file. ### Patches The bug has been fixed in [dbt-core v1.7.3](https://github.com/dbt-labs/dbt-core/releases/tag/v1.7.3). ### Mitigations Remove any git URLs with plaintext secrets from `package-lock.yml` file(s) on servers, workstations, or in source control. Rotate any tokens that have been written to version-controlled files.
Metadata
Created: 2023-12-08T15:38:37Z
Modified: 2023-12-08T15:38:37Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-j4g3-3q8x-jxqp/GHSA-j4g3-3q8x-jxqp.json
CWE IDs: ["CWE-315"]
Alternative ID: N/A
Finding: F115
Auto approve: 1