gsd-2023-26920
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
fast-xml-parser before 4.1.2 allows __proto__ for Prototype Pollution.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2023-26920",
    "id": "GSD-2023-26920"
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2023-26920"
      ],
      "details": "fast-xml-parser before 4.1.2 allows __proto__ for Prototype Pollution.",
      "id": "GSD-2023-26920",
      "modified": "2023-12-13T01:20:53.863488Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2023-26920",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_value": "n/a"
                        }
                      ]
                    }
                  }
                ]
              },
              "vendor_name": "n/a"
            }
          ]
        }
      },
      "data_format": "MITRE",
      "data_type": "CVE",
      "data_version": "4.0",
      "description": {
        "description_data": [
          {
            "lang": "eng",
            "value": "fast-xml-parser before 4.1.2 allows __proto__ for Prototype Pollution."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "https://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7",
            "refsource": "MISC",
            "url": "https://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7"
          },
          {
            "name": "https://github.com/advisories/GHSA-793h-6f7r-6qvm",
            "refsource": "MISC",
            "url": "https://github.com/advisories/GHSA-793h-6f7r-6qvm"
          },
          {
            "name": "https://github.com/NaturalIntelligence/fast-xml-parser/commit/2b032a4f799c63d83991e4f992f1c68e4dd05804",
            "refsource": "CONFIRM",
            "url": "https://github.com/NaturalIntelligence/fast-xml-parser/commit/2b032a4f799c63d83991e4f992f1c68e4dd05804"
          }
        ]
      }
    },
    "gitlab.com": {
      "advisories": [
        {
          "affected_range": "\u003c4.1.2",
          "affected_versions": "All versions before 4.1.2",
          "cwe_ids": [
            "CWE-1035",
            "CWE-937"
          ],
          "date": "2023-06-13",
          "description": "### Impact\nAs a part of this vulnerability, user was able to se code using `__proto__` as a tag or attribute name.\n\n```js\nconst { XMLParser, XMLBuilder, XMLValidator} = require(\"fast-xml-parser\");\n\nlet XMLdata = \"\u003c__proto__\u003e\u003cpolluted\u003ehacked\u003c/polluted\u003e\u003c/__proto__\u003e\"\n\nconst parser = new XMLParser();\nlet jObj = parser.parse(XMLdata);\n\nconsole.log(jObj.polluted) // should return hacked\n``` \n\n### Patches\nThe problem has been patched in v4.1.2\n\n### Workarounds\nUser can check for \"__proto__\" in the XML string before parsing it to the parser.\n\n### References\nhttps://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7\n",
          "fixed_versions": [
            "4.1.2"
          ],
          "identifier": "CVE-2023-26920",
          "identifiers": [
            "GHSA-x3cc-x39p-42qx",
            "CVE-2023-26920"
          ],
          "not_impacted": "All versions starting from 4.1.2",
          "package_slug": "npm/fast-xml-parser",
          "pubdate": "2023-06-13",
          "solution": "Upgrade to version 4.1.2 or above.",
          "title": "fast-xml-parser vulnerable to Prototype Pollution through tag or attribute name",
          "urls": [
            "https://github.com/NaturalIntelligence/fast-xml-parser/security/advisories/GHSA-x3cc-x39p-42qx",
            "https://github.com/NaturalIntelligence/fast-xml-parser/commit/2b032a4f799c63d83991e4f992f1c68e4dd05804",
            "https://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7",
            "https://github.com/advisories/GHSA-x3cc-x39p-42qx"
          ],
          "uuid": "f8e9869c-de84-4b47-ad79-93a11e5592a3"
        }
      ]
    },
    "nvd.nist.gov": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:naturalintelligence:fast_xml_parser:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "94905D51-E4A0-4FAF-A3BC-98F8A0F87DCB",
                    "versionEndExcluding": "4.1.2",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "descriptions": [
          {
            "lang": "en",
            "value": "fast-xml-parser before 4.1.2 allows __proto__ for Prototype Pollution."
          },
          {
            "lang": "es",
            "value": "fast-xml-parser anterior a 4.1.2 permite __proto__ para Prototype Pollution."
          }
        ],
        "id": "CVE-2023-26920",
        "lastModified": "2023-12-14T20:41:19.917",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 6.5,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.8,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2023-12-12T17:15:07.720",
        "references": [
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit"
            ],
            "url": "https://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch"
            ],
            "url": "https://github.com/NaturalIntelligence/fast-xml-parser/commit/2b032a4f799c63d83991e4f992f1c68e4dd05804"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Third Party Advisory"
            ],
            "url": "https://github.com/advisories/GHSA-793h-6f7r-6qvm"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Analyzed",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-1321"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    }
  }
}


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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…