======================================================================

                                 CERT-Renater

                     Note d'Information No. 2024/VULN325
_____________________________________________________________________

DATE                : 22/08/2024

HARDWARE PLATFORM(S): /

OPERATING SYSTEM(S): Systems running Gitlab versions prior to 17.3.1,
                                         17.2.4, 17.1.6.

=====================================================================
https://about.gitlab.com/releases/2024/08/21/patch-release-gitlab-17-3-1-released/
_____________________________________________________________________

  GitLab Patch Release: 17.3.1, 17.2.4, 17.1.6

Learn more about GitLab Patch Release: 17.3.1, 17.2.4, 17.1.6 for
GitLab Community Edition (CE) and Enterprise Edition (EE).

Today we are releasing versions 17.3.1, 17.2.4, 17.1.6 for GitLab
Community Edition (CE) and Enterprise Edition (EE).

These versions contain important bug and 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 fixes for vulnerabilities in dedicated 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 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 patch
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.

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

Title 	Severity
The GitLab Web Interface Does Not Guarantee Information Integrity
When Downloading Source Code from Releases. 	Medium

Denial of Service by importing maliciously crafted GitHub repository
  	Medium

Prompt injection in "Resolve Vulnerabilty" results in arbitrary
command execution in victim's pipeline 	Medium

An unauthorized user can perform certain actions through GraphQL after
a group owner enables IP restrictions 	Medium

The GitLab Web Interface Does Not Guarantee Information Integrity When
Downloading Source Code from Releases.

An issue was discovered in GitLab CE/EE affecting all versions
starting from 8.2 prior to 17.1.6 starting from 17.2 prior to 17.2.4,
and starting from 17.3 prior to 17.3.1, which allows an attacker to
create a branch with the same name as a deleted tag. This is a medium
severity issue (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N, 5.7).
It is now mitigated in the latest release and is assigned
CVE-2024-6502.

Thanks st4nly0n for reporting this vulnerability through our
HackerOne bug bounty program.


Denial of Service by importing maliciously crafted GitHub repository

A Denial of Service (DoS) issue has been discovered in GitLab CE/EE
affecting all versions prior to 17.1.6, 17.2 prior to 17.2.4, and
17.3 prior to 17.3.1. A denial of service could occur upon importing
a maliciously crafted repository using the GitHub importer. This is
a medium severity issue
(CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H, 6.5). It is now
mitigated in the latest release and is assigned CVE-2024-8041.

Thanks a92847865 for reporting this vulnerability through our
HackerOne bug bounty program.


Prompt injection in "Resolve Vulnerabilty" results in arbitrary
command execution in victim's pipeline

An issue was discovered in GitLab EE affecting all versions starting
from 17.0 prior to 17.1.6 starting from 17.2 prior to 17.2.4, and
starting from 17.3 prior to 17.3.1, allows an attacker to execute
arbitrary command in a victim's pipeline through prompt injection.
This is a medium severity issue
(CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N, 6.4). It is now
mitigated in the latest release and is assigned CVE-2024-7110.

This vulnerability has been discovered internally by GitLab team
member Dennis Appelt.


An unauthorized user can perform certain actions through GraphQL
after a group owner enables IP restrictions

An issue has been discovered in GitLab EE affecting all versions
starting from 12.5 before 17.1.6, all versions starting from 17.2
before 17.2.4, all versions starting from 17.3 before 17.3.1. Under
certain conditions it may be possible to bypass the IP restriction
for groups through GraphQL allowing unauthorized users to perform
some actions at the group level. 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-3127.

Thanks 0x777 for reporting this vulnerability through our HackerOne
bug bounty program.


Mattermost Security Updates July 2, 2024

Mattermost has been updated to versions 9.9.0, which contains several
patches and security fixes.


Bug fixes

17.3.1

     Fix timeout when checking group dependencies (17.3 backport)
     Resolve "Background migrations removed issues" (backport to 17.3)
     Backport to 17.3: Fixes Geo Replication Details incorrectly empty
     17.3 Backport vulnerability migration bugfix
     Add debian 10 (Buster) to deprecated OS list
     Raise default PostgreSQL shared buffers minimum to 256 MB
     Include language server version in code suggestions
     Turn NotFound from Gitaly into 404 for InfoRefs

17.2.4

     Backport 17.2: Build assets image when running release environments
     Backport DORA DF score recalculation
     Backport 17.2 - Do not run release-environments on tagging
     Remove stong_memoization for cloud connector services
     Check if columns exist before running credit card hashing
background migration
     Merge branch 'jennykim/remove-release-environment-canonical-pipeline'
into 'master'
     Fix empty dependency list page
     Backport 17-2: handle empty repository.ff_merge
     17.2 backport for: Resolve "Background migrations removed in 17.1
cause upgrade issues"
     Include language server version in code suggestions
     Turn NotFound from Gitaly into 404 for InfoRefs)

17.1.6

     Backport 17.1: Release Environments - pipeline level resource
group
     Backport 17.1: Build assets image when running release
environments
     Backport 17.1 - Do not run release-environments on tagging
     Fix backport gitlab-qa shm fix to 17.1 stable branch version
     Backport canonical RE downstream pipeline removal
     Update minimum Go version requirement for self-compiled (17.1)
     Backport 17-1: handle empty repository.ff_merge
     Resolve "Background migrations removed issues" (backport to 17.1)
     Fix: backport !157455 to 17-1-stable-ee
     Include language server version in code suggestions

Updating

To update GitLab, see the Update page. To update Gitlab Runner, see
the Updating the Runner page.

Note: GitLab releases have skipped 17.2.3 and 17.1.5 . There are no
patches with these version numbers.


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.


=========================================================
+ CERT-RENATER        |    tel : 01-53-94-20-44         +
+ 23/25 Rue Daviel    |    fax : 01-53-94-20-41         +
+ 75013 Paris         |   email:cert@support.renater.fr +
=========================================================
