{"id":"CVE-2021-21692","published":"2021-11-04T16:30:35Z","modified":"2024-08-03T18:23:27Z","title":"FilePath#renameTo and FilePath#moveAllChildrenTo in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier only check…","vendor":"Jenkins","product":"Jenkins","tier":"tail","description":{"text":"FilePath#renameTo and FilePath#moveAllChildrenTo in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier only check 'read' agent-to-controller access permission on the source path, instead of 'delete'.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02101,"percentile":0.8217,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2455","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.4,"factors":[{"name":"EPSS percentile","points":16.43}]},"vendorSlug":"jenkins","affectedVersions":[{"vendor":"Jenkins project","product":"Jenkins","versions":[">= unspecified, <= 2.318",">= unspecified, <= LTS 2.303.2"]}],"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.main:jenkins-core","vulnerableRanges":["<2.303.3",">=2.304, <2.319"],"patched":["2.303.3","2.319"],"from":["GHSA-8xg4-xq2v-v6j7"],"provenance":"source"}],"summary":{"text":"The flaw is in Jenkins's FilePath#renameTo and FilePath#moveAllChildrenTo methods, which perform agent-to-controller file operations. These methods check only for 'read' permission on the source path rather than 'delete' permission, so the permission check does not match the operation being performed. An attacker who can make an agent-to-controller file operation call would be able to move or rename files without holding delete permission on the source path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:35Z"},"euvd":{"id":"EUVD-2022-3257","exploited":false,"provenance":"source"}}