{"id":"CVE-2021-21606","aliases":["CVE-2021-21606","GHSA-f585-9fw3-rj2m","BIT-JENKINS-2021-21606"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary file existence check in file fingerprints in Jenkins","summary":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier improperly validates the format of a provided fingerprint ID when checking for its existence allowing an attacker to check for the existence of XML files with a short path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins 2.274 and earlier, LTS 2.263.1 and earlier improperly validates the format of a provided fingerprint ID when checking for its existence allowing an attacker to check for the existence of XML files with a short path.","source":"cvelist"},{"lang":"en","text":"Jenkins provides a feature for jobs to store and track fingerprints of files used during a build. Jenkins 2.274 and earlier, LTS 2.263.1 and earlier provides a REST API to check where a given fingerprint was used by which builds. This endpoint does not fully validate that the provided fingerprint ID is properly formatted before checking for the XML metadata for that fingerprint on the controller file system.\n\nThis allows attackers with Overall/Read permission to check for the existence of XML files on the controller file system where the relative path can be constructed as 32 characters.\n\nJenkins 2.275, LTS 2.263.2 validates that a fingerprint ID is properly formatted before checking for its existence.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins versiones 2.274 y anteriores, LTS versiones 2.263.1 y anteriores, comprueban inapropiadamente el formato de una identificación de huella digital proporcionada al comprobar su existencia, permitiendo a un atacante comprobar la existencia de archivos XML con una ruta corta.","source":"nvd"}],"published":"2021-01-13T15:55:29.000Z","modified":"2026-09-08T08:48:00.830Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"type":"custom","introduced":"2.242","fixed":"unspecified","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"2.274","status":"affected"},{"type":"custom","introduced":"unspecified","lastAffected":"LTS 2.263.1","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.263.2"}],"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.264","status":"affected","fixed":"2.275"}],"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","purl":"pkg:maven/org.jenkins-ci.main/jenkins-core","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.263.1"},{"status":"affected","lastAffected":"2.274"}],"vendor":"jenkins","product":"jenkins","cpe":"cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.274.1"}],"ecosystem":"Bitnami","package":"jenkins","purl":"pkg:bitnami/jenkins","source":"bitnami"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-01-13/#SECURITY-2023","tags":["advisory","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21606","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/jenkinsci/jenkins/commit/f576b2eb4375f2bb076ce477cee27a946b65f22a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21606","url":"https://www.cve.org/CVERecord?id=CVE-2021-21606","licence":"CVE Terms of Use","modified":"2024-08-03T18:16:23.623Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f585-9fw3-rj2m","url":"https://github.com/advisories/GHSA-f585-9fw3-rj2m","licence":"CC-BY-4.0","modified":"2024-02-16T08:11:08.870Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21606","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21606","licence":"Public domain","modified":"2026-06-17T03:35:51.760Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-JENKINS-2021-21606","url":"https://osv.dev/vulnerability/BIT-JENKINS-2021-21606","licence":"Apache-2.0","modified":"2026-09-08T08:48:00.830Z"}],"updatedAt":"2026-11-25T22:57:59.351Z","epss":{"score":0.0123,"percentile":0.69752,"date":"2026-12-01T12:00:22.000Z"}}