原始 OSV JSON{
"id": "GHSA-9jxw-cfrh-jxq6",
"aliases": [
"CVE-2021-39172"
],
"details": "### Impact\n\nAuthenticated users, regardless of their privileges (_User_ or _Admin_), can exploit a new line injection in the configuration edition feature (e.g. mail settings) and gain arbitrary code execution on the server.\n\n### Patches\n\nThis issue was addressed by improving `UpdateConfigCommandHandler` and preventing the use of new lines characters in new configuration values.\n\n### Workarounds\n\nOnly allow trusted source IP addresses to access to the administration dashboard.\n\n### References\n\n- https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n- The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n- The maintainers, by opening an issue on this repository.\n",
"summary": "Cachet vulnerable to new line injection during configuration edition",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.5.1"
}
]
}
],
"package": {
"name": "cachethq/cachet",
"ecosystem": "Packagist"
}
}
],
"modified": "2022-08-11T00:16:20Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-08-30T16:11:24Z",
"references": [
{
"url": "https://github.com/fiveai/Cachet/security/advisories/GHSA-9jxw-cfrh-jxq6",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39172",
"type": "ADVISORY"
},
{
"url": "https://github.com/fiveai/Cachet/commit/6442976c25930cb370c65a22784b9caee7ed1de2",
"type": "WEB"
},
{
"url": "https://blog.sonarsource.com/cachet-code-execution-via-laravel-configuration-injection",
"type": "WEB"
},
{
"url": "https://github.com/fiveai/Cachet",
"type": "PACKAGE"
},
{
"url": "https://github.com/fiveai/Cachet/releases/tag/v2.5.1",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-93"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-08-27T23:15:00Z",
"github_reviewed_at": "2021-08-27T23:35:16Z"
}
}