A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
dbt-common is the shared common utilities for dbt-core and adapter implementations use. Prior to versions 1.34.2 and 1.37.3, a path traversal vulnerability exists in dbt-common's safe_extract() function used when extracting tarball archives. The function uses os.path.commonprefix() to validate that extracted files remain within the intended destination directory. However, commonprefix() compares paths character-by-character rather than by path components, allowing a malicious tarball to write files to sibling directories with matching name prefixes. This issue has been patched in versions 1.34.2 and 1.37.3.
Affected products
From the NVD's configuration data (CPE), vendor first.
- Getdbt dbt-common
Weakness type
References
- github.com /dbt-labs/dbt-common/commit/e547954a48bac9394ef6eb98432e429…
- github.com /dbt-labs/dbt-common/security/advisories/GHSA-w75w-9qv4-j5xj
- github.com /pypa/pip/pull/13777
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning