CVE-2022-31154
published medium CVSS 3.1 · 6.4Indirect Object Access in Sourcegraph Code Monitoring
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sourcegraph | — | sourcegraph< 3.42 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sourcegraph | sourcegraph | < 3.42 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-863 CWE-863: Incorrect Authorization
References
2Provider assertions
3GitHub_M · cna
Indirect Object Access in Sourcegraph Code Monitoring
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 2e908afff2cb08875adffcd75e44b3393a311d39b41f813cbc9f8af3db9c3807
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record