CVE Vulnerabilities

CVE-2024-4985

Incorrect Implementation of Authentication Algorithm

Published: May 20, 2024 | Modified: Aug 27, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

An authentication bypass vulnerability was present in the GitHub Enterprise Server (GHES) when utilizing SAML single sign-on authentication with the optional encrypted assertions feature. This vulnerability allowed an attacker to forge a SAML response to provision and/or gain access to a user with site administrator privileges. Exploitation of this vulnerability would allow unauthorized access to the instance without requiring prior authentication. This vulnerability affected all versions of GitHub Enterprise Server prior to 3.13.0 and was fixed in versions 3.9.15, 3.10.12, 3.11.10 and 3.12.4. This vulnerability was reported via the GitHub Bug Bounty program.

Weakness

The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.

Affected Software

Name Vendor Start Version End Version
Enterprise_server Github * 3.9.15 (excluding)
Enterprise_server Github 3.10.0 (including) 3.10.12 (excluding)
Enterprise_server Github 3.11.0 (including) 3.11.10 (excluding)
Enterprise_server Github 3.12.0 (including) 3.12.4 (excluding)

References