{"api_version":"1","generated_at":"2026-04-23T05:14:00+00:00","cve":"CVE-2019-3782","urls":{"html":"https://cve.report/CVE-2019-3782","api":"https://cve.report/api/cve/CVE-2019-3782.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-3782","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-3782"},"summary":{"title":"CVE-2019-3782","description":"Cloud Foundry CredHub CLI, versions prior to 2.2.1, inadvertently writes authentication credentials provided via environment variables to its persistent config file. A local authenticated malicious user with access to the CredHub CLI config file can use these credentials to retrieve and modify credentials stored in CredHub that are authorized to the targeted user.","state":"PUBLIC","assigner":"security_alert@emc.com","published_at":"2019-02-13 16:29:00","updated_at":"2020-10-19 17:49:00"},"problem_types":["CWE-522"],"metrics":[],"references":[{"url":"https://www.cloudfoundry.org/blog/cve-2019-3782","name":"https://www.cloudfoundry.org/blog/cve-2019-3782","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"CVE-2019-3782: CredHub CLI writes environment variable credentials to disk | Cloud Foundry","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/107038","name":"107038","refsource":"BID","tags":["Third Party Advisory","VDB Entry"],"title":"Cloud Foundry CredHub CLI CVE-2019-3782 Arbitrary File Write Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-3782","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3782","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"3782","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cloudfoundry","cpe5":"credhub_cli","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"3782","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cloudfoundry","cpe5":"credhub_cli","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security_alert@emc.com","DATE_PUBLIC":"2019-02-11T22:39:09.000Z","ID":"CVE-2019-3782","STATE":"PUBLIC","TITLE":"CredHub CLI writes environment variable credentials to disk"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"CredHub CLI","version":{"version_data":[{"affected":"<","version_name":"All","version_value":"2.2.1"}]}}]},"vendor_name":"Cloud Foundry"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Cloud Foundry CredHub CLI, versions prior to 2.2.1, inadvertently writes authentication credentials provided via environment variables to its persistent config file. A local authenticated malicious user with access to the CredHub CLI config file can use these credentials to retrieve and modify credentials stored in CredHub that are authorized to the targeted user."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L","version":"3.0"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-522: Insufficiently Protected Credentials"}]}]},"references":{"reference_data":[{"name":"https://www.cloudfoundry.org/blog/cve-2019-3782","refsource":"CONFIRM","url":"https://www.cloudfoundry.org/blog/cve-2019-3782"},{"name":"107038","refsource":"BID","url":"http://www.securityfocus.com/bid/107038"}]},"source":{"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2019-02-13 16:29:00","lastModifiedDate":"2020-10-19 17:49:00","problem_types":["CWE-522"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":2.1},"severity":"LOW","exploitabilityScore":3.9,"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:cloudfoundry:credhub_cli:*:*:*:*:*:*:*:*","versionEndExcluding":"2.2.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"3782","Ordinal":"141391","Title":"CVE-2019-3782","CVE":"CVE-2019-3782","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"3782","Ordinal":"1","NoteData":"Cloud Foundry CredHub CLI, versions prior to 2.2.1, inadvertently writes authentication credentials provided via environment variables to its persistent config file. A local authenticated malicious user with access to the CredHub CLI config file can use these credentials to retrieve and modify credentials stored in CredHub that are authorized to the targeted user.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"3782","Ordinal":"2","NoteData":"2019-02-13","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"3782","Ordinal":"3","NoteData":"2019-02-16","Type":"Other","Title":"Modified"}]}}}