CVEfocus › CVE database › CVE-2021-21640

CVE-2021-21640

CVSS 4.3 MediumEPSS 1.9% (higher than 80% of CVEs)Published 2021-04-07Updated 2024-08-03Assigner: jenkins

Jenkins 2.286 and earlier, LTS 2.277.1 and earlier does not properly check that a newly created view has an allowed name, allowing attackers with View/Create permission to create views with invalid or already-used names.

What to do

Fixed builds are available from Alpine, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
1Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04jenkinsFix pending
Alpine Linux 3.24jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.23jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.22jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.21jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.20jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.19jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.18jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.17jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.16jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.15jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.14jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Alpine Linux 3.13jenkinsFixed2.287-r0ALPINE-CVE-2021-21640
Maven libraryorg.jenkins-ci.main:jenkins-coreFixed2.277.2GHSA-w2hv-rcqr-2h7r

What the vendor says

As published in the CVE record by jenkins, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.