Skip ignores unknown fields, rather than failing. A malicious user can craft small messages with unknown fields which can take significant resources to parse. If a server accepts messages from an untrusted user, it may be used as a denial of service vector.
{
"review_status": "REVIEWED",
"url": "https://pkg.go.dev/vuln/GO-2021-0088"
}{
"imports": [
{
"path": "github.com/facebook/fbthrift/thrift/lib/go/thrift",
"symbols": [
"BinaryProtocol.Skip",
"CompactProtocol.Skip",
"HeaderProtocol.Skip",
"JSONProtocol.Skip",
"Process",
"ProcessContext",
"SimpleJSONProtocol.Skip",
"SimpleServer.AcceptLoop",
"SimpleServer.AcceptLoopContext",
"SimpleServer.Serve",
"SimpleServer.ServeContext",
"Skip",
"SkipDefaultDepth",
"applicationException.Read"
]
}
]
}