« Volver al listado

CVE-2021-32050

Estado: ModificadaAlta (7.5)—

Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.

Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).

This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0.

Leer descripción completaMostrar menos

This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

Tecnologías afectadas (5)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2021-32050",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2021-32050",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2024-09-30T17:34:56.433321Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "cna@mongodb.com",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 4.2,
          "attackVector": "LOCAL",
          "baseSeverity": "MEDIUM",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N",
          "integrityImpact": "NONE",
          "userInteraction": "REQUIRED",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "HIGH",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 3.6,
        "exploitabilityScore": 0.6
      },
      {
        "type": "Primary",
        "source": "nvd@nist.gov",
        "cvssData": {
          "scope": "UNCHANGED",
          "version": "3.1",
          "baseScore": 7.5,
          "attackVector": "NETWORK",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
          "integrityImpact": "NONE",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "NONE",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 3.6,
        "exploitabilityScore": 3.9
      }
    ]
  },
  "affected": [
    {
      "source": "cna@mongodb.com",
      "affectedData": [
        {
          "vendor": "MongoDB Inc",
          "product": "MongoDB C Driver",
          "versions": [
            {
              "status": "affected",
              "version": "1.0.0",
              "lessThan": "1.17.7",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unaffected"
        },
        {
          "vendor": "MongoDB Inc",
          "product": "MongoDB C++ Driver",
          "versions": [
            {
              "status": "affected",
              "version": "3.0.0",
              "lessThan": "3.7.0",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unaffected"
        },
        {
          "vendor": "MongoDB Inc",
          "product": "MongoDB PHP Driver",
          "versions": [
            {
              "status": "affected",
              "version": "1.0.0",
              "lessThan": "1.9.2",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unaffected"
        },
        {
          "vendor": "MongoDB Inc",
          "product": "MongoDB Swift Driver",
          "versions": [
            {
              "status": "affected",
              "version": "1.0.0",
              "lessThan": "1.1.1",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unaffected"
        },
        {
          "vendor": "MongoDB Inc",
          "product": "MongoDB Node.js Driver",
          "versions": [
            {
              "status": "affected",
              "version": "3.6",
              "lessThan": "3.6.10",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "4.0",
              "lessThan": "4.17.0",
              "versionType": "custom"
            },
            {
              "status": "affected",
              "version": "5.0",
              "lessThan": "5.8.0",
              "versionType": "custom"
            }
          ],
          "defaultStatus": "unaffected"
        }
      ]
    }
  ],
  "published": "2023-08-29T16:15:08.423",
  "references": [
    {
      "url": "https://jira.mongodb.org/browse/CDRIVER-3797",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "cna@mongodb.com"
    },
    {
      "url": "https://jira.mongodb.org/browse/CXX-2028",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "cna@mongodb.com"
    },
    {
      "url": "https://jira.mongodb.org/browse/NODE-3356",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "cna@mongodb.com"
    },
    {
      "url": "https://jira.mongodb.org/browse/PHPC-1869",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "cna@mongodb.com"
    },
    {
      "url": "https://jira.mongodb.org/browse/SWIFT-1229",
      "tags": [
        "Issue Tracking"
      ],
      "source": "cna@mongodb.com"
    },
    {
      "url": "https://security.netapp.com/advisory/ntap-20231006-0001/",
      "source": "cna@mongodb.com"
    },
    {
      "url": "https://jira.mongodb.org/browse/CDRIVER-3797",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://jira.mongodb.org/browse/CXX-2028",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://jira.mongodb.org/browse/NODE-3356",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://jira.mongodb.org/browse/PHPC-1869",
      "tags": [
        "Issue Tracking",
        "Patch",
        "Vendor Advisory"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://jira.mongodb.org/browse/SWIFT-1229",
      "tags": [
        "Issue Tracking"
      ],
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://lists.debian.org/debian-lts-announce/2025/05/msg00027.html",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    },
    {
      "url": "https://security.netapp.com/advisory/ntap-20231006-0001/",
      "source": "af854a3a-2127-422b-91ae-364da2661108"
    }
  ],
  "vulnStatus": "Modified",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "cna@mongodb.com",
      "description": [
        {
          "lang": "en",
          "value": "CWE-200"
        }
      ]
    },
    {
      "type": "Primary",
      "source": "nvd@nist.gov",
      "description": [
        {
          "lang": "en",
          "value": "CWE-532"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.\n\nWithout due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).\n\nThis issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0)."
    },
    {
      "lang": "es",
      "value": "Algunos controladores de MongoDB pueden publicar erróneamente eventos que contienen datos relacionados con la autenticación a un oyente de comandos configurado por una aplicación. Los eventos publicados pueden contener datos sensibles a la seguridad cuando se ejecutan comandos específicos relacionados con la autenticación.\n\nSin la debida precaución, una aplicación puede exponer inadvertidamente esta información sensible, por ejemplo, escribiéndola en un archivo de registro. Este problema solo surge si una aplicación habilita la función de oyente de comandos (esto no está habilitado por defecto).\n\nEste problema afecta al controlador MongoDB C 1.0.0 anterior a 1.17.7, al controlador MongoDB PHP 1.0.0 anterior a 1.9.2, al controlador MongoDB Swift 1.0.0 anterior a 1.1.1, al controlador MongoDB Node.js 3.6 anterior a 3.6.10, al controlador MongoDB Node.js 4.0 anterior a 4.17.0 y al controlador MongoDB Node.js 5.0 anterior a 5.8.0. Este problema también afecta a los usuarios del controlador MongoDB C++ dependientes del controlador C 1.0.0 anterior a 1.17.7 (controlador C++ anterior a 3.7.0)."
    }
  ],
  "lastModified": "2026-06-17T03:52:43.270",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:mongodb:c\\+\\+:*:*:*:*:*:mongodb:*:*",
              "vulnerable": true,
              "matchCriteriaId": "09486555-7473-46FA-B646-E6AA6ECB005F",
              "versionEndExcluding": "1.17.7",
              "versionStartIncluding": "1.0.0"
            },
            {
              "criteria": "cpe:2.3:a:mongodb:c_driver:*:*:*:*:*:mongodb:*:*",
              "vulnerable": true,
              "matchCriteriaId": "FCB74F72-5943-472D-A787-363B6B6AAC45",
              "versionEndExcluding": "1.17.7",
              "versionStartIncluding": "1.0.0"
            },
            {
              "criteria": "cpe:2.3:a:mongodb:node.js:*:*:*:*:*:mongodb:*:*",
              "vulnerable": true,
              "matchCriteriaId": "AD1E66B4-D728-41EE-8D61-967D411BA260",
              "versionEndExcluding": "3.6.10",
              "versionStartIncluding": "3.6"
            },
            {
              "criteria": "cpe:2.3:a:mongodb:node.js:*:*:*:*:*:mongodb:*:*",
              "vulnerable": true,
              "matchCriteriaId": "9DE0FDB0-1227-465E-9F95-F3689BBD5C74",
              "versionEndExcluding": "4.17.0",
              "versionStartIncluding": "4.0"
            },
            {
              "criteria": "cpe:2.3:a:mongodb:node.js:*:*:*:*:*:mongodb:*:*",
              "vulnerable": true,
              "matchCriteriaId": "0C560F25-FF53-437A-8D60-FB5CC356AE60",
              "versionEndExcluding": "5.8.0",
              "versionStartIncluding": "5.0"
            },
            {
              "criteria": "cpe:2.3:a:mongodb:php_driver:*:*:*:*:*:mongodb:*:*",
              "vulnerable": true,
              "matchCriteriaId": "1284F2B7-7338-4796-B993-9FB547DC2869",
              "versionEndExcluding": "1.9.2",
              "versionStartIncluding": "1.0.0"
            },
            {
              "criteria": "cpe:2.3:a:mongodb:swift_driver:*:*:*:*:*:mongodb:*:*",
              "vulnerable": true,
              "matchCriteriaId": "89AA28DB-8B7B-46FC-9DDB-8912BD6EA26D",
              "versionEndExcluding": "1.1.1",
              "versionStartIncluding": "1.0.0"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "cna@mongodb.com"
}