<?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://vulnerability.circl.lu</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>Sun, 04 Oct 2026 07:18:45 +0000</lastBuildDate>
    <item>
      <title>CVE-2022-41720 — Restricted file access on Windows in os and net/http</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2022-41720</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go standard library os, Go standard library net/http&lt;/p&gt;
&lt;p&gt;On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir type provide access to a tree of files rooted at a given directory. These functions permit access to Windows device files under that root. For example, os.DirFS(&amp;#34;C:/tmp&amp;#34;).Open(&amp;#34;COM1&amp;#34;) opens the COM1 device. Both os.DirFS and http.Dir only provide read-only filesystem access. In addition, on Windows, an os.DirFS for the directory (the root of the current drive) can permit a maliciously crafted path to escape from the drive and access any path on the system. With fix applied, the behavior of os.DirFS(&amp;#34;&amp;#34;) has changed. Previously, an empty root was treated equivalently to &amp;#34;/&amp;#34;, so os.DirFS(&amp;#34;&amp;#34;).Open(&amp;#34;tmp&amp;#34;) would open the path &amp;#34;/tmp&amp;#34;. This now returns an error.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go standard library os, Go standard library net/http&lt;/p&gt;
&lt;p&gt;On Windows, restricted files can be accessed via os.DirFS and http.Dir. The os.DirFS function and http.Dir type provide access to a tree of files rooted at a given directory. These functions permit access to Windows device files under that root. For example, os.DirFS(&amp;#34;C:/tmp&amp;#34;).Open(&amp;#34;COM1&amp;#34;) opens the COM1 device. Both os.DirFS and http.Dir only provide read-only filesystem access. In addition, on Windows, an os.DirFS for the directory (the root of the current drive) can permit a maliciously crafted path to escape from the drive and access any path on the system. With fix applied, the behavior of os.DirFS(&amp;#34;&amp;#34;) has changed. Previously, an empty root was treated equivalently to &amp;#34;/&amp;#34;, so os.DirFS(&amp;#34;&amp;#34;).Open(&amp;#34;tmp&amp;#34;) would open the path &amp;#34;/tmp&amp;#34;. This now returns an error.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2022-41720</guid>
    </item>
  </channel>
</rss>
