CVE-2022-36893 Jenkins rpmsign-plugin does not perform a permission check in a method implementing form validation

Medium 4.3 Published Updated

Attackers with read permissions can bypass authorization checks to inspect workspace file patterns in the Jenkins rpmsign 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-36893?

CVE-2022-36893 is a medium-severity missing authorization vulnerability in Jenkins rpmsign-plugin 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 rpmsign-plugin Plugin 0.5.0 and earlier does not perform a permission check in a method implementing form validation, allowing attackers with Item/Read permission but without Item/Workspace or Item/Configure permission to check whether attacker-specified file patterns match workspace contents.

Weakness: CWE-862

Which versions are affected by CVE-2022-36893?

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

PackageAffectedFixed in
org.jenkins-ci.plugins:rpmsign-plugin MavenAll versions0.5.1
org.jenkins-ci.plugins:rpmsign-plugin MavenAll versions0.5.1

Products include Jenkins Rpmsign-Plugin.

How do I fix CVE-2022-36893?

Upgrade org.jenkins-ci.plugins:rpmsign-plugin to 0.5.1 or later.

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

Is CVE-2022-36893 being exploited?

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

Sources

Also known as GHSA-pw4g-jcp5-63m9.

Is CVE-2022-36893 in your software?

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

Check your SBOMs for free