gsd-2021-22931
Vulnerability from gsd
Modified
2023-12-13 01:23
Details
Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.
Aliases
Aliases



{
   GSD: {
      alias: "CVE-2021-22931",
      description: "Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.",
      id: "GSD-2021-22931",
      references: [
         "https://www.suse.com/security/cve/CVE-2021-22931.html",
         "https://access.redhat.com/errata/RHSA-2021:3666",
         "https://access.redhat.com/errata/RHSA-2021:3639",
         "https://access.redhat.com/errata/RHSA-2021:3638",
         "https://access.redhat.com/errata/RHSA-2021:3623",
         "https://access.redhat.com/errata/RHSA-2021:3281",
         "https://access.redhat.com/errata/RHSA-2021:3280",
         "https://advisories.mageia.org/CVE-2021-22931.html",
         "https://security.archlinux.org/CVE-2021-22931",
         "https://linux.oracle.com/cve/CVE-2021-22931.html",
      ],
   },
   gsd: {
      metadata: {
         exploitCode: "unknown",
         remediation: "unknown",
         reportConfidence: "confirmed",
         type: "vulnerability",
      },
      osvSchema: {
         aliases: [
            "CVE-2021-22931",
         ],
         details: "Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.",
         id: "GSD-2021-22931",
         modified: "2023-12-13T01:23:24.177881Z",
         schema_version: "1.4.0",
      },
   },
   namespaces: {
      "cve.org": {
         CVE_data_meta: {
            ASSIGNER: "support@hackerone.com",
            ID: "CVE-2021-22931",
            STATE: "PUBLIC",
         },
         affects: {
            vendor: {
               vendor_data: [
                  {
                     product: {
                        product_data: [
                           {
                              product_name: "https://github.com/nodejs/node",
                              version: {
                                 version_data: [
                                    {
                                       version_value: "Fixed version 16.6.2, 14.17.5, and 12.22.5",
                                    },
                                 ],
                              },
                           },
                        ],
                     },
                     vendor_name: "n/a",
                  },
               ],
            },
         },
         data_format: "MITRE",
         data_type: "CVE",
         data_version: "4.0",
         description: {
            description_data: [
               {
                  lang: "eng",
                  value: "Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.",
               },
            ],
         },
         problemtype: {
            problemtype_data: [
               {
                  description: [
                     {
                        lang: "eng",
                        value: "Improper Null Termination (CWE-170)",
                     },
                  ],
               },
            ],
         },
         references: {
            reference_data: [
               {
                  name: "https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/",
                  refsource: "MISC",
                  url: "https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/",
               },
               {
                  name: "https://hackerone.com/reports/1178337",
                  refsource: "MISC",
                  url: "https://hackerone.com/reports/1178337",
               },
               {
                  name: "https://www.oracle.com/security-alerts/cpuoct2021.html",
                  refsource: "MISC",
                  url: "https://www.oracle.com/security-alerts/cpuoct2021.html",
               },
               {
                  name: "https://security.netapp.com/advisory/ntap-20210923-0001/",
                  refsource: "CONFIRM",
                  url: "https://security.netapp.com/advisory/ntap-20210923-0001/",
               },
               {
                  name: "https://www.oracle.com/security-alerts/cpujan2022.html",
                  refsource: "MISC",
                  url: "https://www.oracle.com/security-alerts/cpujan2022.html",
               },
               {
                  name: "https://security.netapp.com/advisory/ntap-20211022-0003/",
                  refsource: "CONFIRM",
                  url: "https://security.netapp.com/advisory/ntap-20211022-0003/",
               },
               {
                  name: "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
                  refsource: "CONFIRM",
                  url: "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
               },
               {
                  name: "https://www.oracle.com/security-alerts/cpujul2022.html",
                  refsource: "MISC",
                  url: "https://www.oracle.com/security-alerts/cpujul2022.html",
               },
               {
                  name: "GLSA-202401-02",
                  refsource: "GENTOO",
                  url: "https://security.gentoo.org/glsa/202401-02",
               },
            ],
         },
      },
      "nvd.nist.gov": {
         cve: {
            configurations: [
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                              matchCriteriaId: "564ED5C8-50D7-413A-B88E-E62B6C07336A",
                              versionEndIncluding: "12.12.0",
                              versionStartIncluding: "12.0.0",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
                              matchCriteriaId: "BE107DA6-ABDC-4FDD-B37D-1E6BFBBA18BD",
                              versionEndExcluding: "12.22.5",
                              versionStartIncluding: "12.13.0",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                              matchCriteriaId: "428DCD7B-6F66-4F18-B780-5BD80143D482",
                              versionEndIncluding: "14.14.0",
                              versionStartIncluding: "14.0.0",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*",
                              matchCriteriaId: "BB2960EF-D182-4E4F-9449-470B629D90E3",
                              versionEndExcluding: "14.17.5",
                              versionStartIncluding: "14.15.0",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*",
                              matchCriteriaId: "59F5CA28-E970-48C4-A406-31667C47F61D",
                              versionEndExcluding: "16.6.2",
                              versionStartIncluding: "16.0.0",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:vmware_vsphere:*:*",
                              matchCriteriaId: "3A756737-1CC4-42C2-A4DF-E1C893B4E2D5",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:netapp:active_iq_unified_manager:-:*:*:*:*:windows:*:*",
                              matchCriteriaId: "B55E8D50-99B4-47EC-86F9-699B67D473CE",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:netapp:nextgen_api:-:*:*:*:*:*:*:*",
                              matchCriteriaId: "5EE68D2F-B62A-413E-9C14-0797D9C9DD60",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:*",
                              matchCriteriaId: "F1BE6C1F-2565-4E97-92AA-16563E5660A5",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*",
                              matchCriteriaId: "5735E553-9731-4AAC-BCFF-989377F817B3",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:*",
                              matchCriteriaId: "BDFB1169-41A0-4A86-8E4F-FDA9730B1E94",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:*",
                              matchCriteriaId: "53B2BB06-A2F7-4603-89C3-C8500E55483A",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:*",
                              matchCriteriaId: "01E88C86-8C04-4A4A-BF45-9082AA783056",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:oracle:mysql_cluster:*:*:*:*:*:*:*:*",
                              matchCriteriaId: "E4BE3F5E-DBD8-4682-A262-CAEFC2D9221F",
                              versionEndIncluding: "8.0.26",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.57:*:*:*:*:*:*:*",
                              matchCriteriaId: "7E1E416B-920B-49A0-9523-382898C2979D",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:*",
                              matchCriteriaId: "D9DB4A14-2EF5-4B54-95D2-75E6CF9AA0A9",
                              vulnerable: true,
                           },
                           {
                              criteria: "cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:*",
                              matchCriteriaId: "C8AF00C6-B97F-414D-A8DF-057E6BFD8597",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
               {
                  nodes: [
                     {
                        cpeMatch: [
                           {
                              criteria: "cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*",
                              matchCriteriaId: "B0F46497-4AB0-49A7-9453-CC26837BF253",
                              versionEndExcluding: "1.0.1.1",
                              vulnerable: true,
                           },
                        ],
                        negate: false,
                        operator: "OR",
                     },
                  ],
               },
            ],
            descriptions: [
               {
                  lang: "en",
                  value: "Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to Remote Code Execution, XSS, Application crashes due to missing input validation of host names returned by Domain Name Servers in Node.js dns library which can lead to output of wrong hostnames (leading to Domain Hijacking) and injection vulnerabilities in applications using the library.",
               },
               {
                  lang: "es",
                  value: "Node.js versiones anteriores a 16.6.0, 14.17.4 y 12.22.4, es vulnerable a una Ejecución de Código Remota , ataques de tipo XSS, bloqueo de Aplicaciones debido a una falta de comprobación de entrada de los nombres de host devueltos por los Servidores de Nombres de Dominio en la librería dns de Node.js, que puede conllevar a la salida de nombres de host erróneos (conllevando al Secuestro de Dominio) y vulnerabilidades de inyección en aplicaciones que usan la librería.",
               },
            ],
            id: "CVE-2021-22931",
            lastModified: "2024-01-05T10:15:09.183",
            metrics: {
               cvssMetricV2: [
                  {
                     acInsufInfo: false,
                     baseSeverity: "HIGH",
                     cvssData: {
                        accessComplexity: "LOW",
                        accessVector: "NETWORK",
                        authentication: "NONE",
                        availabilityImpact: "PARTIAL",
                        baseScore: 7.5,
                        confidentialityImpact: "PARTIAL",
                        integrityImpact: "PARTIAL",
                        vectorString: "AV:N/AC:L/Au:N/C:P/I:P/A:P",
                        version: "2.0",
                     },
                     exploitabilityScore: 10,
                     impactScore: 6.4,
                     obtainAllPrivilege: false,
                     obtainOtherPrivilege: false,
                     obtainUserPrivilege: false,
                     source: "nvd@nist.gov",
                     type: "Primary",
                     userInteractionRequired: false,
                  },
               ],
               cvssMetricV31: [
                  {
                     cvssData: {
                        attackComplexity: "LOW",
                        attackVector: "NETWORK",
                        availabilityImpact: "HIGH",
                        baseScore: 9.8,
                        baseSeverity: "CRITICAL",
                        confidentialityImpact: "HIGH",
                        integrityImpact: "HIGH",
                        privilegesRequired: "NONE",
                        scope: "UNCHANGED",
                        userInteraction: "NONE",
                        vectorString: "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                        version: "3.1",
                     },
                     exploitabilityScore: 3.9,
                     impactScore: 5.9,
                     source: "nvd@nist.gov",
                     type: "Primary",
                  },
               ],
            },
            published: "2021-08-16T19:15:13.127",
            references: [
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Patch",
                     "Third Party Advisory",
                  ],
                  url: "https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf",
               },
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Exploit",
                     "Issue Tracking",
                     "Third Party Advisory",
                  ],
                  url: "https://hackerone.com/reports/1178337",
               },
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Patch",
                     "Vendor Advisory",
                  ],
                  url: "https://nodejs.org/en/blog/vulnerability/aug-2021-security-releases/",
               },
               {
                  source: "support@hackerone.com",
                  url: "https://security.gentoo.org/glsa/202401-02",
               },
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Third Party Advisory",
                  ],
                  url: "https://security.netapp.com/advisory/ntap-20210923-0001/",
               },
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Third Party Advisory",
                  ],
                  url: "https://security.netapp.com/advisory/ntap-20211022-0003/",
               },
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Patch",
                     "Third Party Advisory",
                  ],
                  url: "https://www.oracle.com/security-alerts/cpujan2022.html",
               },
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Third Party Advisory",
                  ],
                  url: "https://www.oracle.com/security-alerts/cpujul2022.html",
               },
               {
                  source: "support@hackerone.com",
                  tags: [
                     "Patch",
                     "Third Party Advisory",
                  ],
                  url: "https://www.oracle.com/security-alerts/cpuoct2021.html",
               },
            ],
            sourceIdentifier: "support@hackerone.com",
            vulnStatus: "Modified",
            weaknesses: [
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-20",
                     },
                  ],
                  source: "nvd@nist.gov",
                  type: "Primary",
               },
               {
                  description: [
                     {
                        lang: "en",
                        value: "CWE-170",
                     },
                  ],
                  source: "support@hackerone.com",
                  type: "Secondary",
               },
            ],
         },
      },
   },
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.