# CVE-2021-21361: Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.18%, higher than 68% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-03-09T00:38:41.000Z
- Modified: 2026-07-08T06:29:45.012Z
- Also known as: GHSA-jpcm-4485-69p7
- Weaknesses: CWE-532
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- JLLeitschuh security-research: < 3.0.0
- com.bmuschko:gradle-vagrant-plugin (Maven): from 0.6 before 3.0.0
- vagrant_project vagrant: before 0.6; from 2.0 before 3.0.0

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.4 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 3.3 Low `AV:A/AC:L/Au:N/C:P/I:N/A:N`

## 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)

## Sources

- CVE List: [CVE-2021-21361](https://www.cve.org/CVERecord?id=CVE-2021-21361), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-jpcm-4485-69p7](https://github.com/advisories/GHSA-jpcm-4485-69p7), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-21361](https://nvd.nist.gov/vuln/detail/CVE-2021-21361), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21361 · Whole record: https://cve.day/CVE-2021-21361.json · Rebuilt by cve.day 2026-11-25T22:58:00.181Z
