SecurityContext

CVE-2022-40082: Hertz - Path Traversal

  • Cve: CVE-2022-40082
  • Name: Hertz - Path Traversal
  • Description: Hertz v0.3.0 ws discovered to contain a path traversal vulnerability via the normalizePath function.
  • Impact: Attackers can access arbitrary files on the server, potentially leading to information disclosure or system compromise.
  • Remediation: Update Hertz to the latest version where the vulnerability is fixed.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01135
  • Epss percentile: 0.67339
  • Assignee: [email protected]
  • Published at: 2022-09-28T14:15:10Z
  • Age in days: 1518
  • Modified at: 2026-06-17T05:00:51Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-40082
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Public exploits

UrlSourceAdded date
https://github.com/cloudwego/hertz/issues/228nvd2022-09-28

References

UrlSourceTags
https://github.com/cloudwego/hertz/pull/229nvdPatch, Third Party Advisory
https://github.com/cloudwego/hertz/issues/228nvdExploit, Issue Tracking, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
cloudwego:hertz= 0.3.0yesnvd/v1/products/cloudwego/hertz

Projects

RepositoryLink kindsIndexedUrl
cloudwego/hertzfix, issues, package, pullyes/v1/repositories/cloudwego/hertz

Index

  • Repositories: 1
  • Repositories high signal: 1
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2022-09-28
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts