-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add project for OpenWRT mdnsd CVE-2020-11750 #15
base: master
Are you sure you want to change the base?
Add project for OpenWRT mdnsd CVE-2020-11750 #15
Conversation
Nice job on the CVE and submission. Can you add to the PR changes to github actions (.github directory) to build this directory? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add in github action changes needed to build.
# OpenWRT mdns CVE-2020-11750 | ||
|
||
Three out-of-bounds access issues were found in OpenWRT's mdns. They were reported to the OpenWRT security address on April 9 2020, and a fix ([1](https://git.openwrt.org/?p=project/mdnsd.git;a=commit;h=e74a3f9883199e9db7220d52b78e5fbdb4441ca3), [2](https://git.openwrt.org/?p=project/mdnsd.git;a=commit;h=cdac0460ba50dc45735f0be2e19a5a8efc3dafe1)) was released soon after. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please edit to line length <80 chars
Please add link to https://openwrt.org/advisory/2020-05-06-1
We have included a proof of concept output under the `poc` | ||
directory. | ||
|
||
> Note: Fuzzing has some degree of non-determinism, so when you run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-paste bug. Please remove.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove this whole section or just the reference to Oniguruma regex?
@@ -0,0 +1,369 @@ | |||
/* This is a modified version of: | |||
* https://git.openwrt.org/?p=project/mdnsd.git;a=blob_plain;f=dns.c;hb=45c4953b602962ae7ff335d9a346000f00680952 | |||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this is the GPL code. Just add to the comment the code is GPL'ed. Fine to add to the repo; there isn't any intellectual property here in the stand-alone binary created we'd be worried about.
TODO: Uses modified code from OpenWRT (GPLv2) and musl libc (MIT). Please suggest if I should include the licenses, annotate the source file, ...