vendor:
openslp-2.0.0
by:
Magnus Klaaborg Stubman
7.5
CVSS
HIGH
Double Free
415
CWE
Product Name: openslp-2.0.0
Affected Version From: openslp-2.0.0
Affected Version To: openslp-2.0.0
Patch Exists: NO
Related CWE: CVE-2018-12938
CPE: openslp-2.0.0
Platforms Tested: N/A
2018
SLPD DOUBLE FREE
An issue was found in openslp-2.0.0 that can be used to induce a double free bug or memory corruption by corrupting glibc's doubly-linked memory chunk list. At the time of writing, no patch has been made available. The issue was discovered by Magnus Klaaborg Stubman. On line 409 of slpd_process.c, the *sendbuf pointer is copied to result. On line 251, the first reallocation takes place, potentially free()ing the memory if it was moved as part of the reallocation. On line 547, the second reallocation is done, again potentially free()ing the memory if it has to be moved as part of the reallocation, potentially resulting in a double free bug.
Mitigation:
No patch has been made available yet.