CVE-2022-31154 Indirect Object Access in Sourcegraph Code Monitoring
MediumCVSS 4.3
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sourcegraph github.com/sourcegraph/sourcegraph | < 3.42.0; = < 3.42 | 3.42.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sourcegraph github.com/sourcegraph/sourcegraph | = < 3.42 | No fix listed |
| sourcegraph github.com/sourcegraph/sourcegraph | < 3.42.0 | 3.42.0 |
References
- github.com third-party-advisory
- github.com patch third-party-advisory