{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21640","id":"CVE-2021-21640","title":"View name validation bypass in Jenkins","description":"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.","descriptionLong":"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.","published":"2021-04-07T13:50:14.000Z","updated":"2026-10-24T10:31:00.797142346Z","reserved":"2021-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["Jenkins project Jenkins"],"affectedProducts":[{"vendor":"Jenkins project","product":"Jenkins","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.286","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"LTS 2.277.1","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","ranges":["<2.277.2",">=2.278 <2.287"],"fixed":["2.277.2","2.287"],"advisory":"GHSA-w2hv-rcqr-2h7r"}],"cwes":["CWE-240"],"aliases":["BIT-jenkins-2021-21640","GHSA-w2hv-rcqr-2h7r"],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-04-07/#SECURITY-1871","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2021/04/07/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21640","tags":["advisory"]},{"url":"https://github.com/jenkinsci/jenkins/commit/42e2c74049ddf5e0aca1fe6aadc7b24fdabb5494","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01905,"epssPercentile":0.80172,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21640","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21640","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21640","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w2hv-rcqr-2h7r","ok":true,"note":"GHSA-w2hv-rcqr-2h7r"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-21640","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["jenkins"],"critical":[],"attention":null}