ghsa-43g5-2wr2-q7vj
Vulnerability from github
Published
2025-02-27 15:31
Modified
2025-02-27 17:15
Severity ?
VLAI Severity ?
Summary
MongoDB Shell may be susceptible to Control Character Injection via autocomplete
Details
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.
{ "affected": [ { "package": { "ecosystem": "npm", "name": "mongosh" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "2.3.9" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-1691" ], "database_specific": { "cwe_ids": [ "CWE-74" ], "github_reviewed": true, "github_reviewed_at": "2025-02-27T17:15:42Z", "nvd_published_at": "2025-02-27T13:15:11Z", "severity": "HIGH" }, "details": "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\nThe vulnerability is exploitable only when mongosh is connected to a cluster that is partially or fully controlled by an attacker.", "id": "GHSA-43g5-2wr2-q7vj", "modified": "2025-02-27T17:15:42Z", "published": "2025-02-27T15:31:51Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-1691" }, { "type": "PACKAGE", "url": "https://github.com/mongodb-js/mongosh" }, { "type": "WEB", "url": "https://jira.mongodb.org/browse/MONGOSH-2024" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "MongoDB Shell may be susceptible to Control Character Injection via autocomplete" }
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.
Loading…
Loading…