{"id":"CVE-2022-31155","published":"2022-08-01T18:40:28Z","modified":"2025-04-23T17:56:41Z","title":"Unauthorized overwriting of saved searches in Sourcegraph","vendor":"sourcegraph","product":"sourcegraph","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00584,"percentile":0.41858,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/sourcegraph/sourcegraph/security/advisories/GHSA-37qp-9jq6-f6mx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sourcegraph/sourcegraph/commit/2832d7882396a6295ba5803b5ef48dc7d5a24c59","tags":["x_refsource_MISC"]}],"priority":{"score":11.4,"factors":[{"name":"EPSS percentile","points":8.37},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"sourcegraph","affectedVersions":[{"vendor":"sourcegraph","product":"sourcegraph","versions":["< 3.41.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T14:02:59.938801Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-52771","exploited":false,"provenance":"source"}}