CVE-2021-20330

    Dashboard / Vulnerabilities / CVE-2021-20330

    CVE-2021-20330

    Published: 15 Dec 2021Last Modified: 8 Jul 2026

    Summary:

    Details: An attacker with basic CRUD permissions on a replicated collection can run the applyOps command with specially malformed oplog entries, resulting in a potential denial of service on secondaries. This issue affects MongoDB Server v4.0 versions prior to 4.0.27; MongoDB Server v4.2 versions prior to 4.2.16; MongoDB Server v4.4 versions prior to 4.4.9.

    Affected packages

    Package

    Name:

    Purl:

    Affected ranges

    Type: GIT

    Events:

    Introduced- 3b07af3d4f471ae89e8186d33bbb1d5259597d51

    Affected versions

    r4.0.25-rc0
    r4.0.24-rc1
    r4.0.24
    r4.0.24-rc0
    r4.0.23-rc0
    r4.0.23
    r4.0.22-rc0
    r4.0.22
    r4.0.21-rc1
    r4.0.21
    r4.0.21-rc0
    r4.0.20-rc0
    r4.0.20
    r4.0.19-rc0
    r4.0.19
    r4.0.18-rc0
    r4.0.18
    r4.0.17-rc0
    r4.0.17
    r4.0.16-rc0
    r4.0.16
    r4.0.15-rc0
    r4.0.15
    r4.0.14-rc1
    r4.0.14
    r4.0.14-rc0
    r4.0.13-rc0
    r4.0.13
    r4.0.12-rc2
    r4.0.12
    r4.0.12-rc1
    r4.0.12-rc0
    r4.0.11-rc0
    r4.0.11
    r4.0.10-rc1
    r4.0.10
    r4.0.10-rc0
    r4.0.9-rc0
    r4.0.9
    r4.0.8-rc0
    r4.0.8
    r4.0.7-rc1
    r4.0.7
    r4.0.7-rc0
    r4.0.6-rc1
    r4.0.6
    r4.0.6-rc0
    r4.0.5-rc1
    r4.0.5
    r4.0.5-rc0
    r4.0.4-rc2
    r4.0.4
    r4.0.4-rc1
    r4.0.4-rc0
    r4.0.3-rc0
    r4.0.3
    r4.0.2-rc0
    r4.0.2
    r4.0.1-rc1
    r4.0.1
    r4.0.1-rc0
    r4.0.0

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    CVE-2021-20330 | CVE-DB