GrowiApplication · Weseek

CVE-2021-20736

CRITICAL · 9.1 CVSS v3.1 Published 2021-06-22
Fix available
A fix is available. Upgrade to 4.2.20 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
NoSQL injection vulnerability in GROWI versions prior to v4.2.20 allows a remote attacker to obtain and/or alter the information stored in the database via unspecified vectors.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

GROWI v4.2.20之前存在NoSQL注入漏洞,远程攻击者可通过在用户输入中注入MongoDB查询操作来获取或篡改数据库中的数据。由于GROWI使用MongoDB作为后端存储,恶意查询可绕过应用层验证直接操作数据库。

Mitigation立即将GROWI升级至v4.2.20或更高版本以修复此NoSQL注入漏洞。升级前应备份数据库,并在测试环境中验证升级不会影响现有功能。

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
GrowiApplication
Affected:< 4.2.20

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify installed GROWI version
    Check the version file or package.json in the GROWI installation directory. If using Docker, run 'docker images' to see the image tag. Alternatively, access the GROWI admin panel and look for version information in the system settings.
    Affected if The installed version is below 4.2.20
  2. Confirm MongoDB backend is in use
    Check the GROWI configuration file (e.g., config.yaml, .env, or mongolab.yml) for the MONGO_URI or MONGODB_URI setting. Verify that GROWI is configured to connect to a MongoDB database.
    Affected if MongoDB is configured as the backend database (this is the default and required for this vulnerability)
  3. Identify accessible user input endpoints
    Review GROWI's publicly accessible pages that accept user input, such as the login form, registration form, search functionality, or page creation/editing interfaces. These are potential injection points.
    Affected if User-facing input fields exist that process data against the MongoDB backend without sanitization

You are affected if GROWI version is below 4.2.20 AND MongoDB is used as the backend database, as the vulnerability allows injection of malicious MongoDB queries through user input fields.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.2.20 or later
Fixed in 4.2.20
Interim mitigation

立即将GROWI升级至v4.2.20或更高版本以修复此NoSQL注入漏洞。升级前应备份数据库,并在测试环境中验证升级不会影响现有功能。

Recommended fix High confidence

v4.2.20 or later

  1. Backup your GROWI data and database before starting the upgrade process
  2. Stop the currently running GROWI instance
  3. Update GROWI to version 4.2.20 or later. If using Docker, pull the new image: docker pull weseek/growi:4.2.20 or higher
  4. Review the release notes for v4.2.20 to check for any required configuration changes
  5. Restart GROWI with the new version
  6. Verify the installation by logging in and checking that the application functions normally
  7. Monitor logs for any errors or unusual activity following the upgrade
Caveat Check the official GROWI release notes for v4.2.20 to confirm there are no breaking changes specific to your deployment

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Growi Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
11.0 hours of engineering $1,930
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,088.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2021-20736 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2021-20736 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data