Index Out Of Bounds in protobuf unmarshalling
该报告还没有中文解读。
原文摘录
摘自原文(1994 字符中的一小部分)
I have recently discovered a bug in the gogo/protobuf code generator. This bug allows for an index out of bounds when unmarshalling certain protobuf objects. The bug is that a check is lacking when skipping certain bytes. There are numerous occurrences of this bug (too many to count easily) the …
原文中的代码
1686: skippy, err := skipGenerated(dAtA[iNdEx:])
1690: if skippy < 0 {
1693: if (iNdEx + skippy) > postIndex {
1696: iNdEx += skippy默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Kubernetes 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @pulpkk · 版权归作者与 Kubernetes 所有