{"id":"CVE-2022-40082","aliases":["CVE-2022-40082","GHSA-c9qr-f6c8-rgxf","GO-2022-1027"],"related":[],"kind":"vulnerability","state":"published","title":"Hertz contains path traversal via normalizePath function","summary":"Hertz v0.3.0 ws discovered to contain a path traversal vulnerability via the normalizePath function.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hertz v0.3.0 ws discovered to contain a path traversal vulnerability via the normalizePath function.","source":"cvelist"},{"lang":"en","text":"Hertz is a a high-performance and strong-extensibility Go HTTP framework that helps developers build microservices. Versions of Hertz prior to 0.3.1 contain a path traversal vulnerability via the normalizePath function. This issue has been patched in 0.3.1.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Improper path sanitization on Windows permits path traversal attacks. Static file serving with the Static or StaticFS functions allows an attacker to access files from outside the filesystem root.\n\nThis vulnerability does not affect non-Windows systems.","format":"markdown","source":"go"},{"lang":"es","text":"Se ha detectado que Hertz versión v0.3.0, contiene una vulnerabilidad de salto de ruta por medio de la función normalizePath","source":"nvd"}],"published":"2022-09-28T13:34:02.000Z","modified":"2026-06-17T05:00:51.273Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.1"}],"ecosystem":"Go","package":"github.com/cloudwego/hertz","purl":"pkg:golang/github.com/cloudwego/hertz","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.3.1"}],"ecosystem":"Go","package":"github.com/cloudwego/hertz","purl":"pkg:golang/github.com/cloudwego/hertz","source":"go"},{"ranges":[{"status":"affected","version":"0.3.0"}],"vendor":"cloudwego","product":"hertz","cpe":"cpe:2.3:a:cloudwego:hertz:0.3.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/cloudwego/hertz/issues/228","tags":["exploit","issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/cloudwego/hertz/pull/229","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40082","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/cloudwego/hertz","tags":["package"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2022-1027","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-05-21T14:45:17.108Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-40082","url":"https://www.cve.org/CVERecord?id=CVE-2022-40082","licence":"CVE Terms of Use","modified":"2025-05-21T14:45:54.810Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c9qr-f6c8-rgxf","url":"https://github.com/advisories/GHSA-c9qr-f6c8-rgxf","licence":"CC-BY-4.0","modified":"2023-11-08T04:10:22.365Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1027","url":"https://pkg.go.dev/vuln/GO-2022-1027","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-40082","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40082","licence":"Public domain","modified":"2026-06-17T05:00:51.273Z"}],"updatedAt":"2026-11-25T22:58:15.350Z","epss":{"score":0.01135,"percentile":0.67432,"date":"2026-12-01T12:00:22.000Z"}}