Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Low risk information disclosure in Sourcegraph

Low
andreeleuterio published GHSA-mq5p-477h-xgwv Aug 2, 2021

Package

No package listed

Affected versions

< 3.30.0

Patched versions

3.30.0

Description

Impact

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
  • Code intelligence uploads and indexes

It is not possible to alter the information, nor interact with any other features in the site-admin area.

Patches

The issue is patched in version 3.30.0 where the information cannot be accessed by unprivileged users. We may work on further defenses as defense-in-depth.

Workarounds

There are no workarounds and we recommend upgrading to the latest release.

For more information

If you have any questions or comments about this advisory:

Credit

Thanks to N. Shanmuga Bharathi for reporting this vulnerability through Sourcegraph's Bug Bounty Program.

Severity

Low

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N

CVE ID

CVE-2021-32787

Weaknesses

Exposure of Sensitive Information to an Unauthorized Actor

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. Learn more on MITRE.