Security mailing lists by PureSourceCode

GHSA-j4g3-3q8x-jxqp

LOW 3.2CVSS 3.1

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.

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.

Published
8 Dec 2023
Last modified
4 Dec 2024
Weakness
CWE-315
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 LOW 3.2 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI dbt-core >= 1.7.0, < 1.7.3 1.7.3

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Dec 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.