GSD-2022-2564

Vulnerability from gsd - Updated: 2023-12-13 01:19
Details
Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.
Aliases
Aliases

{
  "GSD": {
    "alias": "CVE-2022-2564",
    "description": "Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.",
    "id": "GSD-2022-2564"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2022-2564"
      ],
      "details": "Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.",
      "id": "GSD-2022-2564",
      "modified": "2023-12-13T01:19:19.714944Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2022-2564",
        "STATE": "PUBLIC",
        "TITLE": "Prototype Pollution in automattic/mongoose"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "automattic/mongoose",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "\u003c",
                          "version_value": "6.4.6"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "automattic"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6."
          }
        ]
      },
      "impact": {
        "cvss": {
          "attackComplexity": "HIGH",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 7,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "privilegesRequired": "NONE",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H",
          "version": "3.0"
        }
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "CWE-1321 Improperly Controlled Modification of Object Prototype Attributes (\u0027Prototype Pollution\u0027)"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141",
            "refsource": "MISC",
            "url": "https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141"
          },
          {
            "name": "https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd",
            "refsource": "CONFIRM",
            "url": "https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd"
          },
          {
            "name": "https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8",
            "refsource": "MISC",
            "url": "https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8"
          },
          {
            "name": "https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6",
            "refsource": "MISC",
            "url": "https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6"
          }
        ]
      },
      "source": {
        "advisory": "055be524-9296-4b2f-b68d-6d5b810d1ddd",
        "discovery": "EXTERNAL"
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c5.13.15||\u003e=6.0.0 \u003c6.4.6",
          "affected_versions": "All versions before 5.13.15, all versions starting from 6.0.0 before 6.4.6",
          "cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
          "cwe_ids": [
            "CWE-1035",
            "CWE-1321",
            "CWE-937"
          ],
          "date": "2023-08-16",
          "description": "Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.",
          "fixed_versions": [
            "5.13.15",
            "6.4.6"
          ],
          "identifier": "CVE-2022-2564",
          "identifiers": [
            "CVE-2022-2564"
          ],
          "not_impacted": "All versions starting from 5.13.15 before 6.0.0, all versions starting from 6.4.6",
          "package_slug": "npm/mongoose",
          "pubdate": "2022-07-28",
          "solution": "Upgrade to versions 5.13.15, 6.4.6 or above.",
          "title": "Improperly Controlled Modification of Object Prototype Attributes (\u0027Prototype Pollution\u0027)",
          "urls": [
            "https://nvd.nist.gov/vuln/detail/CVE-2022-2564",
            "https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd",
            "https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8",
            "https://github.com/Automattic/mongoose/pull/12297"
          ],
          "uuid": "5b4be5dd-4da1-45f1-82f9-05804b6d645d"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*",
                    "matchCriteriaId": "7C886CFF-649B-42CF-8AB6-CEFBD8B071BB",
                    "versionEndExcluding": "5.13.15",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*",
                    "matchCriteriaId": "ECA80D8F-525D-42E7-AEC3-0216017A624B",
                    "versionEndExcluding": "6.4.6",
                    "versionStartIncluding": "6.0.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6."
          },
          {
            "lang": "es",
            "value": "Una Contaminaci\u00f3n de Prototipo en el repositorio de GitHub automattic/mongoose versiones anteriores a 6.4.6"
          }
        ],
        "id": "CVE-2022-2564",
        "lastModified": "2024-03-12T17:30:40.283",
        "metrics": {
          "cvssMetricV30": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.0,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H",
                "version": "3.0"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 4.7,
              "source": "security@huntr.dev",
              "type": "Secondary"
            }
          ],
          "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": "2022-07-28T20:15:11.187",
        "references": [
          {
            "source": "security@huntr.dev",
            "tags": [
              "Exploit",
              "Third Party Advisory"
            ],
            "url": "https://github.com/Automattic/mongoose/blob/51e758541763b6f14569744ced15cc23ab8b50c6/lib/schema.js#L88-L141"
          },
          {
            "source": "security@huntr.dev",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/Automattic/mongoose/compare/6.4.5...6.4.6"
          },
          {
            "source": "security@huntr.dev",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://github.com/automattic/mongoose/commit/a45cfb6b0ce0067ae9794cfa80f7917e1fb3c6f8"
          },
          {
            "source": "security@huntr.dev",
            "tags": [
              "Exploit",
              "Issue Tracking",
              "Patch",
              "Third Party Advisory"
            ],
            "url": "https://huntr.dev/bounties/055be524-9296-4b2f-b68d-6d5b810d1ddd"
          }
        ],
        "sourceIdentifier": "security@huntr.dev",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-1321"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-1321"
              }
            ],
            "source": "security@huntr.dev",
            "type": "Secondary"
          }
        ]
      }
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…