CVE-2022-4342 Information disclosure in GitLab

Medium 5.5 Published Updated

A malicious Maintainer can leak masked webhook secrets by changing the target URL of the webhook in GitLab.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-4342?

CVE-2022-4342 is a medium-severity vulnerability in Gitlab Gitlab, published on 12 Jan 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An issue has been discovered in GitLab CE/EE affecting all versions starting from 15.1 before 15.5.7, all versions starting from 15.6 before 15.6.4, all versions starting from 15.7 before 15.7.2. A malicious Maintainer can leak masked webhook secrets by changing target URL of the webhook.

Which versions are affected by CVE-2022-4342?

1 open source package ship an affected version, including gitlab. It affects 1 product.

PackageAffectedFixed in
gitlab BitnamiFrom 15.1.015.5.7, 15.6.4, 15.7.2

Products include Gitlab Gitlab.

How do I fix CVE-2022-4342?

Upgrade gitlab to a fixed version for your release line: 15.5.7, 15.6.4 or 15.7.2.

Is CVE-2022-4342 being exploited?

There is no known exploitation of CVE-2022-4342 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2022-4342, GHSA-892p-f7qf-cw7v, UBUNTU-CVE-2022-4342.

Is CVE-2022-4342 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free