CVE-2019-9039 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.couchbase.com/sync-gateway/2.5/release-notes.html | CVE | Release NotesVendor Advisory |
| https://research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/ | CVE | ExploitThird Party Advisory |
| https://www.couchbase.com/resources/security#SecurityAlerts | CVE | |
| https://docs.couchbase.com/sync-gateway/2.5/release-notes.html | [email protected] | Release NotesVendor Advisory |
| https://research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/ | [email protected] | ExploitThird Party Advisory |
| https://www.couchbase.com/resources/security#SecurityAlerts | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| couchbase sync gateway | 2.1.2 |
CPE
Remediation
| |
Change History
20 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 10, 2020 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 10, 2019 | CVE Modified | [email protected] |
| Oct 9, 2019 | CVE Modified | [email protected] |
| Sep 16, 2019 | CVE Modified | [email protected] |
| Sep 10, 2019 | CVE Modified | [email protected] |
| Jul 1, 2019 | Initial Analysis | [email protected] |