Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-31154

6.4 · MEDIUM
Published Aug 1, 2022 sourcegraph CWE-863 EPSS 0.48% (40th pctl)

Overview

CVE-2022-31154 is a medium-severity vulnerability affecting sourcegraph sourcegraph. It was published on August 1, 2022 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from sourcegraph. Update sourcegraph to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
sourcegraph sourcegraph >= 0, < 3.42.0 Affected

Frequently Asked Questions

What is CVE-2022-31154?

CVE-2022-31154 is a medium-severity vulnerability affecting sourcegraph sourcegraph. It was published on August 1, 2022 and has a CVSS 3.1 base score of 6.4 (MEDIUM).

How severe is CVE-2022-31154?

This vulnerability has a CVSS 3.1 base score of 6.4, rated MEDIUM. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2022-31154?

Check the references section for vendor advisories and patches from sourcegraph. Update sourcegraph to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-31154?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-31154 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.