{"schemaVersion":3,"id":"CVE-2024-43787","aliases":["GHSA-rpfr-3m35-5vx5","CGA-234v-q2xw-fmqv","CGA-23vg-f7fr-mwpf","CGA-386f-4jfc-q577","CGA-3qhh-6wvg-hrm4","CGA-4h34-7997-pxph","CGA-7h6h-prv7-jqhh","CGA-97x6-c584-79vm","CGA-c43j-2pjc-37x8","CGA-c8q7-jf9m-h9w3","CGA-g8xr-vfwj-gfcm","CGA-h2jg-4jx5-cm4g","CGA-h6qq-579j-6369","CGA-hgrh-5q7p-w29x","CGA-wc2x-3j83-jjp6"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2024-08-22T14:23:44.025Z","modified":"2024-08-22T15:40:32.051Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Npm","score":2.3,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.1,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":4.1,"impact":5.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00244,"percentile":0.1466,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00244},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00244,"percentile":0.1466}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00244,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00244,"percentile":0.1466}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_HONOJS_HONO","name":"Hono","source":"github","url":"https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-352","name":"Cross-Site Request Forgery (CSRF)","description":"The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.","type":"weakness","status":"Stable","abstraction":"Compound","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/352.html"}],"affected":[{"vendor":"chainguard","product":"hono","name":"hono","label":"hono","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hono","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hono-adapter-mqtt","name":"hono-adapter-mqtt","label":"hono-adapter-mqtt","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hono-adapter-mqtt","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hono-cli","name":"hono-cli","label":"hono-cli","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hono-cli","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hono-compat","name":"hono-compat","label":"hono-compat","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hono-compat","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hono-service-auth","name":"hono-service-auth","label":"hono-service-auth","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hono-service-auth","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hono-service-command-router","name":"hono-service-command-router","label":"hono-service-command-router","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hono-service-command-router","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"chainguard","product":"hono-service-device-registry-jdbc","name":"hono-service-device-registry-jdbc","label":"hono-service-device-registry-jdbc","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/hono-service-device-registry-jdbc","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"hono","product":"hono","name":"hono","label":"hono","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.5.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.8","eol":null,"hubHref":"/vendor/hono/hono"},{"vendor":"honojs","product":"hono","name":"hono","label":"hono","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 4.5.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.8","eol":null,"hubHref":"/vendor/honojs/hono"},{"vendor":"Npm","product":"hono","name":"hono","label":"hono","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/hono","purlType":"npm","versions":[{"text":"< 4.5.8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.5.8","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5","label":"github.com/honojs/hono/security/advisories/GHSA-rpfr-3m35-5vx5","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Exploit","Vendor Advisory"]},{"url":"https://github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449","label":"github.com/honojs/hono/commit/41ce840379516410dee60c783142e05bb5a22449","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Patch"]},{"url":"https://github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts#L16-L17","label":"github.com/honojs/hono/blob/b0af71fbcc6dbe44140ea76f16d68dfdb32a99a0/src/middleware/csrf/index.ts","hostname":"github.com","tags":["X Refsource MISC","WEB","Product"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43787","label":"nvd.nist.gov/vuln/detail/CVE-2024-43787","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/honojs/hono","label":"github.com/honojs/hono","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43787.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43787.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-R6XX-RQX3-VMMF"]},"timeline":[{"kind":"published","date":"2024-08-22T14:23:44.025Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-22T15:40:32.051Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":30,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:14:43.373Z","stale":false,"partial":false}}