Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') Affecting dbt-core package, versions [0,1.6.14) [1.7.0,1.7.14)
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-DBTCORE-7430282
- published 17 Jul 2024
- disclosed 3 Jul 2024
- credit Paul Brabban
Introduced: 3 Jul 2024
CVE-2024-40637 Open this link in a new tabHow to fix?
Upgrade dbt-core
to version 1.6.14, 1.7.14 or higher.
Overview
dbt-core is a With dbt, data analysts and engineers can build analytics the way engineers build applications.
Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') allowing an attacker to install a malicious package, gaining the ability to override macros, materializations, and other core components of dbt.
Workaround
Users unable to upgrade to the fixed version can set the flags.require_explicit_package_overrides_for_builtin_materializations
to False
configuration in dbt_project.yml
.