CVE-2020-2101 Non-constant time comparison of inbound TCP agent connection secret

Medium 5.3 Published Updated

An attacker can potentially obtain connection secrets via a timing attack due to non-constant-time comparison in Jenkins.

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-2020-2101?

CVE-2020-2101 is a medium-severity vulnerability in Jenkins Jenkins, published on 29 Jan 2020. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Jenkins 2.218 and earlier, LTS 2.204.1 and earlier did not use a constant-time comparison function for validating connection secrets, which could potentially allow an attacker to use a timing attack to obtain this secret.

Weakness: CWE-203

Which versions are affected by CVE-2020-2101?

5 open source packages ship an affected version, including org.jenkins-ci.main:jenkins-core and jenkins. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.main:jenkins-core MavenAll versions2.204.2
org.jenkins-ci.main:jenkins-core MavenAll versions2.204.2
org.jenkins-ci.main:jenkins-core MavenFrom 2.2052.219
org.jenkins-ci.main:jenkins-core MavenFrom 2.2052.219
jenkins BitnamiAll versions2.218.1

Products include Jenkins Jenkins.

How do I fix CVE-2020-2101?

Upgrade org.jenkins-ci.main:jenkins-core to a fixed version for your release line: 2.204.2 or 2.219.

Is CVE-2020-2101 being exploited?

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

All Jenkins Jenkins vulnerabilities

Sources

Also known as BIT-jenkins-2020-2101, GHSA-w7jr-wqw6-54xc.

Is CVE-2020-2101 in your software?

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

Check your SBOMs for free