Security Policy¶
This document outlines the security model for ADBC libraries and drivers and how to report vulnerabilities.
Security Model¶
The ADBC project follows the Apache Arrow Security Model and builds on it.
In general, crashes, hangs, and resource exhaustion are considered bugs, not security vulnerabilities, unless they can be exploited to execute arbitrary code, escalate privileges, or disclose data the attacker should not have access to (such as the contents of process memory).
Libraries¶
This section covers all language bindings and driver managers that live in this repository.
Applications should only load trusted drivers with a driver manager. Issues resulting from loading a driver that behaves maliciously are not covered by this policy.
Applications should only load trusted driver manifests or connection profiles with a driver manager. Issues resulting from loading untrusted manifests or profiles are not covered by this policy.
Drivers¶
This section covers the ADBC drivers that live in and are released from this repository. It does not cover ADBC drivers published outside the ADBC project.
Drivers should only be used to connect to trusted databases and data sources.
Drivers trust the responses they receive, so issues that require a malicious or compromised database or data source (for example, a server that sends malformed responses that crash the driver, corrupt memory, or cause the driver to produce invalid Arrow data) are not considered vulnerabilities in the driver.
Arrow Data¶
The Arrow security model requires consumers of Arrow data to trust its producer. Applications consume Arrow data from drivers and, since applications must trust drivers they choose to load, drivers are trusted producers. Likewise, drivers trust Arrow data passed to them by the application. Passing invalid data to a driver is API misuse, not a vulnerability.
Reporting a Bug¶
To report a bug that is not a security vulnerability, see the contributing guide.
Reporting a Security Vulnerability¶
For security vulnerabilities, please follow the responsible disclosure process below so we can investigate and fix the issue before it is exploited in the wild.
ADBC follows the Apache Software Foundation security reporting process, and reports of security vulnerabilities should be sent privately to security@apache.org.