JLSEC-2026-1917: Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 converts SANs (Subject Alternative Names)...
Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 converts SANs (Subject Alternative Names) to a string format. It uses this string to check peer certificates against hostnames when validating connections. The string format was subject to an injection vulnerability when name constraints were used within a certificate chain, allowing the bypass of these name constraints.Versions of Node.js with the fix for this escape SANs containing the problematic characters in order to prevent the injection. This behavior can be reverted through the --security-revert command-line option.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
julia/NodeJS_16_jllto a version that resolves this vulnerability.Fixed in 16.15.0+0 - Upgrade
Upgrade
julia/libnode_jllto a version that resolves this vulnerability.Fixed in 16.14.0+0 - Upgrade
Upgrade
Node.jsto a version that resolves this vulnerability.Fixed in 12.22.9 - Upgrade
Upgrade
Node.jsto a version that resolves this vulnerability.Fixed in 14.18.3 - Upgrade
Upgrade
Node.jsto a version that resolves this vulnerability.Fixed in 16.13.2 - Upgrade
Upgrade
Node.jsto a version that resolves this vulnerability.Fixed in 17.3.1
Event History
Child vulnerabilities
Contains the following vulnerabilities.
Frequently Asked Questions
Which deployments are affected?
Deployments using Node.js versions earlier than 12.22.9, 14.18.3, 16.13.2, or 17.3.1 are affected. The listed software includes julia/nodejs_16_jll and julia/libnode_jll.
What does an attacker need to exploit this issue?
Exploitation involves a certificate chain that uses name constraints and contains SANs with problematic characters. The issue can allow those name constraints to be bypassed during hostname validation.
Is the fixed behavior always enabled after upgrading?
The fixed Node.js versions escape SANs containing problematic characters to prevent the injection. This behavior can be reverted with the --security-revert command-line option, so environments using that option may restore the vulnerable behavior.