CVE-2021-21361: Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin
7.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.31657%
CWE
Published
3/9/2021
Updated
2/1/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
com.bmuschko:gradle-vagrant-plugin | maven | >= 0.6, < 3.0.0 | 3.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems directly from the printCommandLineArgs
method logging environment variables. The patch (ef9b8bf/d14d2bb) explicitly removes the envp parameter and environment variable logging from this method. As this was the only location where environment variables were logged, and the CVE description specifically references this logging as the vulnerability source, this function
is the definitive runtime indicator. The method would appear in profilers when Vagrant
commands are executed with environment variables, before the logging was removed in version 3.0.0
.