node is vulnerable to Improper Authentication
50
Medium Risk
Affected versions of the package are vulnerable to incorrect mutual TLS (mTLS) client identity reuse in the HTTPS Agent. When options.pfx is supplied as an array of objects (for example [{ buf, passphrase }]), Agent.prototype.getName stringifies the array in a way that does not distinguish different certificates or passphrases, producing colliding agent connection keys. As a result, keep-alive connections authenticated with one client certificate can be reused for requests configured with a different PFX, causing the wrong mTLS identity to be presented to the remote server. The fix computes a stable PFX-specific agent key that incorporates each buffer and passphrase.
You are affected if you are using a version that falls within the vulnerable range.
node is vulnerable to Improper Authentication in versions 25.0.0 - 26.5.0, 23.0.0 - 24.18.0 and 0.0.1 - 22.23.1.
Upgrade the node library to a 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