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
root.io logo minimus.io logo echo.ai logo

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.

Affected Software

NameVendorStart VersionEnd Version
GitlabGitlab15.7.0 (including)15.8.5 (excluding)
GitlabGitlab15.9.0 (including)15.9.4 (excluding)
GitlabGitlab15.10.0 (including)15.10.0 (including)
GitlabUbuntubionic*
GitlabUbuntuesm-apps/xenial*
GitlabUbuntutrusty*
GitlabUbuntuxenial*

Potential Mitigations

References