{"api_version":"1","generated_at":"2026-07-23T03:12:46+00:00","cve":"CVE-2017-20187","urls":{"html":"https://cve.report/CVE-2017-20187","api":"https://cve.report/api/cve/CVE-2017-20187.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-20187","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-20187"},"summary":{"title":"CVE-2017-20187","description":"** UNSUPPPORTED 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.","state":"PUBLIC","assigner":"cna@vuldb.com","published_at":"2023-11-05 21:15:00","updated_at":"2023-11-14 14:44:00"},"problem_types":["CWE-74"],"metrics":[],"references":[{"url":"https://vuldb.com/?id.244482","name":"https://vuldb.com/?id.244482","refsource":"MISC","tags":[],"title":"CVE-2017-20187: Magnesium-PHP Base.php formatEmailString injection","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://vuldb.com/?ctiid.244482","name":"https://vuldb.com/?ctiid.244482","refsource":"MISC","tags":[],"title":"Login required","mime":"text/html","httpstatus":"401","archivestatus":"404"},{"url":"https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604","name":"https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604","refsource":"MISC","tags":[],"title":"Fix exploit of user's names/emails breaking \"To\" · floriangaerber/Magnesium-PHP@500d340 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1","name":"https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1","refsource":"MISC","tags":[],"title":"Release v0.3.1 · floriangaerber/Magnesium-PHP · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-20187","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-20187","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2017","cve_id":"20187","vulnerable":"1","versionEndIncluding":"0.3.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"floriangaerber","cpe5":"magnesium-php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2017-20187","qid":"995846","title":"PHP (Composer) Security Update for floriangaerber/magnesium (GHSA-8pp6-5qpw-85g3)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2017-20187","ASSIGNER":"cna@vuldb.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"** UNSUPPPORTED 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."},{"lang":"deu","value":"** UNSUPPPORTED WHEN ASSIGNED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-74 Injection","cweId":"CWE-74"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"Magnesium-PHP","version":{"version_data":[{"version_affected":"=","version_value":"0.1"},{"version_affected":"=","version_value":"0.2"},{"version_affected":"=","version_value":"0.3"}]}}]}}]}},"references":{"reference_data":[{"url":"https://vuldb.com/?id.244482","refsource":"MISC","name":"https://vuldb.com/?id.244482"},{"url":"https://vuldb.com/?ctiid.244482","refsource":"MISC","name":"https://vuldb.com/?ctiid.244482"},{"url":"https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604","refsource":"MISC","name":"https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604"},{"url":"https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1","refsource":"MISC","name":"https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1"}]},"credits":[{"lang":"en","value":"VulDB GitHub Commit Analyzer"}],"impact":{"cvss":[{"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"},{"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"},{"version":"2.0","baseScore":2.7,"vectorString":"AV:A/AC:L/Au:S/C:N/I:P/A:N"}]}},"nvd":{"publishedDate":"2023-11-05 21:15:00","lastModifiedDate":"2023-11-14 14:44:00","problem_types":["CWE-74"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:floriangaerber:magnesium-php:*:*:*:*:*:*:*:*","versionEndIncluding":"0.3.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}