<?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://db.gcve.eu</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>Wed, 02 Dec 2026 10:31:34 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-140239</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-140239</link>
      <description>&lt;p&gt;node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create paths or symlinks outside their intended directory, resulting in arbitrary file read or write. Node-tar&amp;#39;s own tar.x and tar.extract operations are not affected because Unpack separately rejects an escaping linkpath. This issue is fixed in version 8.0.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;node-tar is a tar archive manipulation library for Node.js. Prior to 8.0.0, a PAX Global Extended Header containing linkpath can populate entry.linkpath on every entry returned by tar.Parser without a strict-mode warning. Direct tar.Parser or tar.list consumers that trust this value can create paths or symlinks outside their intended directory, resulting in arbitrary file read or write. Node-tar&amp;#39;s own tar.x and tar.extract operations are not affected because Unpack separately rejects an escaping linkpath. This issue is fixed in version 8.0.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-140239</guid>
    </item>
    <item>
      <title>GHSA-ffhw-4r4q-5cwv — node-tar: Global PAX extended header injects attacker-controlled linkpath into tar.Parser entries, bypassing strict-mod…</title>
      <link>https://db.gcve.eu/vuln/ghsa-ffhw-4r4q-5cwv</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: tar&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A tar archive with a **Global Extended Header** (PAX type `g`) with a `linkpath` field injects that value into every entry returned by `tar.Parser` , including plain `File` and `Directory` entries, with **zero warnings under `strict: true`**. This happens because `header.js`&amp;#39;s `#slurp()` correctly excludes `linkpath` from global headers, but `read-entry.js`&amp;#39;s `#slurp()` does not apply the same filter. Any application that consumes `tar.Parser` or `tar.list()` directly and uses `entry.linkpath` to build paths or create symlinks, without revalidating the value, can be made to read or write files outside the intended directory via a crafted symlink.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;There are two separate `#slurp()` implementations apply Global Extended Header (`g`-type) fields to parsed state, and they filter different fields.&lt;/p&gt;
&lt;p&gt;In `src/header.js`, `#slurp(ex, gex = false)` **correctly** excludes `linkpath` when `gex` is `true`:&lt;/p&gt;
&lt;p&gt;```js
// header.js (correct)
if (k === &amp;#39;linkpath&amp;#39; &amp;amp;&amp;amp; gex) continue;
```&lt;/p&gt;
&lt;p&gt;In `src/read-entry.js`, the equivalent method has **no such clause** — it only excludes `path`:&lt;/p&gt;
&lt;p&gt;```js
// read-entry.js (bug: linkpath is not excluded)
if (k === &amp;#39;path&amp;#39; &amp;amp;&amp;amp; gex) continue;
// linkpath from the GEX is not filtered here
```&lt;/p&gt;
&lt;p&gt;The execution flow:&lt;/p&gt;
&lt;p&gt;1. `parse.js` calls `Pax.parse(meta, gex, true)` → stores the GEX object, including the `linkpath` field
2. `header.js` decode runs `#slurp(gex, true)` → correctly skips `linkpath` → `header.linkpath` is empty
3. `consumeHeader()`…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: tar&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;A tar archive with a **Global Extended Header** (PAX type `g`) with a `linkpath` field injects that value into every entry returned by `tar.Parser` , including plain `File` and `Directory` entries, with **zero warnings under `strict: true`**. This happens because `header.js`&amp;#39;s `#slurp()` correctly excludes `linkpath` from global headers, but `read-entry.js`&amp;#39;s `#slurp()` does not apply the same filter. Any application that consumes `tar.Parser` or `tar.list()` directly and uses `entry.linkpath` to build paths or create symlinks, without revalidating the value, can be made to read or write files outside the intended directory via a crafted symlink.&lt;/p&gt;
&lt;p&gt;---&lt;/p&gt;
&lt;p&gt;## Details&lt;/p&gt;
&lt;p&gt;There are two separate `#slurp()` implementations apply Global Extended Header (`g`-type) fields to parsed state, and they filter different fields.&lt;/p&gt;
&lt;p&gt;In `src/header.js`, `#slurp(ex, gex = false)` **correctly** excludes `linkpath` when `gex` is `true`:&lt;/p&gt;
&lt;p&gt;```js
// header.js (correct)
if (k === &amp;#39;linkpath&amp;#39; &amp;amp;&amp;amp; gex) continue;
```&lt;/p&gt;
&lt;p&gt;In `src/read-entry.js`, the equivalent method has **no such clause** — it only excludes `path`:&lt;/p&gt;
&lt;p&gt;```js
// read-entry.js (bug: linkpath is not excluded)
if (k === &amp;#39;path&amp;#39; &amp;amp;&amp;amp; gex) continue;
// linkpath from the GEX is not filtered here
```&lt;/p&gt;
&lt;p&gt;The execution flow:&lt;/p&gt;
&lt;p&gt;1. `parse.js` calls `Pax.parse(meta, gex, true)` → stores the GEX object, including the `linkpath` field
2. `header.js` decode runs `#slurp(gex, true)` → correctly skips `linkpath` → `header.linkpath` is empty
3. `consumeHeader()`…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-ffhw-4r4q-5cwv</guid>
    </item>
  </channel>
</rss>
