{"id":"CVE-2017-20187","state":"PUBLISHED","title":"Magnesium-PHP Base.php formatEmailString injection","description":"** 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.","publishedAt":"2023-11-05T20:31:03.149Z","updatedAt":"2024-08-05T21:45:26.155Z","severity":{"score":3.5,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"VulDB"},"assigner":"VulDB","products":["n/a Magnesium-PHP"],"affected":[{"vendor":"n/a","product":"Magnesium-PHP","versions":[{"version":"0.1","status":"affected"},{"version":"0.2","status":"affected"},{"version":"0.3","status":"affected"}]}],"references":["https://vuldb.com/?id.244482","https://vuldb.com/?ctiid.244482","https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604","https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1"],"weaknesses":["CWE-74"],"ingestedAt":"2026-10-29T19:43:37.076Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2017/20xxx/CVE-2017-20187.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2017-20187","state":"PUBLISHED","datePublished":"2023-11-05T20:31:03.149Z","dateUpdated":"2024-08-05T21:45:26.155Z","assignerShortName":"VulDB","assignerOrgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateReserved":"2023-11-04T13:44:08.091Z"},"containers":{"cna":{"title":"Magnesium-PHP Base.php formatEmailString injection","descriptions":[{"lang":"en","value":"** 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."},{"lang":"de","value":"Es wurde eine problematische Schwachstelle in Magnesium-PHP bis 0.3.0 ausgemacht. Es geht dabei um die Funktion formatEmailString der Datei src/Magnesium/Message/Base.php. Durch das Manipulieren des Arguments email/name mit unbekannten Daten kann eine injection-Schwachstelle ausgenutzt werden. Ein Aktualisieren auf die Version 0.3.1 vermag dieses Problem zu lösen. Der Patch wird als 500d340e1f6421007413cc08a8383475221c2604 bezeichnet. Als bestmögliche Massnahme wird das Einspielen eines Upgrades empfohlen."}],"affected":[{"vendor":"n/a","product":"Magnesium-PHP","versions":[{"version":"0.1","status":"affected"},{"version":"0.2","status":"affected"},{"version":"0.3","status":"affected"}]}],"references":[{"url":"https://vuldb.com/?id.244482","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/?ctiid.244482","tags":["signature","permissions-required"]},{"url":"https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604","tags":["patch"]},{"url":"https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1","tags":["patch"]}],"metrics":[{"cvssV3_1":{"version":"3.1","baseScore":3.5,"vectorString":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","baseSeverity":"LOW"}},{"cvssV3_0":{"version":"3.0","baseScore":3.5,"vectorString":"CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","baseSeverity":"LOW"}},{"cvssV2_0":{"version":"2.0","baseScore":2.7,"vectorString":"AV:A/AC:L/Au:S/C:N/I:P/A:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-74","type":"CWE","lang":"en","description":"CWE-74 Injection"}]}],"providerMetadata":{"shortName":"VulDB","orgId":"1af790b2-7ee1-4545-860a-a788eba489b5","dateUpdated":"2023-11-05T20:31:03.149Z"},"timeline":[{"time":"2017-05-26T00:00:00.000Z","lang":"en","value":"Advisory disclosed"},{"time":"2017-05-26T00:00:00.000Z","lang":"en","value":"Countermeasure disclosed"},{"time":"2023-11-04T01:00:00.000Z","lang":"en","value":"VulDB entry created"},{"time":"2023-11-04T14:49:28.000Z","lang":"en","value":"VulDB entry last update"}],"credits":[{"lang":"en","value":"VulDB GitHub Commit Analyzer","type":"tool"}],"tags":["unsupported-when-assigned"]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2017-20187","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-04-22T15:58:35.901272Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:11:51.541Z"}},{"title":"CVE Program Container","references":[{"url":"https://vuldb.com/?id.244482","tags":["vdb-entry","technical-description","x_transferred"]},{"url":"https://vuldb.com/?ctiid.244482","tags":["signature","permissions-required","x_transferred"]},{"url":"https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604","tags":["patch","x_transferred"]},{"url":"https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1","tags":["patch","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T21:45:26.155Z"}}]}}}