CVE-2019-3782
CredHub CLI writes environment variable credentials to disk
Reported by dell · Published February 13, 2019
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| CredHub CLI | Cloud Foundry | 2.2.1 |
| credhub_cli | cloudfoundry | 2.2.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Cloud Foundry | CredHub CLI | All |
| Cloud Foundry | CredHub CLI | * |
Timeline
- Feb 13, 2019 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Apr 7, 2026 Security Advisory
- Sep 10, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2019-3782
vulnetix vdb fixes CVE-2019-3782
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-3782/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- 107038 vdb-entryx_refsource_BID