{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-43787","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2024-08-16T14:20:37.323Z","datePublished":"2024-08-22T14:23:44.025Z","dateUpdated":"2024-08-22T15:40:32.051Z"},"containers":{"cna":{"title":"Hono CSRF middleware can be bypassed using crafted Content-Type header","problemTypes":[{"descriptions":[{"cweId":"CWE-352","lang":"en","description":"CWE-352: Cross-Site Request Forgery (CSRF)","type":"CWE"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"references":[{"name":"https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5","tags":["x_refsource_CONFIRM"],"url":"https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5"},{"name":"https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449"},{"name":"https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17","tags":["x_refsource_MISC"],"url":"https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17"}],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.5.8","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2024-08-22T14:23:44.025Z"},"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."}],"source":{"advisory":"GHSA-rpfr-3m35-5vx5","discovery":"UNKNOWN"}},"adp":[{"affected":[{"vendor":"eclipse","product":"hono","cpes":["cpe:2.3:a:eclipse:hono:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"4.5.8","versionType":"custom"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-22T15:39:07.762887Z","id":"CVE-2024-43787","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-08-22T15:40:32.051Z"}}]}}