CVE-2022-31154 - CVE House
Back to Database
Status published Medium CVE-2022-31154

Indirect Object Access in Sourcegraph Code Monitoring

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-31154

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

sourcegraph

View all reports →

Affected Software

sourcegraph
Vulnerable Versions:
< 3.42

Timeline

Official Publish: August 1st, 2022
Last Modified: April 23rd, 2025
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L

Weaknesses (CWE)