<?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 02:16:16 +0000</lastBuildDate>
    <item>
      <title>CVE-2023-37478 — pnpm incorrectly parses tar archives relative to specification</title>
      <link>https://vulnerability.circl.lu/vuln/cve-2023-37478</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pnpm&lt;/p&gt;
&lt;p&gt;pnpm is a package manager. It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives. This can result in a package that appears safe on the npm registry or when installed via npm being replaced with a compromised or malicious version when installed via pnpm. This issue has been patched in version(s) 7.33.4 and 8.6.8.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; pnpm&lt;/p&gt;
&lt;p&gt;pnpm is a package manager. It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives. This can result in a package that appears safe on the npm registry or when installed via npm being replaced with a compromised or malicious version when installed via pnpm. This issue has been patched in version(s) 7.33.4 and 8.6.8.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/cve-2023-37478</guid>
    </item>
    <item>
      <title>GHSA-5r98-f33j-g8h7 — pnpm incorrectly parses tar archives relative to specification</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-5r98-f33j-g8h7</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: pnpm, npm: @pnpm/exe, npm: @pnpm/linux-arm64, npm: @pnpm/linux-x64, npm: @pnpm/linuxstatic-arm64, npm: @pnpm/macos-arm64, npm: @pnpm/macos-x64, npm: @pnpm/win-x64, npm: @pnpm/cafs&lt;/p&gt;
&lt;p&gt;### Summary
It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives.&lt;/p&gt;
&lt;p&gt;### Details
The TAR format is an append-only archive format, and as such, the specification for how to update a file is to add a new record to the end with the updated version of the file. This means that it is completely valid for an archive to contain multiple copies of, say, `package.json`, and the expected behavior when extracting is that all versions other than the last get ignored.&lt;/p&gt;
&lt;p&gt;This is further complicated by that during tarball extraction, all package managers are configured to drop the first path component, so collisions can be created simply by using multiple root folders in the archive, even without performing updates.&lt;/p&gt;
&lt;p&gt;When pnpm extracts a tar archive via tar-stream, it appears to extract only the _first_ file of a given name and discards all subsequent files with the same name.&lt;/p&gt;
&lt;p&gt;### PoC
Create a root folder with the following layout:
- `a/package.json`
- `package/package.json`
- `z/package.json`&lt;/p&gt;
&lt;p&gt;File contents:
#### a/package.json
```json
{
    &amp;#34;name&amp;#34;: &amp;#34;test-package&amp;#34;,
    &amp;#34;version&amp;#34;: &amp;#34;0.1.0&amp;#34;,
    &amp;#34;description&amp;#34;: &amp;#34;This is a bad version of a test package&amp;#34;,
    &amp;#34;dependencies&amp;#34;: {
        &amp;#34;react&amp;#34;: &amp;#34;^15&amp;#34;
    }
}
```
#### package/package.json
```json
{
    &amp;#34;name&amp;#34;: &amp;#34;test-package&amp;#34;,
    &amp;#34;version&amp;#34;: &amp;#34;0.1.0&amp;#34;,
    &amp;#34;description&amp;#34;: &amp;#34;This is a bad version of a test package&amp;#34;,
    &amp;#34;dependen…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: pnpm, npm: @pnpm/exe, npm: @pnpm/linux-arm64, npm: @pnpm/linux-x64, npm: @pnpm/linuxstatic-arm64, npm: @pnpm/macos-arm64, npm: @pnpm/macos-x64, npm: @pnpm/win-x64, npm: @pnpm/cafs&lt;/p&gt;
&lt;p&gt;### Summary
It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives.&lt;/p&gt;
&lt;p&gt;### Details
The TAR format is an append-only archive format, and as such, the specification for how to update a file is to add a new record to the end with the updated version of the file. This means that it is completely valid for an archive to contain multiple copies of, say, `package.json`, and the expected behavior when extracting is that all versions other than the last get ignored.&lt;/p&gt;
&lt;p&gt;This is further complicated by that during tarball extraction, all package managers are configured to drop the first path component, so collisions can be created simply by using multiple root folders in the archive, even without performing updates.&lt;/p&gt;
&lt;p&gt;When pnpm extracts a tar archive via tar-stream, it appears to extract only the _first_ file of a given name and discards all subsequent files with the same name.&lt;/p&gt;
&lt;p&gt;### PoC
Create a root folder with the following layout:
- `a/package.json`
- `package/package.json`
- `z/package.json`&lt;/p&gt;
&lt;p&gt;File contents:
#### a/package.json
```json
{
    &amp;#34;name&amp;#34;: &amp;#34;test-package&amp;#34;,
    &amp;#34;version&amp;#34;: &amp;#34;0.1.0&amp;#34;,
    &amp;#34;description&amp;#34;: &amp;#34;This is a bad version of a test package&amp;#34;,
    &amp;#34;dependencies&amp;#34;: {
        &amp;#34;react&amp;#34;: &amp;#34;^15&amp;#34;
    }
}
```
#### package/package.json
```json
{
    &amp;#34;name&amp;#34;: &amp;#34;test-package&amp;#34;,
    &amp;#34;version&amp;#34;: &amp;#34;0.1.0&amp;#34;,
    &amp;#34;description&amp;#34;: &amp;#34;This is a bad version of a test package&amp;#34;,
    &amp;#34;dependen…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-5r98-f33j-g8h7</guid>
    </item>
  </channel>
</rss>
