<?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-02T19:38:49.932514+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/fkie_cve-2026-140238</id>
    <title>fkie_cve-2026-140238</title>
    <updated>2026-12-02T19:38:49.935726+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. Prior to 8.0.0, newline splitting of PAX extended header records permits attacker-controlled entry attributes to be forged. Direct node-tar extraction without strip can overwrite a path within the extraction target. The npm execution chain additionally requires Windows strip:1 normalization, an overwrite of package.json, and later execution of the injected postinstall script; POSIX npm processing with strip:1 is not affected by that chain. This issue is fixed in version 8.0.0.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-140238"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-mpg7-vg3p-wc3m</id>
    <title>GHSA-mpg7-vg3p-wc3m — node-tar: Newline injection in PAX extended-header records enables entry-attribute forgery (path overwrite → npm postin…</title>
    <updated>2026-12-02T19:38:49.935797+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>node-tar's PAX extended-header **record framing is not enforced by byte length**, so a newline embedded in any PAX value is reinterpreted on extraction as a record boundary. This lets an attacker forge arbitrary PAX records (`path`, `linkpath`, `size`, `uid`, ...) for an entry, overriding its real header-derived attributes. In the most damaging case this rewrites an entry's `path`, writing content to a location the archive's structure did not declare.</p>
<p>This is distinct from the already-published PAX issues: `GHSA-gvwx-54wh-qm9j` is NUL-byte-in-PAX causing a DoS crash; this report is **newline-in-PAX causing silent record forgery / attribute override** — an integrity/path-overwrite primitive, not a crash. Verified end-to-end: overwriting `package.json` inside an installed npm package and executing an injected `postinstall` on a real Windows machine.</p>
<p>### Details</p>
<p>## Affected versions
All versions up to and including 7.5.22 (reproduced on current `main`, commit `2a22bfc`).</p>
<p>## Root cause (two complementary bugs)</p>
<p>**Extraction side — `src/pax.ts` `parseKV` (primary):** the PAX body is split on `\n` and each line is validated only by a per-line self-consistency check (`declaredLen === byteLength(line) + 1`). The PAX format frames records strictly by their declared byte length; this parser instead treats any newline inside a value as a record boundary, so bytes after an embedded newline become an independent, attacker-chosen record. The source already flags this: `//…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-mpg7-vg3p-wc3m"/>
  </entry>
</feed>
