VDB
Sign up
MEDIUM4.8

GHSA-jwhr-h7pc-3974

Jenkins Bitbucket Push and Pull Request Plugin unconditionally disables SSL/TLS certificate validation

Quick fix

GHSA-jwhr-h7pc-3974 — io.jenkins.plugins:bitbucket-push-and-pull-request: upgrade to the fixed version with the command below.

# pom.xml: bump <version>3.3.9</version> for io.jenkins.plugins:bitbucket-push-and-pull-request

Details

Jenkins Bitbucket Push and Pull Request Plugin 3.3.8 and earlier unconditionally disables SSL/TLS certificate and hostname validation for the connections it makes to Bitbucket Server using Bearer token authentication.

Because the Bearer token is transmitted in these requests, this allows attackers able to intercept network traffic to capture the token and impersonate the Jenkins controller to Bitbucket Server.

Bitbucket Push and Pull Request Plugin 3.3.9 validates SSL/TLS certificates and hostnames for the connections it makes to Bitbucket Server using Bearer token authentication, using the trust store configured for the Jenkins controller JVM.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/io.jenkins.plugins:bitbucket-push-and-pull-request
Introduced in: 0Fixed in: 3.3.9
Fix# pom.xml: bump <version>3.3.9</version> for io.jenkins.plugins:bitbucket-push-and-pull-request

References