{"id":"GHSA-8pp6-5qpw-85g3","summary":"Magnesium-PHP Injection vulnerability","details":"** UNSUPPORTED WHEN ASSIGNED ** ** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in Magnesium-PHP up to 0.3.0. It has been classified as problematic. Affected is the function formatEmailString of the file `src/Magnesium/Message/Base.php`. The manipulation of the argument email/name leads to injection. Upgrading to version 0.3.1 is able to address this issue. The patch is identified as 500d340e1f6421007413cc08a8383475221c2604. It is recommended to upgrade the affected component. VDB-244482 is the identifier assigned to this vulnerability. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.","aliases":["CVE-2017-20187"],"modified":"2024-02-16T08:15:29.291152Z","published":"2023-11-05T21:30:22Z","database_specific":{"cwe_ids":["CWE-74"],"severity":"LOW","github_reviewed":true,"github_reviewed_at":"2023-11-08T14:39:57Z","nvd_published_at":"2023-11-05T21:15:09Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-20187"},{"type":"WEB","url":"https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604"},{"type":"PACKAGE","url":"https://github.com/floriangaerber/Magnesium-PHP"},{"type":"WEB","url":"https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1"},{"type":"WEB","url":"https://vuldb.com/?ctiid.244482"},{"type":"WEB","url":"https://vuldb.com/?id.244482"}],"affected":[{"package":{"name":"floriangaerber/magnesium","ecosystem":"Packagist","purl":"pkg:composer/floriangaerber/magnesium"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.3.1"}]}],"versions":["v0.1.0","v0.2.0","v0.3.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-8pp6-5qpw-85g3/GHSA-8pp6-5qpw-85g3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"}]}