GitHub Advisoryadvisory · Packagist

GHSA-8pp6-5qpw-85g3 Magnesium-PHP Injection vulnerability

LOW Published 2023-11-05 Modified 2023-11-14 Official page ↗
Aliases
CVE-2017-20187
Ecosystem
Packagist
Packages
floriangaerber/magnesium
Severity
Low
CVSS vector
CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weaknesses
CWE-74
Reviewed
2023-11-08

Affected packages

• Packagist floriangaerber/magnesium: < 0.3.1 → fixed in 0.3.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2017-20187 ** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in Magnesium-PHP up to 0.3.0. vulnerability

Weakness · CWE (1)

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

References