~ / search / GHSA-hr74-2j5v-ghfv

GHSA-hr74-2j5v-ghfv

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

Source: GitHub Advisory Database (reviewed) Moderate CVE-2018-1000142

Packages

EcosystemPackageAffectedFixed in
Maven org.jenkins-ci.plugins:ghprb < 1.40.0 1.40.0

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.