https://about.gitlab.com/releases/2022/02/25/critical-security-release-gitlab-14-8-2-released/ [slp-icon] Talk to an expert Get free trial [slp-search] [slp-user] [slp-hambur] [ ] Product [slp-caret-] * GitLab: the DevOps platform * Explore GitLab * Install GitLab * How GitLab compares --------------------------------------------------------------------- Solutions [slp-caret-] By Organization Type * Enterprise * Small business * Public sector By Use Case * Continuous integration (CI/CD) * Source code management * Out-of-the-box pipelines * Security (DevSecOps) * Software Supply Chain Security * Agile development * Value stream management * GitOps * The DevOps Platform --------------------------------------------------------------------- Resources [slp-caret-] Product Resources * Getting started * Industry topics and trends * GitLab docs * GitLab Learn * Blog * Services * Customer case studies * Additional resources People Resources * Working remotely * Community programs * Upcoming events * 2021 Developer survey results --------------------------------------------------------------------- Partners [slp-caret-] Meet Our Partners * GitLab partners Technology Partners * Find a technology partner * Become a technology partner Channel Partners * Find a channel partner * Become a channel partner --------------------------------------------------------------------- Pricing --------------------------------------------------------------------- Support [slp-caret-] * Contact Support * Support resources --------------------------------------------------------------------- Login Talk to an expert Get Free Trial [slp-logo] [slp-icon] Product GitLab: the DevOps platform - Discover all-in-one software delivery. Explore GitLab - See repositories in action with GitLab projects. Install GitLab - Install one package, run a complete solution. How GitLab compares - See why we're the best in DevOps Solutions By Organization Type Enterprise - Adopt one platform for endless possibilities. Small business - Get a DevOps platform that grows with you. Public sector - Trusted by government. Loved by developers. By Use Case Continuous integration (CI/CD) - Automate everything, accelerate deployment. Source code management - Build the future with a shared history. Out-of-the-box pipelines - Adopt DevOps with a single commit. Security (DevSecOps) - Integrate security, deliver faster continuously. Software Supply Chain Security - Ensure your software supply chain is secure and compliant. Agile development - Keep your methodology, gain functionality. Value stream management - Visualize what works and optimize the rest. GitOps - Simplify IT with DevOps-style automation. The DevOps Platform - Develop secure software faster in a single platform. Resources Product Resources Getting started - Explore our quick-start checklist. Industry topics and trends - Get cross-functional software delivery insights. GitLab docs - Access step-by-step tutorials and guides. GitLab Learn - Explore GitLab learning resources. Blog - Read up on releases, contributions, and more. Services - Adopt DevOps faster with our support services. Customer case studies - Learn why top companies trust GitLab for DevOps. Additional resources - Download knowledge, expand to production. People Resources Working remotely - Discover how we work better together - wherever. Community programs - Access contributor resources and startup grants. Upcoming events - Find meetups, webinars, conferences, and more. 2021 Developer survey results - See DevSecOps through the eyes of practitioners Partners Meet Our Partners GitLab partners - Check out our technology and channel partners. Technology Partners Find a technology partner - See our cloud partners and other integrators. Become a technology partner - Join our DevOps partner ecosystem. Channel Partners Find a channel partner - Find resellers, solution providers, and more. Become a channel partner - Grow your business alongside our DevOps experts. Pricing Support Contact Support - Find out how, where, and when we offer support. Support resources - Explore support documents and instructions. Talk to an expert Get free trial [slp-search] [slp-user] [ ] - Back to releases Feb 25, 2022 - Costel Maxim GitLab Critical Security Release: 14.8.2, 14.7.4, and 14.6.5 Learn more about GitLab Critical Security Release: 14.8.2, 14.7.4, and 14.6.5 for GitLab Community Edition (CE) and Enterprise Edition (EE). Updated 00:00 UTC 2022-02-26 We have updated this blog post with hotpatch instructions for self-managed instances running select versions older than 14.6 We strongly recommend that all GitLab installations be upgraded to one of these versions immediately. Note regarding Runner registration token disclosure: This update will reset runner registration tokens for your group and projects. If you use an automated process (scripts that encode the value of the registration token) to register runners, this update will break that process. However, it should have no affect on previously registered runners. If applicable to your processes, your administrator may choose to save a backup of your existing tokens which can later help identify potentially malicious registration tokens, or rogue runners. For example, if an unauthorized actor tries to register a runner using one of the revoked tokens, knowing that value will help admins monitor that type of activity. Today we are releasing versions 14.8.2, 14.7.4, and 14.6.5 for GitLab Community Edition (CE) and Enterprise Edition (EE). Please note, this critical release will also serve as our monthly security release for February. These versions contain important security fixes, and we strongly recommend that all GitLab installations be upgraded to one of these versions immediately. GitLab.com is already running the patched version. GitLab releases patches for vulnerabilities in dedicated security releases. There are two types of security releases: a monthly, scheduled security release, released a week after the feature release (which deploys on the 22nd of each month), and ad-hoc security releases for critical vulnerabilities. For more information, you can visit our security FAQ. You can see all of our regular and security release blog posts here. In addition, the issues detailing each vulnerability are made public on our issue tracker 30 days after the release in which they were patched. We are dedicated 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 security release for their supported version. You can read more best practices in securing your GitLab instance in our blog post. 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. Table of Fixes Title Severity Runner registration token disclosure through Quick Actions critical Unprivileged users can add other users to groups through an medium API endpoint Inaccurate display of Snippet contents can be potentially medium misleading to users Environment variables can be leaked via the sendmail medium delivery method Unauthenticated user enumeration on GraphQL API medium Adding a pull mirror with SSH credentials can leak password medium Denial of Service via user comments low Runner registration token disclosure through Quick Actions An issue has been discovered in GitLab CE/EE affecting all versions starting from 12.10 before 14.6.5, all versions starting from 14.7 before 14.7.4, all versions starting from 14.8 before 14.8.2. An unauthorized user was able to steal runner registration tokens through an information disclosure vulnerability using quick actions commands. This is a critical severity issue (CVSS:3.0/AV:N/AC:L/PR:L/ UI:N/S:C/C:H/I:H/A:N, 9.6). It is now mitigated in the latest release and is assigned CVE-2022-0735. This vulnerability was found internally by a member of the GitLab team. Unprivileged users can add other users to groups through an API endpoint An issue has been discovered in GitLab CE/EE affecting all versions before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2. Under certain conditions, GitLab REST API may allow unprivileged users to add other users to groups even if that is not possible to do through the Web UI. This is a medium severity issue (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/ A:N, 6.5). It is now mitigated in the latest release and is assigned CVE-2022-0549. This vulnerability was reported to us by a customer. Inaccurate display of Snippet contents can be potentially misleading to users Inaccurate display of Snippet files containing special characters in all versions of GitLab CE/EE allows an unauthorized actor to create Snippets with misleading content, which could trick unsuspecting users into executing arbitrary commands. This is a medium severity issue (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N, 6.5). It is now mitigated in the latest release and is assigned CVE-2022-0751. Thanks st4nly0n for reporting this vulnerability through our HackerOne bug bounty program. Note This fix modifies our GraphQL API by adding the hasUnretrievableBlobs field to the SnippetBlobConnection type. It indicates if the snippet has unretrievable blobs. Please be aware of deploying this change if you use multi-version deployments. We encourage users to include this patch in all deployed server instances. Environment variables can be leaked via the sendmail delivery method Improper input validation in all versions of GitLab CE/EE using sendmail to send emails allowed an unauthorized actor to steal environment variables via specially crafted email addresses. This is a medium severity issue (CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:N/ A:N, 5.8). It is now mitigated in the latest release and is assigned CVE-2022-0741. Thanks vakzz for reporting this vulnerability through our HackerOne bug bounty program. Unauthenticated user enumeration on GraphQL API An issue has been discovered in GitLab CE/EE affecting all versions starting from 13.0 and all versions starting from 14.4 before 14.8. Private GitLab instances with restricted sign-ups may be vulnerable to user enumeration by unauthenticated users through the GraphQL API. This is a medium severity issue (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L /I:N/A:N, 5.3). It is now mitigated in the latest release and is assigned CVE-2021-4191. Thanks mungsul and todb-r7 for reporting this vulnerability through our HackerOne bug bounty program. Adding a pull mirror with SSH credentials can leak password An issue has been discovered in GitLab affecting all versions starting from 14.6 before 14.6.5, all versions starting from 14.7 before 14.7.4, and all versions starting from 14.8 before 14.8.2. GitLab was leaking user passwords when adding pull mirrors with SSH credentials under specific conditions. This is a medium severity issue (CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:N, 4.2). It is now mitigated in the latest release and is assigned CVE-2022-0738. This vulnerability has been discovered internally by the GitLab team. Denial of Service via user comments An issue has been discovered in GitLab CE/EE affecting all versions starting with 8.15. It was possible to trigger a DOS by using the math feature with a specific formula in issue comments. This is a low severity issue (CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L, 3.5). It is now mitigated in the latest release and is assigned CVE-2022-0489. Thanks cancerz for reporting this vulnerability through our HackerOne bug bounty program. Update Grafana The version of Grafana has been updated to 7.5.12 in order to mitigate security concerns. Versions affected Affects all versions of GitLab CE/EE. Update Mattermost The version of Mattermost has been updated to 6.3.3 in order to mitigate security concerns. Versions affected Affects GitLab Omnibus prior to 14.8. Updating To update GitLab, see the Update page. To update Gitlab Runner, see the Updating the Runner page. Hotpatch for Runner registration token disclosure through Quick Actions For self-managed instances not on versions 14.6 or greater, GitLab has published patches which can be applied to mitigate the Runner registration token disclosure through Quick Actions vulnerability. These patches should be considered temporary. Any instances of GitLab should be upgraded to a patched version of 14.8.2, 14.7.4, or 14.6.5 as soon as possible. Patches named security-patch-$VERSION.patch close the vulnerability which exposed runner registration tokens via quick action commands, and patches named token-prefix-patch-$VERSION.patch can optionally be applied to automate the rotation of registration tokens which were potentially compromised. Version-specific patches are available for GitLab releases 14.5.4, 14.4.5, 14.3.4, 14.2.7, 14.1.8, 14.0.12 and 13.12.15. To apply the desired patch(es) on a GitLab omnibus instance, first retrieve the appropriate patchfile(s) based on the version of your instance, and then follow the below commands: sudo su cd ~ curl -JLO https://gitlab.com/gitlab-org/omnibus-gitlab/-/raw/14.8.2-Security-Hotpatches/config/patches/gitlab-rails/security-patch-14.0.patch cd /opt/gitlab/embedded/service/gitlab-rails/ patch -p1 < ~/ As an alternative to applying the token-prefix-patch, instances with a small number of groups and projects (under 10,000) can use the following rails console commands to regenerate project & group runner registration tokens: Project.in_batches(of: 100).update_all(runners_token_encrypted: nil) Group.in_batches(of: 100).update_all(runners_token_encrypted: nil) GitLab has conducted limited testing to validate these patches. As such these patches are provided AS-IS and GitLab makes no warranties of any kind. GITLAB HEREBY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ALL IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. Receive Security Release Notifications To receive security release blog notifications delivered to your inbox, visit our contact us page. To receive release notifications via RSS, subscribe to our security release RSS feed or our RSS feed for all releases. GitLab Critical Security Release: 14.8.2, 14.7.4, and 14.6.5 Click to tweet! * security Share on Facebook Share on Twitter Share on LinkedIn * Previous Post: GitLab Patch Release: 14.8.1 More Posts Like This: GitLab Patch Release: 14.8.1 GitLab releases 14.8.1 Learn more GitLab 14.8 released with new SSH key types and security approval policies GitLab 14.8 released with new SSH key types, security approval policies, pipeline editor autocomplete, impersonation audit events and much more! Learn more GitLab Patch Release: 14.7.3 GitLab releases 14.7.3 Learn more Sign up for GitLab's twice-monthly newsletter Thanks for subscribing! Try all GitLab features - free for 30 days GitLab is more than just source code management or CI/CD. It is a full software development lifecycle & DevOps tool in a single application. Try GitLab Free * Twitter * Facebook * YouTube * LinkedIn Why GitLab? * Product * Solutions * Services * DevOps tools * Is it any good? * Releases * Pricing * Get started Resources * All resources * All-Remote * Blog * Newsletter * Events * Webcasts * Topics * Training * Docs * Developer Portal * Install Community * Customers * Contribute * Community Programs * Direction * Technology Partners * Channel Partners * Open Source Partners * GitLab for Open Source * GitLab for Education * GitLab for Startups * Shop * Community Forum Support * Get help * Contact Sales * Contact Support * Support options * Status * Customers Portal Company * About * What is GitLab? * Jobs * Culture * Leadership * Team * Press * Investor Relations * Analysts * Handbook * Security * Contact * Terms * Privacy * * Trademark Git is a trademark of Software Freedom Conservancy and our use of 'GitLab' is under license View page source -- Edit in Web IDE -- please contribute. (c) GitLab B.V.