CVE-2021-21361 json
Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin
published 5y ago modified 4mo ago also GHSA-jpcm-4485-69p7 , EUVD-2021-0678
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
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.
Patch / fix
- maven com.bmuschko:gradle-vagrant-plugin 3.0.0
- vagrant_project vagrant 0.6, 3.0.0
Is CVE-2021-21361 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 3.3 | AV:A/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.1 | 7.4 | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.bmuschko:gradle-vagrant-plugin | >=0.6, <3.0.0 |
3.0.0 |
Affected products
- JLLeitschuh security-research
Classification
- Weakness
-
- CWE-532 Insertion of Sensitive Information into Log File
References
-
github.com
/bmuschko/gradle-vagrant-plugin/pull/20
web, patch, third-party-advisory
-
github.com
/bmuschko/gradle-vagrant-plugin/issues/19
web, patch, third-party-advisory
-
github.com
/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7
web, exploit, third-party-advisory
-
github.com
/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gra
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-21361
advisory
Sources
- CVE List CVE-2021-21361
- GitHub Advisory GHSA-jpcm-4485-69p7
- NVD CVE-2021-21361
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.