3.5low

CVE-2017-20187

Magnesium-PHP Base.php formatEmailString injection

Also known as GHSA-8pp6-5qpw-85g3

Published 3 y ago · modified 4 mo ago · JSON

CVSS
3.5
v3.1 · CNA
CISA KEV
No
not known exploited
EPSS
0.8%
percentile 58%
Public exploits
0
none known

Summary

** 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.

CISA SSVC assessment

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction (EPSS)

0.83% probability of exploitation in the next 30 days, higher than 58% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
CNA3.13.5CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CNA3.03.5CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
CNA2.02.7AV:A/AC:L/Au:S/C:N/I:P/A:N
CNA3.13.5CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA2.02.7AV:A/AC:L/Au:S/C:N/I:P/A:N
GitHub3.03.5CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
packagistfloriangaerber/magnesium
<0.3.1
0.3.1

Affected products

  • n/a Magnesium-PHP

Classification

Weakness
  • CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component

References

  • vuldb.com /?id.244482 · vdb-entry, technical-description, x_transferred
  • vuldb.com /?ctiid.244482 · signature, permissions-required, x_transferred
  • github.com /floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604 · patch, x_transferred
  • github.com /floriangaerber/Magnesium-PHP/releases/tag/v0.3.1 · patch, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-20187 · advisory
  • github.com /floriangaerber/Magnesium-PHP · package

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.