<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-12-03T15:34:45.180706+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/cleanstart-2026-vm28177</id>
    <title>CLEANSTART-2026-VM28177 — node-tar is a tar archive manipulation library for Node</title>
    <updated>2026-12-03T15:34:45.185639+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> CleanStart: npm</p>
<p>Security vulnerability affects the npm package. node-tar is a tar archive manipulation library for Node.</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/cleanstart-2026-vm28177"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-140242</id>
    <title>fkie_cve-2026-140242</title>
    <updated>2026-12-03T15:34:45.185741+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>node-tar is a tar archive manipulation library for Node.js. From 7.0.0 until 7.5.24, tar: non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception when re-packing. The affected security path includes tar, size, 17 size=Infinity\n. This issue is fixed in version 7.5.24.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-140242"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-ph3c-p786-j4rp</id>
    <title>GHSA-ph3c-p786-j4rp — node-tar: Non-finite PAX size (Infinity) bypasses validation, causing extraction entry loss and an uncaught exception w…</title>
    <updated>2026-12-03T15:34:45.185780+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: tar</p>
<p>## Summary</p>
<p>`tar` (node-tar) does not validate that a numeric `size` value supplied through a PAX extended header (typeflag `x`) is finite before it is applied to the following archive entry. A PAX record such as `17 size=Infinity\n` is coerced to the JavaScript number `Infinity` and accepted, because the only guard on the value is a `&gt;= 0` check and `Infinity &gt;= 0` is true. The non-finite size then propagates into the entry-body state machine and, when the entry is re-packed, into numeric header encoding. Any process that parses, extracts, lists, or re-packs an attacker-supplied archive is affected; no authentication or non-default configuration is required.</p>
<p>## Root Cause</p>
<p>The PAX key/value parser assigns the `size` field after a check that was designed only to reject negative values. It never checks that the coerced number is finite or a safe integer, so `Infinity` (and other non-finite positive values) pass.</p>
<p>```typescript
// src/pax.ts (parseKVLine)
case 'size':
  const s = +v            // +"Infinity" === Infinity
  if (s &gt;= 0) set[k] = s  // Infinity &gt;= 0 is true, so size is set to Infinity
  break
```</p>
<p>The `&gt;= 0` guard was added to reject negative sizes. It does not enforce finiteness. The secondary guard `notNegative()` in `src/header.ts` has the same gap: `Infinity &lt; 0` is false, so it returns `Infinity` unchanged. As a result the entry's `size` becomes `Infinity` and reaches two distinct sinks: the parser body-length state machine and the numeric header encoder us…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-ph3c-p786-j4rp"/>
  </entry>
</feed>
