{"id":"CVE-2022-34181","aliases":["GHSA-298j-9q4w-6rm4"],"summary":"Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing a...","published_at":"2022-06-22T14:41:08Z","modified_at":"2024-08-03T08:16:17.22Z","products":[{"slug":"jenkins","name":"Jenkins (inkl. Plugins)","category":"gitops-cicd"}],"rating":{"severity":"medium","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.013650000095367432,"percentile":0.7240899801254272,"date":"2026-11-19T00:00:00Z"},"priority":8.5,"details":"Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing attackers able to control agent processes to create an arbitrary directory on the Jenkins controller or to obtain test results from existing files in an attacker-specified directory.","affected_stack":[{"ecosystem":"CVE","package":"Jenkins project/Jenkins xUnit Plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.8"}]}],"provider":"cvelistv5","source":"CVE-2022-34181","relation":"self"},{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:xunit","purl":"pkg:maven/org.jenkins-ci.plugins/xunit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0"}]}],"versions":["1.100","1.101","1.102","1.103","1.104","1.22","1.23","1.24","1.25","1.26","1.26.1","1.27","1.28","1.29","1.30","1.31","1.32","1.33","1.34","1.35","1.36","1.37","1.38","1.39","1.40","1.41","1.42","1.43","1.44","1.45","1.46","1.47","1.48","1.49","1.50","1.51","1.52","1.53","1.54","1.55","1.56","1.57","1.58","1.59","1.60","1.61","1.62","1.63","1.64","1.65","1.66","1.67","1.68","1.69","1.70","1.71","1.72","1.73","1.74","1.75","1.76","1.77","1.78","1.79","1.80","1.81","1.82","1.83","1.84","1.88","1.89","1.90","1.91","1.92","1.93","1.94","1.95","1.96","1.97","1.98","1.99","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8"],"fixed":["3.1.0"],"provider":"osv","source":"GHSA-298j-9q4w-6rm4","relation":"self"}],"affected_other":[{"ecosystem":"NVD","package":"jenkins:xunit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.8"}]}],"provider":"nvd","source":"CVE-2022-34181","relation":"self"}],"product_status":[],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0445","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0445","license":"TLP:CLEAR, mirroring permitted","published_at":"2022-06-22T22:00:00Z","modified_at":"2023-02-22T23:00:00Z","summary":"Jenkins: Mehrere Schwachstellen","details":"Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Jenkins ausnutzen, um Sicherheitsmaßnahmen zu umgehen, beliebigen Code auszuführen, einen Cross-Site-Scripting-Angriff durchzuführen und Daten zu manipulieren. Die erfolgreiche Ausnutzung einiger dieser Schwachstellen erfordert eine Benutzerinteraktion.\n\nJenkins ist ein erweiterbarer, webbasierter Integration Server zur kontinuierlichen Unterstützung bei Softwareentwicklungen aller Art.","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2022-0445"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-0445.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0445"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:0777"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:0697"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:0698"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2023:0017"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:9110"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:9111"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-06-22/"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2022:6531"}]},{"provider":"cvelistv5","source_id":"CVE-2022-34181","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2022-34181","license":"CC-BY-4.0","published_at":"2022-06-22T14:41:08Z","modified_at":"2024-08-03T08:16:17.22Z","summary":"Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing a...","details":"Jenkins xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn't exist, and parsing files inside it as test results, allowing attackers able to control agent processes to create an arbitrary directory on the Jenkins controller or to obtain test results from existing files in an attacker-specified directory.","severity":[],"affected":[{"ecosystem":"CVE","package":"Jenkins project/Jenkins xUnit Plugin","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.8"}]}],"provider":"cvelistv5","source":"CVE-2022-34181","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2549"}]},{"provider":"nvd","source_id":"CVE-2022-34181","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34181","severity":[],"affected":[{"ecosystem":"NVD","package":"jenkins:xunit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.0.8"}]}],"provider":"nvd","source":"CVE-2022-34181","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-298j-9q4w-6rm4","relation":"self","url":"https://osv.dev/vulnerability/GHSA-298j-9q4w-6rm4","license":"CC-BY-4.0","published_at":"2022-06-24T00:00:31Z","modified_at":"2023-11-08T04:09:42.740099Z","summary":"Agent-to-controller security bypass in Jenkins xUnit Plugin","details":"xUnit Plugin 3.0.8 and earlier implements an agent-to-controller message that creates a user-specified directory if it doesn’t exist, and parsing files inside it as test results.\n\nThis allows attackers able to control agent processes to create an arbitrary directory on the Jenkins controller or to obtain test results from existing files in an attacker-specified directory.\n\nxUnit Plugin 3.1.0 changes the message type from agent-to-controller to controller-to-agent, preventing execution on the controller.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","source":"GHSA-298j-9q4w-6rm4"}],"affected":[{"ecosystem":"Maven","package":"org.jenkins-ci.plugins:xunit","purl":"pkg:maven/org.jenkins-ci.plugins/xunit","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0"}]}],"versions":["1.100","1.101","1.102","1.103","1.104","1.22","1.23","1.24","1.25","1.26","1.26.1","1.27","1.28","1.29","1.30","1.31","1.32","1.33","1.34","1.35","1.36","1.37","1.38","1.39","1.40","1.41","1.42","1.43","1.44","1.45","1.46","1.47","1.48","1.49","1.50","1.51","1.52","1.53","1.54","1.55","1.56","1.57","1.58","1.59","1.60","1.61","1.62","1.63","1.64","1.65","1.66","1.67","1.68","1.69","1.70","1.71","1.72","1.73","1.74","1.75","1.76","1.77","1.78","1.79","1.80","1.81","1.82","1.83","1.84","1.88","1.89","1.90","1.91","1.92","1.93","1.94","1.95","1.96","1.97","1.98","1.99","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1.0","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.9","2.4.0","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8"],"fixed":["3.1.0"],"provider":"osv","source":"GHSA-298j-9q4w-6rm4","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34181"},{"type":"WEB","url":"https://github.com/jenkinsci/xunit-plugin/commit/6976b5da114845a7936ea36d5783a65cd91f9897"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/xunit-plugin"},{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2549"}]}],"references":[{"type":"WEB","url":"https://www.jenkins.io/security/advisory/2022-06-22/#SECURITY-2549"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34181"},{"type":"WEB","url":"https://github.com/jenkinsci/xunit-plugin/commit/6976b5da114845a7936ea36d5783a65cd91f9897"},{"type":"PACKAGE","url":"https://github.com/jenkinsci/xunit-plugin"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2022-0445","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2022-0445","license":"TLP:CLEAR, mirroring permitted","modified_at":"2023-02-22T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2022-34181","url":"https://www.cve.org/CVERecord?id=CVE-2022-34181","license":"CC-BY-4.0","modified_at":"2024-08-03T08:16:17.22Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2022-34181","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-34181","relation":"self"},{"provider":"osv","source_id":"GHSA-298j-9q4w-6rm4","url":"https://osv.dev/vulnerability/GHSA-298j-9q4w-6rm4","license":"CC-BY-4.0","modified_at":"2023-11-08T04:09:42.740099Z","relation":"self"}]}
