CVE-2022-31155 Unauthorized overwriting of saved searches in Sourcegraph
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. 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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sourcegraph github.com/sourcegraph/sourcegraph | < 3.41.0; = < 3.41.0 | 3.41.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sourcegraph github.com/sourcegraph/sourcegraph | = < 3.41.0 | No fix listed |
| sourcegraph github.com/sourcegraph/sourcegraph | < 3.41.0 | 3.41.0 |
References
- github.com third-party-advisory
- github.com patch third-party-advisory