CVE-2022-23643

Side-channel attack in Sourcegraph Code Monitors

MEDIUM
6.5
CVSS Score
Published: February 15, 2022 at 09:25 PM UTC
Updated: June 17, 2026 at 04:30 AM UTC
1 product affected across 1 vendorSourcegraph

Using sourcegraph by sourcegraph?

Get instant alerts when new vulnerabilities affect sourcegraph - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.8%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.35.2v < 3.36.33.35.0 ≤ v < 3.35.23.36.0 ≤ v < 3.36.3
Affected range stops below 3.35.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.36.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (2)

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200CWE-203

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card