Skip to content
OpenAdvisories
Medium CVE-2016-10526 EUVD-2019-0342GHSA-rrj3-qmh8-72pf

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

Published May 31, 2018 · Updated Sep 16, 2024 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
HackerOne grunt-gh-pages node module <=0.9.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm grunt-gh-pages < 0.10.0 0.10.0 GHSA-rrj3-qmh8-72pf

References