Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/cloudwego/hertz
  4. ›
  5. CVE-2022-40082

CVE-2022-40082: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

September 28, 2022 (updated September 29, 2022)

Hertz v0.3.0 ws discovered to contain a path traversal vulnerability via the normalizePath function.

References

  • github.com/cloudwego/hertz/issues/228
  • github.com/cloudwego/hertz/pull/229
  • nvd.nist.gov/vuln/detail/CVE-2022-40082

Code Behaviors & Features

Detect and mitigate CVE-2022-40082 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

Version 0.3.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

go/github.com/cloudwego/hertz/CVE-2022-40082.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:24 +0000.