-
Notifications
You must be signed in to change notification settings - Fork 268
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
Invalid memory access in do_checksum() #538
Labels
Comments
CVE-2019-8381 was assigned for this issue. |
Unless I'm mistaken the problem is get_layer4_v6 may return zero, and does so as a length of 3 is way to short to extract any useful information. Fix then was to check for that situation and bail out. In other words:
Result is:
Did I miss something? |
fklassen
added a commit
that referenced
this issue
Mar 12, 2019
fklassen
added a commit
that referenced
this issue
Mar 12, 2019
Bugs #538 add check for packet length in do_checksum()
fixed in PR #548 |
GabrielGanne
pushed a commit
to GabrielGanne/tcpreplay
that referenced
this issue
May 2, 2019
GabrielGanne
added a commit
to GabrielGanne/tcpreplay
that referenced
this issue
May 9, 2019
prevent the function from interpreting as packet header if there is not enough bytes. Fixes appneta#538 Fixes appneta#556
fklassen
added a commit
that referenced
this issue
Jun 2, 2020
fklassen
added a commit
that referenced
this issue
Jun 2, 2020
…ow_do_checksum Bug #556 #538 guard HBO in checksum - fix as per @GabrielGanne
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description - we observed that there is an Invalid memory access at
do_checksum ()
inchecksum.c
.The same be triggered by sending a crafted pcap file to the tcpreplay-edit binary. It allows an attacker to cause Denial of Service (Segmentation fault) or possibly have unspecified other impact.Command - tcpreplay-edit -r 80:84 -s 20 -b -C -m 1500 -P --oneatatime -i $INTERFACE $POC
POC - REPRODUCER
Debug -
GDB -
The text was updated successfully, but these errors were encountered: