原始 OSV JSON{
"id": "GHSA-3r8j-pmch-5j2h",
"aliases": [
"CVE-2019-16768"
],
"details": "## Internal exception message exposure for login action\n\n### Impact\nException messages from internal exceptions (like database exception) are wrapped by `\\Symfony\\Component\\Security\\Core\\Exception\\AuthenticationServiceException` and propagated through the system to UI. Therefore, some internal system information may leak and be visible to the customer. \n\nA validation message with the exception details will be presented to the user when one will try to log into the shop. \n\n### Patches\n_Has the problem been patched? What versions should users upgrade to?_\n\n### Workarounds\nThe `src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig` file should be overridden and lines https://github.com/Sylius/Sylius/blob/1.4/src/Sylius/Bundle/UiBundle/Resources/views/Security/_login.html.twig#L13-L17 should be replaced with\n```twig\n {% if last_error %}\n <div class=\"ui left aligned basic segment\">\n {{ messages.error(last_error.messageKey) }}\n </div>\n {% endif %}\n``` \n\nThe `messageKey` field should be used instead of the `message`.",
"summary": "Internal exception message exposure for login action in Sylius",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.3.14"
}
]
}
],
"package": {
"name": "sylius/sylius",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.4.0"
},
{
"fixed": "1.4.10"
}
]
}
],
"package": {
"name": "sylius/sylius",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.5.0"
},
{
"fixed": "1.5.7"
}
]
}
],
"package": {
"name": "sylius/sylius",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.6.0"
},
{
"fixed": "1.6.3"
}
]
}
],
"package": {
"name": "sylius/sylius",
"ecosystem": "Packagist"
}
}
],
"modified": "2021-01-08T21:20:32Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:N"
}
],
"published": "2019-12-05T19:57:04Z",
"references": [
{
"url": "https://github.com/Sylius/Sylius/security/advisories/GHSA-3r8j-pmch-5j2h",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2019-16768",
"type": "ADVISORY"
},
{
"url": "https://github.com/Sylius/Sylius/commit/be245302dfc594d8690fe50dd47631d186aa945f",
"type": "WEB"
},
{
"url": "https://github.com/advisories/GHSA-3r8j-pmch-5j2h",
"type": "ADVISORY"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-209"
],
"severity": "LOW",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T20:56:06Z"
}
}