REDHAT-BUG-1329295: Null Pointer Dereference
A null pointer dereference vulnerability was found in function xrealloc() in xlspxmalloc.c in OpenSLP. A remote attacker could potentially crash the server when large number of packets are sent.
Vulnerable code:
void xrealloc(const char file, int line, void ptr, sizet size) { xallocationt x;
if (!ptr) return xmalloc(file, line, size);
if (!size) { xfree(file, line, ptr); return 0; }
x = xmallocfind(ptr); if (x != 0) { void newptr = ptr; if (x->size != size) { newptr = xmalloc(file, line, size); // return 0 if failed from xmalloc memcpy(newptr, ptr, x->size); // it'll cased a null pointer reference xfree(file, line, x); } return newptr; }
if (Gxmallocfh) fprintf(Gxmallocfh, " xrealloc called on " "non-xmalloc'd memory \n");
return 0; }
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-1329295?
The vulnerability REDHAT-BUG-1329295 is considered critical due to the potential for remote attackers to crash the server.
How do I fix REDHAT-BUG-1329295?
To fix REDHAT-BUG-1329295, update OpenSLP to the latest version where this vulnerability has been patched.
What types of systems are affected by REDHAT-BUG-1329295?
Systems running the OpenSLP software are affected by REDHAT-BUG-1329295.
How does REDHAT-BUG-1329295 impact my server?
REDHAT-BUG-1329295 can allow a remote attacker to send a large number of packets, potentially leading to a server crash.
Is there a workaround for REDHAT-BUG-1329295?
Currently, there is no effective workaround for REDHAT-BUG-1329295 other than applying the recommended software updates.