CVE-2022-41943

Incorrect default permissions found in Sourcegraph

State
Published
Severity
9.0 Critical
Published
Nov 22, 2022
Updated
Apr 23, 2025
Reserved
Sep 30, 2022

Read the record on cve.org

Description

sourcegraph is a code intelligence platform. As a site admin it was possible to execute arbitrary commands on Gitserver when the experimental `customGitFetch` feature was enabled. This experimental feature has now been disabled by default. This issue has been patched in version 4.1.0.

Scores

CVSSScoreVectorSource
3.19.0 CriticalCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:LGitHub_M

Weaknesses

  • CWE-276 Incorrect Default Permissions

Affected Products

ProductVersions
sourcegraphsourcegraph
  • < 4.1.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.