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
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 by | Version | Score | Vector |
|---|---|---|---|
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 3.0 | 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| CNA | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:N/I:P/A:N |
| CNA | 3.1 | 3.5 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 2.0 | 2.7 | AV:A/AC:L/Au:S/C:N/I:P/A:N |
| GitHub | 3.0 | 3.5 | CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| packagist | floriangaerber/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
- CVE List: CVE-2017-20187
- GitHub Advisory: GHSA-8pp6-5qpw-85g3
- NVD: CVE-2017-20187
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.