data/reports: apply vulnreport fix to 1027
Change-Id: Ibc88ba493a4dab08b30fcf98cfcb5c2f0531cdfb
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/463110
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tatiana Bradley <tatianabradley@google.com>
Run-TryBot: Tim King <taking@google.com>
diff --git a/data/reports/GO-2022-1027.yaml b/data/reports/GO-2022-1027.yaml
index e63f720..16fbc24 100644
--- a/data/reports/GO-2022-1027.yaml
+++ b/data/reports/GO-2022-1027.yaml
@@ -5,6 +5,8 @@
vulnerable_at: 0.3.0
packages:
- package: github.com/cloudwego/hertz/pkg/protocol
+ goos:
+ - windows
symbols:
- normalizePath
derived_symbols:
@@ -24,8 +26,6 @@
- URI.SetPathBytes
- URI.Update
- URI.UpdateBytes
- goos:
- - windows
description: |
Improper path sanitization on Windows permits path traversal attacks.
Static file serving with the Static or StaticFS functions allows an