CVE-2023-38699
MindsDB can be made to not verify SSL certificates
Impact
### Summary MindsDB's AI Virtual Database allows developers to connect any AI/ML model to any datasource. Prior to version 23.7.4.0, a call to requests with `verify=False` disables SSL certificate checks. This rule enforces always verifying SSL certificates for methods in the Requests library. In version 23.7.4.0, certificates are validated by default, which is the desired behavior Encryption in general is typically critical to the security of many applications. Using TLS can significantly increase security by guaranteeing the identity of the party you are communicating with. This is accomplished by one or both parties presenting trusted certificates during the connection initialization phase of TLS. It is important to note that modules such as httplib within the Python standard library did not verify certificate chains until it was fixed in 2.7.9 release. ### Details Severity: Critical
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | MindsDB | < 23.7.4.0 | 23.7.4.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Mindsdb | Mindsdb | before 23.7.4.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/mindsdb/mindsdb/commit/083afcf6567cf51aa7d89ea892fd97689919053b
- https://github.com/mindsdb/mindsdb/releases/tag/v23.7.4.0
- https://github.com/mindsdb/mindsdb/security/advisories/GHSA-8hx6-qv6f-xgcw
- https://github.com/advisories/GHSA-8hx6-qv6f-xgcw
- https://nvd.nist.gov/vuln/detail/CVE-2023-38699
- https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2023-140.yaml