<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://cve.radiocsirt.org</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 26 Oct 2026 03:50:32 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-30620 — Arbitrary File Write when Extracting a Remotely retrieved Tarball in mindsdb/mindsdb</title>
      <link>https://cve.radiocsirt.org/vuln/cve-2023-30620</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mindsdb&lt;/p&gt;
&lt;p&gt;mindsdb is a Machine Learning platform to help developers build AI solutions. In affected versions an unsafe extraction is being performed using `tarfile.extractall()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. Sometimes, the vulnerability is called a TarSlip or a ZipSlip variant. An attacker may leverage this vulnerability to overwrite any local file which the server process has access to. There is no risk of file exposure with this vulnerability. This issue has been addressed in release `23.2.1.0 `. Users are advised to upgrade. There are no known workarounds for this vulnerability.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; mindsdb&lt;/p&gt;
&lt;p&gt;mindsdb is a Machine Learning platform to help developers build AI solutions. In affected versions an unsafe extraction is being performed using `tarfile.extractall()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. Sometimes, the vulnerability is called a TarSlip or a ZipSlip variant. An attacker may leverage this vulnerability to overwrite any local file which the server process has access to. There is no risk of file exposure with this vulnerability. This issue has been addressed in release `23.2.1.0 `. Users are advised to upgrade. There are no known workarounds for this vulnerability.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/cve-2023-30620</guid>
    </item>
    <item>
      <title>GHSA-2g5w-29q9-w6hx — mindsdb arbitrary file write when extracting a remotely retrieved Tarball</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-2g5w-29q9-w6hx</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mindsdb&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;An unsafe extraction is being performed using `tarfile.extractall()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. Sometimes, the vulnerability is called a TarSlip or a ZipSlip variant.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;I commented the following snippet of code as a vulnerability details. The code is from [file.py#L26..L134](https://github.com/mindsdb/mindsdb/blob/afedd37c16e579b6dc075b0814e42d0505ccdc07/mindsdb/api/http/namespaces/file.py#L26..L134)&lt;/p&gt;
&lt;p&gt;```python
@ns_conf.route(&amp;#39;/&amp;lt;name&amp;gt;&amp;#39;)
@ns_conf.param(&amp;#39;name&amp;#39;, &amp;#34;MindsDB&amp;#39;s name for file&amp;#34;)
class File(Resource):
    @ns_conf.doc(&amp;#39;put_file&amp;#39;)
    def put(self, name: str):
        &amp;#39;&amp;#39;&amp;#39; add new file
            params in FormData:
                - file
                - original_file_name [optional]
        &amp;#39;&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;data = {}&lt;/p&gt;
&lt;p&gt;... omitted for brevity&lt;/p&gt;
&lt;p&gt;url = data[&amp;#39;source&amp;#39;]
            data[&amp;#39;file&amp;#39;] = data[&amp;#39;name&amp;#39;]&lt;/p&gt;
&lt;p&gt;... omitted for brevity&lt;/p&gt;
&lt;p&gt;with requests.get(url, stream=True) as r:                   # Source: retrieve the URL which point to a remotely located tarball 
                if r.status_code != 200:
                    return http_error(
                        400,
                        &amp;#34;Error getting file&amp;#34;,
                        f&amp;#34;Got status code: {r.status_code}&amp;#34;
                    )
                file_path = os.path.join(temp_dir_path, data[&amp;#39;file&amp;#39;])
                with open(file_path, &amp;#39;wb&amp;#39;) as f:…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: mindsdb&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;An unsafe extraction is being performed using `tarfile.extractall()` from a remotely retrieved tarball. Which may lead to the writing of the extracted files to an unintended location. Sometimes, the vulnerability is called a TarSlip or a ZipSlip variant.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;I commented the following snippet of code as a vulnerability details. The code is from [file.py#L26..L134](https://github.com/mindsdb/mindsdb/blob/afedd37c16e579b6dc075b0814e42d0505ccdc07/mindsdb/api/http/namespaces/file.py#L26..L134)&lt;/p&gt;
&lt;p&gt;```python
@ns_conf.route(&amp;#39;/&amp;lt;name&amp;gt;&amp;#39;)
@ns_conf.param(&amp;#39;name&amp;#39;, &amp;#34;MindsDB&amp;#39;s name for file&amp;#34;)
class File(Resource):
    @ns_conf.doc(&amp;#39;put_file&amp;#39;)
    def put(self, name: str):
        &amp;#39;&amp;#39;&amp;#39; add new file
            params in FormData:
                - file
                - original_file_name [optional]
        &amp;#39;&amp;#39;&amp;#39;&lt;/p&gt;
&lt;p&gt;data = {}&lt;/p&gt;
&lt;p&gt;... omitted for brevity&lt;/p&gt;
&lt;p&gt;url = data[&amp;#39;source&amp;#39;]
            data[&amp;#39;file&amp;#39;] = data[&amp;#39;name&amp;#39;]&lt;/p&gt;
&lt;p&gt;... omitted for brevity&lt;/p&gt;
&lt;p&gt;with requests.get(url, stream=True) as r:                   # Source: retrieve the URL which point to a remotely located tarball 
                if r.status_code != 200:
                    return http_error(
                        400,
                        &amp;#34;Error getting file&amp;#34;,
                        f&amp;#34;Got status code: {r.status_code}&amp;#34;
                    )
                file_path = os.path.join(temp_dir_path, data[&amp;#39;file&amp;#39;])
                with open(file_path, &amp;#39;wb&amp;#39;) as f:…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-2g5w-29q9-w6hx</guid>
    </item>
  </channel>
</rss>
