{"id":"GHSA-q58j-fhj7-j6fg","summary":"Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files","details":"Subversion Plugin 2.15.0 and earlier does not restrict the name of a file when looking up a subversion key file on the controller from an agent.\n\nThis allows attackers able to control agent processes to read arbitrary files on the Jenkins controller file system.\n\nSubversion Plugin 2.15.1 checks for the presence of and prohibits directory separator characters as part of the file name, restricting it to the intended directory.","aliases":["CVE-2021-21698"],"modified":"2024-01-02T05:46:42.208754Z","published":"2022-05-24T19:19:43Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-12-16T22:58:21Z","nvd_published_at":"2021-11-04T17:15:00Z","cwe_ids":["CWE-22"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21698"},{"type":"WEB","url":"https://github.com/jenkinsci/subversion-plugin/commit/7d1525edea6641a2febd3f7deeac55c0a89b0d7e"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/subversion-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2506"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2021/11/04/3"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:subversion","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/subversion"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.15.1"}]}],"versions":["1.24","1.25","1.26","1.28","1.29","1.30","1.31","1.32","1.33","1.34","1.35","1.36","1.37","1.38","1.39","1.40","1.41","1.42","1.43","1.44","1.45","1.48","1.50","1.51","1.53","1.54","2.0","2.0-alpha-1","2.0-beta-1","2.1","2.10","2.10.1","2.10.2","2.10.3","2.10.4","2.10.5","2.10.6","2.11.0","2.11.1","2.12.0","2.12.1","2.12.2","2.13.0","2.13.1","2.13.2","2.14.0","2.14.1","2.14.2","2.14.3","2.14.4","2.14.5","2.15.0","2.2","2.3","2.4","2.4.1","2.4.2","2.4.3","2.4.4","2.4.5","2.5","2.5-beta-1","2.5-beta-2","2.5-beta-3","2.5-beta-4","2.5.1","2.5.2","2.5.3","2.5.4","2.5.5","2.5.6","2.5.7","2.6","2.7.1","2.7.1.1","2.7.2","2.8","2.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-q58j-fhj7-j6fg/GHSA-q58j-fhj7-j6fg.json","last_known_affected_version_range":"\u003c= 2.15.0"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}