<?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>Sat, 03 Oct 2026 07:13:45 +0000</lastBuildDate>
    <item>
      <title>EUVD-2026-231506</title>
      <link>https://cve.radiocsirt.org/vuln/euvd-2026-231506</link>
      <description>EUVD-2026-231506</description>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/euvd-2026-231506</guid>
    </item>
    <item>
      <title>fkie_cve-2022-23530</title>
      <link>https://cve.radiocsirt.org/vuln/fkie_cve-2022-23530</link>
      <description>&lt;p&gt;GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to v0.1.8 are vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package. Extracting files using shutil.unpack_archive() from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten.  This issue is patched in version 0.1.8. Potential workarounds include using a safer module, like zipfile, and validating the location of the extracted files and discarding those with malicious paths.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to v0.1.8 are vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package. Extracting files using shutil.unpack_archive() from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten.  This issue is patched in version 0.1.8. Potential workarounds include using a safer module, like zipfile, and validating the location of the extracted files and discarding those with malicious paths.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/fkie_cve-2022-23530</guid>
    </item>
    <item>
      <title>GHSA-78m5-jpmf-ch7v — GuardDog vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package</title>
      <link>https://cve.radiocsirt.org/vuln/ghsa-78m5-jpmf-ch7v</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: guarddog&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;Unsafe extracting using `shutil.unpack_archive()` from a remotely retrieved tarball may lead to writing the extracted file to an unintended destination.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;Extracting files using `shutil.unpack_archive()` from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten.&lt;/p&gt;
&lt;p&gt;The vulnerable code snippet is between [L153..158](https://github.com/DataDog/guarddog/blob/a1d064ceb09d39bb28deb6972bc0a278756ea91f/guarddog/scanners/package_scanner.py#L153..158).&lt;/p&gt;
&lt;p&gt;```python
response = requests.get(url, stream=True)&lt;/p&gt;
&lt;p&gt;with open(zippath, &amp;#34;wb&amp;#34;) as f:
      f.write(response.raw.read())&lt;/p&gt;
&lt;p&gt;shutil.unpack_archive(zippath, unzippedpath)
```
It seems that a remotely retrieved tarball which could be with the extension `.tar.gz` happens to be unpacked using `shutil.unpack_archive()` with no destination verification/limitation of the extracted files.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;The PoC provided showcases the risk of extracting the non-harmless text file `sim4n6.txt` to a parent location rather than the current folder.&lt;/p&gt;
&lt;p&gt;```bash
&amp;gt; tar --list -f archive.tar
tar: Removing leading `../../../&amp;#39; from member names
../../../sim4n6.txt&lt;/p&gt;
&lt;p&gt;&amp;gt; python3 
Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0] on linux
Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.
&amp;gt;&amp;gt;&amp;gt; import shutil
&amp;gt;&amp;gt;&amp;gt; shutil.unpack_archive(&amp;#34;archive.tar&amp;#34;)
&amp;gt;&amp;gt;&amp;gt; exit()&lt;/p&gt;
&lt;p&gt;&amp;gt; file ../../../sim4…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: guarddog&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;Unsafe extracting using `shutil.unpack_archive()` from a remotely retrieved tarball may lead to writing the extracted file to an unintended destination.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;Extracting files using `shutil.unpack_archive()` from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten.&lt;/p&gt;
&lt;p&gt;The vulnerable code snippet is between [L153..158](https://github.com/DataDog/guarddog/blob/a1d064ceb09d39bb28deb6972bc0a278756ea91f/guarddog/scanners/package_scanner.py#L153..158).&lt;/p&gt;
&lt;p&gt;```python
response = requests.get(url, stream=True)&lt;/p&gt;
&lt;p&gt;with open(zippath, &amp;#34;wb&amp;#34;) as f:
      f.write(response.raw.read())&lt;/p&gt;
&lt;p&gt;shutil.unpack_archive(zippath, unzippedpath)
```
It seems that a remotely retrieved tarball which could be with the extension `.tar.gz` happens to be unpacked using `shutil.unpack_archive()` with no destination verification/limitation of the extracted files.&lt;/p&gt;
&lt;p&gt;### PoC&lt;/p&gt;
&lt;p&gt;The PoC provided showcases the risk of extracting the non-harmless text file `sim4n6.txt` to a parent location rather than the current folder.&lt;/p&gt;
&lt;p&gt;```bash
&amp;gt; tar --list -f archive.tar
tar: Removing leading `../../../&amp;#39; from member names
../../../sim4n6.txt&lt;/p&gt;
&lt;p&gt;&amp;gt; python3 
Python 3.10.6 (main, Nov  2 2022, 18:53:38) [GCC 11.3.0] on linux
Type &amp;#34;help&amp;#34;, &amp;#34;copyright&amp;#34;, &amp;#34;credits&amp;#34; or &amp;#34;license&amp;#34; for more information.
&amp;gt;&amp;gt;&amp;gt; import shutil
&amp;gt;&amp;gt;&amp;gt; shutil.unpack_archive(&amp;#34;archive.tar&amp;#34;)
&amp;gt;&amp;gt;&amp;gt; exit()&lt;/p&gt;
&lt;p&gt;&amp;gt; file ../../../sim4…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/ghsa-78m5-jpmf-ch7v</guid>
    </item>
    <item>
      <title>gsd-2022-23530</title>
      <link>https://cve.radiocsirt.org/vuln/gsd-2022-23530</link>
      <description>gsd-2022-23530</description>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/gsd-2022-23530</guid>
    </item>
    <item>
      <title>PYSEC-2022-42993</title>
      <link>https://cve.radiocsirt.org/vuln/pysec-2022-42993</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: guarddog&lt;/p&gt;
&lt;p&gt;GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to v0.1.8 are vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package. Extracting files using shutil.unpack_archive() from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten. This issue is patched in version 0.1.8. Potential workarounds include using a safer module, like zipfile, and validating the location of the extracted files and discarding those with malicious paths.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: guarddog&lt;/p&gt;
&lt;p&gt;GuardDog is a CLI tool to identify malicious PyPI packages. Versions prior to v0.1.8 are vulnerable to arbitrary file write when scanning a specially-crafted remote PyPI package. Extracting files using shutil.unpack_archive() from a potentially malicious tarball without validating that the destination file path is within the intended destination directory can cause files outside the destination directory to be overwritten. This issue is patched in version 0.1.8. Potential workarounds include using a safer module, like zipfile, and validating the location of the extracted files and discarding those with malicious paths.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://cve.radiocsirt.org/vuln/pysec-2022-42993</guid>
    </item>
  </channel>
</rss>
