PyPI: dbt-core
SFTY-20241001-19424
Safety legacy ID: pyup.io-73530
Affected versions of the dbt package are potentially vulnerable to Improper Access Control (CWE-284). The documentation server (ServeTask) binds to all network interfaces, which allows remote attackers to connect and potentially exploit the server. The vulnerable function is the TCPServer configuration in serve.py. This flaw can be exploited remotely, depending on the network configuration, leading to unauthorized access. To mitigate this issue, the server bound to 127.0.0.1, limiting access to localhost.
Overview
Affected versions of the dbt package are potentially vulnerable to Improper Access Control (CWE-284). The documentation server (ServeTask) binds to all network interfaces, which allows remote attackers to connect and potentially exploit the server. The vulnerable function is the TCPServer configuration in serve.py. This flaw can be exploited remotely, depending on the network configuration, leading to unauthorized access. To mitigate this issue, the server bound to 127.0.0.1, limiting access to localhost.
Advisory
Affected versions of the dbt package are potentially vulnerable to Improper Access Control (CWE-284). The documentation server (ServeTask) binds to all network interfaces, which allows remote attackers to connect and potentially exploit the server. The vulnerable function is the TCPServer configuration in serve.py. This flaw can be exploited remotely, depending on the network configuration, leading to unauthorized access. To mitigate this issue, the server bound to 127.0.0.1, limiting access to localhost.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more