GHSA-hj32-9mcw-5cwh

Suggest an improvement
Source
https://github.com/advisories/GHSA-hj32-9mcw-5cwh
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-hj32-9mcw-5cwh/GHSA-hj32-9mcw-5cwh.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hj32-9mcw-5cwh
Aliases
  • CVE-2020-2197
Published
2022-05-24T17:19:05Z
Modified
2024-02-16T08:18:20.364432Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Missing permission check in Jenkins Project Inheritance Plugin
Details

Jenkins limits access to job configuration XML data (config.xml) to users with Job/ExtendedRead permission, typically implied by Job/Configure permission. Project Inheritance Plugin has several job inspection features, including the API URL /job/…​/getConfigAsXML for its Inheritance Project job type that does something similar.

Project Inheritance Plugin 21.04.03 and earlier does not check permissions for this new endpoint, granting access to job configuration XML data to every user with Job/Read permission.

Additionally, the encrypted values of secrets stored in the job configuration are not redacted, as they would be by the config.xml API for users without Job/Configure permission.

Database specific
{
    "nvd_published_at": "2020-06-03T13:15:00Z",
    "cwe_ids": [
        "CWE-285"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2022-12-21T17:47:08Z"
}
References

Affected packages

Maven / hudson.plugins:project-inheritance

Package

Name
hudson.plugins:project-inheritance
View open source insights on deps.dev
Purl
pkg:maven/hudson.plugins/project-inheritance

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
21.04.03

Affected versions

1.*

1.4.8
1.4.9
1.4.10
1.4.11.1
1.4.12
1.5.0
1.5.1
1.5.3

2.*

2.0.0

19.*

19.08.01
19.08.02

21.*

21.04.02
21.04.03