{"id":"GHSA-p6qc-37hq-wqr6","summary":"Remote code execution vulnerability in Jenkins Templating Engine Plugin","details":"Jenkins Templating Engine Plugin 2.1 and earlier does not protect its pipeline configurations using Script Security Plugin.\n\nThis vulnerability allows attackers with Job/Configure permission to execute arbitrary code in the context of the Jenkins controller JVM.\n\nJenkins Templating Engine Plugin 2.2 integrates with Script Security Plugin to protect its pipeline configurations.","aliases":["CVE-2021-21646"],"modified":"2024-01-02T05:50:12.465746Z","published":"2022-05-24T17:48:06Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-12-13T19:28:15Z","nvd_published_at":"2021-04-21T15:15:00Z","cwe_ids":["CWE-693"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21646"},{"type":"WEB","url":"https://github.com/jenkinsci/templating-engine-plugin/commit/aed14bed7333329f51330d0a8111e4d94cdee3e6"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/templating-engine-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2021-04-21/#SECURITY-2311"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2021/04/21/2"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:templating-engine","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/templating-engine"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2"}]}],"versions":["1.0","1.1","1.1.1","1.2","1.3","1.4","1.4.1","1.4.2","1.5","1.5.1","1.5.2","1.6","1.7","1.7.1","2.0","2.0-alpha","2.0-alpha2","2.0.1","2.0.2","2.0.3","2.0.4","2.1"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.1","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-p6qc-37hq-wqr6/GHSA-p6qc-37hq-wqr6.json"}}],"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:H/A:H"}]}