Resolution for CVE-2024-27281 Vulnerability in GitLab

I am seeking guidance on addressing the CVE-2024-27281 vulnerability related to the RDoc gem in our GitLab instance. Specifically, I need assistance with updating RDoc to a version that mitigates this security risk. Could you please provide instructions or best practices for ensuring our GitLab environment is secure?

If you are using the gitlab packages, then no you cannot. You have to wait until Gitlab updates their dependencies.

If you built Gitlab from source, then you can check the Gitlab documentation relating to that.