Vulnerability · Published Aug 1, 2022 · Assigned by GitHub_M
CVE-2022-31155Unauthorized overwriting of saved searches in Sourcegraph
Medium 4.3
In plain English
A medium-severity incorrect authorization in sourcegraph from sourcegraph. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sourcegraph | sourcegraph | < 3.41.0 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N