SCMs support a number of different URL schemes, including local file system paths (e.g. using file: URLs).
Historically in Jenkins, only agents checked out from SCM, and if multiple projects share the same agent, there is no expected isolation between builds besides using different workspaces unless overridden. Some Pipeline-related features check out SCMs from the Jenkins controller as well.
This allows attackers able to configure pipelines to check out some SCM repositories stored on the Jenkins controller’s file system using local paths as SCM URLs, obtaining limited information about other projects' SCM contents
{ "nvd_published_at": "2022-05-17T15:15:00Z", "github_reviewed_at": "2022-06-02T15:52:02Z", "severity": "LOW", "github_reviewed": true, "cwe_ids": [ "CWE-22" ] }