LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32787: Low risk information disclosure in Sourcegraph

Sourcegraph is a code search and navigation engine. Sourcegraph before version 3.30.0 has two potential information leaks. The site-admin area can be accessed by regular users and all information and features are properly protected except for daily usage statistics and code intelligence uploads and indexes. It is not possible to alter the information, nor interact with any other features in the site-admin area. The issue is patched in version 3.30.0, where the information cannot be accessed by unprivileged users. There are no workarounds aside from upgrading.

LowCVSS 3.1Not KEV-listedUpdated
Glexia's TakeAutomated analysislow

Security readout for executives and security teams

Plain-English summary

Sourcegraph versions before 3.30.0 could let logged-in regular users view limited site-admin information: daily usage statistics and code intelligence uploads or indexes. Sources describe read-only disclosure only, with no ability to change data or use other admin features.

Executive priority

Treat this as a low-priority confidentiality fix unless Sourcegraph metadata is sensitive in your environment. It should still be scheduled promptly because the vendor states there are no workarounds aside from upgrading.

Technical view

CVE-2021-32787 is a CWE-200 information disclosure issue in Sourcegraph before 3.30.0. The advisory describes insufficient protection around parts of the site-admin area, exposing daily usage statistics and code intelligence upload/index information to authenticated non-admin users. CVSS 3.1 is 3.1: network, high complexity, low privileges, confidentiality-only impact.

Likely exposure

Exposure is limited to Sourcegraph deployments below 3.30.0 where regular user accounts exist. The disclosed data appears operational and metadata-like, not source code modification or administrative control, based on the supplied advisory.

Exploitation context

The supplied sources do not report active exploitation, and the CVE is not marked as CISA KEV. The issue requires an authenticated regular user and has high attack complexity in the CVSS vector.

Researcher notes

The advisory states the issue exposes daily usage statistics and code intelligence uploads/indexes only, with no alteration capability. Evidence does not establish source code exposure, privilege escalation, or exploitation in the wild. Keep analysis constrained to authenticated, low-impact information disclosure.

Mitigation direction

  • Upgrade Sourcegraph to version 3.30.0 or later.
  • Prioritize internet-accessible or broadly user-accessible Sourcegraph instances.
  • Review vendor advisory for any newer operational guidance.
  • Restrict Sourcegraph account access until upgraded if sensitive usage metadata matters.

Validation and detection

  • Inventory Sourcegraph deployments and confirm installed versions.
  • Verify all instances are version 3.30.0 or later.
  • Review access logs for non-admin requests to site-admin pages.
  • Confirm regular users cannot view usage statistics or code intelligence admin data.
Prepared
Confidence
high
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-200: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32787 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Low
CVSS
3.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
3.1CVSS 3.1LowCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N1.61.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

3.1Low
CVSS 3.1 vector shape for CVE-2021-32787Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
sourcegraphsourcegraph< 3.30.0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-200 · source CWE mapping

Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.