Skip to content
OpenAdvisories
Medium · 6.4 CVE-2022-31154 EUVD-2022-52770

Indirect Object Access in Sourcegraph Code Monitoring

Published Aug 1, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Sourcegraph is an opensource code search and navigation engine. It is possible for an authenticated Sourcegraph user to edit the Code Monitors owned by any other Sourcegraph user. This includes being able to edit both the trigger and the action of the monitor in question. An attacker is not able to read contents of existing code monitors, only override the data. The issue is fixed in Sourcegraph 3.42. There are no workaround for the issue and patching is highly recommended.

Affected products

VendorProductAffectedFixed
sourcegraph sourcegraph < 3.42 —

References