GitHub Enterprise Server
Server-Side Request Forgery vulnerability in GitHub Enterprise Server allowed access to internal services via path traversal in upload endpoint
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.16.0, <= 3.16.19
- >= 3.17.0, <= 3.17.16
- >= 3.18.0, <= 3.18.10
- >= 3.19.0, <= 3.19.7
- >= 3.20.0, <= 3.20.3
- >= 3.21.0, < 3.21.1
Fixed in 3.16.20, 3.17.17, 3.18.11, 3.19.8, 3.20.4, 3.21.1
Mitigation
Upgrade Enterprise Server to 3.16.20 or 3.17.17 or 3.18.11 or 3.19.8 or 3.20.4 or 3.21.1 or later.
References
- Release notes docs.github.com/en/enterprise-server@3.17/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.18/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.19/admin/rel…
2 more
- Release notes docs.github.com/en/enterprise-server@3.20/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.21/admin/rel…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.