All reports
Medium

Non-constant time HMAC comparison

Affected versions

Affected versions
>= 2.205, <= 2.218
Fixed version
2.219
Affected versions
<= 2.204.1
Fixed version
2.204.2

Exploitation

CVE-2020-2102

Probability of exploitation in the next 30 days: 1.40%

FIRST EPSS · 2026-11-23

Description

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.

Links

Credits

  • NotMyFault