UBUNTU-CVE-2021-44531 (CVE-2021-44531)
Vulnerability from osv_ubuntu – Published: 2022-02-24 19:15 – Updated: 2025-07-16 04:57 – Source websiteAccepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js < 12.22.9, < 14.18.3, < 16.13.2, and < 17.3.1 was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the --security-revert command-line option.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libnode-dev",
"binary_version": "12.22.9~dfsg-1ubuntu3.6"
},
{
"binary_name": "libnode72",
"binary_version": "12.22.9~dfsg-1ubuntu3.6"
},
{
"binary_name": "libnode72-dbgsym",
"binary_version": "12.22.9~dfsg-1ubuntu3.6"
},
{
"binary_name": "nodejs",
"binary_version": "12.22.9~dfsg-1ubuntu3.6"
},
{
"binary_name": "nodejs-dbgsym",
"binary_version": "12.22.9~dfsg-1ubuntu3.6"
},
{
"binary_name": "nodejs-doc",
"binary_version": "12.22.9~dfsg-1ubuntu3.6"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "nodejs",
"purl": "pkg:deb/ubuntu/nodejs@12.22.9~dfsg-1ubuntu3.6?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "12.22.9~dfsg-1ubuntu3.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"12.22.5~dfsg-5ubuntu1",
"12.22.7~dfsg-2ubuntu1",
"12.22.7~dfsg-2ubuntu3",
"12.22.9~dfsg-1ubuntu2",
"12.22.9~dfsg-1ubuntu3",
"12.22.9~dfsg-1ubuntu3.1",
"12.22.9~dfsg-1ubuntu3.2",
"12.22.9~dfsg-1ubuntu3.3",
"12.22.9~dfsg-1ubuntu3.4",
"12.22.9~dfsg-1ubuntu3.5"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libnode-dev",
"binary_version": "18.19.1+dfsg-6ubuntu5"
},
{
"binary_name": "libnode109",
"binary_version": "18.19.1+dfsg-6ubuntu5"
},
{
"binary_name": "libnode109-dbgsym",
"binary_version": "18.19.1+dfsg-6ubuntu5"
},
{
"binary_name": "nodejs",
"binary_version": "18.19.1+dfsg-6ubuntu5"
},
{
"binary_name": "nodejs-dbgsym",
"binary_version": "18.19.1+dfsg-6ubuntu5"
},
{
"binary_name": "nodejs-doc",
"binary_version": "18.19.1+dfsg-6ubuntu5"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "nodejs",
"purl": "pkg:deb/ubuntu/nodejs@18.19.1+dfsg-6ubuntu5?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "18.19.1+dfsg-6ubuntu5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"18.13.0+dfsg1-1ubuntu2",
"18.19.1+dfsg-2ubuntu4",
"18.19.1+dfsg-6ubuntu1",
"18.19.1+dfsg-6ubuntu2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libnode-dev",
"binary_version": "20.18.1+dfsg-1ubuntu2"
},
{
"binary_name": "libnode115",
"binary_version": "20.18.1+dfsg-1ubuntu2"
},
{
"binary_name": "libnode115-dbgsym",
"binary_version": "20.18.1+dfsg-1ubuntu2"
},
{
"binary_name": "nodejs",
"binary_version": "20.18.1+dfsg-1ubuntu2"
},
{
"binary_name": "nodejs-dbgsym",
"binary_version": "20.18.1+dfsg-1ubuntu2"
},
{
"binary_name": "nodejs-doc",
"binary_version": "20.18.1+dfsg-1ubuntu2"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.04",
"name": "nodejs",
"purl": "pkg:deb/ubuntu/nodejs@20.18.1+dfsg-1ubuntu2?arch=source\u0026distro=plucky"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "20.18.1+dfsg-1ubuntu2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.16.0+dfsg-1ubuntu1",
"20.17.0+dfsg-2ubuntu1",
"20.18.0+dfsg-2",
"20.18.1+dfsg-1ubuntu1"
]
}
],
"aliases": [],
"details": "Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js \u003c 12.22.9, \u003c 14.18.3, \u003c 16.13.2, and \u003c 17.3.1 was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the --security-revert command-line option.",
"id": "UBUNTU-CVE-2021-44531",
"modified": "2025-07-16T04:57:38Z",
"published": "2022-02-24T19:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-44531"
},
{
"type": "REPORT",
"url": "https://nodejs.org/en/blog/vulnerability/jan-2022-security-releases/#improper-handling-of-uri-subject-alternative-names-medium-cve-2021-44531"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-44531"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-44531"
],
"withdrawn": "2025-07-18T16:47:03Z"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.