CWE
22
Advisory Published
Updated

CVE-2022-46255: Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE

First published: Wed Dec 14 2022(Updated: )

An improper limitation of a pathname to a restricted directory vulnerability was identified in GitHub Enterprise Server that enabled remote code execution. A check was added within Pages to ensure the working directory is clean before unpacking new content to prevent an arbitrary file overwrite bug. This vulnerability affected only version 3.7.0 of GitHub Enterprise Server and was fixed in version 3.7.1. This vulnerability was reported via the GitHub Bug Bounty program.

Credit: product-cna@github.com product-cna@github.com

Affected SoftwareAffected VersionHow to fix
GitHub Enterprise Server=3.7.0
=3.7.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-46255?

    CVE-2022-46255 is a vulnerability in GitHub Enterprise Server that allows remote code execution.

  • What is the severity of CVE-2022-46255?

    CVE-2022-46255 has a severity rating of 9.8 (Critical).

  • How does CVE-2022-46255 impact GitHub Enterprise Server?

    CVE-2022-46255 allows an attacker to remotely execute code on a vulnerable GitHub Enterprise Server.

  • Which version of GitHub Enterprise Server is affected by CVE-2022-46255?

    GitHub Enterprise Server version 3.7.0 is affected by CVE-2022-46255.

  • How can I prevent CVE-2022-46255?

    To prevent CVE-2022-46255, it is recommended to update GitHub Enterprise Server to version 3.7.1 or later.

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