CVE-2021-44532
5.3
MEDIUM
CVSS 3.1
EPSS 0.13%
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.
How to fix CVE-2021-44532
To remediate CVE-2021-44532, upgrade the affected package to a fixed version below.
- —upgrade to 12.22.10-r0 or later
- —upgrade to 12.22.9 or later
- —upgrade to 12.22.9 or later
- —upgrade to 12.22.12~dfsg-1~deb11u1 or later
Is CVE-2021-44532 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 12.22.10-r0
- from 0, < 12.22.9, >= 14.0.0, < 14.18.3, >= 16.0.0, < 16.13.2, >= 17.0.0, < 17.3.1
- from 0, < 12.22.9, >= 14.0.0, < 14.18.3, >= 16.0.0, < 16.13.2, >= 17.0.0, < 17.3.1
- from 0, < 12.22.12~dfsg-1~deb11u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |