Paper/Archive/CVE-2022-46255

CVE-2022-46255

GitHub GitHub Enterprise Server — Improper Limitation of a Pathname to a Restricted Directory in GitHub Enterprise Server leading to RCE

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
GitHub Enterprise Server3.7 – < 3.7.13.7.1CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

refdocs.github.com/en/enterprise-server%403.7/admin/release-notes#3.7.1