CVE-2024-36105: dbt allows Binding to an Unrestricted IP Address via socketsocket
5.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.4177%
CWE
Published
5/28/2024
Updated
5/28/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| dbt-core | pip | < 1.6.15 | 1.6.15 |
| dbt-core | pip | >= 1.7.0, < 1.7.15 | 1.7.15 |
| dbt-core | pip | = 1.8.0 | 1.8.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the use of an empty string ('') in the TCPServer initialization, which binds to all interfaces. The code example in serve.py (line 23) explicitly shows this pattern. The fix in the commit replaces '' with '127.0.0.1', confirming this was the vulnerable line. The ServeTask.run() method is directly responsible for starting the server, making it the clear vulnerable function with high confidence.