AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

Couchbase Sync GatewayGHSA-g622-r636-qfqh

SQL Injection in Couchbase Sync Gateway

Couchbase Sync Gateway

CVE-2019-9039 · Published Feb 15, 2022 · updated Nov 8, 2023

Critical9.8
Fix: upgrade to 2.5.0 or later
GitHub advisory

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 versions

PackageAffectedFixed in
github.com/couchbase/sync_gateway
Go
< 2.5.02.5.0
Details and references

More Couchbase Sync Gateway advisories

All Couchbase Sync Gateway