CVE-2019-10330 Improper handling of untrusted branches in Gitea Jenkins Plugin

High 7.5 Published Updated

Attackers without commit access can modify Jenkinsfiles to execute arbitrary code, bypassing trust restrictions in the Jenkins Gitea Plugin.

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

What is CVE-2019-10330?

CVE-2019-10330 is a high-severity missing authorization vulnerability in Gitea Gitea, published on 31 May 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Jenkins Gitea Plugin 1.1.1 and earlier did not implement trusted revisions, allowing attackers without commit access to the Git repo to change Jenkinsfiles even if Jenkins is configured to consider them to be untrusted.

Weakness: CWE-862

Which versions are affected by CVE-2019-10330?

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

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

Products include Gitea Gitea.

How do I fix CVE-2019-10330?

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

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2019-10330 being exploited?

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

All Gitea Gitea vulnerabilities

Sources

Also known as GHSA-q98c-rqx7-7ghf.

Is CVE-2019-10330 in your software?

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

Check your SBOMs for free