NetSight
critical9.8

CVE-2019-9039

SQL Injection in Couchbase Sync Gateway

Impact

The Couchbase Sync Gateway 2.1.2 in combination with a Couchbase Server is affected by a previously undisclosed N1QL-injection vulnerability in the REST API. An attacker with access to the public REST API can insert additional N1QL statements through the parameters ?startkey? and ?endkey? of the ?_all_docs? endpoint.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/couchbase/sync_gateway< 2.5.02.5.0

Affected products

VendorProductAffected versions
CouchbaseSync Gateway
Version 2.1.2

Weakness classification

References