Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-34515

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-34515
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:58 UTC · Revision 1

Source evidence

CVE-2024-34515

core-osv · Original source

Published 5 May 2024, 00:00 UTC

image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().

osv:CVE-2024-34515
Complete source record
{
  "id": "a57314b113422ba0db6793ce102f73bf142da29f58906ad7b864bba743e2257b",
  "url": "https://osv.dev/vulnerability/CVE-2024-34515",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-34515",
    "summary": "image-optimizer before 1.7.3 allows PHAR deserialization, e.g., the phar:// protocol in arguments to file_exists().",
    "evidence": "osv:CVE-2024-34515",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-34515",
      "aliases": [
        "CVE-2024-34515",
        "GHSA-6pjm-hmvf-h4rr"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spatie/image-optimizer",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d4f0d09c44700c78d1718cd40da404b1c800b935"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.3"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.7.2",
            "1.7.1",
            "1.7.0",
            "1.6.4",
            "1.6.3",
            "1.6.2",
            "1.6.1",
            "1.5.0",
            "1.4.0",
            "1.3.2",
            "1.3.1",
            "1.3.0",
            "1.2.1",
            "1.2.0",
            "1.1.6",
            "1.1.5",
            "1.1.4",
            "1.1.3",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.14",
            "1.0.13",
            "1.0.12",
            "1.0.11",
            "1.0.10",
            "1.0.9",
            "1.0.8",
            "1.0.7",
            "1.0.6",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "0.0.4",
            "0.0.2",
            "0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34515.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.879590551Z",
      "provider": "osv",
      "references": [
        "https://github.com/spatie/image-optimizer/compare/1.7.2...1.7.3",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34515.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-34515",
        "https://github.com/spatie/image-optimizer/issues/210",
        "https://github.com/spatie/image-optimizer/pull/211"
      ],
      "provider_metadata": {
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34515.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-34515",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 513669,
  "published_at": "2024-05-05T00:00:00+00:00"
}