-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2022.2027
           GitLab Security Release: 14.10.1, 14.9.4, and 14.8.6
                                3 May 2022

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           GitLab Community Edition (CE)
                   GitLab Enterprise Edition (EE)
Publisher:         GitLab
Operating System:  Windows
                   Linux variants
Resolution:        Patch/Upgrade
CVE Names:         CVE-2022-1510 CVE-2022-1460 CVE-2022-1433
                   CVE-2022-1431 CVE-2022-1428 CVE-2022-1426
                   CVE-2022-1423 CVE-2022-1417 CVE-2022-1416
                   CVE-2022-1413 CVE-2022-1406 CVE-2022-1352
                   CVE-2022-1175 CVE-2022-1124 

Original Bulletin: 
   https://about.gitlab.com/releases/2022/05/02/security-release-gitlab-14-10-1-released/

Comment: CVSS (Max):  6.1* CVE-2022-1175 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)
         CVSS Source: NVD
         Calculator:  https://www.first.org/cvss/calculator/3.1#CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
         * Not all CVSS available when published

- --------------------------BEGIN INCLUDED TEXT--------------------

GitLab Security Release: 14.10.1, 14.9.4, and 14.8.6

Today we are releasing versions 14.10.1, 14.9.4, and 14.8.6 for GitLab
Community Edition (CE) and Enterprise Edition (EE).

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.

When no specific deployment type (omnibus, source code, helm chart, etc.) of a
product is mentioned, this means all types are affected.

Table of Fixes

                                Title                                  Severity
Improper access control in CI/CD cache mechanism                       high
ReDoS on CI Editor and CI Pipeline detail pages                        medium
User with developer role (group) can modify Protected branches ->      medium
Allowed to merge setting on imported project
Maintainer can execute scheduled CI pipeline as another user           medium
Missing input masking on sensitive integration properties              medium
API discloses issue titles of limited projects                         medium
Confidential notes disclosure                                          medium
Improper rack-attack discriminator for authenticated_packages_api with medium
a deploy token
Improper access control in Project Members-only Wiki                   medium
Guest project member can access trace log of jobs when it is enabled   medium
HTML and CSS injection in pipeline error messages                      medium
Forging GET Requests through and Denying Service of Simple PyPi API    medium
Endpoint
Missing invalidation of Markdown cache causes potential XSS payloads   low
to persist
Conan API incorrectly processes JWT-encoded Personal Access Tokens     low

Improper access control in CI/CD cache mechanism

Improper access control in the CI/CD cache mechanism in GitLab CE/EE affecting
all versions from 1.0.2 before 14.8.6 allows a malicious actor with Developer
privileges to perform cache poisoning leading to arbitrary code execution in
protected branches. This is a high severity issue (CVSS:3.0/AV:N/AC:H/PR:L/UI:N
/S:C/C:H/I:L/A:N, 7.1). It is now mitigated in the latest release and is
assigned CVE-2022-1423.

Thanks wapiflapi for reporting this vulnerability through our HackerOne bug
bounty program.

ReDoS on CI Editor and CI Pipeline detail pages

