7.9
CWE
20 78 77
Advisory Published
Updated

CVE-2022-41942: Input Validation

First published: Tue Nov 22 2022(Updated: )

Sourcegraph is a code intelligence platform. In versions prior to 4.1.0 a command Injection vulnerability existed in the gitserver service, present in all Sourcegraph deployments. This vulnerability was caused by a lack of input validation on the host parameter of the `/list-gitolite` endpoint. It was possible to send a crafted request to gitserver that would execute commands inside the container. Successful exploitation requires the ability to send local requests to gitserver. The issue is patched in version 4.1.0.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Sourcegraph Sourcegraph<4.1.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-41942?

    CVE-2022-41942 is a command Injection vulnerability in the gitserver service of Sourcegraph.

  • What software versions are affected by CVE-2022-41942?

    Versions prior to 4.1.0 of Sourcegraph are affected by CVE-2022-41942.

  • How severe is CVE-2022-41942?

    CVE-2022-41942 has a severity rating of 7.8 (High).

  • How can I fix CVE-2022-41942?

    To fix CVE-2022-41942, upgrade to version 4.1.0 or later of Sourcegraph.

  • Where can I find more information about CVE-2022-41942?

    You can find more information about CVE-2022-41942 on the Sourcegraph GitHub page and the Sourcegraph security advisories page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203