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
Segmentation fault in PackLinuxElf32::elf_lookup(char const*) of /src/p_lx_elf.cpp #390
Comments
|
Format or upload error? The linked POC file https://github.com/upx/upx/files/4964506/tests_282bb5f42e6d0cfdae8234bd333f76d50d69d1fa_.tar.gz is not recognized by gunzip, tar, or readelf. |
|
It is poc, no need to decompress,others issues is the same. |
markus-oberhumer
pushed a commit
that referenced
this issue
Aug 17, 2022
#390 modified: p_lx_elf.cpp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Author: giantbranch of NSFOCUS Security Team
What's the problem (or question)?
Segmentation fault in PackLinuxElf32::elf_lookup(char const*) of /src/p_lx_elf.cpp in the latest commit of the devel branch
code link : p_lx_elf.cpp#L5486
get_dynsym_name returned an unreadable value and causing crash in strcmp
ASAN reports:
What should have happened?
Check if the file is normal, exit if abnormal
Do you have an idea for a solution?
Add more checks
How can we reproduce the issue?
POC:
tests_282bb5f42e6d0cfdae8234bd333f76d50d69d1fa_.tar.gz
Please tell us details about your environment.
upx --version):The text was updated successfully, but these errors were encountered: