Magnesium-PHP Injection vulnerability
The advisory, in context
** 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.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 0.3.1
Fixed in 0.3.1
3 explicitly affected versions
v0.1.0, v0.2.0, v0.3.0
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.3.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v0.1.0",
"v0.2.0",
"v0.3.0"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2017-20187
- https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604
- https://github.com/floriangaerber/Magnesium-PHP
- https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1
- https://vuldb.com/?ctiid.244482
- https://vuldb.com/?id.244482