A path traversal vulnerability was identified in GitHub Enterprise Server that allowed an attacker who had code execution inside the Dependabot updater container to write files to arbitrary repository paths, including GitHub Actions workflow files under .github/workflows/ as the path validation did not check the effective path which the attacker could control through the dependency file's directory and symlink target. If the repository used a pull_request_target workflow or had auto-merge enabled, an injected workflow could execute with access to the repository's GitHub Actions secrets. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.21.3, 3.20.5, 3.19.9, 3.18.12, 3.17.18.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
>= 3.17.0, <= 3.17.17CPE match | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | ||
>= 3.18.0, <= 3.18.11CPE match | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | ||
>= 3.19.0, <= 3.19.8CPE match | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | ||
>= 3.20.0, <= 3.20.4CPE match | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* | ||
>= 3.21.0, <= 3.21.2CPE match | cpe:2.3:a:github:enterprise_server:*:*:*:*:*:*:*:* |
CVSS version used by this source: 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.
Remediation records are not available for this CVE.