Quick answers
- Is CVE-2023-49795 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2023-49795 being exploited in the wild.
- How severe is CVE-2023-49795?
- Low severity, with a CVSS score of 3.1, published 11 December 2023.
- Which products and versions are affected?
- mindsdb (PyPI) ECOSYSTEM:introduced=0,fixed=23.11.4.1, GIT:introduced=0,fixed=8d13c9c28ebcf3b36509eb679378004d4648d8fe|ECOSYSTEM:introduced=0,fixed=23.11.4.1.
- Is there a fix for CVE-2023-49795?
- Yes. mindsdb (PyPI): upgrade to 23.11.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2023-49795 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2023-49795?
- Check whether you run mindsdb (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- mindsdb (PyPI): upgrade to 23.11.4.1 or later
pip install "mindsdb>=23.11.4.1"
Technical details
A server-side request forgery (SSRF) vulnerability exists in the PUT method of mindsdb/mindsdb/api/http/namespaces/file.py. The vulnerable code on line 115 fails to validate the user-controlled URL in the source variable before using it to create arbitrary HTTP requests. An unauthenticated network attacker can exploit this to forge requests from the MindsDB server to arbitrary hosts and ports. The attacker can scan internal network ranges for open ports, retrieve files with specific extensions (csv, xls, xlsx, json, parquet) that will be visible in the MindsDB GUI, or perform blind SSRF attacks against other file types. The vulnerability has been patched in version 23.11.4.1.
Affected products
- MindsDB MindsDB before 23.11.4.1
Identifiers
- CVE-2023-49795
- GHSA-34mr-6q8x-g9r6
- PYSEC-2023-277
Timeline
- 2023-12-11: disclosed: NVD published
- 2023-12-12: disclosed: GitHub advisory GHSA-34mr-6q8x-g9r6 published
- 2023-11-04: patched: Fix released in version 23.11.4.1