Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-21361
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:32 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-21361
Complete source record
{
"id": "0a0cd254a6f54d71bc8c668ff24a12290b79b8328e3bf476a64cbb22286d18fd",
"url": "https://osv.dev/vulnerability/CVE-2021-21361",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-21361",
"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.",
"evidence": "osv:CVE-2021-21361",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-21361",
"aliases": [
"CVE-2021-21361",
"GHSA-jpcm-4485-69p7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/bmuschko/gradle-vagrant-plugin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "bffc006a4f40c5f6493e672229b37de5f8dad2fd"
},
{
"introduced": "3ce33392290ece87df2ebe74d3c153ca3e17d46f"
},
{
"fixed": "6644158433dbdba3167e239a49cd5db927f7eaa9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:vagrant_project:vagrant:*:*:*:*:*:gradle:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:vagrant_project:vagrant:*:*:*:*:*:gradle:*:*",
"range": [
{
"introduced": "2.0"
},
{
"fixed": "3.0.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.2",
"v2.0",
"v0.5",
"v0.4",
"v0.3",
"v0.2",
"v0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21361.json"
}
}
],
"modified": "2026-10-20T10:54:28.731585355Z",
"provider": "osv",
"references": [
"https://github.com/bmuschko/gradle-vagrant-plugin/issues/19",
"https://github.com/bmuschko/gradle-vagrant-plugin/pull/20",
"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7",
"https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-21361",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385432,
"published_at": "2021-03-09T01:15:13.23+00:00"
}