CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2022 · Github

CVE-2022-46255
Github Enterprise Server vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Enterprise Server. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Github Enterprise Server runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Github products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.