GHSA-j4g3-3q8x-jxqp
GHSA-j4g3-3q8x-jxqp · dbt-core's secret env vars written to package-lock.json in plaintext
This page contains facts from public vulnerability sources. Check the original advisory before updating.
### 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.
CVSS 3.2 · Low · Fix available
- Published
- Updated
Stack: python
Affected products and versions
dbt-core PyPI
- Versions
- 1.7.0
- 1.7.1
- 1.7.2
- Affected ranges
- ECOSYSTEM: ≥ 1.7.0, < 1.7.3
Update to 1.7.3
Original sources
- https://github.com/dbt-labs/dbt-core/security/advisories/GHSA-j4g3-3q8x-jxqp
- https://github.com/dbt-labs/dbt-core/commit/09f5bb3dcffeda7a60ad2b22c2891f237628ecd1
- https://github.com/dbt-labs/dbt-core
- https://github.com/dbt-labs/dbt-core/releases/tag/v1.7.3
- https://osv.dev/vulnerability/GHSA-j4g3-3q8x-jxqp