r/CMMC • • 5d ago

GHES (GitHub Enterprise Server) FIPS

GHES is available on Azure gov. We want to use it for CUI code source control. It has a fips_mode setting, but GitHub doesn't document it and seems to claim there is no native FIPS support. When we enabled it, nothing changed and the appliance still accepted non-approved ciphers (meaning no validated module on the appliance).

3.13.11 requires FIPS-validated cryptography to protect CUI.

Our thought was to:

  • Put the appliance on a private network (no internet exposure)
  • Users connect through a VPN with Entra ID sign-in, MFA, and conditional access
  • Put an Azure Application Gateway in FIPS mode in front of the appliance to handle encryption from developer machines.

Our concern though is that the hop from the gateway to the appliance (inside the private network) will still use the appliance's (GHES) own encryption, which to our testing, is not FIPS-validated. It can accept FIPS approved ciphers, but we don't see that enforced by GHES.

Has anyone used GHES in a CMMC L2 environment? Is GitLab the real answer? Does this plan seem reasonable with proper documentation describing the above? We already hold a level 2 certification and want to do this properly.

4 Upvotes

8 comments sorted by

7

u/Skusci 5d ago edited 5d ago

I don't use Azure but from a quick look there should be an option to create encrypted virtual networks. If all private LAN traffic is FIPS encrypted (and it's stated that is is here https://learn.microsoft.com/en-us/azure/virtual-network/virtual-network-encryption-faq) and traffic to and from the VPN gateway and client VPN is FIPS encrypted, then whatever the application or appliances are using for encryption isn't needed.

It is going to be there by default anyway just because of TLS, but if you don't rely on it as part of protecting CUI/it isn't part of your SSP, then it's fine.

Which is good because honestly checking FIPS certs at the application level doesn't usually work out well. Too many programs use their own crypto libraries instead of OS libraries.

As for the application gateway itself, it doesn't ensure endpoints use FIPS encryption, just that the gateway itself does, so it unless you actually need its normal functionality, it doesn't add anything to help.

5

u/Skusci 5d ago edited 5d ago

Right, also for the non FIPS GHES appliance, Azure should have an option in the host settings, "Encrypt at Host" that ensures that when it is loaded/unloaded, then it is FIPS encrypted at the host level, so you don't need to handle it at the OS level for data at rest requirements.

4

u/ServiceLayer8 5d ago

It's not obvious from the public or Trust Center documentation, but both Azure Commercial and MAG seem to use CMVP #5313 for Azure Linux VMs, the standard stack of Windows crypto prims (mainly #5410 for WinServer22), and either Thales HSMs or their own new HSM (#5485). All of those are 140-3 validated and newly so -- all of them except 5313 were only approved in August. If you want to read some security policies, have fun.

3

u/Neteru1920 3d ago

This is correct, and if the service is on Azure gov, it’s approved for use.

1

u/obligateobstetrician 4d ago

When you say CUI code do you mean like cad designs? Or is the source code you develop CUI?

1

u/drussell024 4d ago

Some of the source code could be CTI

3

u/Reasonable_Rich4500 5d ago

You could put a reverse proxy in front of it. Red Hat Linux i believe is FIPS validated.

2

u/MathmaticallyDialed 5d ago

Put it in docker on a oracle / rhel vm. Solved.