{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-21697","id":"CVE-2021-21697","title":"Agent-to-controller access control allows reading/writing most content of build directories in Jenkins","description":"Jenkins 2.318 and earlier, LTS 2.303.2 and earlier allows any agent to read and write the contents of any build directory stored in Jenkins with very few restrictions.","descriptionLong":"Jenkins 2.318 and earlier, LTS 2.303.2 and earlier allows any agent to read and write the contents of any build directory stored in Jenkins with very few restrictions.","published":"2021-11-04T16:30:43.000Z","updated":"2026-10-24T10:30:29.182279214Z","reserved":"2021-01-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"jenkins","metric":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"OSV"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"GitHub"},{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"critical","products":["Jenkins project Jenkins"],"affectedProducts":[{"vendor":"Jenkins project","product":"Jenkins","defaultStatus":null,"versions":[{"lessThanOrEqual":"2.318","status":"affected","version":"unspecified","versionType":"custom"},{"lessThanOrEqual":"LTS 2.303.2","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.303.3",">=2.304 <2.319"],"fixed":["2.303.3","2.319"],"advisory":"GHSA-cv2w-q8c3-xjv7"}],"cwes":["CWE-184"],"aliases":["BIT-jenkins-2021-21697","GHSA-cv2w-q8c3-xjv7"],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2428","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory","fix","web"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/04/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21697","tags":["advisory"]},{"url":"https://github.com/jenkinsci/jenkins/commit/cf388d2a04e6016d23eb93fa3cc804f2554b98f0","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins/commit/eae33841b587da787f37d5b6c8451d483edc04d9","tags":["web"]},{"url":"https://github.com/jenkinsci/jenkins","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01602,"epssPercentile":0.76335,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-21697","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21697","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-21697","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cv2w-q8c3-xjv7","ok":true,"note":"GHSA-cv2w-q8c3-xjv7"},{"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-21697","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["jenkins"],"critical":["CVSS 9.1 in a widely used technology"],"attention":null}