Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-47049

The czim/file-handling package before 1.5.0 and 2.x before 2.3.0 (used with PHP Composer) does not properly validate URLs within makeFromUrl and makeFromAny, leading to SSRF, and to directory traversal for the reading of local files.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-47049
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:25 UTC · Revision 1

Source evidence

CVE-2024-47049

core-osv · Original source

Published 17 Sept 2024, 00:00 UTC

The czim/file-handling package before 1.5.0 and 2.x before 2.3.0 (used with PHP Composer) does not properly validate URLs within makeFromUrl and makeFromAny, leading to SSRF, and to directory traversal for the reading of local files.

osv:CVE-2024-47049
Complete source record
{
  "id": "d14a38638c2fc97ac7ae95db7d470e2623a564e1f477ee5ad952e8a01f526b5b",
  "url": "https://osv.dev/vulnerability/CVE-2024-47049",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-47049",
    "summary": "The czim/file-handling package before 1.5.0 and 2.x before 2.3.0 (used with PHP Composer) does not properly validate URLs within makeFromUrl and makeFromAny, leading to SSRF, and to directory traversal for the reading of local files.",
    "evidence": "osv:CVE-2024-47049",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-47049",
      "aliases": [
        "CVE-2024-47049",
        "GHSA-6rgh-r6j3-3223"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/czim/file-handling",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "95dfda850536bf35e684619598b9d02f4c97680d"
                },
                {
                  "introduced": "5618e634f3f4e4f12076dc099222b34ad9213277"
                },
                {
                  "fixed": "cdf9abeb721bbaff39683590698059cc8817bfcc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:czim:file-handling:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.5.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:czim:file-handling:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "2.3.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.0",
            "2.2.1",
            "1.3.2",
            "2.1.5",
            "2.1.4",
            "1.3.1",
            "2.1.3",
            "2.1.2",
            "2.1.1",
            "2.1.0",
            "2.0.3",
            "2.0.2",
            "2.0.1",
            "2.0.0",
            "1.3.0",
            "1.2.1",
            "1.2.0",
            "1.1.5",
            "1.1.4",
            "1.1.3",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "0.9.10",
            "0.9.9",
            "0.9.7",
            "0.9.6",
            "0.9.5",
            "0.9.4",
            "0.9.3",
            "0.9.2",
            "0.9.1",
            "0.9.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-47049.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.671807245Z",
      "provider": "osv",
      "references": [
        "https://github.com/czim/file-handling/blob/2.3.0/SECURITY.md",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47049.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-47049"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47049.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-47049",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498406,
  "published_at": "2024-09-17T00:00:00+00:00"
}