Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-3782

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-3782
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:05 UTC · Revision 1

Source evidence

CVE-2019-3782

core-osv · Original source

Published 13 Feb 2019, 16:29 UTC

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.

osv:CVE-2019-3782
Complete source record
{
  "id": "527266b788032177e4b5e1ae1a024ccd053d5247ed11bc933481d30eae697f42",
  "url": "https://osv.dev/vulnerability/CVE-2019-3782",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-3782",
    "summary": "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.",
    "evidence": "osv:CVE-2019-3782",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-3782",
      "aliases": [
        "CVE-2019-3782"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cloudfoundry/credhub-cli",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c165e469eaa892c155e9f6df623dd032ea640c2e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cloudfoundry:credhub_cli:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.2.0",
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "1.7.7",
            "1.7.6",
            "1.7.5",
            "1.7.4",
            "1.7.3",
            "1.7.1",
            "1.7.0",
            "1.6.0",
            "1.5.3",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.4.1",
            "1.4.0",
            "1.3.0",
            "1.2.0",
            "1.1.0",
            "1.0.0",
            "0.8.0",
            "0.7.0",
            "0.6.0",
            "0.5.1",
            "0.5.0",
            "0.4.0",
            "0.3.0",
            "0.2.0",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-3782.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:24.407917898Z",
      "provider": "osv",
      "references": [
        "https://www.cloudfoundry.org/blog/cve-2019-3782"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-3782",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 431146,
  "published_at": "2019-02-13T16:29:00.357+00:00"
}