GHSA-cmgm-q8hf-p7jc

Suggest an improvement
Source
https://github.com/advisories/GHSA-cmgm-q8hf-p7jc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-cmgm-q8hf-p7jc/GHSA-cmgm-q8hf-p7jc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cmgm-q8hf-p7jc
Aliases
Published
2022-05-24T17:13:39Z
Modified
2024-02-16T08:20:19.225300Z
Severity
  • 7.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N CVSS Calculator
Summary
XXE vulnerability in Jenkins Code Coverage API Plugin
Details

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.

Database specific
{
    "nvd_published_at": "2020-04-07T13:15:00Z",
    "cwe_ids": [
        "CWE-611",
        "CWE-776"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-20T14:35:40Z"
}
References

Affected packages

Maven / io.jenkins.plugins:code-coverage-api

Package

Name
io.jenkins.plugins:code-coverage-api
View open source insights on deps.dev
Purl
pkg:maven/io.jenkins.plugins/code-coverage-api

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.1.5

Affected versions

1.*

1.0.0-alpha-1
1.0.0-rc-1
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4