CVE-2019-10436 Improper Limitation of a Pathname to a Restricted Directory in Jenkins Google OAuth Credentials Plugin

Medium 6.5 Published Updated

Attackers with job configuration privileges can read arbitrary files on the Jenkins master via the Google OAuth Credentials Plugin.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2019-10436?

CVE-2019-10436 is a medium-severity path traversal vulnerability in Jenkins Google OAuth Credentials Plugin, published on 16 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An arbitrary file read vulnerability in Jenkins Google OAuth Credentials Plugin 0.9 and earlier allowed attackers able to configure jobs and credentials in Jenkins to obtain the contents of any file on the Jenkins master.

Which versions are affected by CVE-2019-10436?

2 open source packages ship an affected version, including org.jenkins-ci.plugins:google-oauth-plugin. It affects 1 product.

PackageAffectedFixed in
org.jenkins-ci.plugins:google-oauth-plugin MavenAll versions0.10
org.jenkins-ci.plugins:google-oauth-plugin MavenAll versions0.10

Products include Jenkins Google Oauth Credentials.

How do I fix CVE-2019-10436?

Upgrade org.jenkins-ci.plugins:google-oauth-plugin to 0.10 or later.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2019-10436 being exploited?

There is no known exploitation of CVE-2019-10436 in the wild and no public exploit code.

Sources

Also known as GHSA-8qh4-fghr-6fxg.

Is CVE-2019-10436 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free