jenkinsci/ghprb-plugin · Security

Jenkins GitHub Pull Request Builder Plugin allows attacker with local file system access to obtain GitHub credentials

GHSA ID
GHSA-hr74-2j5v-ghfv
CVE ID
CVE-2018-1000142
Severity
medium
Published
Updated
CVSS
4 · CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v3
4 · CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Description

An exposure of sensitive information vulnerability exists in Jenkins GitHub Pull Request Builder Plugin version 1.39.0 and older in GhprbCause.java that allows an attacker with local file system access to obtain GitHub credentials. Since 1.40.0, the plugin no longer stores serialized objects containing the credential on disk. Builds started before the plugin was updated to 1.40.0 will retain the encoded credentials on disk. We strongly recommend revoking old GitHub credentials used in Jenkins. We’re providing a script for use in the Script Console that will attempt to remove old stored credentials from build.xml files.

CWEs

References