idx
int64
project
string
commit_id
string
project_url
string
commit_url
string
commit_message
string
target
int64
func
string
func_hash
float64
file_name
string
file_hash
float64
cwe
list
cve
string
cve_desc
string
nvd_url
string
519,455
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void extract_host(char *str) { char *p, *ph, str2[256]; p = NULL; if (strstr(str, "http://")) p = str + 7; else if (strstr(str, "https://")) p = str + 8; if (p) { ph = p; while (*p && *p != '/' && *p != ':') p++; *p = 0; strcpy(str2, ph); strcpy(str,...
211,357,584,679,602,030,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,456
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void show_http_header(LOGBOOK *lbs, BOOL expires, char *cookie) { char str[256]; rsprintf("HTTP/1.1 200 Document follows\r\n"); rsprintf("Server: ELOG HTTP %s-%s\r\n", VERSION, git_revision()); if (getcfg("global", "charset", str, sizeof(str))) rsprintf("Content-Type: text/html;charset=%s\r\n", str)...
289,824,463,601,428,140,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,457
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void eputs(const char *buf) { char *p; p = xmalloc(strlen(buf) + 2); strcpy(p, buf); strcat(p, "\n"); (*fputs_handler)(p); xfree(p); }
52,025,139,096,223,150,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,458
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void url_slash_encode(char *ps, int size) /********************************************************************\ Do the same including '/' characters \********************************************************************/ { unsigned char *pd, *p; unsigned char str[NAME_LENGTH]; pd = str; p = (unsigned char...
291,292,492,576,696,100,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,459
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
BOOL convert_password_encoding(LOGBOOK *lbs) { PMXML_NODE node, pwd; int i; char str[256], oldpwd[256], file_name[256]; if (lbs->pwd_xml_tree == NULL) return FALSE; if ((node = mxml_find_node(lbs->pwd_xml_tree, "/list/user[1]/password")) == NULL) return FALSE; str[0] = 0; if (mxml_ge...
154,920,758,984,260,910,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,460
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int compose_email(LOGBOOK *lbs, char *rcpt_to, char *mail_to, int message_id, char attrib[MAX_N_ATTR][NAME_LENGTH], char *mail_param, int old_mail, char att_file[MAX_ATTACHMENTS][256], char *encoding, int reply_id) { int i, n, flags, status, mail_encoding, mail_text_size, max_att_...
119,384,190,375,391,610,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,461
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void set_location(LOGBOOK *lbs, char *rp) { char str[NAME_LENGTH], group[NAME_LENGTH], list[NAME_LENGTH], *p, rel_path[NAME_LENGTH]; int i; /* remove any CR/LF from path */ strlcpy(rel_path, rp, sizeof(rel_path)); if (strchr(rel_path, '\r')) *strchr(rel_path, '\r') = 0; if (strchr(rel_path, '\n...
53,174,959,929,343,710,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,462
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void strencode_nouml(char *text) { int i; for (i = 0; i < (int) strlen(text); i++) { switch (text[i]) { case '\n': rsprintf("<br>\n"); break; case '<': rsprintf("&lt;"); break; case '>': rsprintf("&gt;"); bre...
250,245,522,171,736,400,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,463
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void ricon(char *name, char *comment, char *onclick) { rsprintf ("<img align=\"middle\" name=\"%s\" src=\"icons/elc_%s.png\" alt=\"%s\" title=\"%s\" border=\"0\"\n", name, name, comment, comment); rsprintf(" onclick=\"%s\"", onclick); rsprintf(" onmousedown=\"document.images.%s.src='icon...
130,697,782,721,108,280,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,464
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void submit_elog_mirror(LOGBOOK *lbs) { char str[1000], date[80], attrib_value[MAX_N_ATTR][NAME_LENGTH], attrib_name[MAX_N_ATTR][NAME_LENGTH], in_reply_to[80], encoding[80], reply_to[MAX_REPLY_TO * 10], att_file[MAX_ATTACHMENTS][256], name[NAME_LENGTH], value[NAME_LENGTH]; int i, message_id,...
110,664,047,415,499,360,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,465
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void strencode2(char *b, const char *text, int size) { int i; *b = 0; for (i = 0; i < (int) strlen(text); i++) { switch (text[i]) { case '\n': if (strlen(b) + 5 >= (unsigned int) size) return; strcat(b, "<br>\n"); break; case '<': ...
313,958,886,256,094,800,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,466
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void strsubst(char *string, int size, char *pattern, char *subst) /* subsitute "pattern" with "subst" in "string" */ { char *tail, *p; int s; p = string; for (p = stristr(p, pattern); p != NULL; p = stristr(p, pattern)) { if (strlen(pattern) == strlen(subst)) { memcpy(p, subst, strlen(subst...
121,057,324,263,964,840,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,467
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void _MD5_transform(unsigned int state[4], unsigned char block[64]) { unsigned int lA = state[0], lB = state[1], lC = state[2], lD = state[3]; unsigned int x[16]; _MD5_decode(x, block, 64); /* round 1 */ FF(lA, lB, lC, lD, x[0], 7, 0xd76aa478); // 1 FF(lD, lA, lB, lC, x[1], 12, 0xe8c7b756); /...
164,849,521,427,292,530,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,468
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
int exist_file(char *file_name) { int fh; fh = open(file_name, O_RDONLY | O_BINARY); if (fh > 0) { close(fh); return 1; } return 0; }
112,369,609,916,523,800,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,469
elog
993bed4923c88593cc6b1186e0d1b9564994a25a
https://bitbucket.org/ritt/elog
https://bitbucket.org/ritt/elog/commits/993bed4923c88593cc6b1186e0d1b9564994a25a
Serve SVG files as attachments only to avoid XSS vulnerabilities
0
void write_logfile(LOGBOOK *lbs, const char *text) { char file_name[MAX_PATH_LENGTH]; char str[MAX_PATH_LENGTH], unm[256]; int fh; time_t now; char buf[10000]; if (lbs == NULL) { if (!getcfg("global", "logfile", str, sizeof(str))) return; } else if (!getcfg(lbs->name, "logfile", str...
316,586,691,635,457,400,000,000,000,000,000,000,000
None
null
[ "CWE-79" ]
CVE-2019-20376
A cross-site scripting (XSS) vulnerability in Electronic Logbook (ELOG) 3.1.4 allows remote attackers to inject arbitrary web script or HTML via a crafted SVG document to elogd.c.
https://nvd.nist.gov/vuln/detail/CVE-2019-20376
519,489
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SpoolerQueueStop(SpoolerQueue *queuePtr, const Ns_Time *timeoutPtr, const char *name) { NS_NONNULL_ASSERT(timeoutPtr != NULL); NS_NONNULL_ASSERT(name != NULL); while (queuePtr != NULL) { Ns_ReturnCode status; Ns_MutexLock(&queuePtr->lock); if (!queuePtr->stopped && !queuePtr->shut...
137,942,813,396,335,700,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,490
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
PollSet(PollData *pdata, NS_SOCKET sock, short type, const Ns_Time *timeoutPtr) { NS_NONNULL_ASSERT(pdata != NULL); /* * Grow the pfds array if necessary. */ if (unlikely(pdata->nfds >= pdata->maxfds)) { pdata->maxfds += 100u; pdata->pfds = ns_realloc(pdata->pfds, pdata->maxfds * ...
332,339,988,082,216,750,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,491
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockAccept(Driver *drvPtr, NS_SOCKET sock, Sock **sockPtrPtr, const Ns_Time *nowPtr) { Sock *sockPtr; SockState sockStatus; NS_DRIVER_ACCEPT_STATUS status; NS_NONNULL_ASSERT(drvPtr != NULL); sockPtr = SockNew(drvPtr); /* * Accept the new connection. */ status = DriverAccept(...
193,888,361,525,047,480,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,492
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockTimeout(Sock *sockPtr, const Ns_Time *nowPtr, const Ns_Time *timeout) { NS_NONNULL_ASSERT(sockPtr != NULL); sockPtr->timeout = *nowPtr; Ns_IncrTime(&sockPtr->timeout, timeout->sec, timeout->usec); }
204,292,995,130,653,460,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,493
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterPerPoolRates(WriterSock *writePtr, Tcl_HashTable *pools) { WriterSock *curPtr; Tcl_HashSearch search; Tcl_HashEntry *hPtr; NS_NONNULL_ASSERT(writePtr != NULL); NS_NONNULL_ASSERT(pools != NULL); /* * First reset pool total rate. We keep the bandwidth managed pools in a * ...
155,095,578,217,916,940,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,494
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsStartDrivers(void) { Driver *drvPtr; /* * Signal and wait for each driver to start. */ for (drvPtr = firstDrvPtr; drvPtr != NULL; drvPtr = drvPtr->nextPtr) { if (drvPtr->port == 0u) { /* * Don't start a driver having port zero. */ cont...
31,770,182,325,229,960,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,495
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsTclWriterObjCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { const Ns_SubCmdSpec subcmds[] = { {"list", WriterListObjCmd}, {"size", WriterSizeObjCmd}, {"streaming", WriterStreamingObjCmd}, {"submit", WriterSubmitObj...
140,087,344,664,478,080,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,496
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterListObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; NsServer *servPtr = NULL; Ns_ObjvSpec lopts[] = { {"-server", Ns_ObjvServer, &servPtr, NULL}, {NULL, NULL, NULL, NULL} }; if (unlikely(Ns_Parse...
130,191,463,777,869,950,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,497
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterThread(void *arg) { SpoolerQueue *queuePtr = (SpoolerQueue*)arg; int err, pollTimeout; bool stopping; Ns_Time now; Sock *sockPtr; const Driver *drvPtr; WriterSock *curPtr, *nextPtr, *writePtr; PollData pdata; Tcl_HashTable...
272,510,371,193,412,130,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,498
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsWriterFinish(NsWriterSock *wrSockPtr) { WriterSock *writerSockPtr = (WriterSock *)wrSockPtr; NS_NONNULL_ASSERT(wrSockPtr != NULL); Ns_Log(DriverDebug, "NsWriterFinish: %p", (void *)writerSockPtr); writerSockPtr->doStream = NS_WRITER_STREAM_FINISH; SockTrigger(writerSockPtr->queuePtr->pipe[1]); }
80,564,214,427,475,450,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,499
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverThread(void *arg) { Driver *drvPtr = (Driver*)arg; Ns_Time now, diff; char charBuffer[1], drain[1024]; int pollTimeout, accepted, nrBindaddrs = 0; bool stopping; unsigned int flags; Sock *sockPtr, *closePtr, *nextPtr, *waitPtr, *r...
68,002,726,378,398,560,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,500
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SpoolerQueueStart(SpoolerQueue *queuePtr, Ns_ThreadProc *proc) { NS_NONNULL_ASSERT(proc != NULL); while (queuePtr != NULL) { if (ns_sockpair(queuePtr->pipe) != 0) { Ns_Fatal("ns_sockpair() failed: %s", ns_sockstrerror(ns_sockerrno)); } Ns_ThreadCreate(proc, queuePtr, 0, &que...
203,933,095,747,182,080,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,501
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockSendResponse(Sock *sockPtr, int code, const char *errMsg) { struct iovec iov[3]; char header[32]; ssize_t sent, tosend; NS_NONNULL_ASSERT(sockPtr != NULL); NS_NONNULL_ASSERT(errMsg != NULL); snprintf(header, sizeof(header), "HTTP/1.0 %d ", code); iov[0].iov_base = header; ...
238,594,377,684,647,050,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,502
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
AsyncLogfileCloseObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int fd, result = TCL_OK; Ns_ObjvValueRange range = {0, INT_MAX}; Ns_ObjvSpec args[] = { {"fd", Ns_ObjvInt, &fd, &range}, {NULL, NULL, NULL, NULL} }; if (unlikel...
144,461,940,786,063,700,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,503
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
ChunkedDecode(Request *reqPtr, bool update) { const Tcl_DString *bufPtr; const char *end, *chunkStart; SockState result = SOCK_READY; NS_NONNULL_ASSERT(reqPtr != NULL); bufPtr = &reqPtr->buffer; end = bufPtr->string + bufPtr->length; chunkStart = bufPtr->string + reqPtr->chu...
52,143,067,939,071,995,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,504
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockNew(Driver *drvPtr) { Sock *sockPtr; NS_NONNULL_ASSERT(drvPtr != NULL); Ns_MutexLock(&drvPtr->lock); sockPtr = drvPtr->sockPtr; if (likely(sockPtr != NULL)) { drvPtr->sockPtr = sockPtr->nextPtr; sockPtr->keep = NS_FALSE; } Ns_MutexUnlock(&drvPtr->lock); if (sockP...
207,184,852,200,232,030,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,505
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockRelease(Sock *sockPtr, SockState reason, int err) { Driver *drvPtr; NS_NONNULL_ASSERT(sockPtr != NULL); Ns_Log(DriverDebug, "SockRelease reason %s err %d (sock %d)", GetSockStateName(reason), err, sockPtr->sock); drvPtr = sockPtr->drvPtr; assert(drvPtr != NULL); SockError(sock...
158,981,964,574,776,200,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,506
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterGetMemunitFromDict(Tcl_Interp *interp, Tcl_Obj *dictObj, Tcl_Obj *keyObj, Ns_ObjvValueRange *rangePtr, Tcl_WideInt *valuePtr) { Tcl_Obj *intObj = NULL; int result; NS_NONNULL_ASSERT(interp != NULL); NS_NONNULL_ASSERT(dictObj != NULL); NS_NONNULL_ASSERT(keyObj != ...
181,538,555,639,482,400,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,507
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsStopSpoolers(void) { const Driver *drvPtr; Ns_Log(Notice, "driver: stopping writer and spooler threads"); /* * Shutdown all spooler and writer threads */ for (drvPtr = firstDrvPtr; drvPtr != NULL; drvPtr = drvPtr->nextPtr) { Ns_Time timeout; if ((drvPtr->flags & DRIVER_ST...
241,775,814,600,704,650,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,508
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
ServerMapEntryAdd(Tcl_DString *dsPtr, const char *host, NsServer *servPtr, Driver *drvPtr, bool addDefaultMapEntry) { Tcl_HashEntry *hPtr; int isNew; NS_NONNULL_ASSERT(dsPtr != NULL); NS_NONNULL_ASSERT(host != NULL); NS_NONNULL_ASSERT(servPtr != NULL); NS_NONNULL_AS...
95,617,943,270,378,450,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,509
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NSDriverClientOpen(Tcl_Interp *interp, const char *driverName, const char *url, const char *httpMethod, const char *version, const Ns_Time *timeoutPtr, Sock **sockPtrPtr) { char *protocol, *host, *portString, *path, *tail, *url2; int result = TCL_OK; NS_NONNULL_A...
46,666,505,862,495,130,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,510
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverInit(const char *server, const char *moduleName, const char *threadName, const Ns_DriverInitData *init, NsServer *servPtr, const char *path, const char *bindaddrs, const char *defserver, const char *host) { const char *defproto; Driver *drvPtr; DrvWriter ...
87,179,172,833,850,890,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,511
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsTclDriverObjCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { const Ns_SubCmdSpec subcmds[] = { {"info", DriverInfoObjCmd}, {"names", DriverNamesObjCmd}, {"threads", DriverThreadsObjCmd}, {"stats", DriverStatsObjCmd}, {NULL,...
7,860,881,065,255,212,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,512
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
RequestFree(Sock *sockPtr) { Request *reqPtr; bool keep; NS_NONNULL_ASSERT(sockPtr != NULL); reqPtr = sockPtr->reqPtr; assert(reqPtr != NULL); Ns_Log(DriverDebug, "=== RequestFree cleans %p (avail %" PRIuz " keep %d length %" PRIuz " contentLength %" PRIuz ")", (void *)reqPtr, ...
337,443,160,650,003,900,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,513
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterReadFromSpool(WriterSock *curPtr) { NsWriterStreamState doStream; SpoolerState status = SPOOLER_OK; size_t maxsize, toRead; unsigned char *bufPtr; NS_NONNULL_ASSERT(curPtr != NULL); doStream = curPtr->doStream; if (doStream != NS_WRITER_STREAM_NONE) { ...
104,839,525,921,768,780,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,514
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSockRelease(WriterSock *wrSockPtr) { SpoolerQueue *queuePtr; NS_NONNULL_ASSERT(wrSockPtr != NULL); wrSockPtr->refCount --; Ns_Log(DriverDebug, "WriterSockRelease %p refCount %d keep %d", (void *)wrSockPtr, wrSockPtr->refCount, wrSockPtr->keep); if (wrSockPtr->refCount > 0) { ...
175,732,629,814,110,650,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,515
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockRead(Sock *sockPtr, int spooler, const Ns_Time *timePtr) { const Driver *drvPtr; Request *reqPtr; Tcl_DString *bufPtr; struct iovec buf; char tbuf[16384]; size_t buflen, nread; ssize_t n; SockState resultState; NS_NONNULL_ASSERT(sockPtr != ...
43,199,619,691,959,295,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,516
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSockRequire(const Conn *connPtr) { WriterSock *wrSockPtr; NS_NONNULL_ASSERT(connPtr != NULL); NsWriterLock(); wrSockPtr = (WriterSock *)connPtr->strWriter; if (wrSockPtr != NULL) { wrSockPtr->refCount ++; } NsWriterUnlock(); return wrSockPtr; }
332,031,415,751,094,300,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,517
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSubmitObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; Ns_Conn *conn; Tcl_Obj *dataObj; Ns_ObjvSpec args[] = { {"data", Ns_ObjvObj, &dataObj, NULL}, {NULL, NULL, NULL, NULL} }...
133,822,020,474,412,160,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,518
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverModuleInitialized(const char *module) { Driver *drvPtr; bool found = NS_FALSE; NS_NONNULL_ASSERT(module != NULL); for (drvPtr = firstDrvPtr; drvPtr != NULL; drvPtr = drvPtr->nextPtr) { if (strcmp(drvPtr->moduleName, module) == 0) { found = NS_TRUE; Ns_Log(Notice...
302,511,962,560,973,100,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,519
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
LogBuffer(Ns_LogSeverity severity, const char *msg, const char *buffer, size_t len) { Tcl_DString ds; NS_NONNULL_ASSERT(msg != NULL); NS_NONNULL_ASSERT(buffer != NULL); if (Ns_LogSeverityEnabled(severity)) { Tcl_DStringInit(&ds); Tcl_DStringAppend(&ds, msg, -1); Tcl_DStringApp...
162,832,779,593,354,830,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,520
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
PollCreate(PollData *pdata) { NS_NONNULL_ASSERT(pdata != NULL); memset(pdata, 0, sizeof(PollData)); }
112,239,878,228,318,220,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,521
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsWakeupDriver(const Driver *drvPtr) { NS_NONNULL_ASSERT(drvPtr != NULL); SockTrigger(drvPtr->trigger[1]); }
313,116,151,410,889,830,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,522
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverAccept(Sock *sockPtr, NS_SOCKET sock) { socklen_t n = (socklen_t)sizeof(struct NS_SOCKADDR_STORAGE); NS_NONNULL_ASSERT(sockPtr != NULL); return (*sockPtr->drvPtr->acceptProc)((Ns_Sock *) sockPtr, sock, (struct sockad...
90,481,089,088,056,250,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,523
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockQueue(Sock *sockPtr, const Ns_Time *timePtr) { Ns_ReturnCode result; NS_NONNULL_ASSERT(sockPtr != NULL); /* * Verify the conditions. Request struct must exist already. */ assert(sockPtr->reqPtr != NULL); SockSetServer(sockPtr); assert(sockPtr->servPtr != NULL); /* * A...
250,473,634,991,233,500,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,524
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
void NsWriterLock(void) { Ns_MutexLock(&writerlock); }
69,456,049,199,611,410,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,525
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverThreadsObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; if (Ns_ParseObjv(NULL, NULL, interp, 2, objc, objv) != NS_OK) { result = TCL_ERROR; } else { const Driver *drvPtr; Tcl_Obj *resultObj = Tcl_NewListObj(...
80,685,498,959,930,710,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,526
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsTclAsyncLogfileObjCmd(ClientData clientData, Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { const Ns_SubCmdSpec subcmds[] = { {"open", AsyncLogfileOpenObjCmd}, {"write", AsyncLogfileWriteObjCmd}, {"close", AsyncLogfileCloseObjCmd}, {NULL, NULL} }; return Ns_SubcmdO...
288,452,311,595,205,300,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,527
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
PollReset(PollData *pdata) { NS_NONNULL_ASSERT(pdata != NULL); pdata->nfds = 0u; pdata->timeout.sec = TIME_T_MAX; pdata->timeout.usec = 0; }
316,354,696,948,535,600,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,528
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
AsyncWriterRelease(AsyncWriteData *wdPtr) { NS_NONNULL_ASSERT(wdPtr != NULL); ns_free(wdPtr->data); ns_free(wdPtr); }
189,299,681,434,884,750,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,529
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverListen(Driver *drvPtr, const char *bindaddr) { NS_SOCKET sock; NS_NONNULL_ASSERT(drvPtr != NULL); NS_NONNULL_ASSERT(bindaddr != NULL); sock = (*drvPtr->listenProc)((Ns_Driver *) drvPtr, bindaddr, drvPtr->port, ...
228,616,188,497,957,200,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,530
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsAsyncWriterQueueDisable(bool shutdown) { if (asyncWriter != NULL) { SpoolerQueue *queuePtr = asyncWriter->firstPtr; Ns_Time timeout; assert(queuePtr != NULL); Ns_GetTime(&timeout); Ns_IncrTime(&timeout, nsconf.shutdowntimeout.sec, nsconf.shutdowntimeout.usec); ...
34,913,454,378,617,980,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,531
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockTrigger(NS_SOCKET sock) { if (send(sock, NS_EMPTY_STRING, 1, 0) != 1) { const char *errstr = ns_sockstrerror(ns_sockerrno); Ns_Log(Error, "driver: trigger send() failed: %s", errstr); } }
67,241,702,176,675,800,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,532
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
void NsWriterUnlock(void) { Ns_MutexUnlock(&writerlock); }
36,675,743,966,201,300,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,533
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSubmitFileObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; Ns_Conn *conn; char *fileNameString; int headers = 0; Tcl_WideInt offset = 0, size = 0; Ns_ObjvValueRange offsetRange = {0, LLONG_MAX}; Ns...
195,816,745,300,655,670,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,534
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsAsyncWrite(int fd, const char *buffer, size_t nbyte) { Ns_ReturnCode returnCode = NS_OK; NS_NONNULL_ASSERT(buffer != NULL); /* * If the async writer has not started or is deactivated, behave like a * ns_write() command. If the ns_write() fails, we can't do much, since * the writing of an ...
239,709,877,948,790,200,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,535
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockClose(Sock *sockPtr, int keep) { NS_NONNULL_ASSERT(sockPtr != NULL); if (keep != 0) { bool driverKeep = DriverKeep(sockPtr); keep = (int)driverKeep; } if (keep == (int)NS_FALSE) { DriverClose(sockPtr); } Ns_MutexLock(&sockPtr->drvPtr->lock); sockPtr->keep = (bool...
17,920,371,963,069,178,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,536
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterStreamingObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int boolValue = -1, result = TCL_OK; Tcl_Obj *driverObj = NULL; Ns_Conn *conn = NULL; const char *firstArgString; Ns_ObjvSpec *opts, optsNew[] = { ...
43,880,559,495,177,570,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,537
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverNamesObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; if (Ns_ParseObjv(NULL, NULL, interp, 2, objc, objv) != NS_OK) { result = TCL_ERROR; } else { const Driver *drvPtr; Tcl_Obj *resultObj = Tcl_NewListObj(0,...
90,033,778,870,336,150,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,538
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
EndOfHeader(Sock *sockPtr) { Request *reqPtr; const char *s; NS_NONNULL_ASSERT(sockPtr != NULL); reqPtr = sockPtr->reqPtr; assert(reqPtr != NULL); reqPtr->chunkStartOff = 0u; /* * Check for "expect: 100-continue" and clear flag in case we have * pipelining. */ s...
84,686,561,093,864,470,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,539
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsInitDrivers(void) { DriverDebug = Ns_CreateLogSeverity("Debug(ns:driver)"); WriterDebug = Ns_CreateLogSeverity("Debug(writer)"); Ns_LogTaskDebug = Ns_CreateLogSeverity("Debug(task)"); Ns_LogRequestDebug = Ns_CreateLogSeverity("Debug(request)"); Ns_LogConnchanDebug = Ns_CreateLogSeverity("Debug(con...
165,744,105,439,004,740,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,540
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockPoll(Sock *sockPtr, short type, PollData *pdata) { NS_NONNULL_ASSERT(sockPtr != NULL); NS_NONNULL_ASSERT(pdata != NULL); sockPtr->pidx = PollSet(pdata, sockPtr->sock, type, &sockPtr->timeout); }
129,064,218,107,655,260,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,541
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSizeObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; Tcl_Obj *driverObj = NULL; Ns_Conn *conn = NULL; Tcl_WideInt intValue = -1; const char *firstArgString; Ns_ObjvValueRange range =...
73,545,145,552,816,480,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,542
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverInfoObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; if (Ns_ParseObjv(NULL, NULL, interp, 2, objc, objv) != NS_OK) { result = TCL_ERROR; } else { const Driver *drvPtr; Tcl_Obj *resultObj = Tcl_NewListObj(0, ...
328,903,523,638,666,880,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,543
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsAsyncWriterQueueEnable(void) { if (Ns_ConfigBool(NS_CONFIG_PARAMETERS, "asynclogwriter", NS_FALSE) == NS_TRUE) { SpoolerQueue *queuePtr; /* * In case, the async writer has not started, the static variable * asyncWriter is NULL. */ if (asyncWriter == NULL) { ...
264,711,469,797,037,300,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,544
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsSockClose(Sock *sockPtr, int keep) { Driver *drvPtr; bool trigger = NS_FALSE; NS_NONNULL_ASSERT(sockPtr != NULL); drvPtr = sockPtr->drvPtr; Ns_Log(DriverDebug, "NsSockClose sockPtr %p (%d) keep %d", (void *)sockPtr, ((Ns_Sock*)sockPtr)->sock, keep); SockClose(sockPtr, keep); ...
122,080,418,484,741,840,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,545
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
AsyncWriterThread(void *arg) { SpoolerQueue *queuePtr = (SpoolerQueue*)arg; char charBuffer[1]; int pollTimeout; Ns_ReturnCode status; bool stopping; AsyncWriteData *curPtr, *nextPtr, *writePtr; PollData pdata; Ns_ThreadSetName("-asynclogwrit...
98,052,386,112,653,650,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,546
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NSDriverSockNew(Tcl_Interp *interp, NS_SOCKET sock, const char *protocol, const char *driverName, const char *methodName, Sock **sockPtrPtr) { int result = TCL_OK; Driver *drvPtr; NS_NONNULL_ASSERT(interp != NULL); NS_NONNULL_ASSERT(protocol != NULL); NS_NONNUL...
100,910,543,544,645,800,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,547
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
PollFree(PollData *pdata) { NS_NONNULL_ASSERT(pdata != NULL); ns_free(pdata->pfds); memset(pdata, 0, sizeof(PollData)); }
302,232,332,668,417,600,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,548
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSubmitFilesObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; Ns_Conn *conn; int headers = 0, nrFiles; Tcl_Obj *filesObj = NULL, **fileObjv; Ns_ObjvSpec lopts[] = { {"-headers", Ns_ObjvBool, &header...
337,128,963,119,318,070,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,549
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockSpoolerQueue(Driver *drvPtr, Sock *sockPtr) { bool trigger = NS_FALSE; SpoolerQueue *queuePtr; NS_NONNULL_ASSERT(drvPtr != NULL); NS_NONNULL_ASSERT(sockPtr != NULL); /* * Get the next spooler thread from the list, all spooler requests are * rotated between all spooler threads...
13,961,183,392,567,227,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,550
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsWriterQueue(Ns_Conn *conn, size_t nsend, Tcl_Channel chan, FILE *fp, int fd, struct iovec *bufs, int nbufs, const Ns_FileVec *filebufs, int nfilebufs, bool everysize) { Conn *connPtr; WriterSock *wrSockPtr; SpoolerQueue *queuePtr; Dr...
206,110,689,299,782,520,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,551
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
RequestNew(Sock *sockPtr) { Request *reqPtr; bool reuseRequest = NS_TRUE; NS_NONNULL_ASSERT(sockPtr != NULL); /* * Try to get a request from the pool of allocated Requests. */ Ns_MutexLock(&reqLock); reqPtr = firstReqPtr; if (likely(reqPtr != NULL)) { firstReqPtr = re...
139,354,518,406,894,890,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,552
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
GetSockStateName(SockState sockState) { int sockStateInt = (int)sockState; static const char *sockStateStrings[] = { "SOCK_READY", "SOCK_MORE", "SOCK_SPOOL", "SOCK_ERROR", "SOCK_CLOSE", "SOCK_CLOSETIMEOUT", "SOCK_READTIMEOUT", "SOCK_WRITETIMEOUT", ...
179,650,780,574,286,540,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,553
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSend(WriterSock *curPtr, int *err) { const struct iovec *bufs; struct iovec vbuf; int nbufs; SpoolerState status = SPOOLER_OK; size_t toWrite; ssize_t n; NS_NONNULL_ASSERT(curPtr != NULL); NS_NONNULL_ASSERT(err != NULL); ...
278,716,953,105,579,970,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,554
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverClose(Sock *sockPtr) { NS_NONNULL_ASSERT(sockPtr != NULL); (*sockPtr->drvPtr->closeProc)((Ns_Sock *) sockPtr); }
226,157,367,326,266,620,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,555
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSetupStreamingMode(Conn *connPtr, struct iovec *bufs, int nbufs, int *fdPtr) { bool first; size_t wrote = 0u; WriterSock *wrSockPtr1; Ns_ReturnCode status = NS_OK; NS_NONNULL_ASSERT(connPtr != NULL); NS_NONNULL_ASSERT(bufs != NULL); NS_NONNULL_ASSERT(fdPtr != NUL...
183,259,509,962,906,850,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,556
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsWaitDriversShutdown(const Ns_Time *toPtr) { Driver *drvPtr; Ns_ReturnCode status = NS_OK; for (drvPtr = firstDrvPtr; drvPtr != NULL; drvPtr = drvPtr->nextPtr) { if ((drvPtr->flags & DRIVER_STARTED) == 0u) { continue; } Ns_MutexLock(&drvPtr->lock); while ...
23,978,148,232,903,370,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,557
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
void NsDriverMapVirtualServers(void) { Driver *drvPtr; for (drvPtr = firstDrvPtr; drvPtr != NULL; drvPtr = drvPtr->nextPtr) { const Ns_Set *lset; size_t j; Tcl_DString ds, *dsPtr = &ds; const char *path, *defserver, *moduleName; moduleName = drvPtr->moduleNa...
186,438,681,693,604,580,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,558
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriteWarningRaw(const char *msg, int fd, size_t wantWrite, ssize_t written) { fprintf(stderr, "%s: Warning: wanted to write %" PRIuz " bytes, wrote %ld to file descriptor %d\n", msg, wantWrite, (long)written, fd); }
146,783,687,751,428,670,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,559
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
Ns_DriverInit(const char *server, const char *module, const Ns_DriverInitData *init) { Ns_ReturnCode status = NS_OK; NsServer *servPtr = NULL; bool alreadyInitialized = NS_FALSE; NS_NONNULL_ASSERT(module != NULL); NS_NONNULL_ASSERT(init != NULL); /* * If a server is provid...
106,762,622,650,278,760,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,560
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterGetInfoPtr(WriterSock *curPtr, Tcl_HashTable *pools) { NS_NONNULL_ASSERT(curPtr != NULL); NS_NONNULL_ASSERT(pools != NULL); if (curPtr->infoPtr == NULL) { int isNew; Tcl_HashEntry *hPtr; hPtr = Tcl_CreateHashEntry(pools, (void*)curPtr->poolPtr, &isNew); if...
192,057,105,845,277,040,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,561
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
AsyncLogfileOpenObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; unsigned int flags = O_APPEND; char *fileNameString; Tcl_Obj *flagsObj = NULL; Ns_ObjvTable flagTable[] = { {"APPEND", O_APPEND}, {"EXC...
221,394,582,268,819,030,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,562
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsStopDrivers(void) { Driver *drvPtr; NsAsyncWriterQueueDisable(NS_TRUE); for (drvPtr = firstDrvPtr; drvPtr != NULL; drvPtr = drvPtr->nextPtr) { Tcl_HashEntry *hPtr; Tcl_HashSearch search; if ((drvPtr->flags & DRIVER_STARTED) == 0u) { continue; } Ns...
250,052,010,962,374,740,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,563
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SpoolerThread(void *arg) { SpoolerQueue *queuePtr = (SpoolerQueue*)arg; char charBuffer[1]; int pollTimeout; bool stopping; Sock *sockPtr, *nextPtr, *waitPtr, *readPtr; Ns_Time now, diff; const Driver *drvPtr; PollData pdata; Ns...
149,985,744,195,056,820,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,564
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockParse(Sock *sockPtr) { const Tcl_DString *bufPtr; const Driver *drvPtr; Request *reqPtr; char save; SockState result; NS_NONNULL_ASSERT(sockPtr != NULL); drvPtr = sockPtr->drvPtr; NsUpdateProgress((Ns_Sock *) sockPtr); reqPtr = sockPt...
186,351,921,768,973,860,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,565
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverWriterFromObj( Tcl_Interp *interp, Tcl_Obj *driverObj, Ns_Conn *conn, DrvWriter **wrPtrPtr) { Driver *drvPtr; const char *driverName = NULL; int driverNameLen = 0; DrvWriter *wrPtr = NULL; Ns_ReturnCode result; /* * If no driver is provided, take the current driv...
123,981,260,260,846,500,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,566
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsDriverSendFile(Sock *sockPtr, Ns_FileVec *bufs, int nbufs, unsigned int flags) { ssize_t sent = -1; const Driver *drvPtr; NS_NONNULL_ASSERT(sockPtr != NULL); NS_NONNULL_ASSERT(bufs != NULL); drvPtr = sockPtr->drvPtr; NS_NONNULL_ASSERT(drvPtr != NULL); if (drvPtr->sendFileProc != ...
195,920,973,416,274,600,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,567
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
SockSetServer(Sock *sockPtr) { char *host; Request *reqPtr; bool bad_request = NS_FALSE; Driver *drvPtr; NS_NONNULL_ASSERT(sockPtr != NULL); reqPtr = sockPtr->reqPtr; assert(reqPtr != NULL); drvPtr = sockPtr->drvPtr; assert(drvPtr != NULL); sockPtr->servPtr = drvPtr-...
198,995,294,516,701,400,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,568
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
AsyncLogfileWriteObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK, binary = (int)NS_FALSE, sanitize; Tcl_Obj *stringObj; int fd = 0; Ns_ObjvValueRange fd_range = {0, INT_MAX}; Ns_ObjvValueRange saniti...
30,286,741,373,391,200,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,569
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsDriverRecv(Sock *sockPtr, struct iovec *bufs, int nbufs, Ns_Time *timeoutPtr) { ssize_t result; const Driver *drvPtr; NS_NONNULL_ASSERT(sockPtr != NULL); drvPtr = sockPtr->drvPtr; if (likely(drvPtr->recvProc != NULL)) { result = (*drvPtr->recvProc)((Ns_Sock *) sockPtr, bufs, nbufs...
316,490,611,793,393,500,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,570
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
LookupDriver(Tcl_Interp *interp, const char* protocol, const char *driverName) { Driver *drvPtr; NS_NONNULL_ASSERT(interp != NULL); NS_NONNULL_ASSERT(protocol != NULL); for (drvPtr = firstDrvPtr; drvPtr != NULL; drvPtr = drvPtr->nextPtr) { Ns_Log(DriverDebug, "... check Driver proto <%s> serv...
288,096,596,870,310,600,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,571
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
WriterSockFileVecCleanup(WriterSock *wrSockPtr) { NS_NONNULL_ASSERT(wrSockPtr != NULL); if ( wrSockPtr->c.file.nbufs > 0) { int i; Ns_Log(DriverDebug, "WriterSockRelease nbufs %d", wrSockPtr->c.file.nbufs); for (i = 0; i < wrSockPtr->c.file.nbufs; i++) { /* *...
93,513,876,702,376,250,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,572
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
DriverStatsObjCmd(ClientData UNUSED(clientData), Tcl_Interp *interp, int objc, Tcl_Obj *const* objv) { int result = TCL_OK; if (Ns_ParseObjv(NULL, NULL, interp, 2, objc, objv) != NS_OK) { result = TCL_ERROR; } else { const Driver *drvPtr; Tcl_Obj *resultObj = Tcl_NewListObj(0...
161,109,149,773,265,930,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111
519,573
naviserver
a5c3079f1d8996d5f34c9384a440acf3519ca3bb
https://bitbucket.org/naviserver/naviserver
https://bitbucket.org/naviserver/naviserver/commits/a5c3079f1d8996d5f34c9384a440acf3519ca3bb
fix for bug https://sourceforge.net/p/naviserver/bugs/89/ A negative value provided as chunk encoding length led to a potential crash. A test case for this case was added to the regression test.
0
NsGetRequest(Sock *sockPtr, const Ns_Time *nowPtr) { Request *reqPtr; NS_NONNULL_ASSERT(sockPtr != NULL); /* * The underlying "Request" structure is allocated by RequestNew(), which * must be called for the "sockPtr" prior to calling this * function. "reqPtr" should be NULL just in error ca...
113,706,007,365,610,630,000,000,000,000,000,000,000
None
null
[ "CWE-787" ]
CVE-2020-13111
NaviServer 4.99.4 to 4.99.19 allows denial of service due to the nsd/driver.c ChunkedDecode function not properly validating the length of a chunk. A remote attacker can craft a chunked-transfer request that will result in a negative value being passed to memmove via the size parameter, causing the process to crash.
https://nvd.nist.gov/vuln/detail/CVE-2020-13111