From 150847827192dc46706de8b345b3909df246fa7b Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 5 Feb 2025 21:27:48 +0000 Subject: [PATCH] Publish GHSA-j2gw-r24m-j2qw --- .../GHSA-j2gw-r24m-j2qw.json | 36 ++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) rename advisories/{unreviewed => github-reviewed}/2025/02/GHSA-j2gw-r24m-j2qw/GHSA-j2gw-r24m-j2qw.json (71%) diff --git a/advisories/unreviewed/2025/02/GHSA-j2gw-r24m-j2qw/GHSA-j2gw-r24m-j2qw.json b/advisories/github-reviewed/2025/02/GHSA-j2gw-r24m-j2qw/GHSA-j2gw-r24m-j2qw.json similarity index 71% rename from advisories/unreviewed/2025/02/GHSA-j2gw-r24m-j2qw/GHSA-j2gw-r24m-j2qw.json rename to advisories/github-reviewed/2025/02/GHSA-j2gw-r24m-j2qw/GHSA-j2gw-r24m-j2qw.json index b2aa6ca8ecf..1c5c4c7a5e4 100644 --- a/advisories/unreviewed/2025/02/GHSA-j2gw-r24m-j2qw/GHSA-j2gw-r24m-j2qw.json +++ b/advisories/github-reviewed/2025/02/GHSA-j2gw-r24m-j2qw/GHSA-j2gw-r24m-j2qw.json @@ -1,11 +1,12 @@ { "schema_version": "1.4.0", "id": "GHSA-j2gw-r24m-j2qw", - "modified": "2025-02-05T06:30:26Z", + "modified": "2025-02-05T21:26:43Z", "published": "2025-02-05T06:30:26Z", "aliases": [ "CVE-2025-1022" ], + "summary": "Browsershot Path Traversal", "details": "Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation in the setHtml function, invoked by Browsershot::html(), which can be bypassed by omitting the slashes in the file URI (e.g., file:../../../../etc/passwd). This is due to missing validations of the user input that should be blocking file URI schemes (e.g., file:// and file:/) in the HTML content.", "severity": [ { @@ -17,7 +18,27 @@ "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X" } ], - "affected": [], + "affected": [ + { + "package": { + "ecosystem": "Packagist", + "name": "spatie/browsershot" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "0" + }, + { + "fixed": "5.0.5" + } + ] + } + ] + } + ], "references": [ { "type": "ADVISORY", @@ -35,6 +56,10 @@ "type": "WEB", "url": "https://gist.github.com/mrdgef/a820837c530e09e1dd725e013e0d4341" }, + { + "type": "PACKAGE", + "url": "https://github.com/spatie/browsershot" + }, { "type": "WEB", "url": "https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496747" @@ -42,11 +67,12 @@ ], "database_specific": { "cwe_ids": [ - "CWE-20" + "CWE-20", + "CWE-22" ], "severity": "HIGH", - "github_reviewed": false, - "github_reviewed_at": null, + "github_reviewed": true, + "github_reviewed_at": "2025-02-05T21:26:43Z", "nvd_published_at": "2025-02-05T05:15:10Z" } } \ No newline at end of file