cve.bz

CVE-2019-2389 mongodb mongodb: Improper Input Validation

4.2 mediumEPSS 0.3%Fix available

Medium (4.2) in mongodb mongodb. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
Incorrect scoping of kill operations in MongoDB Server's packaged SysV init scripts allow users with write access to the PID file to insert arbitrary PIDs to be killed when the root user stops the MongoDB process via SysV init. This issue affects MongoDB Server v4.0 versions prior to 4.0.11; MongoDB Server v3.6 versions prior to 3.6.14; MongoDB Server v3.4 versions prior to 3.4.22.

Severity

CVSS 3.1

4.2 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:N/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 23rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-20 Improper Input Validation
CWE-732 Incorrect Permission Assignment for Critical Resource
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-2389 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-2389?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-2389?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-2389 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
MongoDB Inc. MongoDB Serverfrom 4.0 before 4.0.11
MongoDB Inc. MongoDB Serverfrom 3.6 before 3.6.14
MongoDB Inc. MongoDB Serverfrom 3.4 before 3.4.22

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue affects the mongodb packages as shipped in the Red Hat Enterprise Linux version 6 release of Red Hat Software Collections. For the Red Hat Enterprise Linux version 7 release of Red Hat Software Collections, refer to systemd CVE-2018-16888.

Red Hat Satellite 6 is using MongoDB, but is not considered vulnerable because it is using the systemd service file. Please refer to CVE-2018-16888.

ProductPackageStateAdvisory
Red Hat OpenStack Platform 10 (Newton)mongodbNot affected
Red Hat Software Collectionsrh-mongodb34-mongodbWill not fix
Red Hat Software Collectionsrh-mongodb36-mongodbNot affected
Red Hat Update Infrastructure 3 for Cloud ProvidersmongodbNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-2389.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-732 (11), CWE-20 (51).

References

Check your stackJSON