{"id":"GHSA-jrqh-c9v8-ccx9","summary":"Path traversal in Jenkins build-publisher Plugin","details":"Jenkins Build-Publisher Plugin 1.22 and earlier allows attackers with Item/Configure permission to create or replace any `config.xml` file on the Jenkins controller file system by providing a crafted file name to an API endpoint. Additionally, this endpoint does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability that allows attackers to replace any `config.xml` file on the Jenkins controller file system with an empty file.\n\nThere is currently no known workaround or fix, and this plugin has been suspended.","aliases":["CVE-2022-41231"],"modified":"2023-11-08T04:10:27.829404Z","published":"2022-09-22T00:00:28Z","database_specific":{"nvd_published_at":"2022-09-21T16:15:00Z","cwe_ids":["CWE-22"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2022-12-06T14:28:30Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-41231"},{"type":"WEB","url":"https://github.com/jenkins-infra/update-center2/pull/644"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-09-21/#SECURITY-2139"}],"affected":[{"package":{"name":"org.jenkins-ci.plugins:build-publisher","ecosystem":"Maven","purl":"pkg:maven/org.jenkins-ci.plugins/build-publisher"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.22"}]}],"versions":["1.11","1.12","1.13","1.14","1.15","1.16","1.17","1.18","1.19","1.20","1.21","1.22"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-jrqh-c9v8-ccx9/GHSA-jrqh-c9v8-ccx9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N"}]}