{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2017-20187",
        "assignerOrgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
        "state": "PUBLISHED",
        "assignerShortName": "VulDB",
        "dateReserved": "2023-11-04T13:44:08.091Z",
        "datePublished": "2023-11-05T20:31:03.149Z",
        "dateUpdated": "2024-08-05T21:45:26.155Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "1af790b2-7ee1-4545-860a-a788eba489b5",
                "shortName": "VulDB",
                "dateUpdated": "2023-11-05T20:31:03.149Z"
            },
            "title": "Magnesium-PHP Base.php formatEmailString injection",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "cweId": "CWE-74",
                            "lang": "en",
                            "description": "CWE-74 Injection"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "Magnesium-PHP",
                    "versions": [
                        {
                            "version": "0.1",
                            "status": "affected"
                        },
                        {
                            "version": "0.2",
                            "status": "affected"
                        },
                        {
                            "version": "0.3",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "** 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": "de",
                    "value": "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."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                },
                {
                    "cvssV3_0": {
                        "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"
                    }
                },
                {
                    "cvssV2_0": {
                        "version": "2.0",
                        "baseScore": 2.7,
                        "vectorString": "AV:A/AC:L/Au:S/C:N/I:P/A:N"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2017-05-26T00:00:00.000Z",
                    "lang": "en",
                    "value": "Advisory disclosed"
                },
                {
                    "time": "2017-05-26T00:00:00.000Z",
                    "lang": "en",
                    "value": "Countermeasure disclosed"
                },
                {
                    "time": "2023-11-04T01:00:00.000Z",
                    "lang": "en",
                    "value": "VulDB entry created"
                },
                {
                    "time": "2023-11-04T14:49:28.000Z",
                    "lang": "en",
                    "value": "VulDB entry last update"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "VulDB GitHub Commit Analyzer",
                    "type": "tool"
                }
            ],
            "references": [
                {
                    "url": "https://vuldb.com/?id.244482",
                    "tags": [
                        "vdb-entry",
                        "technical-description"
                    ]
                },
                {
                    "url": "https://vuldb.com/?ctiid.244482",
                    "tags": [
                        "signature",
                        "permissions-required"
                    ]
                },
                {
                    "url": "https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604",
                    "tags": [
                        "patch"
                    ]
                },
                {
                    "url": "https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1",
                    "tags": [
                        "patch"
                    ]
                }
            ],
            "tags": [
                "unsupported-when-assigned"
            ]
        },
        "adp": [
            {
                "title": "CISA ADP Vulnrichment",
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "id": "CVE-2017-20187",
                                "role": "CISA Coordinator",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "version": "2.0.3",
                                "timestamp": "2024-04-22T15:58:35.901272Z"
                            }
                        }
                    }
                ],
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-06-04T17:11:51.541Z"
                }
            },
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-05T21:45:26.155Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://vuldb.com/?id.244482",
                        "tags": [
                            "vdb-entry",
                            "technical-description",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://vuldb.com/?ctiid.244482",
                        "tags": [
                            "signature",
                            "permissions-required",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/floriangaerber/Magnesium-PHP/commit/500d340e1f6421007413cc08a8383475221c2604",
                        "tags": [
                            "patch",
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/floriangaerber/Magnesium-PHP/releases/tag/v0.3.1",
                        "tags": [
                            "patch",
                            "x_transferred"
                        ]
                    }
                ]
            }
        ]
    }
}