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

Heap-buffer-overflow in ndpi_search_syslog #1578

Closed
1 of 2 tasks
koltiradw opened this issue Jun 3, 2022 · 1 comment · Fixed by #1579
Closed
1 of 2 tasks

Heap-buffer-overflow in ndpi_search_syslog #1578

koltiradw opened this issue Jun 3, 2022 · 1 comment · Fixed by #1579
Assignees
Labels

Comments

@koltiradw
Copy link
Contributor

Hi! I found heap-buffer-overflow ( occurs at src/lib/protocols/syslog.c:87:9 ) during testing with libFuzzer.

nDPI Environment:

  • OS name: Ubuntu
  • OS version: 20.04.4 LTS (Focal Fossa)
  • Architecture: x86-64
  • nDPI commit hash: 09fbe0a
  • nDPI compilation flags used: --enable-fuzztargets
  • config.log

Reproducible using ndpiReader?

  • The reported bug is reproducible using ndpiReader.
  • The reported bug is not reproducible using ndpiReader.

File for reproducing:

Steps to reproduce the behavior:

  1. Run './fuzz_process_packet_with_main <crash_file>'.
  2. See ASAN crash report.
@koltiradw koltiradw added the bug label Jun 3, 2022
@utoni
Copy link
Collaborator

utoni commented Jun 3, 2022

Whoops! My fault. Thanks!

@utoni utoni self-assigned this Jun 3, 2022
utoni added a commit to utoni/nDPI that referenced this issue Jun 3, 2022
utoni added a commit to utoni/nDPI that referenced this issue Jun 3, 2022
IvanNardi pushed a commit that referenced this issue Jun 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants