CVE-2024-4985: Critical severity GitHub Enterprise Server vulnerability

Published May 20, 2024
·
Updated

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.

Affected Software

5 affected components
GitHub Enterprise Server<3.13.0, >=3.9.15<3.9.15, >=3.10.12<3.10.12, >=3.11.10<3.11.10, >=3.12.4<3.12.4
GitHub Enterprise Server<3.9.15
GitHub Enterprise Server>=3.10.0<3.10.12
GitHub Enterprise Server>=3.11.0<3.11.10
GitHub Enterprise Server>=3.12.0<3.12.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade github/github-enterprise-server to a version that resolves this vulnerability.

    Fixed in 3.13.0

Event History

May 20, 2024
CVE Published
via MITRE·09:17 PM
Data Sourced
via MITRE·09:17 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
DescriptionSeverityWeaknessAffected Software
May 21, 2024
News Published
via BleepingComputer·03:01 PM
May 22, 2024
News Published
via The Register·07:31 AM
News Published
via The Register·07:35 AM
May 25, 2024
News Published
via BleepingComputer·03:03 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-4985?

CVE-2024-4985 is considered a high-severity vulnerability due to the potential for unauthorized access through authentication bypass.

2

How do I fix CVE-2024-4985?

To mitigate CVE-2024-4985, users should upgrade their GitHub Enterprise Server to the latest version beyond 3.13.0.

3

What software versions are affected by CVE-2024-4985?

CVE-2024-4985 affects GitHub Enterprise Server versions 3.9.15, 3.10.12, 3.11.10, and all versions up to 3.13.0.

4

What attack vector does CVE-2024-4985 exploit?

CVE-2024-4985 exploits an authentication bypass via forged SAML responses when using SAML single sign-on with encrypted assertions.

5

Is CVE-2024-4985 related to GitHub's authentication features?

Yes, CVE-2024-4985 is specifically related to vulnerabilities in the SAML single sign-on authentication feature of GitHub Enterprise Server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203