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 exits0; - that the patch stores the hostile key as an own property and leaves
Object.prototypeclean.
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 thecalcNetworkSpeed()call sits outside the row parsing loop and is reached whenevernetstatexits successfully — combined with the observednetstatexit behaviour above. Worth confirming on a BSD host before publishing, since the affected-platform list depends on it.