GitHub Advisoryadvisory · Maven

GHSA-hr74-2j5v-ghfv Jenkins GitHub Pull Request Builder Plugin allows attacker with local file system access to obtain GitHub credentials

MEDIUM Published 2022-05-14 Modified 2022-12-12 Official page ↗
Aliases
CVE-2018-1000142
Ecosystem
Maven
Packages
org.jenkins-ci.plugins:ghprb
Severity
Moderate
CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-200
Reviewed
2022-12-12

Affected packages

• Maven org.jenkins-ci.plugins:ghprb: < 1.40.0 → fixed in 1.40.0

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.

Related

Alias · CVE (1)

  • CVE-2018-1000142 An exposure of sensitive information vulnerability exists in Jenkins GitHub Pull Request Builder Plugin version 1.39.0 and older in… vulnerability

Weakness · CWE (1)

  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor weakness

References