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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sourcegraph | Sourcegraph | < 3.42.0 |
Related Weaknesses (CWE)
References
- https://github.com/sourcegraph/sourcegraph/pull/37526PatchThird Party Advisory
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-5866-hhq9-9hThird Party Advisory
- https://github.com/sourcegraph/sourcegraph/pull/37526PatchThird Party Advisory
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-5866-hhq9-9hThird Party Advisory
FAQ
What is CVE-2022-31154?
CVE-2022-31154 is a vulnerability with a CVSS score of 6.4 (MEDIUM). 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 ...
How severe is CVE-2022-31154?
CVE-2022-31154 has been rated MEDIUM with a CVSS base score of 6.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-31154?
Check the references section above for vendor advisories and patch information. Affected products include: Sourcegraph Sourcegraph.