Re:Critical vulnerability of NPM package macaddress
by arghwhat on Monday June 11, 2018 @09:22AM
(#17283927)
The correct thing to do is either not use the library, or to restrict usage by never pass arbitrary user-controllable data to it. Whitelisting would definitely work, as long as the whitelist cannot be externally manipulated. Don't expose the whitelist rather than relying on Object.Freeze.
[ Parent
| on HN ]
There are no comments on this comment yet.