CVE-2022-23643
published medium CVSS 3.1 · 6.5Side-channel attack in Sourcegraph Code Monitors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sourcegraph | — | sourcegraph>= 3.35, < 3.35.2 · >= 3.36, < 3.36.3 | Affected | Not stated | GitHub_M |
Description
Sourcegraph is a code search and navigation engine. Sourcegraph versions 3.35 and 3.36 reintroduced a previously fixed side-channel vulnerabilitity in the Code Monitoring feature where strings in private source code could be guessed by an authenticated but unauthorized actor. This issue affects only the Code Monitoring feature, whereas CVE-2021-43823 also affected saved searches. A successful attack would require an authenticated bad actor to create many Code Monitors to receive confirmation that a specific string exists. This could allow an attacker to guess formatted tokens in source code, such as API keys. This issue was patched in versions 3.35.2 and 3.36.3 of Sourcegraph. Those who are unable to upgrade may disable the Code Monitor feature in their installation.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sourcegraph | sourcegraph | >= 3.35, < 3.35.2 (affected)>= 3.36, < 3.36.3 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-203 CWE-203: Observable Discrepancy
References
2Provider assertions
3GitHub_M · cna
Side-channel attack in Sourcegraph Code Monitors
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 4ba3a3ce68ee67bc36bac375124be022d3343ad1b682c42d0c5db453a73c1ef7
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record