{"id":"CVE-2022-2400","published":"2022-07-18T00:00:00Z","modified":"2024-08-03T00:39:06Z","title":"External Control of File Name or Path in dompdf/dompdf","vendor":"dompdf","product":"dompdf/dompdf","tier":"tail","description":{"text":"External Control of File Name or Path in GitHub repository dompdf/dompdf prior to 2.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01209,"percentile":0.69155,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://huntr.dev/bounties/a6da5e5e-86be-499a-a3c3-2950f749202a","tags":[]},{"url":"https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2023/07/msg00017.html","tags":["mailing-list"]}],"priority":{"score":17.5,"factors":[{"name":"EPSS percentile","points":13.83},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"dompdf","affectedVersions":[{"vendor":"dompdf","product":"dompdf/dompdf","versions":[">= unspecified, < 2.0.0"]}],"affected":[{"ecosystem":"Packagist","package":"dompdf/dompdf","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-5qj8-6xxj-hp9h"],"provenance":"source"}],"summary":{"text":"The flaw is an external control of file name or path in the dompdf/dompdf library, affecting versions prior to 2.0.0 of the dompdf/dompdf GitHub repository. An attacker who can reach the affected component over the network, without authentication or user interaction, can influence the file name or path it uses, which can lead to limited confidentiality impact.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:20Z"},"euvd":{"id":"EUVD-2022-6252","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dompdf-dompdf-cve-2022-28368","parents":[{"from":"CVE-2022-28368","to":"CVE-2022-2400","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/FontMetrics.php"],"commits":["https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a","https://github.com/dompdf/dompdf/commit/4c70e1025bcd9b7694b95dd552499bd83cd6141d"],"basis":"shared function","functions":["registerFont"]}]},{"from":"CVE-2022-0085","to":"CVE-2022-2400","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Options.php"],"commits":["https://github.com/dompdf/dompdf/commit/bb1ef65011a14730b7cfbe73506b4bb8a03704bd","https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a"],"basis":"shared function","functions":["__construct"]}]}],"children":[{"from":"CVE-2022-2400","to":"CVE-2022-41343","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/FontMetrics.php"],"commits":["https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a","https://github.com/dompdf/dompdf/commit/66431c58017d5b1bdb9f6f772b9fbbc5e3d38dc2"],"basis":"shared function","functions":["registerFont"]}]},{"from":"CVE-2022-2400","to":"CVE-2023-50262","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Image/Cache.php"],"commits":["https://github.com/dompdf/dompdf/commit/99aeec1efec9213e87098d42eb09439e7ee0bb6a","https://github.com/dompdf/dompdf/commit/41cbac16f3cf56affa49f06e8dae66d0eac2b593"],"basis":"shared function","functions":["Cache","clear"]}]}]}}