CVE-2022-46685 Jenkins Gitea Plugin vulnerable to Cleartext Transmission of Sensitive Information

Medium 4.3 Published Updated

Attackers can read exposed Gitea personal access tokens from build logs due to missing credential masking in the Jenkins plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-46685?

CVE-2022-46685 is a medium-severity vulnerability in Gitea Gitea, published on 7 Dec 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

In Jenkins Gitea Plugin 1.4.4 and earlier, the implementation of Gitea personal access tokens did not support credentials masking, potentially exposing them through the build log.

Weakness: CWE-319

Which versions are affected by CVE-2022-46685?

3 open source packages ship an affected version, including org.jenkins-ci.plugins:gitea and gitea. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:gitea MavenAll versions1.4.5
org.jenkins-ci.plugins:gitea MavenAll versions1.4.5
gitea BitnamiAll versions1.4.5

Products include Gitea Gitea.

How do I fix CVE-2022-46685?

Upgrade org.jenkins-ci.plugins:gitea to 1.4.5 or later.

Is CVE-2022-46685 being exploited?

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

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2022-46685, GHSA-x3qh-53qf-jxq9.

Is CVE-2022-46685 in your software?

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

Check your SBOMs for free