CVE-2021-43823
CVE-2021-43823 is a medium-severity vulnerability in Sourcegraph with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-203.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v2: 4.0
- EPSS exploit prediction: 1% (53rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-203
- Affected product: Sourcegraph
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2021-43823?
- 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.
- How severe is CVE-2021-43823?
- CVE-2021-43823 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2021-43823 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (53rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-43823?
- CVE-2021-43823 affects Sourcegraph. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-43823?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-43823 published?
- CVE-2021-43823 was published on 2021-12-13 and last updated on 2026-06-17.
References
- https://github.com/sourcegraph/sourcegraph/commit/a88d90a8302c492282186d39718cd8fb093c14fa
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-cpq7-hmvv-29w9
Affected products (1)
- cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:*
More vulnerabilities in Sourcegraph
- CVE-2022-41943 — Critical (CVSS 9.0): sourcegraph is a code intelligence platform. As a site admin it was possible to execute arbitrary commands on Gitserver…
- CVE-2022-23642 — High (CVSS 8.8): Sourcegraph is a code search and navigation engine. Sourcegraph prior to version 3.37 is vulnerable to remote code…
- CVE-2022-41942 — High (CVSS 7.9): Sourcegraph is a code intelligence platform. In versions prior to 4.1.0 a command Injection vulnerability existed in…
- CVE-2022-29171 — Medium (CVSS 6.6): Sourcegraph is a fast and featureful code search and navigation engine. Versions before 3.38.0 are vulnerable to Remote…
- CVE-2022-23643 — Medium (CVSS 6.5): Sourcegraph is a code search and navigation engine. Sourcegraph versions 3.35 and 3.36 reintroduced a previously fixed…
- CVE-2022-31154 — Medium (CVSS 6.4): Sourcegraph is an opensource code search and navigation engine. It is possible for an authenticated Sourcegraph user to…
All CVEs affecting Sourcegraph →
Other CWE-203 (Observable Discrepancy) vulnerabilities
- CVE-2019-25337 — Critical (CVSS 9.8): OwnCloud 8.1.8 contains a username enumeration vulnerability that allows remote attackers to discover user accounts by…
- CVE-2026-23519 — Critical (CVSS 9.8): RustCrypto CMOV provides conditional move CPU intrinsics which are guaranteed on major platforms to execute in…
- CVE-2025-27667 — Critical (CVSS 9.8): Vasion Print (formerly PrinterLogic) before Virtual Appliance Host 22.0.843 Application 20.0.1923 allows Administrative…
- CVE-2024-25714 — Critical (CVSS 9.8): In Rhonabwy through 1.1.13, HMAC signature verification uses a strcmp function that is vulnerable to side-channel…
- CVE-2024-25191 — Critical (CVSS 9.8): php-jwt 1.0.0 uses strcmp (which is not constant time) to verify authentication, which makes it easier to bypass…
- CVE-2024-25190 — Critical (CVSS 9.8): l8w8jwt 2.2.1 uses memcmp (which is not constant time) to verify authentication, which makes it easier to bypass…
Browse all CWE-203 (Observable Discrepancy) vulnerabilities →