Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capnp: list accessors do not check for element size #59

Closed
zombiezen opened this issue Jan 28, 2017 · 0 comments
Closed

capnp: list accessors do not check for element size #59

zombiezen opened this issue Jan 28, 2017 · 0 comments
Assignees

Comments

@zombiezen
Copy link
Contributor

While lists are being bounds-checked, individual elements are not. If a malicious input contains a valid in-bounds list, but the primitive element being accessed is not in bounds (e.g. the last 64-bit value of a list of 32-bit elements at the end of a region is requested), then the read panics.

This bug was found through use of go-fuzz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant