← Übersicht Red Hat Enterprise Linux

Large aggregation pipelines with a specific stage can crash mongod under default configuration

CVE-2021-32040 · BIT-mongodb-2021-32040 · UBUNTU-CVE-2021-32040

Hoch · CVSS 7.5 Ubuntu: mediumRed Hat: Moderate Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
12.04.2022
Zuletzt geändert
08.09.2026
EPSS (30 Tage)
2.0 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

It may be possible to have an extremely long aggregation pipeline in conjunction with a specific stage/operator and cause a stack overflow due to the size of the stack frames used by that stage. If an attacker could cause such an aggregation to occur, they could maliciously crash MongoDB in a DoS attack. This vulnerability affects MongoDB Server v4.4 versions prior to and including 4.4.28, MongoDB Server v5.0 versions prior to 5.0.4 and MongoDB Server v4.2 versions prior to 4.2.16. Workaround: >= v4.2.16 users and all v4.4 users can add the --setParameter internalPipelineLengthLimit=50 instead of the default 1000 to mongod at startup to prevent a crash.

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 2 betroffen, 1 nicht betroffen.

Red Hat Openshift Data Foundation 4 Betroffenaußerhalb des Supports noobaa-core-container, odf4/mcg-core-rhel9
Red Hat Update Infrastructure 3 for Cloud Providers Betroffenwird nicht behoben mongodb
Nicht betroffen (1)
Red Hat Satellite 6Nicht betroffenverwundbarer Code nicht enthaltenlibmongodb, mongodb, mongodb-server

Betroffene Pakete im beobachteten Stack

Red Hat:rhui:3mongodbkein Fix bekanntCVE-2021-32040
Weitere betroffene Pakete (7)
Bitnamimongodb4.2.0 → 4.2.16, 4.4.0 → 4.4.11, 5.0.0 → 5.0.4BIT-mongodb-2021-32040
CVEMongoDB Inc./MongoDB Server5.0.4, 4.2.16CVE-2021-32040
NVDmongodb:mongodb4.2.0 → 4.2.16, 4.4.0 → 4.4.11, 5.0.0 → 5.0.4CVE-2021-32040
Ubuntu:Pro:14.04:LTSmongodbkein Fix bekanntUBUNTU-CVE-2021-32040
Ubuntu:Pro:16.04:LTSmongodbkein Fix bekanntUBUNTU-CVE-2021-32040
Ubuntu:Pro:18.04:LTSmongodbkein Fix bekanntUBUNTU-CVE-2021-32040
Ubuntu:Pro:20.04:LTSmongodbkein Fix bekanntUBUNTU-CVE-2021-32040

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.