{"id":"CVE-2022-45379","aliases":["CVE-2022-45379","GHSA-fv42-mx39-6fpw"],"related":[],"kind":"vulnerability","state":"published","title":"Whole-script approval in Jenkins Script Security Plugin vulnerable to SHA-1 collisions","summary":"Jenkins Script Security Plugin 1189.vb_a_b_7c8fd5fde and earlier stores whole-script approvals as the SHA-1 hash of the script, making it vulnerable to collision attacks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Jenkins Script Security Plugin 1189.vb_a_b_7c8fd5fde and earlier stores whole-script approvals as the SHA-1 hash of the script, making it vulnerable to collision attacks.","source":"cvelist"},{"lang":"en","text":"Script Security Plugin 1189.vb_a_b_7c8fd5fde and earlier stores whole-script approvals as the [SHA-1 hash](https://en.wikipedia.org/wiki/SHA-1) of the approved script. SHA-1 no longer meets the security standards for producing a cryptographically secure message digest.\n\nScript Security Plugin 1190.v65867a_a_47126 uses SHA-512 for new whole-script approvals. Previously approved scripts will have their SHA-1 based whole-script approval replaced with a corresponding SHA-512 whole-script approval when the script is next used.\n\nWhole-script approval only stores the SHA-1 or SHA-512 hash, so it is not possible to migrate all previously approved scripts automatically on startup.\n\nAdministrators concerned about SHA-1 collision attacks on the whole-script approval feature are able to revoke all previous (SHA-1) script approvals on the In-Process Script Approval page.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Jenkins Script Security Plugin 1189.vb_a_b_7c8fd5fde y versiones anteriores almacena las aprobaciones de scripts completos como el hash SHA-1 del script, lo que lo hace vulnerable a ataques de colisión.","source":"nvd"}],"published":"2022-11-15T00:00:00.000Z","modified":"2026-06-17T05:09:55.200Z","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:R/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"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"}],"cwes":["CWE-326","CWE-328"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"1189.vb_a_b_7c8fd5fde","status":"affected"},{"version":"1175.1179.vea_f7532629e1","status":"unaffected"}],"vendor":"Jenkins project","product":"Jenkins Script Security Plugin","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1190.v65867a_a_47126"}],"ecosystem":"Maven","package":"org.jenkins-ci.plugins:script-security","purl":"pkg:maven/org.jenkins-ci.plugins/script-security","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1190.v65867a_a_47126"}],"vendor":"jenkins","product":"script_security","cpe":"cpe:2.3:a:jenkins:script_security:*:*:*:*:*:jenkins:*:*","source":"nvd"}],"references":[{"url":"https://www.jenkins.io/security/advisory/2022-11-15/#SECURITY-2564","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/11/15/4","tags":["mailing-list","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45379","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/script-security-plugin/commit/65867aa471265a16198b92fb439782ba3554da66","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/jenkinsci/script-security-plugin","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"jenkins","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-45379","url":"https://www.cve.org/CVERecord?id=CVE-2022-45379","licence":"CVE Terms of Use","modified":"2024-08-03T14:09:57.037Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fv42-mx39-6fpw","url":"https://github.com/advisories/GHSA-fv42-mx39-6fpw","licence":"CC-BY-4.0","modified":"2024-02-16T08:19:50.868Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-45379","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-45379","licence":"Public domain","modified":"2026-06-17T05:09:55.200Z"}],"updatedAt":"2026-11-25T22:58:16.509Z","epss":{"score":0.00571,"percentile":0.41137,"date":"2026-11-30T12:00:22.000Z"}}