{
  "schema_version": "1.4.0",
  "id": "GHSA-hxmg-hm46-cf62",
  "modified": "2023-09-12T19:23:11Z",
  "published": "2021-04-13T15:41:01Z",
  "aliases": [
    "CVE-2020-24391"
  ],
  "summary": "Remote code execution in mongo-express",
  "details": "mongo-express before 1.0.0 offers support for certain advanced syntax but implements this in an unsafe way. NOTE: this may overlap CVE-2019-10769.",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "mongodb-query-parser"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.0.0"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-24391"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mongodb-js/query-parser/issues/16"
    },
    {
      "type": "WEB",
      "url": "https://github.com/mongo-express/mongo-express/commit/3a26b079e7821e0e209c3ee0cc2ae15ad467b91a"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-20"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-03-31T20:14:37Z",
    "nvd_published_at": "2021-03-30T21:15:00Z"
  }
}