SCA: security update for mongosh (GHSA-43g5-2wr2-q7vj)

medium Tenable Self-Hosted Container Security Plugin ID 421005

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-1691)

See Also

https://github.com/advisories/GHSA-43g5-2wr2-q7vj

Plugin Details

Severity: Medium

ID: 421005

Version: Revision 1.13

Type: Local

Family: SCA Checks

Published: 2/27/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2025-1691

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/27/2025

Vulnerability Publication Date: 2/27/2025

Reference Information

CVE: CVE-2025-1691

cwe: CWE-74