Lack of data validation In nodejs
Description
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.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
alpine v3.19 | 16.13.2-r0 | ||
alpine v3.21 | 16.13.2-r0 | ||
debian 11 | 12.22.12~dfsg-1~deb11u1 | ||
alpine v3.14 | 14.19.0-r0 | ||
alpine v3.16 | 16.13.2-r0 | ||
alpine v3.18 | 16.13.2-r0 | ||
debian 12 | 12.22.9~dfsg-1 | ||
debian 13 | 12.22.9~dfsg-1 | ||
alpine v3.12 | 12.22.10-r0 | ||
alpine v3.13 | 14.19.0-r0 |
1-10 of 22
10
Aliases
References