An issue has been discovered in GitLab affecting all versions starting from
13.9 before 14.8.6, all versions starting from 14.9 before 14.9.4, all versions
starting from 14.10 before 14.10.1. GitLab was not correctly handling malicious
text in the CI Editor and CI Pipeline details page allowing the attacker to
cause uncontrolled resource consumption. This is a medium severity issue
(CVSS:3.0/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-2022-1510.

Thanks stunninglemon for reporting this vulnerability through our HackerOne bug
bounty program.

User with developer role (group) can modify Protected branches -> Allowed to
merge setting on imported project

Improper input validation in GitLab CE/EE affecting all versions from 8.12
prior to 14.8.6, all versions from 14.9.0 prior to 14.9.4, and 14.10.0 allows a
Developer to read protected Group or Project CI/CD variables by importing a
malicious project. This is a medium severity issue (CVSS:3.0/AV:N/AC:L/PR:L/
UI:N/S:U/C:H/I:N/A:N, 6.5). It is now mitigated in the latest release and is
assigned CVE-2022-1406.

Thanks @justas_b for reporting this vulnerability through our HackerOne bug
bounty program.

Maintainer can execute scheduled CI pipeline as another user

An issue has been discovered in GitLab affecting all versions starting from 9.2
before 14.8.6, all versions starting from 14.9 before 14.9.4, all versions
starting from 14.10 before 14.10.1. GitLab was not performing correct
authorizations on scheduled pipelines allowing a malicious user to run a
pipeline in the context of another user. This is a medium severity issue
(CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:N, 6.1). It is now mitigated in the
latest release and is assigned CVE-2022-1460.

Thanks peterl for reporting this vulnerability through our HackerOne bug bounty
program.

Missing input masking on sensitive integration properties

Missing input masking in GitLab CE/EE affecting all versions starting from
1.0.2 before 14.8.6 causes potentially sensitive integration properties to be
disclosed in the web interface. This is a medium severity issue (CVSS:3.0/AV:N/
AC:H/PR:H/UI:R/S:C/C:H/I:N/A:N, 5.4). It is now mitigated in the latest release
and is assigned CVE-2022-1413.

This vulnerability has been discovered internally by the GitLab team.

API discloses issue titles of limited projects

Due to an insecure direct object reference vulnerability in Gitlab EE/CE
affecting all versions from 11.0 prior to 14.8.6, 14.9 prior to 14.9.4, and
14.10 prior to 14.10.1, an endpoint may reveal the issue title to a user who
crafted an API call with the ID of the issue from a public project that
restricts access to issue only to project members. 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-2022-1352.

Thanks shells3c for reporting this vulnerability through our HackerOne bug
bounty program.

Confidential notes disclosure

It was possible to disclose details of confidential notes created via the API
in Gitlab CE/EE affecting all versions from 13.2 prior to 14.8.6, 14.9 prior to
14.9.4, and 14.10 prior to 14.10.1 if an unauthorised project member was tagged
in the note. This is a medium severity issue (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/
C:L/I:N/A:N, 4.3). We have requested a CVE ID and will update this blog post
when it is assigned.

This vulnerability has been discovered internally by the GitLab team.

Improper rack-attack discriminator for authenticated_packages_api with a deploy
token

An issue has been discovered in GitLab affecting all versions before 14.8.6,
all versions starting from 14.9 before 14.9.4, all versions starting from 14.10
before 14.10.1. GitLab was incorrectly verifying throttling limits for
authenticated package requests which resulted in limits not being enforced.
This is a medium severity issue (CVSS:3.0/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-2022-1428.

This vulnerability has been discovered internally by the GitLab team.

Improper access control in Project Members-only Wiki

Improper access control in GitLab CE/EE affecting all versions starting from
8.12 before 14.8.6, all versions starting from 8.13 before 14.9.4, and all
versions starting from 8.14 before 14.10.1 allows non-project members to access
contents of Project Members-only Wikis via malicious CI jobs. This is a medium
severity issue (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, 4.3). It is now
mitigated in the latest release and is assigned CVE-2022-1417.

Thanks shells3c for reporting this vulnerability through our HackerOne bug
bounty program.

Guest project member can access trace log of jobs when it is enabled

An improper authorization issue has been discovered in GitLab CE/EE affecting
all versions prior to 14.8.6, all versions from 14.9.0 prior to 14.9.4, and
14.10.0, allowing Guest project members to access trace log of jobs when it is
enabled. This is a medium severity issue (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/
I:N/A:N, 4.3). It is now mitigated in the latest release and is assigned
CVE-2022-1124.

Thanks jimeno for reporting this vulnerability through our HackerOne bug bounty
program.

HTML and CSS injection in pipeline error messages

Missing sanitization of data in Pipeline error messages in GitLab CE/EE
affecting all versions starting from 1.0.2 before 14.8.6 allows for rendering
of attacker controlled HTML tags and CSS styling. This is a medium severity
issue (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N, 4.3). It is now mitigated
in the latest release and is assigned CVE-2022-1416.

Thanks joaxcar for reporting this vulnerability through our HackerOne bug
bounty program.

Forging GET Requests through and Denying Service of Simple PyPi API Endpoint

An issue has been discovered in GitLab affecting all versions starting from
12.10 before 14.8.6, all versions starting from 14.9 before 14.9.4, all
versions starting from 14.10 before 14.10.1. GitLab was not correctly handling
malicious requests to the PyPi API endpoint allowing the attacker to cause
uncontrolled resource consumption. This is a medium severity issue (CVSS:3.0/
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-2022-1431.

Thanks iwis for reporting this vulnerability through our HackerOne bug bounty
program.

Missing invalidation of Markdown cache causes potential XSS payloads to persist

An issue has been discovered in GitLab affecting all versions starting from
14.4 before 14.8.6, all versions starting from 14.9 before 14.9.4, all versions
starting from 14.10 before 14.10.1. Missing invalidation of Markdown caching
causes potential payloads from a previously exploitable XSS vulnerability
(CVE-2022-1175) to persist and execute. This is a low severity issue (CVSS:3.0/
AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N, 2.6). It is now mitigated in the latest
release and is assigned CVE-2022-1433.

Thanks stacksmashing for reporting this vulnerability through our HackerOne bug
bounty program.

Conan API incorrectly processes JWT-encoded Personal Access Tokens

An issue has been discovered in GitLab affecting all versions starting from
12.6 before 14.8.6, all versions starting from 14.9 before 14.9.4, all versions
starting from 14.10 before 14.10.1. GitLab was not correctly authenticating a
user that had some certain amount of information which allowed an user to
authenticate without a personal access token. This is a low severity issue
(CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N, 2.0). It is now mitigated in the
latest release and is assigned CVE-2022-1426.

Thanks firelizzard for reporting this vulnerability through our HackerOne bug
bounty program.

Update Zlib

The version of Zlib has been updated to 1.2.12 in order to mitigate security
concerns.

Versions affected

Affects GitLab Omnibus prior to 14.8

Update Ipynbdiff

The version of Ipynbdiff has been updated to 0.4.5 in order to mitigate
security concerns.

Versions affected

Affects all versions of GitLab CE/EE prior to 14.10

Updating

To update GitLab, see the Update page. To update Gitlab Runner, see the
Updating the Runner page.

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 Security Release: 14.10.1, 14.9.4, and 14.8.6

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        https://www.auscert.org.au/bulletins/

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBYnDBNONLKJtyKPYoAQihcA//cfawViPbTenJ7EvLY5TTLFQOxnrMF2qf
q+GNeGJxbGfTnQpZjayQQ9zO9X7AKmsxwKrI0xwWIPHfynbX5qqWydPT6VUk5Pf7
c4MN9DiMT986j/oAGFOtUsgVxZunRsvhytx6aZ/ouc5Z0KOE4Rm5pkSCEv5LSO6I
HHXCdw91Ay1HaPgE4onYTLDvTWtzAUAWeTd14PUx7bdIT1RQ6pvUc9MjUSFHzFG/
FYj1Zkfk3Aylwm/SPOJ1mRH4Hjm9rtltutSCvxKYOpw70SL9l0Ot866kiBEWepf2
N+J+PU68/ksMudKS4vmi0/LZ61cG/eO18q8UbO+OuHui1GpZcTVBiM9bk9Sbu9Yx
OYWZxnimomqjDidBE8dINZJZspKL3HsyO/wcBPg/TdgEuTwXXHckGoWzDO2HtYTw
uDj+gKZQGwkYwIVpKqTNUBBJNasztUb5/XnaY2eqxlZqa6/IwHnWNB+phTQ2cT7q
pWEAC8I22IzYxjT1+h5Q/45bd/pFOxoaFtnp/ixflhdtXUDcDv562c4eTVrWMoFf
+kkROgiJpHzlw1iPDHVllmmJyo5YkV9yXNvcRPHzJ5M2kXg6uF22+rn0qbOjaAm3
i41h2RX9TXDufAOzZwmayDznOMFHrf9YWFEmKY2cr28RfaCFOBGTXoaQX32knY/G
H8WJyQ9UkEE=
=Xjfg
-----END PGP SIGNATURE-----