CVE-2021-21361
MEDIUM 6.5CVSS 3.1Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin
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.
- Published
- 9 Mar 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-532
- Also known as
- GHSA-jpcm-4485-69p7
- Sources
- NVDJSONOSV GHSA-jpcm-4485-69p7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.3 | AV:A/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | vagrant_project | vagrantcpe:2.3:a:vagrant_project:vagrant:*:*:*:*:*:gradle:*:* |
< 0.6 | 0.6 |
| NVD | vagrant_project | vagrantcpe:2.3:a:vagrant_project:vagrant:*:*:*:*:*:gradle:*:* |
>= 2.0, < 3.0.0 | 3.0.0 |
| OSV | Maven | com.bmuschko:gradle-vagrant-plugin | >= 0.6, < 3.0.0 | 3.0.0 |
References
- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7 · Exploit, Third Party Advisory, WEB
- https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44 · Exploit, Third Party Advisory, WEB
- https://github.com/bmuschko/gradle-vagrant-plugin/issues/19 · Patch, Third Party Advisory, WEB
- https://github.com/bmuschko/gradle-vagrant-plugin/pull/20 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-21361 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 9 Mar 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Mar 2021)