CVE-2021-43823

MEDIUM

Sourcegraph is a code search and navigation engine. Sourcegraph prior to version 3.33.2 is vulnerable to a side-channel attack where strings in private source code could be guessed by an authentica...

Affects 1 product across 1 vendor.

CVSS 3.16.5
EPSS0.9%
Percentile58th
PatchPatched
CVSS Vector — Plain English Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, no integrity impact, no availability impact.
CWE Weakness Definitions
CWE-200: Exposure of Sensitive Information

Application reveals restricted data such as system internals, credentials, or user data to unauthorized actors.

CWE-203: CWE-203
Related Attack Patterns (CAPEC)
CAPEC-13 Subverting Environment Variable Values
via CWE-200
CAPEC-59 Session Credential Falsification through Prediction
via CWE-200
CAPEC-60 Reusing Session IDs (aka Session Replay)
via CWE-200
CAPEC-79 Using Slashes in Alternate Encoding
via CWE-200
CAPEC-285 ICMP Echo Request Ping
via CWE-200
Show all 60

Mapping is CWE-to-CAPEC per MITRE CAPEC 3.9.

◆ AI Analysis — automated analysis, not human-reviewed

Sourcegraph prior to version 3.33.2 is vulnerable to a side-channel attack that allows an authenticated but unauthorized actor to guess strings in private source code through the Saved Searches and Code Monitoring features.

BSID: BS-2021-GLOBAL-300238-M • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: MEDIUM

Is this CVE in your environment?

BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.

Check My Environment →
Frequently Asked Questions
What is CVE-2021-43823?
Sourcegraph prior to version 3.33.2 is vulnerable to a side-channel attack that allows an authenticated but unauthorized actor to guess strings in private source code through the Saved Searches and Code Monitoring features.
What is the CVSS score for CVE-2021-43823?
CVE-2021-43823 has CVSS 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N. EPSS: 0.9%.
Is CVE-2021-43823 actively exploited?
No confirmed active exploitation of CVE-2021-43823 as of 2026-05-30.
How do I remediate CVE-2021-43823?
Priority: MEDIUM.
What systems are affected by CVE-2021-43823?
CVE-2021-43823 affects Sourcegraph Sourcegraph.
Vulnerability Details
CVE IDCVE-2021-43823
BSIDBS-2021-GLOBAL-300238-M BreachSpider Global ID
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Published2021-12-13
Last Modified2024-11-21
ICS Relevance0%
Weakness (CWE)
SourceNVD
Official Description

Sourcegraph is a code search and navigation engine. Sourcegraph prior to version 3.33.2 is vulnerable to a side-channel attack where strings in private source code could be guessed by an authenticated but unauthorized actor. This issue affects the Saved Searches and Code Monitoring features. A successful attack would require an authenticated bad actor to create many Saved Searches or 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 version 3.33.2 and any future versions of Sourcegraph. We strongly encourage upgrading to secure versions. If you are unable to, you may disable Saved Searches and Code Monitors.

Source: NIST NVD / MITRE CVE Database

Attack Vector Analysis — CITED Relevance

An authenticated bad actor can create many Saved Searches or Code Monitors to exploit the side-channel vulnerability, potentially guessing strings in private source code.

Exploitation Likelihood: MEDIUM

Affected Products
VendorProductAffected Versions
Sourcegraph Sourcegraph < 3.33.2
Remediation

No official vendor advisory link on record. See the CVE record →

Threat Intelligence
● Threat Intelligence Validated: October 2026 | Threat Age: 1767 Days
CISA known-exploitedNot in KEV catalog
Public ExploitNot confirmed
PoC CodeNot confirmed
AI Enrichment Record — provenance & audit hash
Model/workspace/models/qwen2.5-coder-32b-instruct-bf16
ConfidenceMEDIUM
Enriched At2026-05-24
SHA-512 Audit Hash72ae18f634fa2202256e4a19bcf07538471f8da2df1cc2cdec8a6b203aba91dca8497d5b8503126fe3445ee1c6a83b738fcd129d5caed01bc08ad31d149df36d
Related CVEs affecting Sourcegraph
CVE-2023-46248 8.8 Cody is an artificial intelligence (AI) coding assistant. The Cody AI VSCode ... CVE-2022-23642 8.8 Sourcegraph is a code search and navigation engine. Sourcegraph prior to vers... CVE-2022-41942 7.8 Sourcegraph is a code intelligence platform. In versions prior to 4.1.0 a com... CVE-2022-29171 7.2 Sourcegraph is a fast and featureful code search and navigation engine. Versi... CVE-2022-41943 7.2 sourcegraph is a code intelligence platform. As a site admin it was possible ...
View all Sourcegraph CVEs →

ICS/OT Vulnerability Intelligence for Your Environment

BreachSpider tracks 384,000+ CVEs and matches them to your ICS/OT assets by exact version, with AI analysis, NERC CIP mapping, and vendor PSIRT contacts.

Create a free account →