Skip to content

CVE-2016-10526 grunt-gh-pages before 0.10.0 may allow unencrypted GitHub credentials to be written to a log file

HighCVSS 8.6 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known

Description

A common setup to deploy to gh-pages on every commit via a CI system is to expose a github token to ENV and to use it directly in the auth part of the url. In module versions < 0.9.1 the auth portion of the url is outputted as part of the grunt tasks logging function. If this output is publicly available then the credentials should be considered compromised.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
grunt-gh-pages project grunt-gh-pages < 0.9.1 0.9.1 Fixed
npm grunt-gh-pages(npm) < 0.10.0; <= 0.9.1 0.10.0 Fixed
HackerOne grunt-gh-pages node module = <=0.9.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm grunt-gh-pages(npm) <= 0.9.1 No fix listed
grunt-gh-pages project grunt-gh-pages < 0.9.1 0.9.1
HackerOne grunt-gh-pages node module = <=0.9.1 No fix listed
npm grunt-gh-pages(npm) < 0.10.0 0.10.0

References