{"api_version":"1","generated_at":"2026-07-23T22:22:39+00:00","cve":"CVE-2021-21361","urls":{"html":"https://cve.report/CVE-2021-21361","api":"https://cve.report/api/cve/CVE-2021-21361.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-21361","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-21361"},"summary":{"title":"CVE-2021-21361","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-03-09 01:15:00","updated_at":"2021-03-16 18:57:00"},"problem_types":["CWE-532"],"metrics":[],"references":[{"url":"https://github.com/bmuschko/gradle-vagrant-plugin/issues/19","name":"https://github.com/bmuschko/gradle-vagrant-plugin/issues/19","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Potential  credentials leak when setting environmentVariables · Issue #19 · bmuschko/gradle-vagrant-plugin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44","name":"https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"gradle-vagrant-plugin/GDKExternalProcessExecutor.groovy at 292129f9343d00d391543fae06239e9b0f33db73 · bmuschko/gradle-vagrant-plugin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/bmuschko/gradle-vagrant-plugin/pull/20","name":"https://github.com/bmuschko/gradle-vagrant-plugin/pull/20","refsource":"MISC","tags":["Patch","Third Party Advisory"],"title":"Don't print environment by britter · Pull Request #20 · bmuschko/gradle-vagrant-plugin · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7","name":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7","refsource":"CONFIRM","tags":["Exploit","Third Party Advisory"],"title":"Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin · Advisory · JLLeitschuh/security-research · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-21361","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-21361","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"21361","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vagrant_project","cpe5":"vagrant","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"gradle","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-21361","qid":"982920","title":"Java (maven) Security Update for com.bmuschko:gradle-vagrant-plugin (GHSA-jpcm-4485-69p7)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21361","STATE":"PUBLIC","TITLE":"Sensitive information disclosure via log in com.bmuschko:gradle-vagrant-plugin"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"security-research","version":{"version_data":[{"version_value":"< 3.0.0"}]}}]},"vendor_name":"JLLeitschuh"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"PHYSICAL","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-532: Insertion of Sensitive Information into Log File"}]}]},"references":{"reference_data":[{"name":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7","refsource":"CONFIRM","url":"https://github.com/JLLeitschuh/security-research/security/advisories/GHSA-jpcm-4485-69p7"},{"name":"https://github.com/bmuschko/gradle-vagrant-plugin/issues/19","refsource":"MISC","url":"https://github.com/bmuschko/gradle-vagrant-plugin/issues/19"},{"name":"https://github.com/bmuschko/gradle-vagrant-plugin/pull/20","refsource":"MISC","url":"https://github.com/bmuschko/gradle-vagrant-plugin/pull/20"},{"name":"https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44","refsource":"MISC","url":"https://github.com/bmuschko/gradle-vagrant-plugin/blob/292129f9343d00d391543fae06239e9b0f33db73/src/main/groovy/com/bmuschko/gradle/vagrant/process/GDKExternalProcessExecutor.groovy#L42-L44"}]},"source":{"advisory":"GHSA-jpcm-4485-69p7","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-03-09 01:15:00","lastModifiedDate":"2021-03-16 18:57:00","problem_types":["CWE-532"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","attackVector":"ADJACENT_NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.8,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:A/AC:L/Au:N/C:P/I:N/A:N","accessVector":"ADJACENT_NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":3.3},"severity":"LOW","exploitabilityScore":6.5,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vagrant_project:vagrant:*:*:*:*:*:gradle:*:*","versionEndExcluding":"0.6","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vagrant_project:vagrant:*:*:*:*:*:gradle:*:*","versionStartIncluding":"2.0","versionEndExcluding":"3.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"21361","Ordinal":"195487","Title":"CVE-2021-21361","CVE":"CVE-2021-21361","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"21361","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"21361","Ordinal":"2","NoteData":"2021-03-08","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"21361","Ordinal":"3","NoteData":"2021-03-08","Type":"Other","Title":"Modified"}]}}}