CVE-2025-1691 (GCVE-0-2025-1691)
Vulnerability from cvelistv5 – Published: 2025-02-27 12:34 – Updated: 2025-02-27 15:18
VLAI?
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.
Severity ?
7.6 (High)
CWE
- CWE-74 - Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
Assigner
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| MongoDB Inc | mongosh |
Affected:
0 , < 2.3.9
(custom)
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:*:*:*:*:*:*:* |
{
"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": {
"nvd": "{\"cve\":{\"id\":\"CVE-2025-1691\",\"sourceIdentifier\":\"cna@mongodb.com\",\"published\":\"2025-02-27T13:15:11.253\",\"lastModified\":\"2025-09-22T16:42:14.620\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"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.\"},{\"lang\":\"es\",\"value\":\"El shell de MongoDB puede ser susceptible a la inyecci\u00f3n de caracteres de control, donde un atacante con control de la funci\u00f3n de autocompletado de mongosh puede usar la funci\u00f3n de autocompletado para ingresar y ejecutar texto malicioso ofuscado. Esto requiere la interacci\u00f3n del usuario, en la que el usuario usa la tecla \\\"tabulador\\\" para autocompletar el texto que es un prefijo de la funci\u00f3n de autocompletado preparada por el atacante. Este problema afecta a las versiones de mongosh anteriores a la 2.3.9. La vulnerabilidad solo se puede explotar cuando mongosh est\u00e1 conectado a un cl\u00faster que est\u00e1 controlado parcial o totalmente por un atacante.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"cna@mongodb.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H\",\"baseScore\":7.6,\"baseSeverity\":\"HIGH\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"HIGH\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":1.0,\"impactScore\":6.0},{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N\",\"baseScore\":6.5,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":3.6}]},\"weaknesses\":[{\"source\":\"cna@mongodb.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-74\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:mongodb:mongosh:*:*:*:*:*:*:*:*\",\"versionEndExcluding\":\"2.3.9\",\"matchCriteriaId\":\"A1799B29-2838-4948-BD93-2D8611DB9620\"}]}]}],\"references\":[{\"url\":\"https://jira.mongodb.org/browse/MONGOSH-2024\",\"source\":\"cna@mongodb.com\",\"tags\":[\"Issue Tracking\",\"Vendor Advisory\"]}]}}",
"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"
}
}
}
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…
Loading…