{"id":"CVE-2022-20620","aliases":["CVE-2022-20620","GHSA-9wxh-jjj5-67cv"],"related":[],"kind":"vulnerability","state":"published","title":"Missing permission checks in SSH Agent Plugin allow enumerating credentials IDs","summary":"Missing permission checks in Jenkins SSH Agent Plugin 1.23 and earlier allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Missing permission checks in Jenkins SSH Agent Plugin 1.23 and earlier allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins.","source":"cvelist"},{"lang":"en","text":"Jenkins SSH Agent Plugin prior to 1.23.2 and 1.22.1 does not perform permission checks in several HTTP endpoints.\n\nThis allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.\n\nAn enumeration of credentials IDs in SSH Agent Plugin 1.23.2 and 1.22.1 requires the appropriate permissions.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una falta de comprobaciones de permisos en el plugin de agente SSH de Jenkins versiones 1.23 y anteriores, permite a atacantes con acceso general/libre enumerar los ID de las credenciales almacenadas en Jenkins","source":"nvd"}],"published":"2022-01-12T19:05:58.000Z","modified":"2026-06-17T04:24:42.260Z","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"}],"cwes":["CWE-668","CWE-862"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"1.23","status":"affected"},{"version":"1.22.1","status":"unaffected"}],"vendor":"Jenkins project","product":"Jenkins SSH Agent Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.23","status":"affected","fixed":"1.23.2"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:ssh-agent","purl":"pkg:maven/org.jenkins-ci.plugins/ssh-agent","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.22.1"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:ssh-agent","purl":"pkg:maven/org.jenkins-ci.plugins/ssh-agent","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"1.23"}],"vendor":"jenkins","product":"ssh_agent","cpe":"cpe:2.3:a:jenkins:ssh_agent:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2189","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/01/12/6","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-20620","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/ssh-agent-plugin/commit/04f526d2f73a6fc24b59df20ba03d95265114835","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/ssh-agent-plugin/commit/9c08b9f93cfb3ada0f0124f5bd7f0d027728a750","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20620.jsonhttps://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20620.json","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/ssh-agent-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-20620","url":"https://www.cve.org/CVERecord?id=CVE-2022-20620","licence":"CVE Terms of Use","modified":"2024-08-03T02:17:52.924Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9wxh-jjj5-67cv","url":"https://github.com/advisories/GHSA-9wxh-jjj5-67cv","licence":"CC-BY-4.0","modified":"2024-02-16T08:20:30.077Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-20620","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-20620","licence":"Public domain","modified":"2026-06-17T04:24:42.260Z"}],"updatedAt":"2026-11-25T22:58:09.222Z","epss":{"score":0.00773,"percentile":0.5692,"date":"2026-12-01T12:00:22.000Z"}}