tinypool is vulnerable to Prototype Pollution
81
High Risk
tinypool reads the filename option of pool.run(task, options) through the prototype chain instead of checking for an own property. When Object.prototype.filename is polluted elsewhere in the process and a caller passes a user-supplied options object, the pool loads and executes an attacker-controlled worker module. This turns an existing prototype pollution primitive into arbitrary code execution in the worker pool. The fix reads run options from a null-prototype object so inherited filename values are ignored.
You are affected if you are using a version that falls within the vulnerable range and your application or one of its dependencies contains a prototype pollution primitive that can set Object.prototype.filename while a caller passes a user-supplied options object to pool.run.
tinypool is vulnerable to Prototype Pollution in versions 0.0.1 - 2.1.1.
Upgrade the tinypool library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.