CVE Vulnerabilities

CVE-2022-4143

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Jun 28, 2023 | Modified: Nov 21, 2024
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

An issue has been discovered in GitLab affecting all versions starting from 15.7 before 15.8.5, from 15.9 before 15.9.4, and from 15.10 before 15.10.1 that allows for crafted, unapproved MRs to be introduced and merged without authorization

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.

Affected Software

Name Vendor Start Version End Version
Gitlab Gitlab 15.7.0 (including) 15.8.5 (excluding)
Gitlab Gitlab 15.9.0 (including) 15.9.4 (excluding)
Gitlab Gitlab 15.10.0 (including) 15.10.0 (including)
Gitlab Ubuntu bionic *
Gitlab Ubuntu esm-apps/xenial *
Gitlab Ubuntu trusty *
Gitlab Ubuntu xenial *

Potential Mitigations

References