{"id":"CVE-2021-21361","aliases":["CVE-2021-21361","GHSA-jpcm-4485-69p7"],"related":[],"kind":"vulnerability","state":"published","title":"Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin","summary":"The `com.bmuschko:gradle-vagrant-plugin` Gradle plugin contains an information disclosure vulnerability due to the logging of the system environment variables. When this Gradle plugin is executed in public CI/CD, this can lead to sensitive credentials being exposed to malicious actors. This is fixed in version 3.0.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The `com.bmuschko:gradle-vagrant-plugin` Gradle plugin contains an information disclosure vulnerability due to the logging of the system environment variables. When this Gradle plugin is executed in public CI/CD, this can lead to sensitive credentials being exposed to malicious actors. This is fixed in version 3.0.0.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe `com.bmuschko:gradle-vagrant-plugin` Gradle plugin contains an information disclosure vulnerability due to the logging of the system environment variables.\n\nWhen this Gradle plugin is executed in public CI/CD, this can lead to sensitive credentials being exposed to malicious actors.\n\n### Patches\nFixed in version 3.0.0\n\n### References\n\n - https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44\n - https://github.com/bmuschko/gradle-vagrant-plugin/issues/19\n - https://github.com/bmuschko/gradle-vagrant-plugin/pull/20\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [bmuschko/gradle-vagrant-plugin](https://github.com/bmuschko/gradle-vagrant-plugin)","format":"markdown","source":"ghsa"},{"lang":"es","text":"El plugin de Gradle \"com.bmuschko: gradle-vagrant-plugin\" contiene una vulnerabilidad de divulgación de información debido al registro de las variables de entorno del sistema.&#xa0;Cuando este plugin de Gradle se ejecuta en CI/CD público, esto puede conllevar a que las credenciales confidenciales se expongan a actores maliciosos.&#xa0;Esto se corrige en la versión 3.0.0","source":"nvd"}],"published":"2021-03-09T00:38:41.000Z","modified":"2026-07-08T06:29:45.012Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":7.4,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:A/AC:L/Au:N/C:P/I:N/A:N","score":3.3,"rating":"LOW"}],"cwes":["CWE-532"],"affected":[{"ranges":[{"version":"< 3.0.0","status":"affected"}],"vendor":"JLLeitschuh","product":"security-research","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0.6","status":"affected","fixed":"3.0.0"}],"ecosystem":"Maven","package":"com.bmuschko:gradle-vagrant-plugin","purl":"pkg:maven/com.bmuschko/gradle-vagrant-plugin","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.6"},{"status":"affected","introduced":"2.0","fixed":"3.0.0"}],"vendor":"vagrant_project","product":"vagrant","cpe":"cpe:2.3:a:vagrant_project:vagrant:*:*:*:*:*:gradle:*:*","source":"nvd"}],"references":[{"url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7","tags":["exploit","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bmuschko/gradle-vagrant-plugin/issues/19","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bmuschko/gradle-vagrant-plugin/pull/20","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21361","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-21361","url":"https://www.cve.org/CVERecord?id=CVE-2021-21361","licence":"CVE Terms of Use","modified":"2024-08-03T18:09:15.934Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jpcm-4485-69p7","url":"https://github.com/advisories/GHSA-jpcm-4485-69p7","licence":"CC-BY-4.0","modified":"2026-07-08T06:29:45.012Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-21361","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21361","licence":"Public domain","modified":"2026-06-17T03:35:23.387Z"}],"updatedAt":"2026-11-25T22:58:00.181Z","epss":{"score":0.01176,"percentile":0.68448,"date":"2026-12-01T12:00:22.000Z"}}