2024-12-08 03:06:42 +00:00

68 lines
2.6 KiB
JSON

{
"id": "CVE-2024-43787",
"sourceIdentifier": "security-advisories@github.com",
"published": "2024-08-22T15:15:16.857",
"lastModified": "2024-08-23T16:18:28.547",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Hono is a Web application framework that provides support for any JavaScript runtime. Hono CSRF middleware can be bypassed using crafted Content-Type header. MIME types are case insensitive, but isRequestedByFormElementRe only matches lower-case. As a result, attacker can bypass csrf middleware using upper-case form-like MIME type. This vulnerability is fixed in 4.5.8."
},
{
"lang": "es",
"value": "Hono es un framework de aplicaci\u00f3n web que brinda soporte para cualquier tiempo de ejecuci\u00f3n de JavaScript. El middleware Hono CSRF se puede omitir utilizando un encabezado Content-Type manipulado. Los tipos MIME no distinguen entre may\u00fasculas y min\u00fasculas, pero isRequestedByFormElementRe solo coincide con min\u00fasculas. Como resultado, el atacante puede eludir el middleware csrf utilizando el tipo MIME similar a una forma en may\u00fasculas. Esta vulnerabilidad se solucion\u00f3 en 4.5.8."
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "security-advisories@github.com",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L",
"baseScore": 5.0,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "LOW"
},
"exploitabilityScore": 1.6,
"impactScore": 3.4
}
]
},
"weaknesses": [
{
"source": "security-advisories@github.com",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-352"
}
]
}
],
"references": [
{
"url": "https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449",
"source": "security-advisories@github.com"
},
{
"url": "https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5",
"source": "security-advisories@github.com"
}
]
}