CVE-2022-36904 Jenkins Repository Connector Plugin does not perform a permission check in a method implementing form validation

Medium 4.3 Published Updated

Attackers with Read permission can check for the existence of arbitrary files on the Jenkins controller file system due to missing permission checks.

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

What is CVE-2022-36904?

CVE-2022-36904 is a medium-severity missing authorization vulnerability in Jenkins Repository Connector Plugin, published on 27 Jul 2022. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins Repository Connector Plugin 2.2.0 and earlier does not perform a permission check in a method implementing form validation, allowing attackers with Overall/Read permission to check for the existence of an attacker-specified file path on the Jenkins controller file system.

Weakness: CWE-862

Which versions are affected by CVE-2022-36904?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:repository-connector MavenAll versions to 2.2.0None
org.jenkins-ci.plugins:repository-connector MavenAll versions to 2.2.0None

Products include Jenkins Repository Connector.

How do I fix CVE-2022-36904?

No fix has been published for CVE-2022-36904 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2022-36904 being exploited?

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

Sources

Also known as GHSA-fjpq-f574-jc45.

Is CVE-2022-36904 in your software?

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

Check your SBOMs for free