VDB
Sign up
MEDIUM6.5

GHSA-jp9r-mmhw-vff3

Jenkins Matrix Authorization Strategy Plugin: Unsafe deserialization allows invocation of parameterless constructors

Quick fix

GHSA-jp9r-mmhw-vff3 — org.jenkins-ci.plugins:matrix-auth: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.2.10</version> for org.jenkins-ci.plugins:matrix-auth

Details

Jenkins Matrix Authorization Strategy Plugin 2.0-beta-1 through 3.2.9 (both inclusive) invokes parameterless constructors of classes specified in configuration when deserializing inheritance strategies, without restricting the classes that can be instantiated.

This can be abused by attackers with Item/Configure permission to instantiate arbitrary types, which may lead to information disclosure or other impacts depending on the classes available on the classpath.

Matrix Authorization Strategy Plugin 3.2.10 verifies that the class being instantiated is an inheritance strategy implementation, preventing instantiation of arbitrary types.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.plugins:matrix-auth
Introduced in: 2.0-beta-1Fixed in: 3.2.10
Fix# pom.xml: bump <version>3.2.10</version> for org.jenkins-ci.plugins:matrix-auth

References