Skip to main content

Incorrect Authorization

CVE-2022-31155

Severity Medium
Score 4.3/10

Summary

Sourcegraph is an opensource code search and navigation engine. In Sourcegraph versions before 3.41.0-rc.1, it is possible for an attacker to delete other users' saved searches due to a bug in the authorization check. The vulnerability does not allow the reading of other users saved searches, only overwriting them with attacker-controlled searches. The issue is patched in Sourcegraph version 3.41.0-rc.1. There is no workaround for this issue and updating to a secure version is highly recommended.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • LOW
  • NONE
  • NONE

CWE-863 - Incorrect Authorization

Authorization is a security mechanism performed by an application to grant or deny access to the requested resources by verifying the privileges of the user. When an application lacks effective authorization mechanisms, it enables unauthorized users to gain unintended privileges and illegitimate access to resources. Such a vulnerability may result in exposure of sensitive information, denial of service, arbitrary code execution, and complete system takeover.

Advisory Timeline

  • Published