Advisory

GHSA-7648-jmwf-vw7j

Details, part 2 of 2. The advisory

Details

Affected versions

All 5.x releases up to and including 5.33.12. Earlier major lines contain the same pattern
but are end of life.

What was verified, and what was not

Verified on this machine (macOS 27, Node 24):

  • the pollution primitive, by calling the cache write with iface = '__proto__';
  • that util.sanitizeString('__proto__', true) returns the string unchanged, while shell metacharacters are stripped;
  • that unpatched v5 on macOS does not pollute through the public API;
  • that netstat -bdnI <unknown-interface> prints only its header and exits 0;
  • that the patch stores the hostile key as an own property and leaves Object.prototype clean.

Not verified, because no such host was available:

  • end to end exploitation on FreeBSD, OpenBSD or NetBSD. That conclusion is derived from reading the BSD branch of networkStatsSingle() — where the calcNetworkSpeed() call sits outside the row parsing loop and is reached whenever netstat exits successfully — combined with the observed netstat exit behaviour above. Worth confirming on a BSD host before publishing, since the affected-platform list depends on it.

Sources & licences