CVE-2019-9039
Description
In Couchbase Sync Gateway 2.1.2, an attacker with access to the Sync Gateway’s public REST API was able to issue additional N1QL statements and extract sensitive data or call arbitrary N1QL functions through the parameters "startkey" and "endkey" on the "_all_docs" endpoint. By issuing nested queries with CPU-intensive operations they may have been able to cause increased resource usage and denial of service conditions. The _all_docs endpoint is not required for Couchbase Mobile replication and external access to this REST endpoint has been blocked to mitigate this issue. This issue has been fixed in versions 2.5.0 and 2.1.3.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/couchbase/sync_gatewayGo | < 2.5.0 | 2.5.0 |
Affected products
2- Couchbase/Sync Gatewaydescription
Patches
Vulnerability mechanics
References
7- research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/nvdExploitThird Party Advisory
- docs.couchbase.com/sync-gateway/2.5/release-notes.htmlnvdRelease NotesVendor AdvisoryWEB
- github.com/advisories/GHSA-g622-r636-qfqhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2019-9039ghsaADVISORY
- github.com/couchbase/sync_gateway/commit/97adb5b496aa96aa70398018ea96da913ffd8d8cghsaWEB
- research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039ghsaWEB
- www.couchbase.com/resources/securitynvdWEB
News mentions
0No linked articles in our index yet.