CVE-2025-1691 (GCVE-0-2025-1691)
Vulnerability from cvelistv5
Published
2025-02-27 12:34
Modified
2025-02-27 15:18
CWE
  • CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Summary
The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using ‘tab’ to autocomplete text that is a prefix of the attacker’s prepared autocompletion. This issue affects mongosh versions prior to 2.3.9.  The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.
Impacted products
Vendor Product Version
MongoDB Inc mongosh Version: 0   < 2.3.9
    cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2025-1691",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-02-27T14:33:04.403717Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-02-27T14:33:54.782Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*",
            "cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "product": "mongosh",
          "vendor": "MongoDB Inc",
          "versions": [
            {
              "lessThan": "2.3.9",
              "status": "affected",
              "version": "0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003cbr\u003e"
            }
          ],
          "value": "The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "datePublic": "2025-02-27T12:31:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThe MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using \u2018tab\u2019 to autocomplete text that is a prefix of the attacker\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u0026nbsp;\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e2.3.9.\u0026nbsp;\u003c/span\u003e\u003cspan style=\"background-color: transparent;\"\u003e\u003cbr\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\"background-color: transparent;\"\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/span\u003e\u003c/p\u003e"
            }
          ],
          "value": "The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using \u2018tab\u2019 to autocomplete text that is a prefix of the attacker\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u00a02.3.9.\u00a0\n\n\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 7.6,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "HIGH",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-74",
              "description": "CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-27T15:18:23.418Z",
        "orgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
        "shortName": "mongodb"
      },
      "references": [
        {
          "url": "https://jira.mongodb.org/browse/MONGOSH-2024"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "MongoDB Shell may be susceptible to Control Character Injection via autocomplete",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a39b4221-9bd0-4244-95fc-f3e2e07f1deb",
    "assignerShortName": "mongodb",
    "cveId": "CVE-2025-1691",
    "datePublished": "2025-02-27T12:34:02.752Z",
    "dateReserved": "2025-02-25T13:35:22.403Z",
    "dateUpdated": "2025-02-27T15:18:23.418Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"cna\": {\"affected\": [{\"cpes\": [\"cpe:2.3:a:mongodb:mongosh:0.2.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.3.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.4.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.4.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.5.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.5.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.6.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.7.7:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.8.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.8.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.8.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.9.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.10.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.10.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.11.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.12.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.12.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.13.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.14.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.15.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.15.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:0.15.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.0.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.0.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.0.5:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.0.6:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.0.7:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.5:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.6:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.7:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.8:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.1.9:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.2.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.2.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.2.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.3.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.4.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.4.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.5.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.5.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.5.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.5.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.5.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.6.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.6.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.6.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.7.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.7.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.8.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.8.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.90:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.91:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.10.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.10.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.10.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.10.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.10.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.10.5:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:1.10.6:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.0.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.0.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.0.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.1.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.1.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.1.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.1.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.1.5:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.5:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.6:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.9:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.10:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.11:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.12:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.2.15:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.3.0:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.3.1:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.3.2:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.3.3:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.3.4:*:*:*:*:*:*:*\", \"cpe:2.3:a:mongodb:mongosh:2.3.8:*:*:*:*:*:*:*\"], \"defaultStatus\": \"unaffected\", \"product\": \"mongosh\", \"vendor\": \"MongoDB Inc\", \"versions\": [{\"lessThan\": \"2.3.9\", \"status\": \"affected\", \"version\": \"0\", \"versionType\": \"custom\"}]}], \"configurations\": [{\"lang\": \"en\", \"supportingMedia\": [{\"base64\": false, \"type\": \"text/html\", \"value\": \"The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003cbr\u003e\"}], \"value\": \"The vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\"}], \"datePublic\": \"2025-02-27T12:31:00.000Z\", \"descriptions\": [{\"lang\": \"en\", \"supportingMedia\": [{\"base64\": false, \"type\": \"text/html\", \"value\": \"\u003cp\u003e\u003cspan style=\\\"background-color: transparent;\\\"\u003eThe MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using \\u2018tab\\u2019 to autocomplete text that is a prefix of the attacker\\u2019s prepared autocompletion. This issue affects mongosh versions prior to\u0026nbsp;\u003c/span\u003e\u003cspan style=\\\"background-color: transparent;\\\"\u003e2.3.9.\u0026nbsp;\u003c/span\u003e\u003cspan style=\\\"background-color: transparent;\\\"\u003e\u003cbr\u003e\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cspan style=\\\"background-color: transparent;\\\"\u003eThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\u003c/span\u003e\u003c/p\u003e\"}], \"value\": \"The MongoDB Shell may be susceptible to control character injection where an attacker with control of the mongosh autocomplete feature, can use the autocompletion feature to input and run obfuscated malicious text. This requires user interaction in the form of the user using \\u2018tab\\u2019 to autocomplete text that is a prefix of the attacker\\u2019s prepared autocompletion. This issue affects mongosh versions prior to\\u00a02.3.9.\\u00a0\\n\\n\\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.\"}], \"metrics\": [{\"cvssV3_1\": {\"attackComplexity\": \"HIGH\", \"attackVector\": \"NETWORK\", \"availabilityImpact\": \"HIGH\", \"baseScore\": 7.6, \"baseSeverity\": \"HIGH\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"scope\": \"CHANGED\", \"userInteraction\": \"REQUIRED\", \"vectorString\": \"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H\", \"version\": \"3.1\"}, \"format\": \"CVSS\", \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"problemTypes\": [{\"descriptions\": [{\"cweId\": \"CWE-74\", \"description\": \"CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)\", \"lang\": \"en\", \"type\": \"CWE\"}]}], \"providerMetadata\": {\"orgId\": \"a39b4221-9bd0-4244-95fc-f3e2e07f1deb\", \"shortName\": \"mongodb\", \"dateUpdated\": \"2025-02-27T15:18:23.418Z\"}, \"references\": [{\"url\": \"https://jira.mongodb.org/browse/MONGOSH-2024\"}], \"source\": {\"discovery\": \"EXTERNAL\"}, \"title\": \"MongoDB Shell may be susceptible to Control Character Injection via autocomplete\", \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-1691\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-02-27T14:33:04.403717Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-02-27T14:33:10.278Z\"}}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-1691\", \"assignerOrgId\": \"a39b4221-9bd0-4244-95fc-f3e2e07f1deb\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"mongodb\", \"dateReserved\": \"2025-02-25T13:35:22.403Z\", \"datePublished\": \"2025-02-27T12:34:02.752Z\", \"dateUpdated\": \"2025-02-27T15:18:23.418Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


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…