{"id":"CVE-2021-21698","aliases":["CVE-2021-21698","GHSA-q58j-fhj7-j6fg"],"related":[],"kind":"vulnerability","state":"published","title":"Path traversal vulnerability in Jenkins Subversion Plugin allows reading arbitrary files","summary":"Jenkins 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins 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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins Subversion Plugin versiones 2.15.0 y anteriores, no restringe el nombre de un archivo cuando es buscado un archivo de claves de subversión en el controlador desde un agente","source":"nvd"}],"published":"2021-11-04T16:30:44.000Z","modified":"2026-06-17T03:36:01.030Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"2.15.0","status":"affected"}],"vendor":"Jenkins project","product":"Jenkins Subversion Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.15.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:subversion","purl":"pkg:maven/org.jenkins-ci.plugins/subversion","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"2.15.0"}],"vendor":"jenkins","product":"subversion","cpe":"cpe:2.3:a:jenkins:subversion:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2021-11-04/#SECURITY-2506","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2021/11/04/3","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21698","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/subversion-plugin/commit/7d1525edea6641a2febd3f7deeac55c0a89b0d7e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/subversion-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21698","url":"https://www.cve.org/CVERecord?id=CVE-2021-21698","licence":"CVE Terms of Use","modified":"2024-08-03T18:23:27.475Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q58j-fhj7-j6fg","url":"https://github.com/advisories/GHSA-q58j-fhj7-j6fg","licence":"CC-BY-4.0","modified":"2024-02-16T08:20:52.779Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21698","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21698","licence":"Public domain","modified":"2026-06-17T03:36:01.030Z"}],"updatedAt":"2026-11-25T22:58:05.356Z","epss":{"score":0.02142,"percentile":0.82569,"date":"2026-12-01T12:00:22.000Z"}}