VDB
Sign up
MEDIUM5.3

GHSA-fj6f-6933-839j

Non-constant time HMAC comparison

Quick fix

GHSA-fj6f-6933-839j — org.jenkins-ci.main:jenkins-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.204.2</version> for org.jenkins-ci.main:jenkins-core

Details

Jenkins 2.218 and earlier, LTS 2.204.1 and earlier does not use a constant-time comparison when checking whether two HMACs are equal. This could potentially allow attackers to use statistical methods to obtain a valid HMAC for an attacker-controlled input value.

Jenkins 2.219, LTS 2.204.2 now uses a constant-time comparison when validating HMACs.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 0Fixed in: 2.204.2
Fix# pom.xml: bump <version>2.204.2</version> for org.jenkins-ci.main:jenkins-core
Maven/org.jenkins-ci.main:jenkins-core
Introduced in: 2.205Fixed in: 2.219
Fix# pom.xml: bump <version>2.219</version> for org.jenkins-ci.main:jenkins-core

References