CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Github

CVE-2023-22381
Github Enterprise Server vulnerability

A code injection vulnerability was identified in GitHub Enterprise Server that allowed setting arbitrary environment variables from a single environment variable value in GitHub Actions when using a Windows based runner. To exploit this vulnerability, an attacker would need existing permission to control the value of environment variables for use with GitHub Actions. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.8.0 and was fixed in versions 3.4.15, 3.5.12, 3.6.8, 3.7.5. This vulnerability was reported via the GitHub Bug Bounty program.

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.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

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.