GHSA-6pjm-hmvf-h4rr

Suggest an improvement
Source
https://github.com/advisories/GHSA-6pjm-hmvf-h4rr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-6pjm-hmvf-h4rr/GHSA-6pjm-hmvf-h4rr.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6pjm-hmvf-h4rr
Aliases
Published
2024-05-05T21:30:31Z
Modified
2024-08-21T19:07:06.638855Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
image-optimizer allows PHAR deserialization
Details

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

Database specific
{
    "nvd_published_at": "2024-05-05T21:15:55Z",
    "cwe_ids": [
        "CWE-502"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-06T14:35:28Z"
}
References

Affected packages

Packagist / spatie/image-optimizer

Package

Name
spatie/image-optimizer
Purl
pkg:composer/spatie/image-optimizer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.7.3

Affected versions

0.*

0.0.1
0.0.2
0.0.3
0.0.4

1.*

1.0.0
1.0.1
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13
1.0.14
1.1.0
1.1.1
1.1.2
1.1.3
1.1.4
1.1.5
1.1.6
1.2.0
1.2.1
1.3.0
1.3.1
1.3.2
1.4.0
1.5.0
1.6.1
1.6.2
1.6.3
1.6.4
1.7.0
1.7.1
1.7.2