jenkinsci/code-coverage-api-plugin · Security

XXE vulnerability in Jenkins Code Coverage API Plugin

GHSA ID
GHSA-cmgm-q8hf-p7jc
CVE ID
CVE-2020-2172
Severity
high
Published
Updated
CVSS
7.1 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
CVSS v3
7.1 · CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N

Description

Code Coverage API Plugin 1.1.4 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks. This allows a user able to control the input files for the "Publish Coverage Report" post-build step to have Jenkins parse a crafted file that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery.

Code Coverage API Plugin 1.1.5 disables external entity resolution for its XML parser.

CWEs

References