Vulnerability Description
Sourcegraph is an opensource code search and navigation engine. In Sourcegraph versions before 3.41.0, it is possible for an attacker to delete other users’ saved searches due to a bug in the authorization check. The vulnerability does not allow the reading of other users’ saved searches, only overwriting them with attacker-controlled searches. The issue is patched in Sourcegraph version 3.41.0. There is no workaround for this issue and updating to a secure version is highly recommended.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sourcegraph | Sourcegraph | < 3.41.0 |
Related Weaknesses (CWE)
References
- https://github.com/sourcegraph/sourcegraph/commit/2832d7882396a6295ba5803b5ef48dPatchThird Party Advisory
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-37qp-9jq6-f6Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/commit/2832d7882396a6295ba5803b5ef48dPatchThird Party Advisory
- https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-37qp-9jq6-f6Third Party Advisory
FAQ
What is CVE-2022-31155?
CVE-2022-31155 is a vulnerability with a CVSS score of 4.3 (MEDIUM). Sourcegraph is an opensource code search and navigation engine. In Sourcegraph versions before 3.41.0, it is possible for an attacker to delete other users’ saved searches due to a bug in the authoriz...
How severe is CVE-2022-31155?
CVE-2022-31155 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-31155?
Check the references section above for vendor advisories and patch information. Affected products include: Sourcegraph Sourcegraph.