CVSS 5.3 · Medium EPSS 0,39%
Kerentanan Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') pada getdbt dbt-common. Skor CVSS 3.1 5.3 (Medium) menurut NVD.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
· uraikan di kalkulator | Vendor | Produk | Versi terdampak |
|---|---|---|
| getdbt | dbt-common | Semua versi sebelum 1.34.2 |
| getdbt | dbt-common | Versi 1.35.0 hingga sebelum 1.37.3 |