Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-4970

An issue was discovered in Cloud Foundry Foundation cf-release v255 and Staticfile buildpack versions v1.4.0 - v1.4.3. A regression introduced in the Static file build pack causes the Staticfile.auth configuration to be ignored when the Static file file is not present in the application root. Applications containing a Staticfile.auth file but not a Static file had their basic auth turned off when an operator upgraded the Static file build pack in the foundation to one of the vulnerable versions. Note that Static file applications without a Static file are technically misconfigured, and will not successfully detect unless the Static file build pack is explicitly specified.

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

Source evidence

CVE-2017-4970

core-osv · Original source

Published 13 Jun 2017, 06:29 UTC

An issue was discovered in Cloud Foundry Foundation cf-release v255 and Staticfile buildpack versions v1.4.0 - v1.4.3. A regression introduced in the Static file build pack causes the Staticfile.auth configuration to be ignored when the Static file file is not present in the application root. Applications containing a Staticfile.auth file but not a Static file had their basic auth turned off when an operator upgraded the Static file build pack in the foundation to one of the vulnerable versions. Note that Static file applications without a Static file are technically misconfigured, and will not successfully detect unless the Static file build pack is explicitly specified.

osv:CVE-2017-4970
Complete source record
{
  "id": "37c2241bb5a6b7f4c58a719681a9f22286d4b9511e5f9aed0b34aad3f3ba2c61",
  "url": "https://osv.dev/vulnerability/CVE-2017-4970",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-4970",
    "summary": "An issue was discovered in Cloud Foundry Foundation cf-release v255 and Staticfile buildpack versions v1.4.0 - v1.4.3. A regression introduced in the Static file build pack causes the Staticfile.auth configuration to be ignored when the Static file file is not present in the application root. Applications containing a Staticfile.auth file but not a Static file had their basic auth turned off when an operator upgraded the Static file build pack in the foundation to one of the vulnerable versions. Note that Static file applications without a Static file are technically misconfigured, and will not successfully detect unless the Static file build pack is explicitly specified.",
    "evidence": "osv:CVE-2017-4970",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-4970",
      "aliases": [
        "CVE-2017-4970"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/cloudfoundry-attic/cf-release",
              "type": "GIT",
              "events": [
                {
                  "introduced": "d5295bc2fb9e5d84254470c1fa5cd3ea10d80a05"
                },
                {
                  "last_affected": "d5295bc2fb9e5d84254470c1fa5cd3ea10d80a05"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cloudfoundry:cf-release:255:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "255"
                      },
                      {
                        "last_affected": "255"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "255",
            "v255"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-4970.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/cloudfoundry/staticfile-buildpack",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7b401f7a84a36b9180af87deec9e2aeb4f2ccd31"
                },
                {
                  "last_affected": "a62436383bd9f94d141a5e1cc448283595cce0ab"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cloudfoundry:staticfile_buildpack:1.4.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.0"
                      },
                      {
                        "last_affected": "1.4.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:cloudfoundry:staticfile_buildpack:1.4.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.1"
                      },
                      {
                        "last_affected": "1.4.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:cloudfoundry:staticfile_buildpack:1.4.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.4.2"
                      },
                      {
                        "last_affected": "1.4.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.0",
            "1.4.1",
            "1.4.2",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-4970.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:28.615248869Z",
      "provider": "osv",
      "references": [
        "https://www.cloudfoundry.org/cve-2017-4970/"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:a:cloudfoundry:staticfile_buildpack:1.4.3:*:*:*:*:*:*:*"
            ],
            "vendor_product": "cloudfoundry:staticfile_buildpack",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.4.3"
                  },
                  {
                    "last_affected": "1.4.3"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2017-4970",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432086,
  "published_at": "2017-06-13T06:29:00.567+00:00"
}