GitHub Enterprise Server
Server-side request forgery vulnerability in GitHub Enterprise Server notebook viewer via URL parser confusion
A server-side request forgery (SSRF) vulnerability was identified in the GitHub Enterprise Server notebook viewer that allowed an attacker to access internal services by exploiting URL parser confusion between the validation layer and the HTTP request library. The hostname validation used a different URL parser than the request library, enabling a crafted URL to pass validation while directing the request to an unintended host. Exploitation required network access to the GitHub Enterprise Server instance. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.21 and was fixed in versions 3.16.18, 3.17.15, 3.18.9, 3.19.6, and 3.20.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.17
- >= 3.17.0, <= 3.17.14
- >= 3.18.0, <= 3.18.8
- >= 3.19.0, <= 3.19.5
- >= 3.20.0, <= 3.20.1
Fixed in 3.16.18, 3.17.15, 3.18.9, 3.19.6, 3.20.2, 3.21.0
Mitigation
Upgrade Enterprise Server to 3.16.18 or 3.17.15 or 3.18.9 or 3.19.6 or 3.20.2 or 3.21.0 or later.
References
- Release notes docs.github.com/en/enterprise-server@3.16/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.17/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.18/admin/rel…
2 more
- Release notes docs.github.com/en/enterprise-server@3.19/admin/rel…
- Release notes docs.github.com/en/enterprise-server@3.20/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.