CVE-2020-1955
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 · uneditedCouchDB version 3.0.0 shipped with a new configuration setting that governs access control to the entire database server called `require_valid_user_except_for_up`. It was meant as an extension to the long standing setting `require_valid_user`, which in turn requires that any and all requests to CouchDB will have to be made with valid credentials, effectively forbidding any anonymous requests. The new `require_valid_user_except_for_up` is an off-by-default setting that was meant to allow requiring valid credentials for all endpoints except for the `/_up` endpoint. However, the implementation of this made an error that lead to not enforcing credentials on any endpoint, when enabled. CouchDB versions 3.0.1[1] and 3.1.0[2] fix this issue.
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 confidenceCouchDB 3.0.0 contains a critical authentication bypass vulnerability in the `require_valid_user_except_for_up` configuration setting. When enabled, this setting was intended to require valid credentials for all endpoints except the health check endpoint /_up, but a implementation error causes authentication to be disabled entirely for ALL endpoints, exposing the entire database server to anonymous access.
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= 3.0.0CVSS 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
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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 checksWork through these to decide whether this CVE applies to you.
-
Identify CouchDB versionSend a GET request to the CouchDB root endpoint: curl http://localhost:5984/. Look for the 'version' field in the JSON response.Affected if The version field reports exactly 3.0.0
-
Locate the CouchDB configuration fileCheck the local.ini or default.ini configuration file in the CouchDB etc directory, typically at /opt/couchdb/etc/local.ini or /etc/couchdb/local.ini. Alternatively, query the _config endpoint via curl http://localhost:5984/_config/Affected if The configuration file exists and contains the [couch_httpd_auth] section
-
Check for vulnerable configuration settingInspect the [couch_httpd_auth] section in the configuration file or via the _config endpoint. Look specifically for: require_valid_user_except_for_up = trueAffected if The setting require_valid_user_except_for_up is present and set to true (or any truthy value)
-
Verify authentication bypass is activeAttempt an unauthenticated request to a protected endpoint such as curl http://localhost:5984/_all_dbs or curl http://localhost:5984/_users/_all_docsAffected if The request returns a successful response with data rather than a 401 Unauthorized or 401 Basic auth challenge
A user is affected if running CouchDB version 3.0.0 AND the require_valid_user_except_for_up configuration option is enabled, which allows unauthenticated access to all endpoints.
Generated from the published advisory. Verify against your own configuration.
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 · scopedUpgrade CouchDB to version 3.0.1, 3.1.0, or later. Until upgraded, ensure `require_valid_user_except_for_up` is not enabled in the configuration.
3.0.1 or 3.1.0 (or latest stable 3.x release)
- 1. Stop the CouchDB 3.0.0 service
- 2. Backup your CouchDB data directory (typically /opt/couchdb/data or /var/lib/couchdb)
- 3. Backup your CouchDB configuration files (local.ini, etc.)
- 4. Upgrade CouchDB from version 3.0.0 to version 3.0.1 or 3.1.0 using your package manager or build from source
- 5. Start the CouchDB service
- 6. Verify the `require_valid_user_except_for_up` setting now works correctly by testing authentication on endpoints
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,224.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2020-1955 — 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2020-1955 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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