{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "npm", "product": "grunt-gh-pages", "versions": [{"status": "affected", "version": "0", "lessThan": "0.10.0", "versionType": "semver"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/tschaub/grunt-gh-pages"}, {"url": "https://github.com/tschaub/grunt-gh-pages/commit/2d277e3e969ccd4c2d493f3795400fa77e6b6342"}, {"url": "https://github.com/tschaub/grunt-gh-pages/pull/41"}, {"url": "https://github.com/tschaub/grunt-gh-pages/pull/41/commits/590f69767203d8c379fe18cded93bd5ad6cb53cb"}, {"url": "https://nvd.nist.gov/vuln/detail/CVE-2016-10526"}, {"url": "https://www.npmjs.com/advisories/85"}], "descriptions": [{"lang": "en", "value": "Versions of `grunt-gh-pages` prior to 0.10.0 are affected by a vulnerability which may cause unencrypted GitHub credentials to be written to a log file in certain circumstances.\n\nIn the `grunt-gh-pages` deployment scenario where authentication is performed by injecting a GitHub token directly into the auth portion of the URL, `grunt-gh-pages` will write the token to a log file, unencrypted.\n\n\n## Recommendation\n\nUpdate to version 0.10.0 or later."}, {"lang": "en", "value": "grunt-gh-pages before 0.10.0 may allow unencrypted GitHub credentials to be written to a log file"}], "providerMetadata": {"orgId": "386269d4-a6c6-4eaa-bf8e-bc0b0d010558", "shortName": "npm", "dateUpdated": "2019-02-18T23:39:11Z", "x_subShortName": "npm"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}}, {"format": "CVSS", "cvssV3_0": {"scope": "CHANGED", "version": "3.0", "baseScore": 8.6, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}}], "affected": [{"cpes": ["cpe:2.3:a:grunt-gh-pages_project:grunt-gh-pages:*:*:*:*:*:node.js:*:*"], "vendor": "grunt-gh-pages_project", "product": "grunt-gh-pages", "versions": [{"status": "affected", "version": "0", "lessThan": "0.9.1", "versionType": "custom"}], "platforms": ["node.js"], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/tschaub/grunt-gh-pages/pull/41", "tags": ["third-party-advisory"]}, {"url": "https://nodesecurity.io/advisories/85", "tags": ["third-party-advisory"]}], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "Una configuración habitual para desplegar en gh-pages en cada commit mediante un sistema CI es exponer un token github a ENV y emplearlo directamente en la parte auth de la URL. En module, en versiones anteriores a la 0.9.1, la porción auth de la URL sale como parte de la función de inicio de sesión grunt tasks. Si esta salida está disponible de forma pública, las credenciales deberían considerarse comprometidas."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-255", "description": "CWE-255"}, {"lang": "en", "cweId": "CWE-391", "description": "CWE-391"}, {"lang": "en", "cweId": "CWE-532", "description": "CWE-532"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2018-05-31T20:29:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2016-10526", "state": "PUBLISHED", "dateUpdated": "2024-11-21T02:44:12Z", "assignerOrgId": "36234546-b8fa-4601-9d6f-f4e334aa8ea1", "datePublished": "2018-05-31T20:29:00Z", "assignerShortName": "hackerone"}, "dataVersion": "5.0"}