Today we are releasing versions 17.7.1, 17.6.3, 17.5.5 for GitLab Community Edition (CE) and Enterprise Edition (EE).
These versions contain important bug and security fixes, and we strongly recommend that all self-managed GitLab installations be upgraded to one of these versions immediately. GitLab.com is already running the patched version. GitLab Dedicated customers do not need to take action.
GitLab releases fixes for vulnerabilities in patch releases. There are two types of patch releases: scheduled releases, and ad-hoc critical patches for high-severity vulnerabilities. Scheduled releases are released twice a month on the second and fourth Wednesdays. For more information, you can visit our releases handbook and security FAQ. You can see all of GitLab release blog posts here.
For security fixes, the issues detailing each vulnerability are made public on our issue tracker 30 days after the release in which they were patched.
We are committed to ensuring all aspects of GitLab that are exposed to customers or that host customer data are held to the highest security standards. As part of maintaining good security hygiene, it is highly recommended that all customers upgrade to the latest patch release for their supported version. You can read more best practices in securing your GitLab instance in our blog post.
Changes to Imports
GitLab released a new user contribution and membership mapping feature for GitLab importers, including Direct Transfer, GitHub, Bitbucket Server, and Gitea importers. This feature is available by default from GitLab 17.7.1. More information on the feature and availability can be found in a blog post and in the documentation here.
Why GitLab changed its importer functionality
Vulnerabilities (CVE-2024-5655, CVE-2024-6385, CVE-2024-6678, CVE-2024-8970) affecting import functionality were discovered through our HackerOne bug bounty program. To address these vulnerabilities and further enhance security, GitLab redesigned the importers’ user contribution mapping functionality.
What’s changing?
- Post-import mapping: Previously unavailable, this feature allows you to assign imported contributions and memberships to users on the destination instance after completing the import. Imported memberships and contributions are first mapped to placeholder users. Until they are reassigned, contributions will be displayed as associated with placeholders.
- Email-independent mapping: The new process doesn't rely on email addresses, allowing you to map contributions for users with different email addresses on source and destination instances.
- User control: Each user on the destination instance assigned a contribution mapping must accept the assignment before any imported contributions are attributed to them. They can also reject the assignment.
Full details describing improved user contribution and membership mapping features are available in the GitLab docs here.
Guidance for GitLab Self-Managed & Dedicated Customers
- Exploitation requires that an attacker have an authenticated user account on the target GitLab instance. Therefore, the risk is primarily limited to insider threats unless you allow open internet access and public registrations.
-
GitLab strongly recommends disabling importers until your GitLab instance is upgraded to version 17.7.1 or later. You can disable import features by:
- Logging in as a GitLab instance administrator user
- Go to Admin > Settings > General > Import and Export settings
- Uncheck the box next to each enabled importer
- Click Save Changes
- If you must enable an importer, GitLab recommends temporarily enabling it during an import and disabling the feature after the import is complete.
- GitLab Self-Managed with Direct Transfer (beta feature) or GitHub, Bitbucket Server, or Gitea importers enabled may be vulnerable and should be upgraded immediately.
Recommended Action
We strongly recommend that all installations running a version affected by the issues described below are upgraded to the latest version as soon as possible.
When no specific deployment type (omnibus, source code, helm chart, etc.) of a product is mentioned, this means all types are affected.
Security fixes
Table of security fixes
Possible access token exposure in GitLab logs
An issue was discovered in GitLab CE/EE affecting all versions starting from 17.4 prior to 17.5.5, starting from 17.6 prior to 17.6.3, and starting from 17.7 prior to 17.7.1. Under certain conditions, access tokens may have been logged when API requests were made in a specific manner.
This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
, 6.5).
It is now mitigated in the latest release and is assigned CVE-2025-0194.
This vulnerability has been discovered internally by GitLab team member Thong Kuah.
Cyclic reference of epics leads resource exhaustion
An issue was discovered in GitLab CE/EE affecting all versions starting from 15.7 prior to 17.5.5, starting from 17.6 prior to 17.6.3, and starting from 17.7 prior to 17.7.1. It was possible to trigger a DoS by creating cyclic references between epics.
This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
, 4.3).
It is now mitigated in the latest release and is assigned CVE-2024-6324.
Thanks xorz for reporting this vulnerability through our HackerOne bug bounty program.
Unauthorized user can manipulate status of issues in public projects
An issue was discovered in GitLab CE/EE affecting all versions starting from 15.5 before 17.5.5, 17.6 before 17.6.3, and 17.7 before 17.7.1, in which unauthorized users could manipulate the status of issues in public projects.
This is a medium severity issue (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
, 4.3).
It is now mitigated in the latest release and is assigned CVE-2024-12431.
Thanks pwnie for reporting this vulnerability through our HackerOne bug bounty program.
Instance SAML does not respect external_provider
configuration
An issue was discovered in GitLab CE/EE affecting all versions starting from 16.4 prior to 17.5.5, starting from 17.6 prior to 17.6.3, and starting from 17.7 prior to 17.7.1. When a user is created via the SAML provider, the external groups setting overrides the external provider configuration. As a result, the user may not be marked as external thereby giving those users access to internal projects or groups.
This is a medium severity issue (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
, 4.3).
It is now mitigated in the latest release and is assigned CVE-2024-13041.
This vulnerability has been discovered internally by GitLab team member Drew Blessing.
Bug fixes
17.7.1
- Cherry pick fix for gsutil into '17-7-stable'
- backport 17.7.x: Downgrade grpc-go to v1.66.3
- Backport Revert "Merge branch 'improve_reference_rewriter_to_work_cross_groups' into 'master'"
- 17.7 Backport Reject system notes when indexing notes on work items
- Merge branch 'andrey-fix-qa-spec' into 17.7
- Merge branch 'release-unique-users' into 17.7
- Fix CI job token signing key not always generated
- Update acme-client to v2.0.19
17.6.3
- Cherry pick '2125-base-force-upgrade-ubi' into '17-6-stable'
- Cherry pick fix for gsutil into '17-6-stable'
- backport 17.6.x: Downgrade grpc-go to v1.66.3
- Backport Advanced Search: Set engine for OpenSearch indices
- 17.6: Fix ability to use password for Git when password for Web is disabled
- Backport running release-environments QA from the stable branch to 17.6
- Backport 'fix-env-var-for-release-environments-qa' 17.6
- Backport 'dattang/fix-build-gdk-image-script' to 17.6
- Backport fix for diff_files highlights preload to 17.6
- Quarantines iteration qa spec
- Quarantine outdated user_views_iteration_spec.rb
- Quarantine date sensitive specs 17.6
17.5.5
- Cherry pick '2125-base-force-upgrade-ubi' into '17-5-stable'
- Cherry pick fix for gsutil into '17-5-stable'
- backport 17.5.x: Update changelog for 17.5.0
- Backport running release-environments QA from the stable branch to 17.5
- Backport 'dattang/allow-release-environments-to-fail' to 17.5
- Backport fix for diff_files highlights preload to 17.5
- Backport 'dattang/fix-build-gdk-image-script' to 17.5
- Quarantines iteration qa spec
- Quarantine outdated user_views_iteration_spec.rb
- Quarantine date sensitive specs 17.5
- bump devfile gem to 0.0.28 patch
- 17.5: Fix ability to use password for Git when password for Web is disabled
Updating
To update GitLab, see the Update page. To update Gitlab Runner, see the Updating the Runner page.
Receive Patch Notifications
To receive patch blog notifications delivered to your inbox, visit our contact us page. To receive release notifications via RSS, subscribe to our patch release RSS feed or our RSS feed for all releases.
We’re combining patch and security releases
This improvement in our release process matches the industry standard and will help GitLab users get information about security and bug fixes sooner, read the blog post here.
We want to hear from you
Enjoyed reading this blog post or have questions or feedback? Share your thoughts by creating a new topic in the GitLab community forum.
Share your feedback