Hono's named path parameters can be overridden in TrieRouter (honojs hono)

CVE-2023-50710
MEDIUM 4.2

At a glance

Source
NVD
EPSS
EPSS 0.64 % · percentile 51 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Modified

Description

Hono is a web framework written in TypeScript. Prior to version 3.11.7, clients may override named path parameter values from previous requests if the application is using TrieRouter. So, there is a risk that a privileged user may use unintended parameters when deleting REST API resources. TrieRouter is used either explicitly or when the application matches a pattern that is not supported by the default RegExpRouter. Version 3.11.7 includes the change to fix this issue. As a workaround, avoid using TrieRouter directly.

Weaknesses (CWE)

  • CWE-94 — Improper Control of Generation of Code

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 4.2CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:LGitHub_M
CVSS 3.1MEDIUM 4.2CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:LNVD · security-advisories@github.com (Secondary)
CVSS 3.1MEDIUM 4.3CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:NNVD · nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
honojs · honoaffected < 3.11.7

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD