Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc2MjItcjYzNi1xZnFo
SQL Injection in Couchbase Sync Gateway
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.
Permalink: https://github.com/advisories/GHSA-g622-r636-qfqhJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWc2MjItcjYzNi1xZnFo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: about 2 years ago
Updated: 8 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-g622-r636-qfqh, CVE-2019-9039
References:
- https://nvd.nist.gov/vuln/detail/CVE-2019-9039
- https://github.com/couchbase/sync_gateway/commit/97adb5b496aa96aa70398018ea96da913ffd8d8c
- https://docs.couchbase.com/sync-gateway/2.5/release-notes.html
- https://research.hisolutions.com/2019/06/n1ql-injection-in-couchbase-sync-gateway-cve-2019-9039/
- https://www.couchbase.com/resources/security#SecurityAlerts
- https://github.com/advisories/GHSA-g622-r636-qfqh
Blast Radius: 1.0
Affected Packages
go:github.com/couchbase/sync_gateway
Dependent packages: 1Dependent repositories: 0
Downloads:
Affected Version Ranges: < 2.5.0
Fixed in: 2.5.0
All affected versions:
All unaffected versions: