CVE-2023-5198: Incorrect Authorization in GitLab

Published Sep 29, 2023
·
Updated

An issue has been discovered in GitLab affecting all versions prior to 16.2.7, all versions starting from 16.3 before 16.3.5, and all versions starting from 16.4 before 16.4.1. It was possible for a removed project member to write to protected branches using deploy keys.

Affected Software

6 affected components
GitLab GitLab>=8.15<16.2.8
GitLab GitLab>=8.15<16.2.8
GitLab GitLab>=16.3.0<16.3.5
GitLab GitLab>=16.3.0<16.3.5
GitLab GitLab=16.4.0
GitLab GitLab=16.4.0

Remediation

Information

Upgrade to versions 16.4.1, 16.3.5, 16.2.8 or above.

Event History

Sep 29, 2023
CVE Published
via MITRE·07:01 AM
Data Sourced
via MITRE·07:01 AM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the vulnerability ID of this GitLab issue?

The vulnerability ID of this GitLab issue is CVE-2023-5198.

2

What versions of GitLab are affected by this vulnerability?

This vulnerability affects all versions prior to 16.2.7, all versions starting from 16.3 before 16.3.5, and all versions starting from 16.4 before 16.4.1 of GitLab.

3

How can a removed project member exploit this vulnerability?

A removed project member can exploit this vulnerability by writing to protected branches using deploy keys.

4

What is the severity of CVE-2023-5198?

The severity of CVE-2023-5198 is medium.

5

How can I fix this vulnerability in GitLab?

To fix this vulnerability, you should update GitLab to version 16.2.7 or later for versions prior to 16.3.5, and update to version 16.3.5 or later for versions starting from 16.3 before 16.4.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203