Description
A server-side request forgery (SSRF) vulnerability was identified in GitHub Enterprise Server that allowed an unauthenticated attacker to send crafted requests to internal services by exploiting insufficient input validation in an upload endpoint. By injecting path traversal content into request parameters, an attacker could bypass the intended request flow and redirect internal API calls, potentially accessing internal services and exposing sensitive credentials. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.22 and was fixed in versions 3.17.17, 3.18.11, 3.19.8, 3.20.4, and 3.21.2. This vulnerability was reported via the GitHub Bug Bounty program.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
GitHub Enterprise Server
Default version status: affected
3.16.0 to ≤ 3.16.19affected3.17.0 to ≤ 3.17.16affected3.18.0 to ≤ 3.18.10affected3.19.0 to ≤ 3.19.7affected3.20.0 to ≤ 3.20.3affected3.21.0 to < 3.21.1affected
References
- https://docs.github.com/en/enterprise-server@3.17/admin/release-notes#3.17.17 ↗
- https://docs.github.com/en/enterprise-server@3.18/admin/release-notes#3.18.11 ↗
- https://docs.github.com/en/enterprise-server@3.19/admin/release-notes#3.19.8 ↗
- https://docs.github.com/en/enterprise-server@3.20/admin/release-notes#3.20.4 ↗
- https://docs.github.com/en/enterprise-server@3.21/admin/release-notes#3.21.2 ↗