prior_version
stringlengths
69
33.8k
after_version
stringlengths
27
34.8k
vuln_id
stringlengths
13
19
cwe_id
stringclasses
137 values
score
float64
0
10
chain
stringlengths
78
111
dataset
stringclasses
2 values
summary
stringlengths
44
6.88k
published_date
stringdate
2009-05-11 00:00:00
2022-08-11 00:00:00
chain_len
int64
1
1
project
stringlengths
26
59
commit_href
stringlengths
74
107
commit_sha
stringlengths
40
40
patch
stringclasses
1 value
chain_ord
stringlengths
44
44
before_first_fix_commit
stringlengths
44
88
last_fix_commit
stringlengths
40
40
chain_ord_pos
int64
1
1
commit_datetime
stringlengths
20
20
message
stringlengths
2
8.66k
author
stringlengths
2
44
comments
stringclasses
155 values
stats
stringclasses
474 values
files
listlengths
1
1
file_extension
stringclasses
14 values
cwe
stringclasses
25 values
file_paths
listlengths
1
1
file_paths_str
stringlengths
4
162
num_files
int64
1
1
function displayHeader() } } $this->tpl->setVariable("VAL_CMD", $_GET["cmd"]); $this->tpl->setVariable("TXT_OK",$this->lng->txt("change")); $this->tpl->setVariable("TXT_CHOOSE_LANGUAGE",$this->lng->txt("choose_language")); $this->tpl->setVariable("PAGETITLE","Setup");
function displayHeader() } } $this->tpl->setVariable("VAL_CMD", htmlspecialchars($_GET["cmd"])); $this->tpl->setVariable("TXT_OK",$this->lng->txt("change")); $this->tpl->setVariable("TXT_CHOOSE_LANGUAGE",$this->lng->txt("choose_language")); $this->tpl->setVariable("PAGETITLE","Setup");
CVE-2018-5688
{'CWE-79'}
2.9
{'https://github.com/ILIAS-eLearning/ILIAS/commit/c0f326d05231072e33679b84835c03d5043255cb'}
nvd
ILIAS before 5.2.4 has XSS via the cmd parameter to the displayHeader function in setup/classes/class.ilSetupGUI.php in the Setup component.
2018-01-14
1
https://github.com/ILIAS-eLearning/ILIAS
https://github.com/ILIAS-eLearning/ILIAS/commit/c0f326d05231072e33679b84835c03d5043255cb
c0f326d05231072e33679b84835c03d5043255cb
SINGLE
['c0f326d05231072e33679b84835c03d5043255cb']
{'a027066f61c7383b0216e78b20ee9300ebe0b332'}
c0f326d05231072e33679b84835c03d5043255cb
1
04/24/2017, 08:09:05
Fixed output of "cmd" parameter (cherry picked from commit 2106df4)
mjansen
{'com_1': {'author': 'floriankunushevci', 'datetime': '04/24/2017, 12:20:25', 'body': 'Happy to help fixing this bug :) :+1:'}}
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -596,7 +596,7 @@ function displayHeader()\n \t\t\t}\n \t\t}\n \n-\t\t$this->tpl->setVariable(\"VAL_CMD\", $_GET[\"cmd\"]);\n+\t\t$this->tpl->setVariable(\"VAL_CMD\", htmlspecialchars($_GET[\"cmd\"]));\n \t\t$this->tpl->setVariable(\"TXT_OK...
php
CWE-79
[ "setup/classes/class.ilSetupGUI.php" ]
setup/classes/class.ilSetupGUI.php
1
static void *__ns_get_path(struct path *path, struct ns_common *ns) return ERR_PTR(-ENOMEM); } d_instantiate(dentry, inode); dentry->d_fsdata = (void *)ns->ops; d = atomic_long_cmpxchg(&ns->stashed, 0, (unsigned long)dentry); if (d) {
static void *__ns_get_path(struct path *path, struct ns_common *ns) return ERR_PTR(-ENOMEM); } d_instantiate(dentry, inode); dentry->d_flags |= DCACHE_RCUACCESS; dentry->d_fsdata = (void *)ns->ops; d = atomic_long_cmpxchg(&ns->stashed, 0, (unsigned long)dentry); if (d) {
CVE-2018-5873
{'CWE-416', 'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34'}
nvd
An issue was discovered in the __ns_get_path function in fs/nsfs.c in the Linux kernel before 4.11. Due to a race condition when accessing files, a Use After Free condition can occur. This also affects all Android releases from CAF using the Linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before securit...
2018-07-06
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34
073c516ff73557a8f7315066856c04b50383ac34
SINGLE
['073c516ff73557a8f7315066856c04b50383ac34']
{'80d136e138f59de35aafb0440e8ab2f51c40ccd5'}
073c516ff73557a8f7315066856c04b50383ac34
1
04/19/2017, 22:11:00
nsfs: mark dentry with DCACHE_RCUACCESS Andrey reported a use-after-free in __ns_get_path(): spin_lock include/linux/spinlock.h:299 [inline] lockref_get_not_dead+0x19/0x80 lib/lockref.c:179 __ns_get_path+0x197/0x860 fs/nsfs.c:66 open_related_ns+0xda/0x200 fs/nsfs.c:143 sock_ioctl+0x39d/0x440 net/socket.c:10...
Cong Wang
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -91,6 +91,7 @@ static void *__ns_get_path(struct path *path, struct ns_common *ns)\n \t\treturn ERR_PTR(-ENOMEM);\n \t}\n \td_instantiate(dentry, inode);\n+\tdentry->d_flags |= DCACHE_RCUACCESS;\n \tdentry->d_fsdata = (void *)ns->ops;\n \t...
c
CWE-416
[ "fs/nsfs.c" ]
fs/nsfs.c
1
static void *__ns_get_path(struct path *path, struct ns_common *ns) return ERR_PTR(-ENOMEM); } d_instantiate(dentry, inode); dentry->d_fsdata = (void *)ns->ops; d = atomic_long_cmpxchg(&ns->stashed, 0, (unsigned long)dentry); if (d) {
static void *__ns_get_path(struct path *path, struct ns_common *ns) return ERR_PTR(-ENOMEM); } d_instantiate(dentry, inode); dentry->d_flags |= DCACHE_RCUACCESS; dentry->d_fsdata = (void *)ns->ops; d = atomic_long_cmpxchg(&ns->stashed, 0, (unsigned long)dentry); if (d) {
CVE-2018-5873
{'CWE-416', 'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34'}
nvd
An issue was discovered in the __ns_get_path function in fs/nsfs.c in the Linux kernel before 4.11. Due to a race condition when accessing files, a Use After Free condition can occur. This also affects all Android releases from CAF using the Linux kernel (Android for MSM, Firefox OS for MSM, QRD Android) before securit...
2018-07-06
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/073c516ff73557a8f7315066856c04b50383ac34
073c516ff73557a8f7315066856c04b50383ac34
SINGLE
['073c516ff73557a8f7315066856c04b50383ac34']
{'80d136e138f59de35aafb0440e8ab2f51c40ccd5'}
073c516ff73557a8f7315066856c04b50383ac34
1
04/19/2017, 22:11:00
nsfs: mark dentry with DCACHE_RCUACCESS Andrey reported a use-after-free in __ns_get_path(): spin_lock include/linux/spinlock.h:299 [inline] lockref_get_not_dead+0x19/0x80 lib/lockref.c:179 __ns_get_path+0x197/0x860 fs/nsfs.c:66 open_related_ns+0xda/0x200 fs/nsfs.c:143 sock_ioctl+0x39d/0x440 net/socket.c:10...
Cong Wang
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -91,6 +91,7 @@ static void *__ns_get_path(struct path *path, struct ns_common *ns)\n \t\treturn ERR_PTR(-ENOMEM);\n \t}\n \td_instantiate(dentry, inode);\n+\tdentry->d_flags |= DCACHE_RCUACCESS;\n \tdentry->d_fsdata = (void *)ns->ops;\n \t...
c
CWE-362
[ "fs/nsfs.c" ]
fs/nsfs.c
1
formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form) rows = form->rows ? form->rows : 1; col = COLPOS(l, a->start.pos); for (c_rows = 0; c_rows < rows; c_rows++, l = l->next) { if (rows > 1) { pos = columnPos(l, col); a = retrieveAnchor(buf->formitem, l->linenumber, pos);
formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form) rows = form->rows ? form->rows : 1; col = COLPOS(l, a->start.pos); for (c_rows = 0; c_rows < rows; c_rows++, l = l->next) { if (l == NULL) break; if (rows > 1) { pos = columnPos(l, col); a = retrieveAnchor(buf->formitem, l->linenumber, pos...
CVE-2018-6197
{'CWE-476'}
2.9
{'https://github.com/tats/w3m/commit/7fdc83b0364005a0b5ed869230dd81752ba022e8'}
nvd
w3m through 0.5.3 is prone to a NULL pointer dereference flaw in formUpdateBuffer in form.c.
2018-01-25
1
https://github.com/tats/w3m
https://github.com/tats/w3m/commit/7fdc83b0364005a0b5ed869230dd81752ba022e8
7fdc83b0364005a0b5ed869230dd81752ba022e8
SINGLE
['7fdc83b0364005a0b5ed869230dd81752ba022e8']
{'1fd08f383d99e9ffe32f3a336623ceb086eb36b8'}
7fdc83b0364005a0b5ed869230dd81752ba022e8
1
12/26/2017, 21:43:52
Prevent invalid columnPos() call in formUpdateBuffer() Bug-Debian: https://github.com/tats/w3m/issues/89
Tatsuya Kinoshita
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -482,6 +482,8 @@ formUpdateBuffer(Anchor *a, Buffer *buf, FormItemList *form)\n \trows = form->rows ? form->rows : 1;\n \tcol = COLPOS(l, a->start.pos);\n \tfor (c_rows = 0; c_rows < rows; c_rows++, l = l->next) {\n+\t if (l == NULL)\n+...
c
CWE-476
[ "form.c" ]
form.c
1
class Activation { } const host = nuclideUri.getHostname(pathString); const cwd = nuclideUri.createRemoteUri(host, hackRootString); const notification = atom.notifications.addInfo( startDebugger
class Activation { } const host = nuclideUri.getHostname(pathString); // Allow only valid hostname characters, per RFC 952: // https://tools.ietf.org/html/rfc952 const invalidMatch = host.match(/[^A-Za-z0-9\-._]+/); if (invalidMatch != null) { atom.notifications.addError( 'The s...
CVE-2018-6333
{'CWE-20'}
6.4
{'https://github.com/facebook/nuclide/commit/65f6bbd683404be1bb569b8d1be84b5d4c74a324'}
nvd
The hhvm-attach deep link handler in Nuclide did not properly sanitize the provided hostname parameter when rendering. As a result, a malicious URL could be used to render HTML and other content inside of the editor's context, which could potentially be chained to lead to code execution. This issue affected Nuclide pri...
2018-12-31
1
https://github.com/facebook/nuclide
https://github.com/facebook/nuclide/commit/65f6bbd683404be1bb569b8d1be84b5d4c74a324
65f6bbd683404be1bb569b8d1be84b5d4c74a324
SINGLE
['65f6bbd683404be1bb569b8d1be84b5d4c74a324']
{'ee8e058c8b90cb008f3ee151c52aec40cad1174a'}
65f6bbd683404be1bb569b8d1be84b5d4c74a324
1
03/16/2018, 23:02:55
Ignore invalid hostnames in hhvm-attach deep link Summary: Provide nicer handling and an error message when following a deep link requesting HHVM debugger attach that has a malformed host name. Reviewed By: hansonw Differential Revision: D7308417 fbshipit-source-id: 60bae4013444008980dda9cda8dec5f8ae20944f
Eric Bluestein
null
{'additions': 11, 'deletions': 0, 'total': 11}
[ { "additions": 11, "changes": 11, "deletions": 0, "patch": "@@ -113,6 +113,17 @@ class Activation {\n }\n \n const host = nuclideUri.getHostname(pathString);\n+\n+ // Allow only valid hostname characters, per RFC 952:\n+ // https://tools.ietf.org/html/rfc952\n+ const invalidMatch = ...
js
CWE-20
[ "pkg/nuclide-hhvm/lib/main.js" ]
pkg/nuclide-hhvm/lib/main.js
1
*/ #include "hphp/runtime/server/upload.h" #include "hphp/runtime/base/program-functions.h" #include "hphp/runtime/base/runtime-option.h" #include "hphp/runtime/base/request-local.h" #include "hphp/runtime/base/zend-printf.h" #include "hphp/runtime/base/php-globals.h" #include "hphp/runtime/ext/apc/ext_apc.h" #includ...
*/ #include "hphp/runtime/server/upload.h" #include "hphp/runtime/base/program-functions.h" #include "hphp/runtime/base/request-event-handler.h" #include "hphp/runtime/base/request-local.h" #include "hphp/runtime/base/runtime-option.h" #include "hphp/runtime/base/string-util.h" #include "hphp/runtime/base/zend-print...
CVE-2018-6334
{'CWE-20'}
6.4
{'https://github.com/facebook/hhvm/commit/6937de5544c3eead3466b75020d8382080ed0cff'}
nvd
Multipart-file uploads call variables to be improperly registered in the global scope. In cases where variables are not declared explicitly before being used this can lead to unexpected behavior. This affects all supported versions of HHVM prior to the patch (3.25.1, 3.24.5, and 3.21.9 and below).
2018-12-31
1
https://github.com/facebook/hhvm
https://github.com/facebook/hhvm/commit/6937de5544c3eead3466b75020d8382080ed0cff
6937de5544c3eead3466b75020d8382080ed0cff
SINGLE
['6937de5544c3eead3466b75020d8382080ed0cff']
{'305fa864ac6ad012bed1ab80d1854c371c0dbb06'}
6937de5544c3eead3466b75020d8382080ed0cff
1
03/30/2018, 18:21:01
[security][CVE-2018-6334] kill globals for file uploads in hhvm Code should look at _GET, _POST, _FILES, etc. directly to avoid security concerns. This included both `$GLOBALS` and `register_globals`-like behavior. CVE-2018-6334
Fred Emmott
null
{'additions': 7, 'deletions': 47, 'total': 54}
[ { "additions": 7, "changes": 54, "deletions": 47, "patch": "@@ -16,16 +16,18 @@\n */\n \n #include \"hphp/runtime/server/upload.h\"\n+\n #include \"hphp/runtime/base/program-functions.h\"\n-#include \"hphp/runtime/base/runtime-option.h\"\n+#include \"hphp/runtime/base/request-event-handler.h\"\n #in...
cpp
CWE-20
[ "hphp/runtime/server/upload.cpp" ]
hphp/runtime/server/upload.cpp
1
static Array HHVM_METHOD(Memcache, getextendedstats, for (int server_id = 0; server_id < server_count; server_id++) { memcached_stat_st *stat; char stats_key[30] = {0}; size_t key_len; LMCD_SERVER_POSITION_INSTANCE_TYPE instance = memcached_server_instance_by_position(&data->m_memcache, serve...
static Array HHVM_METHOD(Memcache, getextendedstats, for (int server_id = 0; server_id < server_count; server_id++) { memcached_stat_st *stat; LMCD_SERVER_POSITION_INSTANCE_TYPE instance = memcached_server_instance_by_position(&data->m_memcache, server_id); const char *hostname = LMCD_SERVER_HOSTN...
CVE-2018-6340
{'CWE-125'}
6.4
{'https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3'}
nvd
The Memcache::getextendedstats function can be used to trigger an out-of-bounds read. Exploiting this issue requires control over memcached server hostnames and/or ports. This affects all supported versions of HHVM (3.30 and 3.27.4 and below).
2018-12-31
1
https://github.com/facebook/hhvm
https://github.com/facebook/hhvm/commit/4bff3bfbe90d10451e4638c2118d1ad1117bb3e3
4bff3bfbe90d10451e4638c2118d1ad1117bb3e3
SINGLE
['4bff3bfbe90d10451e4638c2118d1ad1117bb3e3']
{'3c5338be7e23d98e39fc9be57d183ef9f26963b9'}
4bff3bfbe90d10451e4638c2118d1ad1117bb3e3
1
12/18/2018, 22:05:37
CVE-2018-6340 Fix buffer overread Summary: snprintf() returns the number of would be written bytes if the buffer had enough size, letting the original code to construct output string from arbitrary data on the stack. Fix this by properly assembling the String without trying to arbitrarily limiting the length to 30 by...
Jan Oravec
null
{'additions': 7, 'deletions': 6, 'total': 13}
[ { "additions": 7, "changes": 13, "deletions": 6, "patch": "@@ -700,9 +700,6 @@ static Array HHVM_METHOD(Memcache, getextendedstats,\n \n for (int server_id = 0; server_id < server_count; server_id++) {\n memcached_stat_st *stat;\n- char stats_key[30] = {0};\n- size_t key_len;\n-\n LM...
cpp
CWE-125
[ "hphp/runtime/ext/memcache/ext_memcache.cpp" ]
hphp/runtime/ext/memcache/ext_memcache.cpp
1
void HTTPSession::onCertificateRequest(uint16_t requestId, DestructorGuard dg(this); VLOG(4) << "CERTIFICATE_REQUEST on" << *this << ", requestId=" << requestId; std::pair<uint16_t, std::unique_ptr<folly::IOBuf>> authenticator; auto fizzBase = getTransport()->getUnderlyingTransport<AsyncFizzBase>(); if (fiz...
void HTTPSession::onCertificateRequest(uint16_t requestId, DestructorGuard dg(this); VLOG(4) << "CERTIFICATE_REQUEST on" << *this << ", requestId=" << requestId; if (!secondAuthManager_) { return; } std::pair<uint16_t, std::unique_ptr<folly::IOBuf>> authenticator; auto fizzBase = getTransport()->getU...
CVE-2018-6343
{'CWE-20'}
2.9
{'https://github.com/facebook/proxygen/commit/0600ebe59c3e82cd012def77ca9ca1918da74a71'}
nvd
Proxygen fails to validate that a secondary auth manager is set before dereferencing it. That can cause a denial of service issue when parsing a Certificate/CertificateRequest HTTP2 Frame over a fizz (TLS 1.3) transport. This issue affects Proxygen releases starting from v2018.10.29.00 until the fix in v2018.11.19.00.
2018-12-31
1
https://github.com/facebook/proxygen
https://github.com/facebook/proxygen/commit/0600ebe59c3e82cd012def77ca9ca1918da74a71
0600ebe59c3e82cd012def77ca9ca1918da74a71
SINGLE
['0600ebe59c3e82cd012def77ca9ca1918da74a71']
{'abdbc69ba6d583defeb3af2dfd5840f215e38ae2'}
0600ebe59c3e82cd012def77ca9ca1918da74a71
1
11/12/2018, 23:36:38
Check that a secondary auth manager is set before dereferencing. Summary: CVE-2018-6343 Reviewed By: mingtaoy Differential Revision: D12994423 fbshipit-source-id: 9229ec11da8085f1fa153595e8e5353e19d06fb7
Kyle Nekritz
null
{'additions': 8, 'deletions': 0, 'total': 8}
[ { "additions": 8, "changes": 8, "deletions": 0, "patch": "@@ -1349,6 +1349,10 @@ void HTTPSession::onCertificateRequest(uint16_t requestId,\n DestructorGuard dg(this);\n VLOG(4) << \"CERTIFICATE_REQUEST on\" << *this << \", requestId=\" << requestId;\n \n+ if (!secondAuthManager_) {\n+ retur...
cpp
CWE-20
[ "proxygen/lib/http/session/HTTPSession.cpp" ]
proxygen/lib/http/session/HTTPSession.cpp
1
<div class="container"> <div class="col-1-1"> <h1>Form submitted successfully</h1> {% if request.args.get('next') %} <a href="{{ request.args.get('next') }}" class="button" style="margin-top: 1em;">Return to original site</a> {% endif %} </div> </div> </div>
<div class="container"> <div class="col-1-1"> <h1>Form submitted successfully</h1> </div> </div> </div>
CVE-2018-6354
{'CWE-79'}
2.9
{'https://github.com/formspree/formspree/commit/5f18eeaaa459bee9a58f70cdf7c46adb1ef34ea7'}
nvd
templates/forms/thanks.html in Formspree before 2018-01-23 allows XSS related to the _next parameter.
2018-01-27
1
https://github.com/formspree/formspree
https://github.com/formspree/formspree/commit/5f18eeaaa459bee9a58f70cdf7c46adb1ef34ea7
5f18eeaaa459bee9a58f70cdf7c46adb1ef34ea7
SINGLE
['5f18eeaaa459bee9a58f70cdf7c46adb1ef34ea7']
{'e89c30c800f8857550011dda131c425920e70a27'}
5f18eeaaa459bee9a58f70cdf7c46adb1ef34ea7
1
01/24/2018, 02:21:06
Remove XSS opportunity
Rohit Datta
{'com_1': {'author': 'colevscode', 'datetime': '02/10/2018, 22:03:11', 'body': "Hm, think we should revisit this. The return button was a nice feature. Maybe there's a way it can be done that avoids the vulnerability"}, 'com_2': {'author': 'rohitdatta', 'datetime': '02/10/2018, 22:11:29', 'body': "Agreed, I want to bri...
{'additions': 0, 'deletions': 3, 'total': 3}
[ { "additions": 0, "changes": 3, "deletions": 3, "patch": "@@ -11,9 +11,6 @@\n <div class=\"container\">\n <div class=\"col-1-1\">\n <h1>Form submitted successfully</h1>\n- {% if request.args.get('next') %}\n- <a href=\"{{ request.args.get('next') }}\" class=\"button...
html
CWE-79
[ "formspree/templates/forms/thanks.html" ]
formspree/templates/forms/thanks.html
1
int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, unsigned char __user *ured; unsigned char __user *ugreen; unsigned char __user *ublue; int index, count, i; if (get_user(index, &c->index) || __get_user(count, &c->count) || int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, un...
int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg, unsigned char __user *ured; unsigned char __user *ugreen; unsigned char __user *ublue; unsigned int index, count, i; if (get_user(index, &c->index) || __get_user(count, &c->count) || int sbusfb_ioctl_helper(unsigned long cmd, unsigned long ...
CVE-2018-6412
{'CWE-200'}
2.9
{'https://github.com/torvalds/linux/commit/250c6c49e3b68756b14983c076183568636e2bde'}
nvd
In the function sbusfb_ioctl_helper() in drivers/video/fbdev/sbuslib.c in the Linux kernel through 4.15, an integer signedness error allows arbitrary information leakage for the FBIOPUTCMAP_SPARC and FBIOGETCMAP_SPARC commands.
2018-01-31
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/250c6c49e3b68756b14983c076183568636e2bde
250c6c49e3b68756b14983c076183568636e2bde
SINGLE
['250c6c49e3b68756b14983c076183568636e2bde']
{'5fe9cfbe44b6892e17f803125c4761221b0175c6'}
250c6c49e3b68756b14983c076183568636e2bde
1
03/07/2018, 13:00:34
fbdev: Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper(). Fixing arbitrary kernel leak in case FBIOGETCMAP_SPARC in sbusfb_ioctl_helper(). 'index' is defined as an int in sbusfb_ioctl_helper(). We retrieve this from the user: if (get_user(index, &c->index) || __get_user(count, &c->co...
Peter Malone
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -122,7 +122,7 @@ int sbusfb_ioctl_helper(unsigned long cmd, unsigned long arg,\n \t\tunsigned char __user *ured;\n \t\tunsigned char __user *ugreen;\n \t\tunsigned char __user *ublue;\n-\t\tint index, count, i;\n+\t\tunsigned int index, co...
c
CWE-200
[ "drivers/video/fbdev/sbuslib.c" ]
drivers/video/fbdev/sbuslib.c
1
function current_user_ensure_unprotected() { */ function current_user_get_bug_filter( $p_project_id = null ) { $f_filter_string = gpc_get_string( 'filter', '' ); $t_filter = ''; if( !is_blank( $f_filter_string ) ) { if( is_numeric( $f_filter_string ) ) {
function current_user_ensure_unprotected() { */ function current_user_get_bug_filter( $p_project_id = null ) { $f_filter_string = gpc_get_string( 'filter', '' ); $t_filter = array(); if( !is_blank( $f_filter_string ) ) { if( is_numeric( $f_filter_string ) ) {
CVE-2018-6526
{'CWE-200'}
2.9
{'https://github.com/mantisbt/mantisbt/commit/de686a9e6d8c909485b87ca09c8f912bf83082f2'}
nvd
view_all_bug_page.php in MantisBT 2.10.0-development before 2018-02-02 allows remote attackers to discover the full path via an invalid filter parameter, related to a filter_ensure_valid_filter call in current_user_api.php.
2018-02-02
1
https://github.com/mantisbt/mantisbt
https://github.com/mantisbt/mantisbt/commit/de686a9e6d8c909485b87ca09c8f912bf83082f2
de686a9e6d8c909485b87ca09c8f912bf83082f2
SINGLE
['de686a9e6d8c909485b87ca09c8f912bf83082f2']
{'d0d5111310aa1aa21f934bbf3ba943738b52a2d6'}
de686a9e6d8c909485b87ca09c8f912bf83082f2
1
02/02/2018, 11:14:42
Fix PHP error - wrong argument type Initialize $t_filter variable as array() instead of '' in current_user_get_bug_filter(), to ensure its type is correct when calling filter_ensure_valid_filter(). Fixes #23921
Damien Regad
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -238,7 +238,7 @@ function current_user_ensure_unprotected() {\n */\n function current_user_get_bug_filter( $p_project_id = null ) {\n \t$f_filter_string = gpc_get_string( 'filter', '' );\n-\t$t_filter = '';\n+\t$t_filter = array();\n \n \...
php
CWE-200
[ "core/current_user_api.php" ]
core/current_user_api.php
1
public static function content($slug = '') */ public static function title() { return !empty(Pages::$page['meta_title']) ? Pages::$page['meta_title'] : Pages::$page['title']; } /**
public static function content($slug = '') */ public static function title() { $test = !empty(Pages::$page['meta_title']) ? Pages::$page['meta_title'] : Pages::$page['title']; return htmlspecialchars($test); } /**
CVE-2018-6550
{'CWE-79'}
2.9
{'https://github.com/monstra-cms/monstra/commit/388ab412035474068758df6b07e7e06852f3747b'}
nvd
Monstra CMS through 3.0.4 has XSS in the title function in plugins/box/pages/pages.plugin.php via a page title to admin/index.php.
2018-02-02
1
https://github.com/monstra-cms/monstra
https://github.com/monstra-cms/monstra/commit/388ab412035474068758df6b07e7e06852f3747b
388ab412035474068758df6b07e7e06852f3747b
SINGLE
['388ab412035474068758df6b07e7e06852f3747b']
{'8c318cdd033a9152a7fba591b37d6739d0c27fce'}
388ab412035474068758df6b07e7e06852f3747b
1
01/24/2018, 10:21:11
Prevent Stored XSS Vulnerability
Nikhil Mittal
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -283,7 +283,8 @@ public static function content($slug = '')\n */\n public static function title()\n {\n- return !empty(Pages::$page['meta_title']) ? Pages::$page['meta_title'] : Pages::$page['title'];\n+ $test = !...
php
CWE-79
[ "plugins/box/pages/pages.plugin.php" ]
plugins/box/pages/pages.plugin.php
1
static TEMPO ConvertTempo(uint16 ciaSpeed) static void ConvertLoopSlice(ModSample &src, ModSample &dest, SmpLength start, SmpLength len, bool loop) { if(!src.HasSampleData()) return; dest.FreeSample(); dest = src; static void ConvertLoopSequence(ModSample &smp, STPLoopList &loopList) // If adding this loop wou...
static TEMPO ConvertTempo(uint16 ciaSpeed) static void ConvertLoopSlice(ModSample &src, ModSample &dest, SmpLength start, SmpLength len, bool loop) { if(!src.HasSampleData() || start >= src.nLength || src.nLength - start < len) { return; } dest.FreeSample(); dest = src; static void ConvertLoopSequence(Mod...
CVE-2018-6611
{'CWE-125'}
6.4
{'https://github.com/OpenMPT/openmpt/commit/b60b322cf9f0ffa624018f1bb9783edf0dc908c3'}
nvd
soundlib/Load_stp.cpp in OpenMPT through 1.27.04.00, and libopenmpt before 0.3.6, has an out-of-bounds read via a malformed STP file.
2018-02-04
1
https://github.com/OpenMPT/openmpt
https://github.com/OpenMPT/openmpt/commit/b60b322cf9f0ffa624018f1bb9783edf0dc908c3
b60b322cf9f0ffa624018f1bb9783edf0dc908c3
SINGLE
['b60b322cf9f0ffa624018f1bb9783edf0dc908c3']
{'73e5145ad7a944ad27d5f604d4f0c816629ccc1e'}
b60b322cf9f0ffa624018f1bb9783edf0dc908c3
1
02/03/2018, 16:14:38
[Sec] STP: Possible out-of-bounds memory read with malformed STP files (caught with afl-fuzz). Patch-by: sagamusix (originally committed as part of r9568) git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.27@9576 56274372-70c3-4bfc-bfc3-4c3a0b034d27
Jörn Heusipp
null
{'additions': 9, 'deletions': 4, 'total': 13}
[ { "additions": 9, "changes": 13, "deletions": 4, "patch": "@@ -108,7 +108,12 @@ static TEMPO ConvertTempo(uint16 ciaSpeed)\n \n static void ConvertLoopSlice(ModSample &src, ModSample &dest, SmpLength start, SmpLength len, bool loop)\n {\n-\tif(!src.HasSampleData()) return;\n+\tif(!src.HasSampleData(...
cpp
CWE-125
[ "soundlib/Load_stp.cpp" ]
soundlib/Load_stp.cpp
1
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, for (j = 0; j < c->slices; j++) { slice_end = bytestream2_get_le32u(&gb); if (slice_end < 0 || slice_end < slice_start || bytestream2_get_bytes_left(&gb) < slice_end) { ...
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, for (j = 0; j < c->slices; j++) { slice_end = bytestream2_get_le32u(&gb); if (slice_end < 0 || slice_end < slice_start || bytestream2_get_bytes_left(&gb) < slice_end + 1024LL) { ...
CVE-2018-6621
{'CWE-125'}
2.9
{'https://github.com/FFmpeg/FFmpeg/commit/22aa37c0fedf14531783189a197542a055959b6c'}
nvd
The decode_frame function in libavcodec/utvideodec.c in FFmpeg through 3.2 allows remote attackers to cause a denial of service (out of array read) via a crafted AVI file.
2018-02-05
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/22aa37c0fedf14531783189a197542a055959b6c
22aa37c0fedf14531783189a197542a055959b6c
SINGLE
['22aa37c0fedf14531783189a197542a055959b6c']
{'7cc7346dfdefb91c99b6dea9222a2cebc53c8a04'}
22aa37c0fedf14531783189a197542a055959b6c
1
02/02/2018, 20:44:57
avcodec/utvideodec: Fix bytes left check in decode_frame() Fixes: out of array read Fixes: poc-2017.avi Found-by: GwanYeong Kim <gy741.kim@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 118e1b0b3370dd1c0da442901b486689efd1654b) Signed-off-by: Michael Niedermayer <mic...
Michael Niedermayer
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -534,7 +534,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,\n for (j = 0; j < c->slices; j++) {\n slice_end = bytestream2_get_le32u(&gb);\n if (slice_end < 0 || ...
c
CWE-125
[ "libavcodec/utvideodec.c" ]
libavcodec/utvideodec.c
1
void uwsgi_write_pidfile_explicit(char *pidfile_name, pid_t pid) { } char *uwsgi_expand_path(char *dir, int dir_len, char *ptr) { char src[PATH_MAX + 1]; memcpy(src, dir, dir_len); src[dir_len] = 0; char *dst = ptr; if (!dst) dst = uwsgi_malloc(PATH_MAX + 1); if (!realpath(src, dst)) { uwsgi_error_realpath(...
void uwsgi_write_pidfile_explicit(char *pidfile_name, pid_t pid) { } char *uwsgi_expand_path(char *dir, int dir_len, char *ptr) { if (dir_len > PATH_MAX) { uwsgi_log("invalid path size: %d (max %d)\n", dir_len, PATH_MAX); return NULL; } char *src = uwsgi_concat2n(dir, dir_len, "", 0); char *dst = ptr; if (!...
CVE-2018-6758
{'CWE-787'}
6.4
{'https://github.com/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe'}
nvd
The uwsgi_expand_path function in core/utils.c in Unbit uWSGI through 2.0.15 has a stack-based buffer overflow via a large directory length.
2018-02-06
1
https://github.com/unbit/uwsgi
https://github.com/unbit/uwsgi/commit/cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe
cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe
SINGLE
['cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe']
{'ac03a5336ff091b3a2d43af99f34b6f6efabcde2'}
cb4636f7c0af2e97a4eef7a3cdcbd85a71247bfe
1
02/06/2018, 15:01:47
improve uwsgi_expand_path() to sanitize input, avoiding stack corruption and potential security issue
Unbit
null
{'additions': 8, 'deletions': 3, 'total': 11}
[ { "additions": 8, "changes": 11, "deletions": 3, "patch": "@@ -3674,18 +3674,23 @@ void uwsgi_write_pidfile_explicit(char *pidfile_name, pid_t pid) {\n }\n \n char *uwsgi_expand_path(char *dir, int dir_len, char *ptr) {\n-\tchar src[PATH_MAX + 1];\n-\tmemcpy(src, dir, dir_len);\n-\tsrc[dir_len] = 0;...
c
CWE-787
[ "core/utils.c" ]
core/utils.c
1
typedef struct { #pragma pack(pop) #define DS64ChunkFormat "DDDL" #define WAVPACK_NO_ERROR 0 int ParseRiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpack if (!strncmp (chunk_header.ckID, "ds64", 4)) { if (chunk_header.ckSize < sizeof (DS64Chunk) || !DoRead...
typedef struct { #pragma pack(pop) #define CS64ChunkFormat "4D" #define DS64ChunkFormat "DDDL" #define WAVPACK_NO_ERROR 0 int ParseRiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpack if (!strncmp (chunk_header.ckID, "ds64", 4)) { if (chunk_header.ckSize < sizeof (DS64Chun...
CVE-2018-6767
{'CWE-125'}
6.4
{'https://github.com/dbry/WavPack/commit/d5bf76b5a88d044a1be1d5656698e3ba737167e5'}
nvd
A stack-based buffer over-read in the ParseRiffHeaderConfig function of cli/riff.c file of WavPack 5.1.0 allows a remote attacker to cause a denial-of-service attack or possibly have unspecified other impact via a maliciously crafted RF64 file.
2018-02-06
1
https://github.com/dbry/WavPack
https://github.com/dbry/WavPack/commit/d5bf76b5a88d044a1be1d5656698e3ba737167e5
d5bf76b5a88d044a1be1d5656698e3ba737167e5
SINGLE
['d5bf76b5a88d044a1be1d5656698e3ba737167e5']
{'76eab1023836f53501c0e3bc5d1702e62a3330c5'}
d5bf76b5a88d044a1be1d5656698e3ba737167e5
1
02/04/2018, 19:28:15
issue #27, do not overwrite stack on corrupt RF64 file
David Bryant
null
{'additions': 32, 'deletions': 7, 'total': 39}
[ { "additions": 32, "changes": 39, "deletions": 7, "patch": "@@ -42,6 +42,7 @@ typedef struct {\n \n #pragma pack(pop)\n \n+#define CS64ChunkFormat \"4D\"\n #define DS64ChunkFormat \"DDDL\"\n \n #define WAVPACK_NO_ERROR 0\n@@ -101,13 +102,13 @@ int ParseRiffHeaderConfig (FILE *infile, char *infile...
c
CWE-125
[ "cli/riff.c" ]
cli/riff.c
1
function setupGlobalExceptionHandler() { $("#editorloadingbox").css("padding", "10px"); $("#editorloadingbox").css("padding-top", "45px"); $("#editorloadingbox").html("<div style='text-align:left;color:red;font-size:16px;'><b>An error occurred</b><br>The error was reported with the following id...
function setupGlobalExceptionHandler() { $("#editorloadingbox").css("padding", "10px"); $("#editorloadingbox").css("padding-top", "45px"); $("#editorloadingbox").html("<div style='text-align:left;color:red;font-size:16px;'><b>An error occurred</b><br>The error was reported with the following id...
CVE-2018-6834
{'CWE-79'}
2.9
{'https://github.com/ether/etherpad-lite/commit/a03422b09468cdd5f192b05643311c705447588b'}
nvd
static/js/pad_utils.js in Etherpad Lite before v1.6.3 has XSS via window.location.href.
2018-02-08
1
https://github.com/ether/etherpad-lite
https://github.com/ether/etherpad-lite/commit/a03422b09468cdd5f192b05643311c705447588b
a03422b09468cdd5f192b05643311c705447588b
SINGLE
['a03422b09468cdd5f192b05643311c705447588b']
{'626e58cc5af1db3691b41fca7b06c28ea43141b1', '38b1e0a35e42e4d2e1ff99afc598725c5f7f2a6a'}
a03422b09468cdd5f192b05643311c705447588b
1
01/31/2018, 08:25:59
Merge pull request #3313 from rhelmer/sanitize-window-location better sanitize window location in error messages
John McLear
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -524,7 +524,7 @@ function setupGlobalExceptionHandler() {\n $(\"#editorloadingbox\").css(\"padding\", \"10px\");\n $(\"#editorloadingbox\").css(\"padding-top\", \"45px\");\n $(\"#editorloadingbox\").html(\"<div styl...
js
CWE-79
[ "src/static/js/pad_utils.js" ]
src/static/js/pad_utils.js
1
static int futex_requeue(u32 __user *uaddr1, unsigned int flags, struct futex_q *this, *next; DEFINE_WAKE_Q(wake_q); /* * When PI not supported: return -ENOSYS if requeue_pi is true, * consequently the compiler knows requeue_pi is always false past
static int futex_requeue(u32 __user *uaddr1, unsigned int flags, struct futex_q *this, *next; DEFINE_WAKE_Q(wake_q); if (nr_wake < 0 || nr_requeue < 0) return -EINVAL; /* * When PI not supported: return -ENOSYS if requeue_pi is true, * consequently the compiler knows requeue_pi is always false past
CVE-2018-6927
{'CWE-190'}
6.4
{'https://github.com/torvalds/linux/commit/fbe0e839d1e22d88810f3ee3e2f1479be4c0aa4a'}
nvd
The futex_requeue function in kernel/futex.c in the Linux kernel before 4.14.15 might allow attackers to cause a denial of service (integer overflow) or possibly have unspecified other impact by triggering a negative wake or requeue value.
2018-02-12
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/fbe0e839d1e22d88810f3ee3e2f1479be4c0aa4a
fbe0e839d1e22d88810f3ee3e2f1479be4c0aa4a
SINGLE
['fbe0e839d1e22d88810f3ee3e2f1479be4c0aa4a']
{'c1e2f0eaf015fb7076d51a339011f2383e6dd389'}
fbe0e839d1e22d88810f3ee3e2f1479be4c0aa4a
1
12/14/2017, 09:04:54
futex: Prevent overflow by strengthen input validation UBSAN reports signed integer overflow in kernel/futex.c: UBSAN: Undefined behaviour in kernel/futex.c:2041:18 signed integer overflow: 0 - -2147483648 cannot be represented in type 'int' Add a sanity check to catch negative values of nr_wake and nr_requeue. ...
Li Jinyue
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -1878,6 +1878,9 @@ static int futex_requeue(u32 __user *uaddr1, unsigned int flags,\n \tstruct futex_q *this, *next;\n \tDEFINE_WAKE_Q(wake_q);\n \n+\tif (nr_wake < 0 || nr_requeue < 0)\n+\t\treturn -EINVAL;\n+\n \t/*\n \t * When PI not su...
c
CWE-190
[ "kernel/futex.c" ]
kernel/futex.c
1
<?php // WonderCMS - MIT license: wondercms.com/license session_start(); define('version', '2.4.0'); mb_internal_encoding('UTF-8'); class wCMS private static function deleteFileThemePluginAction() foreach($deleteList as $entry) { list($folder, $request) = $entry; $filename = isset($_REQUEST[$request]) ...
<?php // WonderCMS - MIT license: wondercms.com/license session_start(); define('version', '2.4.1'); mb_internal_encoding('UTF-8'); class wCMS private static function deleteFileThemePluginAction() foreach($deleteList as $entry) { list($folder, $request) = $entry; $filename = isset($_REQUEST[$request]) ...
CVE-2018-7172
{'CWE-22'}
4.9
{'https://github.com/robiso/wondercms/commit/64efdc4fd974c83cedd221b46e7c3854a81650ec'}
nvd
In index.php in WonderCMS before 2.4.1, remote attackers can delete arbitrary files via directory traversal.
2018-02-27
1
https://github.com/robiso/wondercms
https://github.com/robiso/wondercms/commit/64efdc4fd974c83cedd221b46e7c3854a81650ec
64efdc4fd974c83cedd221b46e7c3854a81650ec
SINGLE
['64efdc4fd974c83cedd221b46e7c3854a81650ec']
{'42b45755299989f49aa6a5e4df8821e5ac838275'}
64efdc4fd974c83cedd221b46e7c3854a81650ec
1
02/21/2018, 23:44:04
Update index.php - Fixed vulnerability - logged in admin could delete files from any directory (added realpath). - Added SRI hashes to external JavaScript and CSS files: jquery.min.js, bootstrap.min.js, autosize.min.js, taboverride.min.js, jquery.taboverride.min.js, bootstrap.min.css). - Removed uneccessarry session...
robiso
null
{'additions': 24, 'deletions': 18, 'total': 42}
[ { "additions": 24, "changes": 42, "deletions": 18, "patch": "@@ -1,7 +1,7 @@\n <?php // WonderCMS - MIT license: wondercms.com/license\r\n \r\n session_start();\r\n-define('version', '2.4.0');\r\n+define('version', '2.4.1');\r\n mb_internal_encoding('UTF-8');\r\n \r\n class wCMS\r\n@@ -291,18 +291,2...
php
CWE-22
[ "index.php" ]
index.php
1
SARRAY *safiles, *sathumbs, *saviews, *sahtml, *salink; return ERROR_INT("safiles not made", procName, 1); /* Generate output text file names */ sprintf(charbuf, "%s/%s.html", dirout, rootname); mainname = stringNew(charbuf); sprintf(charbuf, "%s/%s-links.html", dirout, rootname); l...
SARRAY *safiles, *sathumbs, *saviews, *sahtml, *salink; return ERROR_INT("safiles not made", procName, 1); /* Generate output text file names */ snprintf(charbuf, sizeof(charbuf), "%s/%s.html", dirout, rootname); mainname = stringNew(charbuf); snprintf(charbuf, sizeof(charbuf), "%s/%s-l...
CVE-2018-7247
{'CWE-119'}
6.4
{'https://github.com/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f'}
nvd
An issue was discovered in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3. Unsanitized input (rootname) can overflow a buffer, leading potentially to arbitrary code execution or possibly unspecified other impact.
2018-02-19
1
https://github.com/DanBloomberg/leptonica
https://github.com/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f
c1079bb8e77cdd426759e466729917ca37a3ed9f
SINGLE
['c1079bb8e77cdd426759e466729917ca37a3ed9f']
{'68898a24a54703bbde286b821699bcd3d2b624ed'}
c1079bb8e77cdd426759e466729917ca37a3ed9f
1
02/12/2018, 17:12:37
prog/htmlviewer: Catch unbound memory access (CID 1386222) rootname can have any size, so limit the amount of copied bytes. Signed-off-by: Stefan Weil <sw@weilnetz.de>
Stefan Weil
{'com_1': {'author': 'kbabioch', 'datetime': '02/19/2018, 17:23:24', 'body': 'This has been assigned: CVE-2018-7247'}}
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -171,9 +171,9 @@ SARRAY *safiles, *sathumbs, *saviews, *sahtml, *salink;\n return ERROR_INT(\"safiles not made\", procName, 1);\n \n /* Generate output text file names */\n- sprintf(charbuf, \"%s/%s.html\", dirout, ro...
c
CWE-119
[ "prog/htmlviewer.c" ]
prog/htmlviewer.c
1
int ParseDsdiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa error_line ("dsdiff file version = 0x%08x", version); } else if (!strncmp (dff_chunk_header.ckID, "PROP", 4)) { char *prop_chunk = malloc ((size_t) dff_chunk_header.ckDataSize); if ...
int ParseDsdiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa error_line ("dsdiff file version = 0x%08x", version); } else if (!strncmp (dff_chunk_header.ckID, "PROP", 4)) { char *prop_chunk; if (dff_chunk_header.ckDataSize < 4 || dff_chunk_he...
CVE-2018-7253
{'CWE-125'}
6.4
{'https://github.com/dbry/WavPack/commit/36a24c7881427d2e1e4dc1cef58f19eee0d13aec'}
nvd
The ParseDsdiffHeaderConfig function of the cli/dsdiff.c file of WavPack 5.1.0 allows a remote attacker to cause a denial-of-service (heap-based buffer over-read) or possibly overwrite the heap via a maliciously crafted DSDIFF file.
2018-02-19
1
https://github.com/dbry/WavPack
https://github.com/dbry/WavPack/commit/36a24c7881427d2e1e4dc1cef58f19eee0d13aec
36a24c7881427d2e1e4dc1cef58f19eee0d13aec
SINGLE
['36a24c7881427d2e1e4dc1cef58f19eee0d13aec']
{'d5bf76b5a88d044a1be1d5656698e3ba737167e5'}
36a24c7881427d2e1e4dc1cef58f19eee0d13aec
1
02/11/2018, 00:01:39
issue #28, do not overwrite heap on corrupt DSDIFF file
David Bryant
null
{'additions': 11, 'deletions': 1, 'total': 12}
[ { "additions": 11, "changes": 12, "deletions": 1, "patch": "@@ -153,7 +153,17 @@ int ParseDsdiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa\n error_line (\"dsdiff file version = 0x%08x\", version);\n }\n else if (!strncmp (dff_chunk_header.ckID, ...
c
CWE-125
[ "cli/dsdiff.c" ]
cli/dsdiff.c
1
typedef struct #define CAFChannelDescriptionFormat "LLLLL" static const char TMH_full [] = { 1,2,3,13,9,10,5,6,12,14,15,16,17,9,4,18,7,8,19,20,21 }; static const char TMH_std [] = { 1,2,3,11,8,9,5,6,10,12,13,14,15,7,4,16 }; static struct { uint32_t mChannelLayoutTag; // Core Audio layout, 100 - 146 in high ...
typedef struct #define CAFChannelDescriptionFormat "LLLLL" static const char TMH_full [] = { 1,2,3,13,9,10,5,6,12,14,15,16,17,9,4,18,7,8,19,20,21,0 }; static const char TMH_std [] = { 1,2,3,11,8,9,5,6,10,12,13,14,15,7,4,16,0 }; static struct { uint32_t mChannelLayoutTag; // Core Audio layout, 100 - 146 in h...
CVE-2018-7254
{'CWE-125'}
6.4
{'https://github.com/dbry/WavPack/commit/8e3fe45a7bac31d9a3b558ae0079e2d92a04799e'}
nvd
The ParseCaffHeaderConfig function of the cli/caff.c file of WavPack 5.1.0 allows a remote attacker to cause a denial-of-service (global buffer over-read), or possibly trigger a buffer overflow or incorrect memory allocation, via a maliciously crafted CAF file.
2018-02-19
1
https://github.com/dbry/WavPack
https://github.com/dbry/WavPack/commit/8e3fe45a7bac31d9a3b558ae0079e2d92a04799e
8e3fe45a7bac31d9a3b558ae0079e2d92a04799e
SINGLE
['8e3fe45a7bac31d9a3b558ae0079e2d92a04799e']
{'36a24c7881427d2e1e4dc1cef58f19eee0d13aec'}
8e3fe45a7bac31d9a3b558ae0079e2d92a04799e
1
02/12/2018, 00:37:47
issue #28, fix buffer overflows and bad allocs on corrupt CAF files
David Bryant
{'com_1': {'author': 'dbry', 'datetime': '02/12/2018, 00:43:42', 'body': 'This actually fixes issue #26 (mis-typed commit)'}}
{'additions': 23, 'deletions': 7, 'total': 30}
[ { "additions": 23, "changes": 30, "deletions": 7, "patch": "@@ -89,8 +89,8 @@ typedef struct\n \n #define CAFChannelDescriptionFormat \"LLLLL\"\n \n-static const char TMH_full [] = { 1,2,3,13,9,10,5,6,12,14,15,16,17,9,4,18,7,8,19,20,21 };\n-static const char TMH_std [] = { 1,2,3,11,8,9,5,6,10,12,13,...
c
CWE-125
[ "cli/caff.c" ]
cli/caff.c
1
$db_server = trim($_SESSION['databasehost']); $db_server = preg_replace($san,'',$db_server); $db_admin_name = trim($_SESSION['databaseloginname']); $db_admin_name = preg_replace($san,'',$db_admin_name); $db_admin_pass = trim($_SESSION['databaseloginpassword']); $db_admin_pass = preg_replace($san,'',$db_admin_pass); ...
$db_server = trim($_SESSION['databasehost']); $db_server = preg_replace($san,'',$db_server); $db_admin_pass = trim($_SESSION['databaseloginpassword']); $db_admin_pass = preg_replace($san,'',$db_admin_pass); $db_type = trim($_SESSION['databasetype']); $db_type = preg_replace($san,'',$db_type); $tl_db_passwd = trim($...
CVE-2018-7466
{'CWE-94'}
6.4
{'https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/9696012eecbafb0aa21cc346234512c29b474679'}
nvd
install/installNewDB.php in TestLink through 1.9.16 allows remote attackers to conduct injection attacks by leveraging control over DB LOGIN NAMES data during installation to provide a long, crafted value.
2018-02-25
1
https://github.com/TestLinkOpenSourceTRMS/testlink-code
https://github.com/TestLinkOpenSourceTRMS/testlink-code/commit/9696012eecbafb0aa21cc346234512c29b474679
9696012eecbafb0aa21cc346234512c29b474679
SINGLE
['9696012eecbafb0aa21cc346234512c29b474679']
{'e2d1d1fa51f5437a2d0645abc9964bfa92c0786a'}
9696012eecbafb0aa21cc346234512c29b474679
1
02/24/2018, 16:21:33
Limit DB LOGIN NAMES length to avoid some kind of injection
Francisco Mancardi
{'com_1': {'author': 'Kanaduchi', 'datetime': '02/25/2018, 14:00:31', 'body': 'Why only 32?\r\n\r\nIf we use OAUTH we set login names as emails. But emails can be more that 32 symbols. Example, vasyliy.lomachenkov@microsoft.com\r\n\r\nYou can avoid injections in php (using preg_replace) not by DB'}, 'com_2': {'author':...
{'additions': 9, 'deletions': 6, 'total': 15}
[ { "additions": 9, "changes": 15, "deletions": 6, "patch": "@@ -63,22 +63,25 @@\n $db_server = trim($_SESSION['databasehost']);\n $db_server = preg_replace($san,'',$db_server);\n \n-$db_admin_name = trim($_SESSION['databaseloginname']);\n-$db_admin_name = preg_replace($san,'',$db_admin_name);\n-\n $d...
php
CWE-94
[ "install/installNewDB.php" ]
install/installNewDB.php
1
int blkcg_init_queue(struct request_queue *q) if (preloaded) radix_tree_preload_end(); if (IS_ERR(blkg)) { blkg_free(new_blkg); return PTR_ERR(blkg); } q->root_blkg = blkg; q->root_rl.blkg = blkg;
int blkcg_init_queue(struct request_queue *q) if (preloaded) radix_tree_preload_end(); if (IS_ERR(blkg)) return PTR_ERR(blkg); q->root_blkg = blkg; q->root_rl.blkg = blkg;
CVE-2018-7480
{'CWE-415'}
10
{'https://github.com/torvalds/linux/commit/9b54d816e00425c3a517514e0d677bb3cec49258'}
nvd
The blkcg_init_queue function in block/blk-cgroup.c in the Linux kernel before 4.11 allows local users to cause a denial of service (double free) or possibly have unspecified other impact by triggering a creation failure.
2018-02-25
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/9b54d816e00425c3a517514e0d677bb3cec49258
9b54d816e00425c3a517514e0d677bb3cec49258
SINGLE
['9b54d816e00425c3a517514e0d677bb3cec49258']
{'0cacba6cf8252438f8166bd3fa1c3370dd28a769'}
9b54d816e00425c3a517514e0d677bb3cec49258
1
02/03/2017, 09:19:07
blkcg: fix double free of new_blkg in blkcg_init_queue If blkg_create fails, new_blkg passed as an argument will be freed by blkg_create, so there is no need to free it again. Signed-off-by: Hou Tao <houtao1@huawei.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Hou Tao
null
{'additions': 1, 'deletions': 3, 'total': 4}
[ { "additions": 1, "changes": 4, "deletions": 3, "patch": "@@ -1079,10 +1079,8 @@ int blkcg_init_queue(struct request_queue *q)\n \tif (preloaded)\n \t\tradix_tree_preload_end();\n \n-\tif (IS_ERR(blkg)) {\n-\t\tblkg_free(new_blkg);\n+\tif (IS_ERR(blkg))\n \t\treturn PTR_ERR(blkg);\n-\t}\n \n \tq->ro...
c
CWE-415
[ "block/blk-cgroup.c" ]
block/blk-cgroup.c
1
static int __rds_rdma_map(struct rds_sock *rs, struct rds_get_mr_args *args, long i; int ret; if (rs->rs_bound_addr == 0) { ret = -ENOTCONN; /* XXX not a great errno */ goto out; }
static int __rds_rdma_map(struct rds_sock *rs, struct rds_get_mr_args *args, long i; int ret; if (rs->rs_bound_addr == 0 || !rs->rs_transport) { ret = -ENOTCONN; /* XXX not a great errno */ goto out; }
CVE-2018-7492
{'CWE-476'}
6.9
{'https://github.com/torvalds/linux/commit/f3069c6d33f6ae63a1668737bc78aaaa51bff7ca'}
nvd
A NULL pointer dereference was found in the net/rds/rdma.c __rds_rdma_map() function in the Linux kernel before 4.14.7 allowing local attackers to cause a system panic and a denial-of-service, related to RDS_GET_MR and RDS_GET_MR_FOR_DEST.
2018-02-26
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f3069c6d33f6ae63a1668737bc78aaaa51bff7ca
f3069c6d33f6ae63a1668737bc78aaaa51bff7ca
SINGLE
['f3069c6d33f6ae63a1668737bc78aaaa51bff7ca']
{'32d3e51a82d453762ef148b2c4fbc8a7ec374a88'}
f3069c6d33f6ae63a1668737bc78aaaa51bff7ca
1
12/06/2017, 16:18:28
rds: Fix NULL pointer dereference in __rds_rdma_map This is a fix for syzkaller719569, where memory registration was attempted without any underlying transport being loaded. Analysis of the case reveals that it is the setsockopt() RDS_GET_MR (2) and RDS_GET_MR_FOR_DEST (7) that are vulnerable. Here is an example sta...
Håkon Bugge
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -183,7 +183,7 @@ static int __rds_rdma_map(struct rds_sock *rs, struct rds_get_mr_args *args,\n \tlong i;\n \tint ret;\n \n-\tif (rs->rs_bound_addr == 0) {\n+\tif (rs->rs_bound_addr == 0 || !rs->rs_transport) {\n \t\tret = -ENOTCONN; /* XX...
c
CWE-476
[ "net/rds/rdma.c" ]
net/rds/rdma.c
1
#include <stdlib.h> #include "libavutil/intreadwrite.h" #include "avcodec.h" #include "bswapdsp.h" #include "bytestream.h" static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, static av_cold int decode_init(AVCodecContext *avctx) { UtvideoContext * const c = avctx->priv_data; c->avctx =...
#include <stdlib.h> #include "libavutil/intreadwrite.h" #include "libavutil/pixdesc.h" #include "avcodec.h" #include "bswapdsp.h" #include "bytestream.h" static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, static av_cold int decode_init(AVCodecContext *avctx) { UtvideoContext * const c = av...
CVE-2018-7557
{'CWE-125'}
2.9
{'https://github.com/FFmpeg/FFmpeg/commit/e724bd1dd9efea3abb8586d6644ec07694afceae'}
nvd
The decode_init function in libavcodec/utvideodec.c in FFmpeg 2.8 through 3.4.2 allows remote attackers to cause a denial of service (Out of array read) via an AVI file with crafted dimensions within chroma subsampling data.
2018-02-28
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/e724bd1dd9efea3abb8586d6644ec07694afceae
e724bd1dd9efea3abb8586d6644ec07694afceae
SINGLE
['e724bd1dd9efea3abb8586d6644ec07694afceae']
{'11d0464565d1cac24c57ad7c6822fc9db046a057'}
e724bd1dd9efea3abb8586d6644ec07694afceae
1
02/26/2018, 02:02:48
avcodec/utvideodec: Check subsample factors Fixes: Out of array read Fixes: heap_poc Found-by: GwanYeong Kim <gy741.kim@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 7414d0bda7763f9bd69c26c068e482ab297c1c96) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc...
Michael Niedermayer
null
{'additions': 9, 'deletions': 0, 'total': 9}
[ { "additions": 9, "changes": 9, "deletions": 0, "patch": "@@ -28,6 +28,7 @@\n #include <stdlib.h>\n \n #include \"libavutil/intreadwrite.h\"\n+#include \"libavutil/pixdesc.h\"\n #include \"avcodec.h\"\n #include \"bswapdsp.h\"\n #include \"bytestream.h\"\n@@ -474,6 +475,7 @@ static int decode_frame(...
c
CWE-125
[ "libavcodec/utvideodec.c" ]
libavcodec/utvideodec.c
1
int main(int argc, char *argv[]) fread(frame_codestream, sample->sample_size - 8, 1, file); /* Assuming that jp and ftyp markers size do*/ sprintf(outfilename, "%s_%05d.j2k", argv[2], snum); outfile = fopen(outfilename, "wb"); if (!outfile) { fprintf(stderr, "...
int main(int argc, char *argv[]) fread(frame_codestream, sample->sample_size - 8, 1, file); /* Assuming that jp and ftyp markers size do*/ { int num = snprintf(outfilename, sizeof(outfilename), "%s_%05d.j2k", argv[2], ...
CVE-2018-7648
{'CWE-119'}
6.4
{'https://github.com/uclouvain/openjpeg/commit/cc3824767bde397fedb8a1ae4786a222ba860c8d'}
nvd
An issue was discovered in mj2/opj_mj2_extract.c in OpenJPEG 2.3.0. The output prefix was not checked for length, which could overflow a buffer, when providing a prefix with 50 or more characters on the command line.
2018-03-02
1
https://github.com/uclouvain/openjpeg
https://github.com/uclouvain/openjpeg/commit/cc3824767bde397fedb8a1ae4786a222ba860c8d
cc3824767bde397fedb8a1ae4786a222ba860c8d
SINGLE
['cc3824767bde397fedb8a1ae4786a222ba860c8d']
{'564fbfb67830e2eb234bc16b3db8fecf54261f95'}
cc3824767bde397fedb8a1ae4786a222ba860c8d
1
03/02/2018, 13:40:58
opj_mj2_extract: Check provided output prefix for length This uses snprintf() with correct buffer length instead of sprintf(), which prevents a buffer overflow when providing a long output prefix. Furthermore the program exits with an error when the provided output prefix is too long. Fixes #1088.
Karol Babioch
null
{'additions': 12, 'deletions': 1, 'total': 13}
[ { "additions": 12, "changes": 13, "deletions": 1, "patch": "@@ -140,10 +140,21 @@ int main(int argc, char *argv[])\n fread(frame_codestream, sample->sample_size - 8, 1,\n file); /* Assuming that jp and ftyp markers size do*/\n \n- sprintf(outfilename, \"%s_%05d.j2k\", ar...
c
CWE-119
[ "src/bin/mj2/opj_mj2_extract.c" ]
src/bin/mj2/opj_mj2_extract.c
1
static int unimac_mdio_probe(struct platform_device *pdev) return -ENOMEM; r = platform_get_resource(pdev, IORESOURCE_MEM, 0); /* Just ioremap, as this MDIO block is usually integrated into an * Ethernet MAC controller register range
static int unimac_mdio_probe(struct platform_device *pdev) return -ENOMEM; r = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (!r) return -EINVAL; /* Just ioremap, as this MDIO block is usually integrated into an * Ethernet MAC controller register range
CVE-2018-8043
{'CWE-476'}
2.9
{'https://github.com/torvalds/linux/commit/297a6961ffb8ff4dc66c9fbf53b924bd1dda05d5'}
nvd
The unimac_mdio_probe function in drivers/net/phy/mdio-bcm-unimac.c in the Linux kernel through 4.15.8 does not validate certain resource availability, which allows local users to cause a denial of service (NULL pointer dereference).
2018-03-10
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/297a6961ffb8ff4dc66c9fbf53b924bd1dda05d5
297a6961ffb8ff4dc66c9fbf53b924bd1dda05d5
SINGLE
['297a6961ffb8ff4dc66c9fbf53b924bd1dda05d5']
{'ecb10288a370b439e3b4552adea40d22900b9f64'}
297a6961ffb8ff4dc66c9fbf53b924bd1dda05d5
1
01/11/2018, 11:21:51
net: phy: mdio-bcm-unimac: fix potential NULL dereference in unimac_mdio_probe() platform_get_resource() may fail and return NULL, so we should better check it's return value to avoid a NULL pointer dereference a bit later in the code. This is detected by Coccinelle semantic patch. @@ expression pdev, res, n, t, e, ...
Wei Yongjun
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -205,6 +205,8 @@ static int unimac_mdio_probe(struct platform_device *pdev)\n \t\treturn -ENOMEM;\n \n \tr = platform_get_resource(pdev, IORESOURCE_MEM, 0);\n+\tif (!r)\n+\t\treturn -EINVAL;\n \n \t/* Just ioremap, as this MDIO block is us...
c
CWE-476
[ "drivers/net/phy/mdio-bcm-unimac.c" ]
drivers/net/phy/mdio-bcm-unimac.c
1
int af_get_page(AFFILE *af,int64_t pagenum,unsigned char *data,size_t *bytes) return -3; // read error } /* Now uncompress directly into the buffer provided by the caller, unless the caller didn't * provide a buffer. If that happens, allocate our own... */
int af_get_page(AFFILE *af,int64_t pagenum,unsigned char *data,size_t *bytes) return -3; // read error } /* Sanity check to avoid undefined behaviour when calling malloc below with pagesize from a corrupt AFF image. */ if(af->image_pagesize <= 0 || af->image_pagesize > 16*1024*1024) return -1; /* No...
CVE-2018-8050
{'CWE-20'}
2.9
{'https://github.com/sshock/AFFLIBv3/commit/435a2ca802358a3debb6d164d2c33049131df81c'}
nvd
The af_get_page() function in lib/afflib_pages.cpp in AFFLIB (aka AFFLIBv3) through 3.7.16 allows remote attackers to cause a denial of service (segmentation fault) via a corrupt AFF image that triggers an unexpected pagesize value.
2018-03-11
1
https://github.com/sshock/AFFLIBv3
https://github.com/sshock/AFFLIBv3/commit/435a2ca802358a3debb6d164d2c33049131df81c
435a2ca802358a3debb6d164d2c33049131df81c
SINGLE
['435a2ca802358a3debb6d164d2c33049131df81c']
{'0ddccaf754ef5b7b903955f382b839dd4a84cee8'}
435a2ca802358a3debb6d164d2c33049131df81c
1
03/11/2018, 01:05:39
Sanity check size passed to malloc... Add sanity check before calling malloc in af_get_page() function to avoid undefined behavior (e.g., seg fault) when dealing with a corrupt AFF image with an invalid pagesize. Issue found by Luis Rocha (luiscrocha@gmail.com).
Phillip Hellewell
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -219,6 +219,11 @@ int af_get_page(AFFILE *af,int64_t pagenum,unsigned char *data,size_t *bytes)\n \t return -3;\t\t\t// read error\n \t}\n \n+\t/* Sanity check to avoid undefined behaviour when calling malloc below with pagesize from a ...
cpp
CWE-20
[ "lib/afflib_pages.cpp" ]
lib/afflib_pages.cpp
1
static size_t index_entry_size(size_t path_len, size_t varint_len, uint32_t flag } } static size_t read_entry( git_index_entry **out, git_index *index, const void *buffer, size_t buffer_size, static size_t read_entry( char *tmp_path = NULL; if (INDEX_FOOTER_SIZE + minimal_entry_size > buffer_size) return 0;...
static size_t index_entry_size(size_t path_len, size_t varint_len, uint32_t flag } } static int read_entry( git_index_entry **out, size_t *out_size, git_index *index, const void *buffer, size_t buffer_size, static size_t read_entry( char *tmp_path = NULL; if (INDEX_FOOTER_SIZE + minimal_entry_size > buffer_s...
CVE-2018-8099
{'CWE-415'}
2.9
{'https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe'}
nvd
Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service via a crafted repository index file.
2018-03-14
1
https://github.com/libgit2/libgit2
https://github.com/libgit2/libgit2/commit/58a6fe94cb851f71214dbefac3f9bffee437d6fe
58a6fe94cb851f71214dbefac3f9bffee437d6fe
SINGLE
['58a6fe94cb851f71214dbefac3f9bffee437d6fe']
{'d11c4a1a464f10c69d5cc58824e980ea5045d439'}
58a6fe94cb851f71214dbefac3f9bffee437d6fe
1
03/08/2018, 11:49:19
index: convert `read_entry` to return entry size via an out-param The function `read_entry` does not conform to our usual coding style of returning stuff via the out parameter and to use the return value for reporting errors. Due to most of our code conforming to that pattern, it has become quite natural for us to act...
Patrick Steinhardt
null
{'additions': 13, 'deletions': 9, 'total': 22}
[ { "additions": 13, "changes": 22, "deletions": 9, "patch": "@@ -2299,8 +2299,9 @@ static size_t index_entry_size(size_t path_len, size_t varint_len, uint32_t flag\n \t}\n }\n \n-static size_t read_entry(\n+static int read_entry(\n \tgit_index_entry **out,\n+\tsize_t *out_size,\n \tgit_index *index,\...
c
CWE-415
[ "src/index.c" ]
src/index.c
1
static INLINE BOOL zgfx_GetBits(ZGFX_CONTEXT* _zgfx, UINT32 _nbits) _zgfx->cBitsCurrent -= _nbits; _zgfx->bits = _zgfx->BitsCurrent >> _zgfx->cBitsCurrent; _zgfx->BitsCurrent &= ((1 << _zgfx->cBitsCurrent) - 1); } static void zgfx_history_buffer_ring_write(ZGFX_CONTEXT* zgfx, const BYTE* src, size_t count) static ...
static INLINE BOOL zgfx_GetBits(ZGFX_CONTEXT* _zgfx, UINT32 _nbits) _zgfx->cBitsCurrent -= _nbits; _zgfx->bits = _zgfx->BitsCurrent >> _zgfx->cBitsCurrent; _zgfx->BitsCurrent &= ((1 << _zgfx->cBitsCurrent) - 1); return TRUE; } static void zgfx_history_buffer_ring_write(ZGFX_CONTEXT* zgfx, const BYTE* src, size_t ...
CVE-2018-8784
{'CWE-787'}
6.4
{'https://github.com/FreeRDP/FreeRDP/commit/17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7'}
nvd
FreeRDP prior to version 2.0.0-rc4 contains a Heap-Based Buffer Overflow in function zgfx_decompress_segment() that results in a memory corruption and probably even a remote code execution.
2018-11-29
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7
17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7
SINGLE
['17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7']
{'d1112c279bd1a327e8e4d0b5f371458bf2579659'}
17c363a5162fd4dc77b1df54e48d7bd9bf6b3be7
1
10/22/2018, 15:51:26
Fixed CVE-2018-8784 Thanks to Eyal Itkin from Check Point Software Technologies.
Armin Novak
null
{'additions': 23, 'deletions': 2, 'total': 25}
[ { "additions": 23, "changes": 25, "deletions": 2, "patch": "@@ -137,6 +137,7 @@ static INLINE BOOL zgfx_GetBits(ZGFX_CONTEXT* _zgfx, UINT32 _nbits)\n \t_zgfx->cBitsCurrent -= _nbits;\n \t_zgfx->bits = _zgfx->BitsCurrent >> _zgfx->cBitsCurrent;\n \t_zgfx->BitsCurrent &= ((1 << _zgfx->cBitsCurrent) - ...
c
CWE-787
[ "libfreerdp/codec/zgfx.c" ]
libfreerdp/codec/zgfx.c
1
BITMAP_UPDATE* update_read_bitmap_update(rdpUpdate* update, wStream* s) if (bitmapUpdate->number > bitmapUpdate->count) { UINT16 count; BITMAP_DATA* newdata; count = bitmapUpdate->number * 2; newdata = (BITMAP_DATA*) realloc(bitmapUpdate->rectangles, sizeof(BITMAP_DATA) * ...
BITMAP_UPDATE* update_read_bitmap_update(rdpUpdate* update, wStream* s) if (bitmapUpdate->number > bitmapUpdate->count) { UINT32 count = bitmapUpdate->number * 2; BITMAP_DATA* newdata = (BITMAP_DATA*) realloc(bitmapUpdate->rectangles, sizeof(BITMAP_DATA) * count); if (!newdata) go...
CVE-2018-8786
{'CWE-787', 'CWE-681'}
6.4
{'https://github.com/FreeRDP/FreeRDP/commit/445a5a42c500ceb80f8fa7f2c11f3682538033f3'}
nvd
FreeRDP prior to version 2.0.0-rc4 contains an Integer Truncation that leads to a Heap-Based Buffer Overflow in function update_read_bitmap_update() and results in a memory corruption and probably even a remote code execution.
2018-11-29
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/445a5a42c500ceb80f8fa7f2c11f3682538033f3
445a5a42c500ceb80f8fa7f2c11f3682538033f3
SINGLE
['445a5a42c500ceb80f8fa7f2c11f3682538033f3']
{'602f4a2e14b41703b5f431de3154cd46a5750a2d'}
445a5a42c500ceb80f8fa7f2c11f3682538033f3
1
10/22/2018, 14:25:13
Fixed CVE-2018-8786 Thanks to Eyal Itkin from Check Point Software Technologies.
Armin Novak
null
{'additions': 3, 'deletions': 5, 'total': 8}
[ { "additions": 3, "changes": 8, "deletions": 5, "patch": "@@ -208,11 +208,9 @@ BITMAP_UPDATE* update_read_bitmap_update(rdpUpdate* update, wStream* s)\n \n \tif (bitmapUpdate->number > bitmapUpdate->count)\n \t{\n-\t\tUINT16 count;\n-\t\tBITMAP_DATA* newdata;\n-\t\tcount = bitmapUpdate->number * 2;\...
c
CWE-787
[ "libfreerdp/core/update.c" ]
libfreerdp/core/update.c
1
static BOOL gdi_Bitmap_Decompress(rdpContext* context, rdpBitmap* bitmap, { UINT32 SrcSize = length; rdpGdi* gdi = context->gdi; bitmap->compressed = FALSE; bitmap->format = gdi->dstFormat; bitmap->length = DstWidth * DstHeight * GetBytesPerPixel(bitmap->format); bitmap->data = (BYTE*) _aligned_malloc(bitmap->le...
static BOOL gdi_Bitmap_Decompress(rdpContext* context, rdpBitmap* bitmap, { UINT32 SrcSize = length; rdpGdi* gdi = context->gdi; UINT32 size = DstWidth * DstHeight; bitmap->compressed = FALSE; bitmap->format = gdi->dstFormat; if ((GetBytesPerPixel(bitmap->format) == 0) || (DstWidth == 0) || (DstHeight == 0...
CVE-2018-8787
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/FreeRDP/FreeRDP/commit/09b9d4f1994a674c4ec85b4947aa656eda1aed8a'}
nvd
FreeRDP prior to version 2.0.0-rc4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function gdi_Bitmap_Decompress() and results in a memory corruption and probably even a remote code execution.
2018-11-29
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/09b9d4f1994a674c4ec85b4947aa656eda1aed8a
09b9d4f1994a674c4ec85b4947aa656eda1aed8a
SINGLE
['09b9d4f1994a674c4ec85b4947aa656eda1aed8a']
{'445a5a42c500ceb80f8fa7f2c11f3682538033f3'}
09b9d4f1994a674c4ec85b4947aa656eda1aed8a
1
10/22/2018, 14:30:20
Fixed CVE-2018-8787 Thanks to Eyal Itkin from Check Point Software Technologies.
Armin Novak
null
{'additions': 9, 'deletions': 1, 'total': 10}
[ { "additions": 9, "changes": 10, "deletions": 1, "patch": "@@ -141,9 +141,17 @@ static BOOL gdi_Bitmap_Decompress(rdpContext* context, rdpBitmap* bitmap,\n {\n \tUINT32 SrcSize = length;\n \trdpGdi* gdi = context->gdi;\n+\tUINT32 size = DstWidth * DstHeight;\n \tbitmap->compressed = FALSE;\n \tbitma...
c
CWE-787
[ "libfreerdp/gdi/graphics.c" ]
libfreerdp/gdi/graphics.c
1
static BOOL gdi_Bitmap_Decompress(rdpContext* context, rdpBitmap* bitmap, { UINT32 SrcSize = length; rdpGdi* gdi = context->gdi; bitmap->compressed = FALSE; bitmap->format = gdi->dstFormat; bitmap->length = DstWidth * DstHeight * GetBytesPerPixel(bitmap->format); bitmap->data = (BYTE*) _aligned_malloc(bitmap->le...
static BOOL gdi_Bitmap_Decompress(rdpContext* context, rdpBitmap* bitmap, { UINT32 SrcSize = length; rdpGdi* gdi = context->gdi; UINT32 size = DstWidth * DstHeight; bitmap->compressed = FALSE; bitmap->format = gdi->dstFormat; if ((GetBytesPerPixel(bitmap->format) == 0) || (DstWidth == 0) || (DstHeight == 0...
CVE-2018-8787
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/FreeRDP/FreeRDP/commit/09b9d4f1994a674c4ec85b4947aa656eda1aed8a'}
nvd
FreeRDP prior to version 2.0.0-rc4 contains an Integer Overflow that leads to a Heap-Based Buffer Overflow in function gdi_Bitmap_Decompress() and results in a memory corruption and probably even a remote code execution.
2018-11-29
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/09b9d4f1994a674c4ec85b4947aa656eda1aed8a
09b9d4f1994a674c4ec85b4947aa656eda1aed8a
SINGLE
['09b9d4f1994a674c4ec85b4947aa656eda1aed8a']
{'445a5a42c500ceb80f8fa7f2c11f3682538033f3'}
09b9d4f1994a674c4ec85b4947aa656eda1aed8a
1
10/22/2018, 14:30:20
Fixed CVE-2018-8787 Thanks to Eyal Itkin from Check Point Software Technologies.
Armin Novak
null
{'additions': 9, 'deletions': 1, 'total': 10}
[ { "additions": 9, "changes": 10, "deletions": 1, "patch": "@@ -141,9 +141,17 @@ static BOOL gdi_Bitmap_Decompress(rdpContext* context, rdpBitmap* bitmap,\n {\n \tUINT32 SrcSize = length;\n \trdpGdi* gdi = context->gdi;\n+\tUINT32 size = DstWidth * DstHeight;\n \tbitmap->compressed = FALSE;\n \tbitma...
c
CWE-190
[ "libfreerdp/gdi/graphics.c" ]
libfreerdp/gdi/graphics.c
1
static const char* const NTLM_NEGOTIATE_STRINGS[] = "NTLMSSP_NEGOTIATE_UNICODE" }; void ntlm_print_negotiate_flags(UINT32 flags) { int i; const char* str; void ntlm_print_negotiate_flags(UINT32 flags) } } int ntlm_read_message_header(wStream* s, NTLM_MESSAGE_HEADER* header) { if (Stream_GetRemainingLength(s) < ...
static const char* const NTLM_NEGOTIATE_STRINGS[] = "NTLMSSP_NEGOTIATE_UNICODE" }; static void ntlm_print_negotiate_flags(UINT32 flags) { int i; const char* str; void ntlm_print_negotiate_flags(UINT32 flags) } } static int ntlm_read_message_header(wStream* s, NTLM_MESSAGE_HEADER* header) { if (Stream_GetRemaini...
CVE-2018-8789
{'CWE-125'}
2.9
{'https://github.com/FreeRDP/FreeRDP/commit/2ee663f39dc8dac3d9988e847db19b2d7e3ac8c6'}
nvd
FreeRDP prior to version 2.0.0-rc4 contains several Out-Of-Bounds Reads in the NTLM Authentication module that results in a Denial of Service (segfault).
2018-11-29
1
https://github.com/FreeRDP/FreeRDP
https://github.com/FreeRDP/FreeRDP/commit/2ee663f39dc8dac3d9988e847db19b2d7e3ac8c6
2ee663f39dc8dac3d9988e847db19b2d7e3ac8c6
SINGLE
['2ee663f39dc8dac3d9988e847db19b2d7e3ac8c6']
{'ef0c7e81a742650b72e7636528a4c86a686ddf6a'}
2ee663f39dc8dac3d9988e847db19b2d7e3ac8c6
1
10/22/2018, 14:00:03
Fixed CVE-2018-8789 Thanks to Eyal Itkin from Check Point Software Technologies.
Armin Novak
null
{'additions': 13, 'deletions': 11, 'total': 24}
[ { "additions": 13, "changes": 24, "deletions": 11, "patch": "@@ -74,7 +74,7 @@ static const char* const NTLM_NEGOTIATE_STRINGS[] =\n \t\"NTLMSSP_NEGOTIATE_UNICODE\"\n };\n \n-void ntlm_print_negotiate_flags(UINT32 flags)\n+static void ntlm_print_negotiate_flags(UINT32 flags)\n {\n \tint i;\n \tconst...
c
CWE-125
[ "winpr/libwinpr/sspi/NTLM/ntlm_message.c" ]
winpr/libwinpr/sspi/NTLM/ntlm_message.c
1
int tmx_check_pretran(sip_msg_t *msg) if(likely(vbr!=NULL)) { svbranch = vbr->value; trim(&svbranch); dsize += svbranch.len; } if(dsize<256) dsize = 256;
int tmx_check_pretran(sip_msg_t *msg) if(likely(vbr!=NULL)) { svbranch = vbr->value; trim(&svbranch); dsize += svbranch.len + 1; } if(dsize<256) dsize = 256;
CVE-2018-8828
{'CWE-193', 'CWE-787'}
6.4
{'https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097'}
nvd
A Buffer Overflow issue was discovered in Kamailio before 4.4.7, 5.0.x before 5.0.6, and 5.1.x before 5.1.2. A specially crafted REGISTER message with a malformed branch or From tag triggers an off-by-one heap-based buffer overflow in the tmx_check_pretran function in modules/tmx/tmx_pretran.c.
2018-03-20
1
https://github.com/kamailio/kamailio
https://github.com/kamailio/kamailio/commit/e1d8008a09d9390ebaf698abe8909e10dfec4097
e1d8008a09d9390ebaf698abe8909e10dfec4097
SINGLE
['e1d8008a09d9390ebaf698abe8909e10dfec4097']
{'00330db3864dbc7df20c76f413beb73a6d60189c'}
e1d8008a09d9390ebaf698abe8909e10dfec4097
1
02/10/2018, 21:05:42
tmx: allocate space to store ending 0 for branch value - reported by Alfred Farrugia and Sandro Gauci
Daniel-Constantin Mierla
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -260,7 +260,7 @@ int tmx_check_pretran(sip_msg_t *msg)\n \tif(likely(vbr!=NULL)) {\n \t\tsvbranch = vbr->value;\n \t\ttrim(&svbranch);\n-\t\tdsize += svbranch.len;\n+\t\tdsize += svbranch.len + 1;\n \t}\n \tif(dsize<256) dsize = 256;", ...
c
CWE-787
[ "src/modules/tmx/tmx_pretran.c" ]
src/modules/tmx/tmx_pretran.c
1
protected function zipdl($args) { return array('error' => 'File not found', 'header' => $h404, 'raw' => true); } $file = $targets[1]; $path = $volume->getTempPath().DIRECTORY_SEPARATOR.$file; // register auto delete on shutdown $GLOBALS['elFinderTempFiles'][$path] = true; if (!is_readable($path))...
protected function zipdl($args) { return array('error' => 'File not found', 'header' => $h404, 'raw' => true); } $file = $targets[1]; // checking the validity of the file parameter if (strpos($file, DIRECTORY_SEPARATOR) !== false) { return array('error' => 'File not found', 'header' => $h404, 'raw'...
CVE-2018-9109
{'CWE-22'}
6.4
{'https://github.com/Studio-42/elFinder/commit/157f471d7e48f190f74e66eb5bc73360b5352fd3'}
nvd
Studio 42 elFinder before 2.1.36 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function that can allow a remote attacker to download files accessible by the web server process and delete files owned by the account running the web server process.
2018-03-28
1
https://github.com/Studio-42/elFinder
https://github.com/Studio-42/elFinder/commit/157f471d7e48f190f74e66eb5bc73360b5352fd3
157f471d7e48f190f74e66eb5bc73360b5352fd3
SINGLE
['157f471d7e48f190f74e66eb5bc73360b5352fd3']
{'82b098ffb21851dae96b4b9452ba6bb52461f5ea'}
157f471d7e48f190f74e66eb5bc73360b5352fd3
1
03/28/2018, 00:53:14
[php:security] fix directory traversal vulnerability Fixed vulnerability that can delete arbitrary files with zipdl command. Fixed it because there was a possibility that files that can be deleted may be deleted by the execution account of the web server. Reviewed-by: Ravindra Rajaram <ravindra.rajaram@ca.com> and K...
nao-pon
null
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -1623,10 +1623,14 @@ protected function zipdl($args) {\n \t\t\t\treturn array('error' => 'File not found', 'header' => $h404, 'raw' => true);\n \t\t\t}\n \t\t\t$file = $targets[1];\n+\t\t\t// checking the validity of the file parameter\n+\...
php
CWE-22
[ "php/elFinder.class.php" ]
php/elFinder.class.php
1
protected function zipdl($args) { } $file = $targets[1]; // checking the validity of the file parameter if (strpos($file, DIRECTORY_SEPARATOR) !== false) { return array('error' => 'File not found', 'header' => $h404, 'raw' => true); } $path = $volume->getTempPath().DIRECTORY_SEPARATOR.$file;
protected function zipdl($args) { } $file = $targets[1]; // checking the validity of the file parameter if (strpos(str_replace('/', DIRECTORY_SEPARATOR, $file), DIRECTORY_SEPARATOR) !== false) { return array('error' => 'File not found', 'header' => $h404, 'raw' => true); } $path = $volume->getTem...
CVE-2018-9110
{'CWE-22'}
6.4
{'https://github.com/Studio-42/elFinder/commit/e6351557b86cc10a7651253d2d2aff7f6b918f8e'}
nvd
Studio 42 elFinder before 2.1.37 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function that can allow a remote attacker to download files accessible by the web server process and delete files owned by the account running the web server process. NOTE: this issue exists because of an inc...
2018-03-28
1
https://github.com/Studio-42/elFinder
https://github.com/Studio-42/elFinder/commit/e6351557b86cc10a7651253d2d2aff7f6b918f8e
e6351557b86cc10a7651253d2d2aff7f6b918f8e
SINGLE
['e6351557b86cc10a7651253d2d2aff7f6b918f8e']
{'a526df660b2dc98155379abcef1ae33493315ff5'}
e6351557b86cc10a7651253d2d2aff7f6b918f8e
1
03/28/2018, 05:30:48
[php:security] re-fix directory traversal vulnerability for windows server rel. commit 157f471d7e48f190f74e66eb5bc73360b5352fd3
nao-pon
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1624,7 +1624,7 @@ protected function zipdl($args) {\n \t\t\t}\n \t\t\t$file = $targets[1];\n \t\t\t// checking the validity of the file parameter\n-\t\t\tif (strpos($file, DIRECTORY_SEPARATOR) !== false) {\n+\t\t\tif (strpos(str_replace('...
php
CWE-22
[ "php/elFinder.class.php" ]
php/elFinder.class.php
1
/** * Administration Lists Module. * * Copyright (C) 2007-2017 Rod Roark <rod@sunsetsystems.com> * Copyright (C) 2017 Brady Miller <brady.g.miller@gmail.com> * * LICENSE: This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publis...
/** * Administration Lists Module. * * @package OpenEMR * @link http://www.open-emr.org * @author Rod Roark <rod@sunsetsystems.com> * @author Brady Miller <brady.g.miller@gmail.com> * @author Teny <teny@zhservices.com> * @copyright Copyright (c) 2007-2017 Rod Roark <rod@sunsetsystems.com> * @c...
CVE-2018-9250
{'CWE-89'}
6.4
{'https://github.com/openemr/openemr/commit/2a5dd0601e1f616251006d7471997ecd7aaf9651'}
nvd
interface\super\edit_list.php in OpenEMR before v5_0_1_1 allows remote authenticated users to execute arbitrary SQL commands via the newlistname parameter.
2018-05-18
1
https://github.com/openemr/openemr
https://github.com/openemr/openemr/commit/2a5dd0601e1f616251006d7471997ecd7aaf9651
2a5dd0601e1f616251006d7471997ecd7aaf9651
SINGLE
['2a5dd0601e1f616251006d7471997ecd7aaf9651']
{'58de5ec83fa9fd1dab804cf8a9d3db5f4fb436e5'}
2a5dd0601e1f616251006d7471997ecd7aaf9651
1
04/26/2018, 07:20:46
security fix (#1578)
Brady Miller
null
{'additions': 11, 'deletions': 26, 'total': 37}
[ { "additions": 11, "changes": 37, "deletions": 26, "patch": "@@ -2,25 +2,14 @@\n /**\n * Administration Lists Module.\n *\n- * Copyright (C) 2007-2017 Rod Roark <rod@sunsetsystems.com>\n- * Copyright (C) 2017 Brady Miller <brady.g.miller@gmail.com>\n- *\n- * LICENSE: This program is free soft...
php
CWE-89
[ "interface/super/edit_list.php" ]
interface/super/edit_list.php
1
check_user_token (const char *authfile, { if(verbose) D (debug_file, "Match user/token as %s/%s", username, otp_id); return AUTH_FOUND; } }
check_user_token (const char *authfile, { if(verbose) D (debug_file, "Match user/token as %s/%s", username, otp_id); fclose(opwfile); return AUTH_FOUND; } }
CVE-2018-9275
{'CWE-200'}
4.9
{'https://github.com/Yubico/yubico-pam/commit/0f6ceabab0a8849b47f67d727aa526c2656089ba'}
nvd
In check_user_token in util.c in the Yubico PAM module (aka pam_yubico) 2.18 through 2.25, successful logins can leak file descriptors to the auth mapping file, which can lead to information disclosure (serial number of a device) and/or DoS (reaching the maximum number of file descriptors).
2018-04-04
1
https://github.com/Yubico/yubico-pam
https://github.com/Yubico/yubico-pam/commit/0f6ceabab0a8849b47f67d727aa526c2656089ba
0f6ceabab0a8849b47f67d727aa526c2656089ba
SINGLE
['0f6ceabab0a8849b47f67d727aa526c2656089ba']
{'af53411f7d7eac9414b929995b9dc44a7075924f'}
0f6ceabab0a8849b47f67d727aa526c2656089ba
1
04/03/2018, 07:19:53
util: make sure to close the authfile before returning success fixes #136
Klas Lindfors
{'com_1': {'author': 'kbabioch', 'datetime': '04/05/2018, 06:47:44', 'body': 'CVE-2018-9275 has been assigned to this.'}}
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -167,6 +167,8 @@ check_user_token (const char *authfile,\n \t\t{\n \t\t if(verbose)\n \t\t D (debug_file, \"Match user/token as %s/%s\", username, otp_id);\n+\n+\t\t fclose(opwfile);\n \t\t return AUTH_FOUND;\n \t\t}\n \t }", ...
c
CWE-200
[ "util.c" ]
util.c
1
static BOOL GetStartupData(HANDLE pipe, STARTUP_DATA *sud) { size_t size, len; BOOL ret = FALSE; WCHAR *data = NULL; DWORD bytes, read; GetStartupData(HANDLE pipe, STARTUP_DATA *sud) { MsgToEventLog(M_SYSERR, TEXT("PeekNamedPipeAsync failed")); ReturnLastError(pipe, L"PeekNamedPipe...
static BOOL GetStartupData(HANDLE pipe, STARTUP_DATA *sud) { size_t size, len; WCHAR *data = NULL; DWORD bytes, read; GetStartupData(HANDLE pipe, STARTUP_DATA *sud) { MsgToEventLog(M_SYSERR, TEXT("PeekNamedPipeAsync failed")); ReturnLastError(pipe, L"PeekNamedPipeAsync"); goto ...
CVE-2018-9336
{'CWE-415'}
6.4
{'https://github.com/OpenVPN/openvpn/commit/1394192b210cb3c6624a7419bcf3ff966742e79b'}
nvd
openvpnserv.exe (aka the interactive service helper) in OpenVPN 2.4.x before 2.4.6 allows a local attacker to cause a double-free of memory by sending a malformed request to the interactive service. This could cause a denial-of-service through memory corruption or possibly have unspecified other impact including privil...
2018-05-01
1
https://github.com/OpenVPN/openvpn
https://github.com/OpenVPN/openvpn/commit/1394192b210cb3c6624a7419bcf3ff966742e79b
1394192b210cb3c6624a7419bcf3ff966742e79b
SINGLE
['1394192b210cb3c6624a7419bcf3ff966742e79b']
{'8acc40b6a64451d9a17cf4fa12fac2450ca26095'}
1394192b210cb3c6624a7419bcf3ff966742e79b
1
04/14/2018, 07:26:17
Fix potential double-free() in Interactive Service (CVE-2018-9336) Malformed input data on the service pipe towards the OpenVPN interactive service (normally used by the OpenVPN GUI to request openvpn instances from the service) can result in a double free() in the error handling code. This usually only leads to a pr...
Gert Doering
null
{'additions': 11, 'deletions': 12, 'total': 23}
[ { "additions": 11, "changes": 23, "deletions": 12, "patch": "@@ -453,7 +453,6 @@ static BOOL\n GetStartupData(HANDLE pipe, STARTUP_DATA *sud)\n {\n size_t size, len;\n- BOOL ret = FALSE;\n WCHAR *data = NULL;\n DWORD bytes, read;\n \n@@ -462,38 +461,38 @@ GetStartupData(HANDLE pipe, S...
c
CWE-415
[ "src/openvpnserv/interactive.c" ]
src/openvpnserv/interactive.c
1
get_uncompressed_data(struct archive_read *a, const void **buff, size_t size, if (zip->codec == _7Z_COPY && zip->codec2 == (unsigned long)-1) { /* Copy mode. */ /* * Note: '1' here is a performance optimization. * Recall that the decompression layer returns a count of * available bytes; asking for more ...
get_uncompressed_data(struct archive_read *a, const void **buff, size_t size, if (zip->codec == _7Z_COPY && zip->codec2 == (unsigned long)-1) { /* Copy mode. */ *buff = __archive_read_ahead(a, minimum, &bytes_avail); if (bytes_avail <= 0) { archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
CVE-2019-1000019
{'CWE-125'}
2.9
{'https://github.com/libarchive/libarchive/pull/1120/commits/65a23f5dbee4497064e9bb467f81138a62b0dae1'}
nvd
libarchive version commit bf9aec176c6748f0ee7a678c5f9f9555b9a757c1 onwards (release v3.0.2 onwards) contains a CWE-125: Out-of-bounds Read vulnerability in 7zip decompression, archive_read_support_format_7zip.c, header_bytes() that can result in a crash (denial of service). This attack appears to be exploitable via the...
2019-02-04
1
https://github.com/libarchive/libarchive
https://github.com/libarchive/libarchive/pull/1120/commits/65a23f5dbee4497064e9bb467f81138a62b0dae1
65a23f5dbee4497064e9bb467f81138a62b0dae1
SINGLE
['65a23f5dbee4497064e9bb467f81138a62b0dae1']
{'8312eaa576014cd9b965012af51bc1f967b12423'}
65a23f5dbee4497064e9bb467f81138a62b0dae1
1
01/01/2019, 05:01:40
7zip: fix crash when parsing certain archives Fuzzing with CRCs disabled revealed that a call to get_uncompressed_data() would sometimes fail to return at least 'minimum' bytes. This can cause the crc32() invocation in header_bytes to read off into invalid memory. A specially crafted archive can use this to cause a c...
Daniel Axtens
{'com_1': {'author': 'lamby', 'datetime': '02/07/2019, 15:15:41', 'body': 'There\'s an identical "performance optimization" later in the same file; also vulnerable?'}, 'com_2': {'author': 'anarcat', 'datetime': '02/07/2019, 18:42:11', 'body': 'I\'m not sure. I\'m not deeply familiar with the libarchive code, but it see...
{'additions': 1, 'deletions': 7, 'total': 8}
[ { "additions": 1, "changes": 8, "deletions": 7, "patch": "@@ -2964,13 +2964,7 @@ get_uncompressed_data(struct archive_read *a, const void **buff, size_t size,\n \tif (zip->codec == _7Z_COPY && zip->codec2 == (unsigned long)-1) {\n \t\t/* Copy mode. */\n \n-\t\t/*\n-\t\t * Note: '1' here is a perform...
c
CWE-125
[ "libarchive/archive_read_support_format_7zip.c" ]
libarchive/archive_read_support_format_7zip.c
1
if (isset($_POST['submit'])) { //Check if the file is JPG, PNG or GIF. if (in_array($_FILES['imagefile']['type'], array('image/pjpeg', 'image/jpeg','image/png', 'image/gif'))) { if (!copy($_FILES['imagefile']['tmp_name'], 'images/'.$_FILES['imagefile']['name'])) show_error($lang['general']['upload_failed'], 1);...
if (isset($_POST['submit'])) { //Check if the file is JPG, PNG or GIF. if (in_array($_FILES['imagefile']['type'], array('image/pjpeg', 'image/jpeg','image/png', 'image/gif'))) { /* fix issue 44. Thanks to Klaus. */ $imagewhitelist = array('jfif', '.png', '.jpg', '.gif', 'jpeg'); if (!in_array(st...
CVE-2019-1010062
{'CWE-434'}
6.4
{'https://github.com/pluck-cms/pluck/commit/09f0ab871bf633973cfd9fc4fe59d4a912397cf8'}
nvd
PluckCMS 4.7.4 and earlier is affected by: CWE-434 Unrestricted Upload of File with Dangerous Type. The impact is: get webshell. The component is: data/inc/images.php line36. The attack vector is: modify the MIME TYPE on HTTP request to upload a php file. The fixed version is: after commit 09f0ab871bf633973cfd9fc4fe59d...
2019-07-16
1
https://github.com/pluck-cms/pluck
https://github.com/pluck-cms/pluck/commit/09f0ab871bf633973cfd9fc4fe59d4a912397cf8
09f0ab871bf633973cfd9fc4fe59d4a912397cf8
SINGLE
['09f0ab871bf633973cfd9fc4fe59d4a912397cf8']
{'cad5f633d7a7b5ba7e1bab773f4dbb506ca36c08'}
09f0ab871bf633973cfd9fc4fe59d4a912397cf8
1
04/08/2018, 11:11:39
Fix issue #44. Thanks to Klaus.
Bas S
null
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -34,9 +34,13 @@\n if (isset($_POST['submit'])) {\n \t//Check if the file is JPG, PNG or GIF.\n \tif (in_array($_FILES['imagefile']['type'], array('image/pjpeg', 'image/jpeg','image/png', 'image/gif'))) {\n+\t\t/* fix issue 44. Thanks to Kl...
php
CWE-434
[ "data/inc/images.php" ]
data/inc/images.php
1
hfs_cat_traverse(HFS_INFO * hfs, size_t rec_off; hfs_btree_key_cat *key; uint8_t retval; uint16_t keylen; // get the record offset in the node rec_off = hfs_cat_traverse(HFS_INFO * hfs, size_t rec_off; ...
hfs_cat_traverse(HFS_INFO * hfs, size_t rec_off; hfs_btree_key_cat *key; uint8_t retval; int keylen; // get the record offset in the node rec_off = hfs_cat_traverse(HFS_INFO * hfs, size_t rec_off; ...
CVE-2019-1010065
{'CWE-190'}
2.9
{'https://github.com/sleuthkit/sleuthkit/commit/114cd3d0aac8bd1aeaf4b33840feb0163d342d5b'}
nvd
The Sleuth Kit 4.6.0 and earlier is affected by: Integer Overflow. The impact is: Opening crafted disk image triggers crash in tsk/fs/hfs_dent.c:237. The component is: Overflow in fls tool used on HFS image. Bug is in tsk/fs/hfs.c file in function hfs_cat_traverse() in lines: 952, 1062. The attack vector is: Victim mus...
2019-07-18
1
https://github.com/sleuthkit/sleuthkit
https://github.com/sleuthkit/sleuthkit/commit/114cd3d0aac8bd1aeaf4b33840feb0163d342d5b
114cd3d0aac8bd1aeaf4b33840feb0163d342d5b
SINGLE
['114cd3d0aac8bd1aeaf4b33840feb0163d342d5b']
{'322c1d2560662886e6f394e931ecabf667e13854'}
114cd3d0aac8bd1aeaf4b33840feb0163d342d5b
1
04/10/2018, 12:28:10
hfs: fix keylen check in hfs_cat_traverse() If key->key_len is 65535, calculating "uint16_t keylen' would cause an overflow: uint16_t keylen; ... keylen = 2 + tsk_getu16(hfs->fs_info.endian, key->key_len) so the code bypasses the sanity check "if (keylen > nodesize)" which results in crash later: ./too...
Andrey Ryabinin
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -937,7 +937,7 @@ hfs_cat_traverse(HFS_INFO * hfs,\n size_t rec_off;\n hfs_btree_key_cat *key;\n uint8_t retval;\n- uint16_t keylen;\n+ int keylen;\n \n ...
c
CWE-190
[ "tsk/fs/hfs.c" ]
tsk/fs/hfs.c
1
NTSTATUS ProcessMainDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION Ex UNICODE_STRING FullFileName; IO_STATUS_BLOCK IoStatus; LARGE_INTEGER offset; byte readBuffer [TC_SECTOR_SIZE_BIOS]; if (!ValidateIOBufferSize (Irp, sizeof (GetSystemDriveConfigurationRequest), ValidateInputOutput)) bre...
NTSTATUS ProcessMainDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION Ex UNICODE_STRING FullFileName; IO_STATUS_BLOCK IoStatus; LARGE_INTEGER offset; size_t devicePathLen = 0; if (!ValidateIOBufferSize (Irp, sizeof (GetSystemDriveConfigurationRequest), ValidateInputOutput)) break; // ch...
CVE-2019-1010208
{'CWE-119'}
2.9
{'https://github.com/veracrypt/VeraCrypt/commit/f30f9339c9a0b9bbcc6f5ad38804af39db1f479e'}
nvd
IDRIX, Truecrypt Veracrypt, Truecrypt Prior to 1.23-Hotfix-1 (Veracrypt), all versions (Truecrypt) is affected by: Buffer Overflow. The impact is: Minor information disclosure of kernel stack. The component is: Veracrypt NT Driver (veracrypt.sys). The attack vector is: Locally executed code, IOCTL request to driver. Th...
2019-07-23
1
https://github.com/veracrypt/VeraCrypt
https://github.com/veracrypt/VeraCrypt/commit/f30f9339c9a0b9bbcc6f5ad38804af39db1f479e
f30f9339c9a0b9bbcc6f5ad38804af39db1f479e
SINGLE
['f30f9339c9a0b9bbcc6f5ad38804af39db1f479e']
{'fcb66ecc2cdc866b253f78046216d707f43c8b51'}
f30f9339c9a0b9bbcc6f5ad38804af39db1f479e
1
09/19/2018, 16:26:01
Windows: fix low severity vulnerability in driver that allowed reading 3 bytes of kernel stack memory (with a rare possibility of 25 additional bytes). Reported by Tim Harrison.
Mounir IDRASSI
null
{'additions': 82, 'deletions': 49, 'total': 131}
[ { "additions": 82, "changes": 131, "deletions": 49, "patch": "@@ -1902,11 +1902,24 @@ NTSTATUS ProcessMainDeviceControlIrp (PDEVICE_OBJECT DeviceObject, PEXTENSION Ex\n \t\t\tUNICODE_STRING FullFileName;\n \t\t\tIO_STATUS_BLOCK IoStatus;\n \t\t\tLARGE_INTEGER offset;\n-\t\t\tbyte readBuffer [TC_SECT...
c
CWE-119
[ "src/Driver/Ntdriver.c" ]
src/Driver/Ntdriver.c
1
static TEE_Result set_tmem_param(const struct optee_msg_param_tmem *tmem, static TEE_Result set_rmem_param(const struct optee_msg_param_rmem *rmem, struct param_mem *mem) { uint64_t shm_ref = READ_ONCE(rmem->shm_ref); mem->mobj = mobj_reg_shm_get_by_cookie(shm_ref); static TEE_Result set_rmem_param(const struc...
static TEE_Result set_tmem_param(const struct optee_msg_param_tmem *tmem, static TEE_Result set_rmem_param(const struct optee_msg_param_rmem *rmem, struct param_mem *mem) { size_t req_size = 0; uint64_t shm_ref = READ_ONCE(rmem->shm_ref); mem->mobj = mobj_reg_shm_get_by_cookie(shm_ref); static TEE_Result set_...
CVE-2019-1010292
{'CWE-787'}
6.4
{'https://github.com/OP-TEE/optee_os/commit/e3adcf566cb278444830e7badfdcc3983e334fd1'}
nvd
Linaro/OP-TEE OP-TEE Prior to version v3.4.0 is affected by: Boundary checks. The impact is: This could lead to corruption of any memory which the TA can access. The component is: optee_os. The fixed version is: v3.4.0.
2019-07-16
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/e3adcf566cb278444830e7badfdcc3983e334fd1
e3adcf566cb278444830e7badfdcc3983e334fd1
SINGLE
['e3adcf566cb278444830e7badfdcc3983e334fd1']
{'99e8a8cc3db341d703b6779563af98491253960a'}
e3adcf566cb278444830e7badfdcc3983e334fd1
1
10/12/2018, 09:16:22
core: ensure that supplied range matches MOBJ In set_rmem_param() if the MOBJ is found by the cookie it's verified to represent non-secure shared memory. Prior to this patch the supplied sub-range to be used of the MOBJ was not checked here and relied on later checks further down the chain. Those checks seems to be en...
Jens Wiklander
null
{'additions': 9, 'deletions': 0, 'total': 9}
[ { "additions": 9, "changes": 9, "deletions": 0, "patch": "@@ -101,6 +101,7 @@ static TEE_Result set_tmem_param(const struct optee_msg_param_tmem *tmem,\n static TEE_Result set_rmem_param(const struct optee_msg_param_rmem *rmem,\n \t\t\t\t struct param_mem *mem)\n {\n+\tsize_t req_size = 0;\n \tuint6...
c
CWE-787
[ "core/arch/arm/tee/entry_std.c" ]
core/arch/arm/tee/entry_std.c
1
TEE_Result tee_mmu_check_access_rights(const struct user_ta_ctx *utc, size_t len) { uaddr_t a; size_t addr_incr = MIN(CORE_MMU_USER_CODE_SIZE, CORE_MMU_USER_PARAM_SIZE); if (ADD_OVERFLOW(uaddr, len, &a)) return TEE_ERROR_ACCESS_DENIED; if ((flags & TEE_MEMORY_ACCESS_NONSECURE) && TEE_Resul...
TEE_Result tee_mmu_check_access_rights(const struct user_ta_ctx *utc, size_t len) { uaddr_t a; uaddr_t end_addr = 0; size_t addr_incr = MIN(CORE_MMU_USER_CODE_SIZE, CORE_MMU_USER_PARAM_SIZE); if (ADD_OVERFLOW(uaddr, len, &end_addr)) return TEE_ERROR_ACCESS_DENIED; if ((flags & TEE_MEMORY_...
CVE-2019-1010293
{'CWE-787'}
6.4
{'https://github.com/OP-TEE/optee_os/commit/95f36d661f2b75887772ea28baaad904bde96970'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Boundary crossing. The impact is: Memory corruption of the TEE itself. The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/95f36d661f2b75887772ea28baaad904bde96970
95f36d661f2b75887772ea28baaad904bde96970
SINGLE
['95f36d661f2b75887772ea28baaad904bde96970']
{'359324a2d577a98b4405c67e140b1cff41b1d7cd'}
95f36d661f2b75887772ea28baaad904bde96970
1
11/19/2018, 12:34:23
core: tee_mmu_check_access_rights() check all pages Prior to this patch tee_mmu_check_access_rights() checks an address in each page of a supplied range. If both the start and length of that range is unaligned the last page in the range is sometimes not checked. With this patch the first address of each page in the ra...
Jens Wiklander
null
{'additions': 3, 'deletions': 2, 'total': 5}
[ { "additions": 3, "changes": 5, "deletions": 2, "patch": "@@ -757,10 +757,11 @@ TEE_Result tee_mmu_check_access_rights(const struct user_ta_ctx *utc,\n \t\t\t\t size_t len)\n {\n \tuaddr_t a;\n+\tuaddr_t end_addr = 0;\n \tsize_t addr_incr = MIN(CORE_MMU_USER_CODE_SIZE,\n \t\t\t CORE_MMU_...
c
CWE-787
[ "core/arch/arm/mm/tee_mmu.c" ]
core/arch/arm/mm/tee_mmu.c
1
static struct mobj *alloc_ta_mem(size_t size) #else struct mobj *mobj = mobj_mm_alloc(mobj_sec_ddr, size, &tee_mm_sec_ddr); if (mobj) memset(mobj_get_va(mobj, 0), 0, size); return mobj; #endif }
static struct mobj *alloc_ta_mem(size_t size) #else struct mobj *mobj = mobj_mm_alloc(mobj_sec_ddr, size, &tee_mm_sec_ddr); if (mobj) { size_t granularity = BIT(tee_mm_sec_ddr.shift); /* Round up to allocation granularity size */ memset(mobj_get_va(mobj, 0), 0, ROUNDUP(size, granularity)); } return mobj; #...
CVE-2019-1010294
{'CWE-189'}
2.9
{'https://github.com/OP-TEE/optee_os/commit/7e768f8a473409215fe3fff8f6e31f8a3a0103c6'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Rounding error. The impact is: Potentially leaking code and/or data from previous Trusted Application. The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/7e768f8a473409215fe3fff8f6e31f8a3a0103c6
7e768f8a473409215fe3fff8f6e31f8a3a0103c6
SINGLE
['7e768f8a473409215fe3fff8f6e31f8a3a0103c6']
{'5ee85d76897c95c21fa5eb86d66b288b9b19c62b'}
7e768f8a473409215fe3fff8f6e31f8a3a0103c6
1
09/07/2018, 07:46:25
core: clear the entire TA area Previously we cleared (memset to zero) the size corresponding to code and data segments, however the allocation for the TA is made on the granularity of the memory pool, meaning that we did not clear all memory and because of that we could potentially leak code and data of a previous loa...
Joakim Bech
null
{'additions': 6, 'deletions': 2, 'total': 8}
[ { "additions": 6, "changes": 8, "deletions": 2, "patch": "@@ -197,8 +197,12 @@ static struct mobj *alloc_ta_mem(size_t size)\n #else\n \tstruct mobj *mobj = mobj_mm_alloc(mobj_sec_ddr, size, &tee_mm_sec_ddr);\n \n-\tif (mobj)\n-\t\tmemset(mobj_get_va(mobj, 0), 0, size);\n+\tif (mobj) {\n+\t\tsize_t ...
c
CWE-189
[ "core/arch/arm/kernel/user_ta.c" ]
core/arch/arm/kernel/user_ta.c
1
TEE_Result syscall_get_property_name_to_index(unsigned long prop_set, return res; } static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up) { size_t n; uint32_t types = up->types; static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up) for (n = 0; n < TEE_NUM_PARAMS...
TEE_Result syscall_get_property_name_to_index(unsigned long prop_set, return res; } static TEE_Result utee_param_to_param(struct user_ta_ctx *utc, struct tee_ta_param *p, struct utee_params *up) { size_t n; uint32_t types = up->types; static void utee_param_to_param(struct tee_ta_param *p, stru...
CVE-2019-1010295
{'CWE-20', 'CWE-787', 'CWE-125'}
6.4
{'https://github.com/OP-TEE/optee_os/commit/d5c5b0b77b2b589666024d219a8007b3f5b6faeb'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Memory corruption and disclosure of memory content. The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/d5c5b0b77b2b589666024d219a8007b3f5b6faeb
d5c5b0b77b2b589666024d219a8007b3f5b6faeb
SINGLE
['d5c5b0b77b2b589666024d219a8007b3f5b6faeb']
{'c6edc12acd490e272aade091b5f2389eba37bb33'}
d5c5b0b77b2b589666024d219a8007b3f5b6faeb
1
11/20/2018, 08:56:58
core: svc: always check ta parameters Always check TA parameters from a user TA. This prevents a user TA from passing invalid pointers to a pseudo TA. Fixes: OP-TEE-2018-0007: "Buffer checks missing when calling pseudo TAs". Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Joakim Bech <joakim.bec...
Jens Wiklander
null
{'additions': 15, 'deletions': 3, 'total': 18}
[ { "additions": 15, "changes": 18, "deletions": 3, "patch": "@@ -494,7 +494,9 @@ TEE_Result syscall_get_property_name_to_index(unsigned long prop_set,\n \treturn res;\n }\n \n-static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up)\n+static TEE_Result utee_param_to_param(struc...
c
CWE-20
[ "core/tee/tee_svc.c" ]
core/tee/tee_svc.c
1
TEE_Result syscall_get_property_name_to_index(unsigned long prop_set, return res; } static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up) { size_t n; uint32_t types = up->types; static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up) for (n = 0; n < TEE_NUM_PARAMS...
TEE_Result syscall_get_property_name_to_index(unsigned long prop_set, return res; } static TEE_Result utee_param_to_param(struct user_ta_ctx *utc, struct tee_ta_param *p, struct utee_params *up) { size_t n; uint32_t types = up->types; static void utee_param_to_param(struct tee_ta_param *p, stru...
CVE-2019-1010295
{'CWE-20', 'CWE-787', 'CWE-125'}
6.4
{'https://github.com/OP-TEE/optee_os/commit/d5c5b0b77b2b589666024d219a8007b3f5b6faeb'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Memory corruption and disclosure of memory content. The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/d5c5b0b77b2b589666024d219a8007b3f5b6faeb
d5c5b0b77b2b589666024d219a8007b3f5b6faeb
SINGLE
['d5c5b0b77b2b589666024d219a8007b3f5b6faeb']
{'c6edc12acd490e272aade091b5f2389eba37bb33'}
d5c5b0b77b2b589666024d219a8007b3f5b6faeb
1
11/20/2018, 08:56:58
core: svc: always check ta parameters Always check TA parameters from a user TA. This prevents a user TA from passing invalid pointers to a pseudo TA. Fixes: OP-TEE-2018-0007: "Buffer checks missing when calling pseudo TAs". Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Joakim Bech <joakim.bec...
Jens Wiklander
null
{'additions': 15, 'deletions': 3, 'total': 18}
[ { "additions": 15, "changes": 18, "deletions": 3, "patch": "@@ -494,7 +494,9 @@ TEE_Result syscall_get_property_name_to_index(unsigned long prop_set,\n \treturn res;\n }\n \n-static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up)\n+static TEE_Result utee_param_to_param(struc...
c
CWE-787
[ "core/tee/tee_svc.c" ]
core/tee/tee_svc.c
1
TEE_Result syscall_get_property_name_to_index(unsigned long prop_set, return res; } static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up) { size_t n; uint32_t types = up->types; static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up) for (n = 0; n < TEE_NUM_PARAMS...
TEE_Result syscall_get_property_name_to_index(unsigned long prop_set, return res; } static TEE_Result utee_param_to_param(struct user_ta_ctx *utc, struct tee_ta_param *p, struct utee_params *up) { size_t n; uint32_t types = up->types; static void utee_param_to_param(struct tee_ta_param *p, stru...
CVE-2019-1010295
{'CWE-20', 'CWE-787', 'CWE-125'}
6.4
{'https://github.com/OP-TEE/optee_os/commit/d5c5b0b77b2b589666024d219a8007b3f5b6faeb'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Memory corruption and disclosure of memory content. The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/d5c5b0b77b2b589666024d219a8007b3f5b6faeb
d5c5b0b77b2b589666024d219a8007b3f5b6faeb
SINGLE
['d5c5b0b77b2b589666024d219a8007b3f5b6faeb']
{'c6edc12acd490e272aade091b5f2389eba37bb33'}
d5c5b0b77b2b589666024d219a8007b3f5b6faeb
1
11/20/2018, 08:56:58
core: svc: always check ta parameters Always check TA parameters from a user TA. This prevents a user TA from passing invalid pointers to a pseudo TA. Fixes: OP-TEE-2018-0007: "Buffer checks missing when calling pseudo TAs". Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Tested-by: Joakim Bech <joakim.bec...
Jens Wiklander
null
{'additions': 15, 'deletions': 3, 'total': 18}
[ { "additions": 15, "changes": 18, "deletions": 3, "patch": "@@ -494,7 +494,9 @@ TEE_Result syscall_get_property_name_to_index(unsigned long prop_set,\n \treturn res;\n }\n \n-static void utee_param_to_param(struct tee_ta_param *p, struct utee_params *up)\n+static TEE_Result utee_param_to_param(struc...
c
CWE-125
[ "core/tee/tee_svc.c" ]
core/tee/tee_svc.c
1
*/ #include <assert.h> #include <crypto/crypto.h> #include <kernel/tee_ta_manager.h> #include <mm/tee_mmu.h> TEE_Result syscall_cryp_obj_populate(unsigned long obj, if (!type_props) return TEE_ERROR_NOT_IMPLEMENTED; attrs = malloc(sizeof(TEE_Attribute) * attr_count); if (!attrs) return TEE_ERROR_OUT_OF_MEMOR...
*/ #include <assert.h> #include <compiler.h> #include <crypto/crypto.h> #include <kernel/tee_ta_manager.h> #include <mm/tee_mmu.h> TEE_Result syscall_cryp_obj_populate(unsigned long obj, if (!type_props) return TEE_ERROR_NOT_IMPLEMENTED; size_t alloc_size = 0; if (MUL_OVERFLOW(sizeof(TEE_Attribute), attr_coun...
CVE-2019-1010296
{'CWE-190', 'CWE-787'}
10
{'https://github.com/OP-TEE/optee_os/commit/b60e1cee406a1ff521145ab9534370dfb85dd592'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Code execution in context of TEE core (kernel). The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/b60e1cee406a1ff521145ab9534370dfb85dd592
b60e1cee406a1ff521145ab9534370dfb85dd592
SINGLE
['b60e1cee406a1ff521145ab9534370dfb85dd592']
{'8f58cdbe41688b6d8a5e8b06bfaef1b64c51309f'}
b60e1cee406a1ff521145ab9534370dfb85dd592
1
09/27/2018, 08:15:53
svc: check for allocation overflow in syscall_cryp_obj_populate Without checking for overflow there is a risk of allocating a buffer with size smaller than anticipated and as a consequence of that it might lead to a heap based overflow with attacker controlled data written outside the boundaries of the buffer. Fixes:...
Joakim Bech
null
{'additions': 8, 'deletions': 1, 'total': 9}
[ { "additions": 8, "changes": 9, "deletions": 1, "patch": "@@ -4,6 +4,7 @@\n */\n \n #include <assert.h>\n+#include <compiler.h>\n #include <crypto/crypto.h>\n #include <kernel/tee_ta_manager.h>\n #include <mm/tee_mmu.h>\n@@ -1547,9 +1548,15 @@ TEE_Result syscall_cryp_obj_populate(unsigned long obj,...
c
CWE-787
[ "core/tee/tee_svc_cryp.c" ]
core/tee/tee_svc_cryp.c
1
*/ #include <assert.h> #include <crypto/crypto.h> #include <kernel/tee_ta_manager.h> #include <mm/tee_mmu.h> TEE_Result syscall_cryp_obj_populate(unsigned long obj, if (!type_props) return TEE_ERROR_NOT_IMPLEMENTED; attrs = malloc(sizeof(TEE_Attribute) * attr_count); if (!attrs) return TEE_ERROR_OUT_OF_MEMOR...
*/ #include <assert.h> #include <compiler.h> #include <crypto/crypto.h> #include <kernel/tee_ta_manager.h> #include <mm/tee_mmu.h> TEE_Result syscall_cryp_obj_populate(unsigned long obj, if (!type_props) return TEE_ERROR_NOT_IMPLEMENTED; size_t alloc_size = 0; if (MUL_OVERFLOW(sizeof(TEE_Attribute), attr_coun...
CVE-2019-1010296
{'CWE-190', 'CWE-787'}
10
{'https://github.com/OP-TEE/optee_os/commit/b60e1cee406a1ff521145ab9534370dfb85dd592'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Code execution in context of TEE core (kernel). The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/b60e1cee406a1ff521145ab9534370dfb85dd592
b60e1cee406a1ff521145ab9534370dfb85dd592
SINGLE
['b60e1cee406a1ff521145ab9534370dfb85dd592']
{'8f58cdbe41688b6d8a5e8b06bfaef1b64c51309f'}
b60e1cee406a1ff521145ab9534370dfb85dd592
1
09/27/2018, 08:15:53
svc: check for allocation overflow in syscall_cryp_obj_populate Without checking for overflow there is a risk of allocating a buffer with size smaller than anticipated and as a consequence of that it might lead to a heap based overflow with attacker controlled data written outside the boundaries of the buffer. Fixes:...
Joakim Bech
null
{'additions': 8, 'deletions': 1, 'total': 9}
[ { "additions": 8, "changes": 9, "deletions": 1, "patch": "@@ -4,6 +4,7 @@\n */\n \n #include <assert.h>\n+#include <compiler.h>\n #include <crypto/crypto.h>\n #include <kernel/tee_ta_manager.h>\n #include <mm/tee_mmu.h>\n@@ -1547,9 +1548,15 @@ TEE_Result syscall_cryp_obj_populate(unsigned long obj,...
c
CWE-190
[ "core/tee/tee_svc_cryp.c" ]
core/tee/tee_svc_cryp.c
1
TEE_Result syscall_obj_generate_key(unsigned long obj, unsigned long key_size, if (key_size > type_props->max_size) return TEE_ERROR_NOT_SUPPORTED; params = malloc(sizeof(TEE_Attribute) * param_count); if (!params) return TEE_ERROR_OUT_OF_MEMORY; res = copy_in_attrs(to_user_ta_ctx(sess->ctx), usr_params, para...
TEE_Result syscall_obj_generate_key(unsigned long obj, unsigned long key_size, if (key_size > type_props->max_size) return TEE_ERROR_NOT_SUPPORTED; size_t alloc_size = 0; if (MUL_OVERFLOW(sizeof(TEE_Attribute), param_count, &alloc_size)) return TEE_ERROR_OVERFLOW; params = malloc(alloc_size); if (!params) ...
CVE-2019-1010297
{'CWE-190', 'CWE-787'}
10
{'https://github.com/OP-TEE/optee_os/commit/a637243270fc1faae16de059091795c32d86e65e'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Execution of code in TEE core (kernel) context. The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/a637243270fc1faae16de059091795c32d86e65e
a637243270fc1faae16de059091795c32d86e65e
SINGLE
['a637243270fc1faae16de059091795c32d86e65e']
{'b60e1cee406a1ff521145ab9534370dfb85dd592'}
a637243270fc1faae16de059091795c32d86e65e
1
09/27/2018, 08:24:26
svc: check for allocation overflow in crypto calls Without checking for overflow there is a risk of allocating a buffer with size smaller than anticipated and as a consequence of that it might lead to a heap based overflow with attacker controlled data written outside the boundaries of the buffer. Fixes: OP-TEE-2018-...
Joakim Bech
null
{'additions': 12, 'deletions': 2, 'total': 14}
[ { "additions": 12, "changes": 14, "deletions": 2, "patch": "@@ -1759,7 +1759,12 @@ TEE_Result syscall_obj_generate_key(unsigned long obj, unsigned long key_size,\n \tif (key_size > type_props->max_size)\n \t\treturn TEE_ERROR_NOT_SUPPORTED;\n \n-\tparams = malloc(sizeof(TEE_Attribute) * param_count)...
c
CWE-787
[ "core/tee/tee_svc_cryp.c" ]
core/tee/tee_svc_cryp.c
1
TEE_Result syscall_obj_generate_key(unsigned long obj, unsigned long key_size, if (key_size > type_props->max_size) return TEE_ERROR_NOT_SUPPORTED; params = malloc(sizeof(TEE_Attribute) * param_count); if (!params) return TEE_ERROR_OUT_OF_MEMORY; res = copy_in_attrs(to_user_ta_ctx(sess->ctx), usr_params, para...
TEE_Result syscall_obj_generate_key(unsigned long obj, unsigned long key_size, if (key_size > type_props->max_size) return TEE_ERROR_NOT_SUPPORTED; size_t alloc_size = 0; if (MUL_OVERFLOW(sizeof(TEE_Attribute), param_count, &alloc_size)) return TEE_ERROR_OVERFLOW; params = malloc(alloc_size); if (!params) ...
CVE-2019-1010297
{'CWE-190', 'CWE-787'}
10
{'https://github.com/OP-TEE/optee_os/commit/a637243270fc1faae16de059091795c32d86e65e'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Execution of code in TEE core (kernel) context. The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/a637243270fc1faae16de059091795c32d86e65e
a637243270fc1faae16de059091795c32d86e65e
SINGLE
['a637243270fc1faae16de059091795c32d86e65e']
{'b60e1cee406a1ff521145ab9534370dfb85dd592'}
a637243270fc1faae16de059091795c32d86e65e
1
09/27/2018, 08:24:26
svc: check for allocation overflow in crypto calls Without checking for overflow there is a risk of allocating a buffer with size smaller than anticipated and as a consequence of that it might lead to a heap based overflow with attacker controlled data written outside the boundaries of the buffer. Fixes: OP-TEE-2018-...
Joakim Bech
null
{'additions': 12, 'deletions': 2, 'total': 14}
[ { "additions": 12, "changes": 14, "deletions": 2, "patch": "@@ -1759,7 +1759,12 @@ TEE_Result syscall_obj_generate_key(unsigned long obj, unsigned long key_size,\n \tif (key_size > type_props->max_size)\n \t\treturn TEE_ERROR_NOT_SUPPORTED;\n \n-\tparams = malloc(sizeof(TEE_Attribute) * param_count)...
c
CWE-190
[ "core/tee/tee_svc_cryp.c" ]
core/tee/tee_svc_cryp.c
1
TEE_Result syscall_asymm_operate(unsigned long state, if (res != TEE_SUCCESS) return res; params = malloc(sizeof(TEE_Attribute) * num_params); if (!params) return TEE_ERROR_OUT_OF_MEMORY; res = copy_in_attrs(utc, usr_params, num_params, params); TEE_Result syscall_asymm_verify(unsigned long state, if (res !=...
TEE_Result syscall_asymm_operate(unsigned long state, if (res != TEE_SUCCESS) return res; size_t alloc_size = 0; if (MUL_OVERFLOW(sizeof(TEE_Attribute), num_params, &alloc_size)) return TEE_ERROR_OVERFLOW; params = malloc(alloc_size); if (!params) return TEE_ERROR_OUT_OF_MEMORY; res = copy_in_attrs(utc,...
CVE-2019-1010298
{'CWE-190', 'CWE-787'}
10
{'https://github.com/OP-TEE/optee_os/commit/70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Code execution in the context of TEE core (kernel). The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8
70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8
SINGLE
['70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8']
{'a637243270fc1faae16de059091795c32d86e65e'}
70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8
1
09/27/2018, 08:30:20
svc: check for allocation overflow in crypto calls part 2 Without checking for overflow there is a risk of allocating a buffer with size smaller than anticipated and as a consequence of that it might lead to a heap based overflow with attacker controlled data written outside the boundaries of the buffer. Fixes: OP-TE...
Joakim Bech
null
{'additions': 12, 'deletions': 2, 'total': 14}
[ { "additions": 12, "changes": 14, "deletions": 2, "patch": "@@ -3274,7 +3274,12 @@ TEE_Result syscall_asymm_operate(unsigned long state,\n \tif (res != TEE_SUCCESS)\n \t\treturn res;\n \n-\tparams = malloc(sizeof(TEE_Attribute) * num_params);\n+\tsize_t alloc_size = 0;\n+\n+\tif (MUL_OVERFLOW(sizeof...
c
CWE-787
[ "core/tee/tee_svc_cryp.c" ]
core/tee/tee_svc_cryp.c
1
TEE_Result syscall_asymm_operate(unsigned long state, if (res != TEE_SUCCESS) return res; params = malloc(sizeof(TEE_Attribute) * num_params); if (!params) return TEE_ERROR_OUT_OF_MEMORY; res = copy_in_attrs(utc, usr_params, num_params, params); TEE_Result syscall_asymm_verify(unsigned long state, if (res !=...
TEE_Result syscall_asymm_operate(unsigned long state, if (res != TEE_SUCCESS) return res; size_t alloc_size = 0; if (MUL_OVERFLOW(sizeof(TEE_Attribute), num_params, &alloc_size)) return TEE_ERROR_OVERFLOW; params = malloc(alloc_size); if (!params) return TEE_ERROR_OUT_OF_MEMORY; res = copy_in_attrs(utc,...
CVE-2019-1010298
{'CWE-190', 'CWE-787'}
10
{'https://github.com/OP-TEE/optee_os/commit/70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8'}
nvd
Linaro/OP-TEE OP-TEE 3.3.0 and earlier is affected by: Buffer Overflow. The impact is: Code execution in the context of TEE core (kernel). The component is: optee_os. The fixed version is: 3.4.0 and later.
2019-07-15
1
https://github.com/OP-TEE/optee_os
https://github.com/OP-TEE/optee_os/commit/70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8
70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8
SINGLE
['70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8']
{'a637243270fc1faae16de059091795c32d86e65e'}
70697bf3c5dc3d201341b01a1a8e5bc6d2fb48f8
1
09/27/2018, 08:30:20
svc: check for allocation overflow in crypto calls part 2 Without checking for overflow there is a risk of allocating a buffer with size smaller than anticipated and as a consequence of that it might lead to a heap based overflow with attacker controlled data written outside the boundaries of the buffer. Fixes: OP-TE...
Joakim Bech
null
{'additions': 12, 'deletions': 2, 'total': 14}
[ { "additions": 12, "changes": 14, "deletions": 2, "patch": "@@ -3274,7 +3274,12 @@ TEE_Result syscall_asymm_operate(unsigned long state,\n \tif (res != TEE_SUCCESS)\n \t\treturn res;\n \n-\tparams = malloc(sizeof(TEE_Attribute) * num_params);\n+\tsize_t alloc_size = 0;\n+\n+\tif (MUL_OVERFLOW(sizeof...
c
CWE-190
[ "core/tee/tee_svc_cryp.c" ]
core/tee/tee_svc_cryp.c
1
int ParseDsdiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa if (!strncmp (prop_chunk, "SND ", 4)) { char *cptr = prop_chunk + 4, *eptr = prop_chunk + dff_chunk_header.ckDataSize; uint16_t numChannels, chansSpecified, chanMask = 0; uint32...
int ParseDsdiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa if (!strncmp (prop_chunk, "SND ", 4)) { char *cptr = prop_chunk + 4, *eptr = prop_chunk + dff_chunk_header.ckDataSize; uint16_t numChannels = 0, chansSpecified, chanMask = 0; ui...
CVE-2019-1010315
{'CWE-369'}
2.9
{'https://github.com/dbry/WavPack/commit/4c0faba32fddbd0745cbfaf1e1aeb3da5d35b9fc'}
nvd
WavPack 5.1 and earlier is affected by: CWE 369: Divide by Zero. The impact is: Divide by zero can lead to sudden crash of a software/service that tries to parse a .wav file. The component is: ParseDsdiffHeaderConfig (dsdiff.c:282). The attack vector is: Maliciously crafted .wav file. The fixed version is: After commit...
2019-07-11
1
https://github.com/dbry/WavPack
https://github.com/dbry/WavPack/commit/4c0faba32fddbd0745cbfaf1e1aeb3da5d35b9fc
4c0faba32fddbd0745cbfaf1e1aeb3da5d35b9fc
SINGLE
['4c0faba32fddbd0745cbfaf1e1aeb3da5d35b9fc']
{'8948be9fd118cd3646eb83c9bc10afca478b0e32'}
4c0faba32fddbd0745cbfaf1e1aeb3da5d35b9fc
1
03/03/2019, 02:37:14
issue #65: make sure DSDIFF files have a valid channel count
David Bryant
null
{'additions': 8, 'deletions': 2, 'total': 10}
[ { "additions": 8, "changes": 10, "deletions": 2, "patch": "@@ -180,7 +180,7 @@ int ParseDsdiffHeaderConfig (FILE *infile, char *infilename, char *fourcc, Wavpa\n \n if (!strncmp (prop_chunk, \"SND \", 4)) {\n char *cptr = prop_chunk + 4, *eptr = prop_chunk + dff_chunk_hea...
c
CWE-369
[ "cli/dsdiff.c" ]
cli/dsdiff.c
1
} } if (isset($_GET['cycle'])) { $cycle = $_GET['cycle']; } else { $cycle = 25; } Event::log($task['id'], 'Crontask', 5, 'Configuration', $message); } } echo "Number of unlocked tasks : ".$unlocked_tasks."\n";\ No newline at end of file
} } if (isset($_GET['cycle'])) { $cycle = (int)$_GET['cycle']; } else { $cycle = 25; } Event::log($task['id'], 'Crontask', 5, 'Configuration', $message); } }\ No newline at end of file echo "Number of unlocked tasks : ".$unlocked_tasks."\n";
CVE-2019-10232
{'CWE-89'}
6.4
{'https://github.com/glpi-project/glpi/commit/684d4fc423652ec7dde21cac4d41c2df53f56b3c'}
nvd
Teclib GLPI through 9.3.3 has SQL injection via the "cycle" parameter in /scripts/unlock_tasks.php.
2019-03-27
1
https://github.com/glpi-project/glpi
https://github.com/glpi-project/glpi/commit/684d4fc423652ec7dde21cac4d41c2df53f56b3c
684d4fc423652ec7dde21cac4d41c2df53f56b3c
SINGLE
['684d4fc423652ec7dde21cac4d41c2df53f56b3c']
{'cd04f1d22042bf4c44f5115922e912d76cb27a29'}
684d4fc423652ec7dde21cac4d41c2df53f56b3c
1
02/07/2019, 05:35:15
Cast value to integer
Johan Cwiklinski
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -46,7 +46,7 @@\n }\n }\n if (isset($_GET['cycle'])) {\n- $cycle = $_GET['cycle'];\n+ $cycle = (int)$_GET['cycle'];\n } else {\n $cycle = 25;\n }\n@@ -84,4 +84,4 @@\n Event::log($task['id'], 'Crontask', 5, 'Configuration', $...
php
CWE-89
[ "scripts/unlock_tasks.php" ]
scripts/unlock_tasks.php
1
namespace http { return; } std::vector<std::vector<std::string> > result; result = m_sql.safe_queryBlob("SELECT Image FROM Floorplans WHERE ID=%s", idx.c_str()); if (result.empty()) return; reply::set_content(&rep, result[0][0].begin(), result[0][0].end());
namespace http { return; } std::vector<std::vector<std::string> > result; result = m_sql.safe_queryBlob("SELECT Image FROM Floorplans WHERE ID=%d", atol(idx.c_str())); if (result.empty()) return; reply::set_content(&rep, result[0][0].begin(), result[0][0].end());
CVE-2019-10664
{'CWE-89'}
6.4
{'https://github.com/domoticz/domoticz/commit/ee70db46f81afa582c96b887b73bcd2a86feda00'}
nvd
Domoticz before 4.10578 allows SQL Injection via the idx parameter in CWebServer::GetFloorplanImage in WebServer.cpp.
2019-03-31
1
https://github.com/domoticz/domoticz
https://github.com/domoticz/domoticz/commit/ee70db46f81afa582c96b887b73bcd2a86feda00
ee70db46f81afa582c96b887b73bcd2a86feda00
SINGLE
['ee70db46f81afa582c96b887b73bcd2a86feda00']
{'9c9319ace1f0a76b12bf349d62f455a506d286df'}
ee70db46f81afa582c96b887b73bcd2a86feda00
1
03/29/2019, 14:04:04
Fixed possible SQL Injection Vulnerability (Thanks to Fabio Carretto!)
Rob Peters
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -10772,7 +10772,7 @@ namespace http {\n \t\t\t\treturn;\n \t\t\t}\n \t\t\tstd::vector<std::vector<std::string> > result;\n-\t\t\tresult = m_sql.safe_queryBlob(\"SELECT Image FROM Floorplans WHERE ID=%s\", idx.c_str());\n+\t\t\tresult = m_s...
cpp
CWE-89
[ "main/WebServer.cpp" ]
main/WebServer.cpp
1
int treeRead(struct READER *reader, struct DATAOBJECT *data) { for (i = 0; i < olen; i++) { b = i / elements; x = i % elements + start[0]; if (x < sx) { j = x * size + b; ((char*)data->data)[j] = output[i]; } } int treeRead(struct READER *reader, struct DATAOBJECT *data) { ...
int treeRead(struct READER *reader, struct DATAOBJECT *data) { for (i = 0; i < olen; i++) { b = i / elements; x = i % elements + start[0]; j = x * size + b; if (j>=0 && j < elements * size) { ((char*)data->data)[j] = output[i]; } } int treeRead(struct READER *reader, struct DATAO...
CVE-2019-10672
{'CWE-20'}
6.4
{'https://github.com/hoene/libmysofa/commit/d39a171e9c6a1c44dbdf43f9db6c3fbd887e38c1'}
nvd
treeRead in hdf/btree.c in libmysofa before 0.7 does not properly validate multiplications and additions.
2019-03-31
1
https://github.com/hoene/libmysofa
https://github.com/hoene/libmysofa/commit/d39a171e9c6a1c44dbdf43f9db6c3fbd887e38c1
d39a171e9c6a1c44dbdf43f9db6c3fbd887e38c1
SINGLE
['d39a171e9c6a1c44dbdf43f9db6c3fbd887e38c1']
{'50ee637814c51f80c9bb4d6921a610a3f1490b27'}
d39a171e9c6a1c44dbdf43f9db6c3fbd887e38c1
1
03/31/2019, 13:57:14
Fixed security issue 1
Christian Hoene
null
{'additions': 6, 'deletions': 6, 'total': 12}
[ { "additions": 6, "changes": 12, "deletions": 6, "patch": "@@ -307,8 +307,8 @@ int treeRead(struct READER *reader, struct DATAOBJECT *data) {\n \t\t\t\tfor (i = 0; i < olen; i++) {\n \t\t\t\t\tb = i / elements;\n \t\t\t\t\tx = i % elements + start[0];\n-\t\t\t\t\tif (x < sx) {\n-\t\t\t\t\t\tj = x * ...
c
CWE-20
[ "src/hdf/btree.c" ]
src/hdf/btree.c
1
function wp_statistics_get_site_title( $url ) { if ( isset( $dom ) and $dom->getElementsByTagName( 'title' )->length > 0 ) { $title = $dom->getElementsByTagName( 'title' )->item( '0' )->nodeValue; } return ( wp_strip_all_tags( $title ) == "" ? false : $title ); } return false;
function wp_statistics_get_site_title( $url ) { if ( isset( $dom ) and $dom->getElementsByTagName( 'title' )->length > 0 ) { $title = $dom->getElementsByTagName( 'title' )->item( '0' )->nodeValue; } return ( wp_strip_all_tags( $title ) == "" ? false : wp_strip_all_tags( $title ) ); } return false;
CVE-2019-10864
{'CWE-79'}
2.9
{'https://github.com/wp-statistics/wp-statistics/commit/5aec0a08680f0afea387267a8d1b9fbb3379247c'}
nvd
The WP Statistics plugin through 12.6.2 for WordPress has XSS, allowing a remote attacker to inject arbitrary web script or HTML via the Referer header of a GET request.
2019-04-23
1
https://github.com/wp-statistics/wp-statistics
https://github.com/wp-statistics/wp-statistics/commit/5aec0a08680f0afea387267a8d1b9fbb3379247c
5aec0a08680f0afea387267a8d1b9fbb3379247c
SINGLE
['5aec0a08680f0afea387267a8d1b9fbb3379247c']
{'9738dfee1d41a7b001d2eb84d60bffa553dcdfb7'}
5aec0a08680f0afea387267a8d1b9fbb3379247c
1
04/09/2019, 06:28:48
fix xss Attach Get Title Of Page
Mehrshad Darzi
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -2094,7 +2094,7 @@ function wp_statistics_get_site_title( $url ) {\n \t\tif ( isset( $dom ) and $dom->getElementsByTagName( 'title' )->length > 0 ) {\n \t\t\t$title = $dom->getElementsByTagName( 'title' )->item( '0' )->nodeValue;\n \t\t}\n...
php
CWE-79
[ "includes/functions/functions.php" ]
includes/functions/functions.php
1
protected function parseGeneral() // as a regex-like string, and we switched to an array. If we find the old style, fall back to the defaults. unset($general['accept_file_types']); } // accept uppercase and lowercase file extensions. $general['accept_...
protected function parseGeneral() // as a regex-like string, and we switched to an array. If we find the old style, fall back to the defaults. unset($general['accept_file_types']); } // Just.. Say no to these. $general['accept_file_types'] = array_di...
CVE-2019-10874
{'CWE-352'}
6.4
{'https://github.com/bolt/bolt/pull/7768/commits/91187aef36363a870d60b0a3c1bf8507af34c9e4'}
nvd
Cross Site Request Forgery (CSRF) in the bolt/upload File Upload feature in Bolt CMS 3.6.6 allows remote attackers to execute arbitrary code by uploading a JavaScript file to include executable extensions in the file/edit/config/config.yml configuration file.
2019-04-05
1
https://github.com/bolt/bolt
https://github.com/bolt/bolt/pull/7768/commits/91187aef36363a870d60b0a3c1bf8507af34c9e4
91187aef36363a870d60b0a3c1bf8507af34c9e4
SINGLE
['91187aef36363a870d60b0a3c1bf8507af34c9e4']
{'516a7ffd3da02999c76a665131c9ea3c74625479'}
91187aef36363a870d60b0a3c1bf8507af34c9e4
1
04/03/2019, 15:56:47
Blacklist some common PHP file extensions
Bob den Otter
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -308,6 +308,10 @@ protected function parseGeneral()\n // as a regex-like string, and we switched to an array. If we find the old style, fall back to the defaults.\n unset($general['accept_file_types']);\n ...
php
CWE-352
[ "src/Config.php" ]
src/Config.php
1
GF_Err gf_bin128_parse(const char *string, bin128 value) break; sprintf(szV, "%c%c", string[j], string[j+1]); sscanf(szV, "%x", &v); value[i] = v; i++; } } if (i != 16) {
GF_Err gf_bin128_parse(const char *string, bin128 value) break; sprintf(szV, "%c%c", string[j], string[j+1]); sscanf(szV, "%x", &v); if (i > 15) { // force error check below i++; break; } value[i] = v; i++; } } if (i != 16) {
CVE-2019-11222
{'CWE-787'}
6.4
{'https://github.com/gpac/gpac/commit/f3698bb1bce62402805c3fda96551a23101a32f9'}
nvd
gf_bin128_parse in utils/os_divers.c in GPAC 0.7.1 has a buffer overflow issue for the crypt feature when encountering a crafted_drm_file.xml file.
2019-04-15
1
https://github.com/gpac/gpac
https://github.com/gpac/gpac/commit/f3698bb1bce62402805c3fda96551a23101a32f9
f3698bb1bce62402805c3fda96551a23101a32f9
SINGLE
['f3698bb1bce62402805c3fda96551a23101a32f9']
{'f4616202e5578e65746cf7e7ceeba63bee1b094b'}
f3698bb1bce62402805c3fda96551a23101a32f9
1
04/11/2019, 12:54:53
fix buffer overrun in gf_bin128_parse closes #1204 closes #1205
Aurelien David
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -1988,8 +1988,14 @@ GF_Err gf_bin128_parse(const char *string, bin128 value)\n \t\t\t\tbreak;\n \t\t\tsprintf(szV, \"%c%c\", string[j], string[j+1]);\n \t\t\tsscanf(szV, \"%x\", &v);\n+\t\t\tif (i > 15) {\n+\t\t\t\t// force error check bel...
c
CWE-787
[ "src/utils/os_divers.c" ]
src/utils/os_divers.c
1
def sendEmail(sydent, templateName, mailTo, substitutions): allSubstitutions[k+"_forhtml"] = cgi.escape(v.decode('utf8')) allSubstitutions[k+"_forurl"] = urllib.quote(v) mailString = open(mailTemplateFile).read() % allSubstitutions rawFrom = email.utils.parseaddr(mailFrom)[1] ...
def sendEmail(sydent, templateName, mailTo, substitutions): allSubstitutions[k+"_forhtml"] = cgi.escape(v.decode('utf8')) allSubstitutions[k+"_forurl"] = urllib.quote(v) mailString = open(mailTemplateFile).read().decode('utf8') % allSubstitutions parsedFrom = email.utils.parsea...
CVE-2019-11340
{'CWE-20'}
2.9
{'https://github.com/matrix-org/sydent/commit/4e1cfff53429c49c87d5c457a18ed435520044fc'}
nvd
util/emailutils.py in Matrix Sydent before 1.0.2 mishandles registration restrictions that are based on e-mail domain, if the allowed_local_3pids option is enabled. This occurs because of potentially unwanted behavior in Python, in which an email.utils.parseaddr call on user@bad.example.net@good.example.com returns the...
2019-04-19
1
https://github.com/matrix-org/sydent
https://github.com/matrix-org/sydent/commit/4e1cfff53429c49c87d5c457a18ed435520044fc
4e1cfff53429c49c87d5c457a18ed435520044fc
SINGLE
['4e1cfff53429c49c87d5c457a18ed435520044fc']
{'617ff31a52139f28e4780cb2793ddf552a1997e9'}
4e1cfff53429c49c87d5c457a18ed435520044fc
1
04/18/2019, 16:14:01
Require that parsed mail addresses match raw input Python's email parser turns malformed addresses into valid ones by removing anything after and including the second '@'. This meant that sydent sent emails to the validated address but stored the raw address as validated. This rejects any requests where the parsed em...
David Baker
{'com_1': {'author': 'myselfhimself', 'datetime': '04/23/2019, 17:40:19', 'body': "How is this a fix... as shown also here https://bugs.python.org/msg329463 ?\r\nFollowing the [Python RFC here](https://docs.python.org/3/library/email.utils.html#email.utils.parseaddr) you should check for parsedFrom == ('', '') and same...
{'additions': 11, 'deletions': 5, 'total': 16}
[ { "additions": 11, "changes": 16, "deletions": 5, "patch": "@@ -55,12 +55,13 @@ def sendEmail(sydent, templateName, mailTo, substitutions):\n allSubstitutions[k+\"_forhtml\"] = cgi.escape(v.decode('utf8'))\n allSubstitutions[k+\"_forurl\"] = urllib.quote(v)\n \n- mailS...
py
CWE-20
[ "sydent/util/emailutils.py" ]
sydent/util/emailutils.py
1
} echo "<br><br>"; if (if_group("superadmin") && isset($_GET['debug'])) { echo '$activity<br>'; echo "<textarea style='width: 100%; height: 600px; overflow: scroll;' onfocus='refresh_stop();' onblur='refresh_start();'>"; print_r($_SESSION); echo "</textarea>"; } ?>
} echo "<br><br>"; /* if (if_group("superadmin") && isset($_GET['debug'])) { echo '$activity<br>'; echo "<textarea style='width: 100%; height: 600px; overflow: scroll;' onfocus='refresh_stop();' onblur='refresh_start();'>"; print_r($_SESSION); echo "</textarea>"; } */ ?>
CVE-2019-11407
{'CWE-200'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/f38676b7b63bb1ec3a68d577fe23e6701f482aef'}
nvd
app/operator_panel/index_inc.php in the Operator Panel module in FusionPBX 4.4.3 suffers from an information disclosure vulnerability due to excessive debug information, which allows authenticated administrative attackers to obtain credentials and other sensitive information.
2019-06-17
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/f38676b7b63bb1ec3a68d577fe23e6701f482aef
f38676b7b63bb1ec3a68d577fe23e6701f482aef
SINGLE
['f38676b7b63bb1ec3a68d577fe23e6701f482aef']
{'391a23d070f3036d0c7760992f6970b0a76ee4d7'}
f38676b7b63bb1ec3a68d577fe23e6701f482aef
1
04/05/2019, 19:56:45
Update index_inc.php
FusionPBX
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -449,6 +449,7 @@\n }\n echo \"<br><br>\";\n \n+/*\n if (if_group(\"superadmin\") && isset($_GET['debug'])) {\n \techo '$activity<br>';\n \techo \"<textarea style='width: 100%; height: 600px; overflow: scroll;' onfocus='refresh_stop();' onb...
php
CWE-200
[ "app/operator_panel/index_inc.php" ]
app/operator_panel/index_inc.php
1
} $block .= " </td></tr></table>"; if (permission_exists('operator_panel_call_details')) { $block .= " <span id='op_caller_details_".$extension."'><strong>".$call_name."</strong><br>".$call_number."</span>"; } $block .= " </span>"; //transfer
} $block .= " </td></tr></table>"; if (permission_exists('operator_panel_call_details')) { $block .= " <span id='op_caller_details_".$extension."'><strong>".escape($call_name)."</strong><br>".escape($call_number)."</span>"; } $block .= " </span>"; //transfer
CVE-2019-11408
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/391a23d070f3036d0c7760992f6970b0a76ee4d7'}
nvd
XSS in app/operator_panel/index_inc.php in the Operator Panel module in FusionPBX 4.4.3 allows remote unauthenticated attackers to inject arbitrary JavaScript characters by placing a phone call using a specially crafted caller ID number. This can further lead to remote code execution by chaining this vulnerability with...
2019-06-17
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/391a23d070f3036d0c7760992f6970b0a76ee4d7
391a23d070f3036d0c7760992f6970b0a76ee4d7
SINGLE
['391a23d070f3036d0c7760992f6970b0a76ee4d7']
{'8adcdff79b95287aef917b9313261a969a47e487'}
391a23d070f3036d0c7760992f6970b0a76ee4d7
1
04/05/2019, 18:49:58
Update index_inc.php
FusionPBX
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -367,7 +367,7 @@\n \t\t}\n \t\t$block .= \"\t\t\t</td></tr></table>\";\n \t\tif (permission_exists('operator_panel_call_details')) {\n-\t\t\t$block .= \"\t\t\t<span id='op_caller_details_\".$extension.\"'><strong>\".$call_name.\"</strong><...
php
CWE-79
[ "app/operator_panel/index_inc.php" ]
app/operator_panel/index_inc.php
1
//setup the event socket connection $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); if (stristr($action, 'user_status') == true) { $user_status = $data; switch ($user_status) { case "Available": $user_status = "Available...
//setup the event socket connection $fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']); //get the status if (stristr($action, 'user_status') == true) { $user_status = $data; switch ($user_status) { case "Available": $u...
CVE-2019-11409
{'CWE-78'}
6.4
{'https://github.com/fusionpbx/fusionpbx/commit/e43ca27ba2d9c0109a6bf198fe2f8d79f63e0611'}
nvd
app/operator_panel/exec.php in the Operator Panel module in FusionPBX 4.4.3 suffers from a command injection vulnerability due to a lack of input validation that allows authenticated non-administrative attackers to execute commands on the host. This can further lead to remote code execution when combined with an XSS vu...
2019-06-17
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/e43ca27ba2d9c0109a6bf198fe2f8d79f63e0611
e43ca27ba2d9c0109a6bf198fe2f8d79f63e0611
SINGLE
['e43ca27ba2d9c0109a6bf198fe2f8d79f63e0611']
{'f38676b7b63bb1ec3a68d577fe23e6701f482aef'}
e43ca27ba2d9c0109a6bf198fe2f8d79f63e0611
1
04/05/2019, 22:40:17
Update exec.php
FusionPBX
null
{'additions': 105, 'deletions': 86, 'total': 191}
[ { "additions": 105, "changes": 191, "deletions": 86, "patch": "@@ -81,104 +81,123 @@\n \t//setup the event socket connection\n \t\t$fp = event_socket_create($_SESSION['event_socket_ip_address'], $_SESSION['event_socket_port'], $_SESSION['event_socket_password']);\n \n-\tif (stristr($action, 'user_st...
php
CWE-78
[ "app/operator_panel/exec.php" ]
app/operator_panel/exec.php
1
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2016 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ include "root.php"; require_once "resources/require....
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ //includes include "root.php"; require_once "resou...
CVE-2019-11410
{'CWE-78'}
10
{'https://github.com/fusionpbx/fusionpbx/commit/0f965c89288de449236ad6de4f97960814ce8c84'}
nvd
app/backup/index.php in the Backup Module in FusionPBX 4.4.3 suffers from a command injection vulnerability due to a lack of input validation, which allows authenticated administrative attackers to execute commands on the host.
2019-06-17
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/0f965c89288de449236ad6de4f97960814ce8c84
0f965c89288de449236ad6de4f97960814ce8c84
SINGLE
['0f965c89288de449236ad6de4f97960814ce8c84']
{'e43ca27ba2d9c0109a6bf198fe2f8d79f63e0611'}
0f965c89288de449236ad6de4f97960814ce8c84
1
04/05/2019, 23:02:58
Update index.php
FusionPBX
null
{'additions': 25, 'deletions': 17, 'total': 42}
[ { "additions": 25, "changes": 42, "deletions": 17, "patch": "@@ -17,31 +17,35 @@\n \n \tThe Initial Developer of the Original Code is\n \tMark J Crane <markjcrane@fusionpbx.com>\n-\tPortions created by the Initial Developer are Copyright (C) 2008-2016\n+\tPortions created by the Initial Developer ar...
php
CWE-78
[ "app/backup/index.php" ]
app/backup/index.php
1
static void Np_valueOf(js_State *J) static void Np_toString(js_State *J) { char buf[32]; js_Object *self = js_toobject(J, 0); int radix = js_isundefined(J, 1) ? 10 : js_tointeger(J, 1); if (self->type != JS_CNUMBER) static void Np_toString(js_State *J) /* lame number to string conversion for any radix from 2 to ...
static void Np_valueOf(js_State *J) static void Np_toString(js_State *J) { char buf[100]; js_Object *self = js_toobject(J, 0); int radix = js_isundefined(J, 1) ? 10 : js_tointeger(J, 1); if (self->type != JS_CNUMBER) static void Np_toString(js_State *J) /* lame number to string conversion for any radix from 2 to...
CVE-2019-11411
{'CWE-787'}
6.4
{'https://github.com/ccxvii/mujs/commit/da632ca08f240590d2dec786722ed08486ce1be6'}
nvd
An issue was discovered in Artifex MuJS 1.0.5. The Number#toFixed() and numtostr implementations in jsnumber.c have a stack-based buffer overflow.
2019-04-22
1
https://github.com/ccxvii/mujs
https://github.com/ccxvii/mujs/commit/da632ca08f240590d2dec786722ed08486ce1be6
da632ca08f240590d2dec786722ed08486ce1be6
SINGLE
['da632ca08f240590d2dec786722ed08486ce1be6']
{'0c03f9c05745d13fec4c9c6b2d947c5be8a8b4de'}
da632ca08f240590d2dec786722ed08486ce1be6
1
04/02/2019, 08:52:44
Bug 700938: Fix stack overflow in numtostr as used by Number#toFixed(). 32 is not enough to fit sprintf("%.20f", 1e20). We need at least 43 bytes to fit that format. Bump the static buffer size.
Tor Andersson
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -27,7 +27,7 @@ static void Np_valueOf(js_State *J)\n \n static void Np_toString(js_State *J)\n {\n-\tchar buf[32];\n+\tchar buf[100];\n \tjs_Object *self = js_toobject(J, 0);\n \tint radix = js_isundefined(J, 1) ? 10 : js_tointeger(J, 1);\...
c
CWE-787
[ "jsnumber.c" ]
jsnumber.c
1
static Image *ReadCINImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) CloseBlob(image); return(image); } for ( ; offset < (MagickOffsetType) cin.file.image_offset; offset++) { int
static Image *ReadCINImage(const ImageInfo *image_info,ExceptionInfo *exception) (void) CloseBlob(image); return(image); } if (((MagickSizeType) image->columns*image->rows) > GetBlobSize(image)) ThrowReaderException(CorruptImageError,"InsufficientImageDataInFile"); for ( ; offset < (MagickOffse...
CVE-2019-11470
{'CWE-400'}
6.9
{'https://github.com/ImageMagick/ImageMagick/commit/e3cdce6fe12193f235b8c0ae5efe6880a25eb957'}
nvd
The cineon parsing component in ImageMagick 7.0.8-26 Q16 allows attackers to cause a denial-of-service (uncontrolled resource consumption) by crafting a Cineon image with an incorrect claimed image size. This occurs because ReadCINImage in coders/cin.c lacks a check for insufficient image data in a file.
2019-04-23
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/e3cdce6fe12193f235b8c0ae5efe6880a25eb957
e3cdce6fe12193f235b8c0ae5efe6880a25eb957
SINGLE
['e3cdce6fe12193f235b8c0ae5efe6880a25eb957']
{'2b4fee3b265bd8333bea89a495e37a18a445da86'}
e3cdce6fe12193f235b8c0ae5efe6880a25eb957
1
02/10/2019, 02:20:50
https://github.com/ImageMagick/ImageMagick/issues/1472
Cristy
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -726,6 +726,8 @@ static Image *ReadCINImage(const ImageInfo *image_info,ExceptionInfo *exception)\n (void) CloseBlob(image);\n return(image);\n }\n+ if (((MagickSizeType) image->columns*image->rows) > GetBlobSize(image))\n...
c
CWE-400
[ "coders/cin.c" ]
coders/cin.c
1
static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if ((header.bits_per_pixel == 0) || (header.bits_per_pixel > 32)) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if (((header.bitmap_pad % 8) != 0)...
static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if ((header.bits_per_pixel == 0) || (header.bits_per_pixel > 32)) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if ((header.bitmap_bit_order != MS...
CVE-2019-11472
{'CWE-369'}
2.9
{'https://github.com/ImageMagick/ImageMagick6/commit/f663dfb8431c97d95682a2b533cca1c8233d21b4'}
nvd
ReadXWDImage in coders/xwd.c in the XWD image parsing component of ImageMagick 7.0.8-41 Q16 allows attackers to cause a denial-of-service (divide-by-zero error) by crafting an XWD image file in which the header indicates neither LSB first nor MSB first.
2019-04-23
1
https://github.com/ImageMagick/ImageMagick6
https://github.com/ImageMagick/ImageMagick6/commit/f663dfb8431c97d95682a2b533cca1c8233d21b4
f663dfb8431c97d95682a2b533cca1c8233d21b4
SINGLE
['f663dfb8431c97d95682a2b533cca1c8233d21b4']
{'9204adf4636982d7e3e8fe8630f8756140b38aa8'}
f663dfb8431c97d95682a2b533cca1c8233d21b4
1
04/14/2019, 15:49:45
https://github.com/ImageMagick/ImageMagick/issues/1546
Cristy
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -243,6 +243,9 @@ static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception)\n ThrowReaderException(CorruptImageError,\"ImproperImageHeader\");\n if ((header.bits_per_pixel == 0) || (header.bits_per_pixel > 32))\...
c
CWE-369
[ "coders/xwd.c" ]
coders/xwd.c
1
static void process_lru_command(conn *c, token_t *tokens, const size_t ntokens) out_string(c, "OK"); } } } else if (strcmp(tokens[1].value, "mode") == 0 && ntokens >= 3 && settings.lru_maintainer_thread) { if (strcmp(tokens[2].value, "flat") == 0) { ...
static void process_lru_command(conn *c, token_t *tokens, const size_t ntokens) out_string(c, "OK"); } } } else if (strcmp(tokens[1].value, "mode") == 0 && ntokens >= 4 && settings.lru_maintainer_thread) { if (strcmp(tokens[2].value, "flat") == 0) { ...
CVE-2019-11596
{'CWE-476'}
2.9
{'https://github.com/memcached/memcached/commit/d35334f368817a77a6bd1f33c6a5676b2c402c02'}
nvd
In memcached before 1.5.14, a NULL pointer dereference was found in the "lru mode" and "lru temp_ttl" commands. This causes a denial of service when parsing crafted lru command messages in process_lru_command in memcached.c.
2019-04-29
1
https://github.com/memcached/memcached
https://github.com/memcached/memcached/commit/d35334f368817a77a6bd1f33c6a5676b2c402c02
d35334f368817a77a6bd1f33c6a5676b2c402c02
SINGLE
['d35334f368817a77a6bd1f33c6a5676b2c402c02']
{'46270955d52eb16a46e37fbd12eb3232d15513a0'}
d35334f368817a77a6bd1f33c6a5676b2c402c02
1
04/27/2019, 08:17:57
fix segfault in "lru" command fixes #474 - off by one in token count.
dormando
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -4632,7 +4632,7 @@ static void process_lru_command(conn *c, token_t *tokens, const size_t ntokens)\n out_string(c, \"OK\");\n }\n }\n- } else if (strcmp(tokens[1].value, \"mode\") == 0 && ntokens >= 3...
c
CWE-476
[ "memcached.c" ]
memcached.c
1
int megasas_alloc_cmds(struct megasas_instance *instance) if (megasas_create_frame_pool(instance)) { dev_printk(KERN_DEBUG, &instance->pdev->dev, "Error creating frame DMA pool\n"); megasas_free_cmds(instance); } return 0;
int megasas_alloc_cmds(struct megasas_instance *instance) if (megasas_create_frame_pool(instance)) { dev_printk(KERN_DEBUG, &instance->pdev->dev, "Error creating frame DMA pool\n"); megasas_free_cmds(instance); return -ENOMEM; } return 0;
CVE-2019-11810
{'CWE-416', 'CWE-476'}
6.9
{'https://github.com/torvalds/linux/commit/bcf3b67d16a4c8ffae0aa79de5853435e683945c'}
nvd
An issue was discovered in the Linux kernel before 5.0.7. A NULL pointer dereference can occur when megasas_create_frame_pool() fails in megasas_alloc_cmds() in drivers/scsi/megaraid/megaraid_sas_base.c. This causes a Denial of Service, related to a use-after-free.
2019-05-07
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/bcf3b67d16a4c8ffae0aa79de5853435e683945c
bcf3b67d16a4c8ffae0aa79de5853435e683945c
SINGLE
['bcf3b67d16a4c8ffae0aa79de5853435e683945c']
{'f3e026951771bceb17319a4d0d6121ca58746c88'}
bcf3b67d16a4c8ffae0aa79de5853435e683945c
1
02/15/2019, 11:50:27
scsi: megaraid_sas: return error when create DMA pool failed when create DMA pool for cmd frames failed, we should return -ENOMEM, instead of 0. In some case in: megasas_init_adapter_fusion() -->megasas_alloc_cmds() -->megasas_create_frame_pool create DMA pool failed, --> megasas_fre...
Jason Yan
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -4188,6 +4188,7 @@ int megasas_alloc_cmds(struct megasas_instance *instance)\n \tif (megasas_create_frame_pool(instance)) {\n \t\tdev_printk(KERN_DEBUG, &instance->pdev->dev, \"Error creating frame DMA pool\\n\");\n \t\tmegasas_free_cmds(i...
c
CWE-416
[ "drivers/scsi/megaraid/megaraid_sas_base.c" ]
drivers/scsi/megaraid/megaraid_sas_base.c
1
int megasas_alloc_cmds(struct megasas_instance *instance) if (megasas_create_frame_pool(instance)) { dev_printk(KERN_DEBUG, &instance->pdev->dev, "Error creating frame DMA pool\n"); megasas_free_cmds(instance); } return 0;
int megasas_alloc_cmds(struct megasas_instance *instance) if (megasas_create_frame_pool(instance)) { dev_printk(KERN_DEBUG, &instance->pdev->dev, "Error creating frame DMA pool\n"); megasas_free_cmds(instance); return -ENOMEM; } return 0;
CVE-2019-11810
{'CWE-416', 'CWE-476'}
6.9
{'https://github.com/torvalds/linux/commit/bcf3b67d16a4c8ffae0aa79de5853435e683945c'}
nvd
An issue was discovered in the Linux kernel before 5.0.7. A NULL pointer dereference can occur when megasas_create_frame_pool() fails in megasas_alloc_cmds() in drivers/scsi/megaraid/megaraid_sas_base.c. This causes a Denial of Service, related to a use-after-free.
2019-05-07
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/bcf3b67d16a4c8ffae0aa79de5853435e683945c
bcf3b67d16a4c8ffae0aa79de5853435e683945c
SINGLE
['bcf3b67d16a4c8ffae0aa79de5853435e683945c']
{'f3e026951771bceb17319a4d0d6121ca58746c88'}
bcf3b67d16a4c8ffae0aa79de5853435e683945c
1
02/15/2019, 11:50:27
scsi: megaraid_sas: return error when create DMA pool failed when create DMA pool for cmd frames failed, we should return -ENOMEM, instead of 0. In some case in: megasas_init_adapter_fusion() -->megasas_alloc_cmds() -->megasas_create_frame_pool create DMA pool failed, --> megasas_fre...
Jason Yan
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -4188,6 +4188,7 @@ int megasas_alloc_cmds(struct megasas_instance *instance)\n \tif (megasas_create_frame_pool(instance)) {\n \t\tdev_printk(KERN_DEBUG, &instance->pdev->dev, \"Error creating frame DMA pool\\n\");\n \t\tmegasas_free_cmds(i...
c
CWE-476
[ "drivers/scsi/megaraid/megaraid_sas_base.c" ]
drivers/scsi/megaraid/megaraid_sas_base.c
1
private function __handleLinks(&$string, $trigger) { $replacement = '%MALFORMED URL%'; } else { if (filter_var(str_replace('$1', $data, $this->__replacement[$trigger]['url']), FILTER_VALIDATE_URL)) { $replac...
private function __handleLinks(&$string, $trigger) { $replacement = '%MALFORMED URL%'; } else { if (filter_var(str_replace('$1', $data, $this->__replacement[$trigger]['url']), FILTER_VALIDATE_URL)) { if (sub...
CVE-2019-11812
{'CWE-79'}
2.9
{'https://github.com/MISP/MISP/commit/3a085a6ceea00b3ab674a984dd56c1846ef775ff'}
nvd
A persistent XSS issue was discovered in app/View/Helper/CommandHelper.php in MISP before 2.4.107. JavaScript can be included in the discussion interface, and can be triggered by clicking on the link.
2019-05-08
1
https://github.com/MISP/MISP
https://github.com/MISP/MISP/commit/3a085a6ceea00b3ab674a984dd56c1846ef775ff
3a085a6ceea00b3ab674a984dd56c1846ef775ff
SINGLE
['3a085a6ceea00b3ab674a984dd56c1846ef775ff']
{'b082544fcb4e9e40b9b02a43c2733cdcd5dd7ea6'}
3a085a6ceea00b3ab674a984dd56c1846ef775ff
1
05/07/2019, 06:58:36
fix: [security] Fix persistent xss via discussion links via javascript:// links - low impact as it requires user interaction to trigger - as reported by João Lucas Melo Brasio from Elytron Security S.A. (https://elytronsecurity.com)
iglocska
null
{'additions': 8, 'deletions': 4, 'total': 12}
[ { "additions": 8, "changes": 12, "deletions": 4, "patch": "@@ -68,10 +68,14 @@ private function __handleLinks(&$string, $trigger) {\n $replacement = '%MALFORMED URL%';\n } else {\n if (filter_var(str_replace('$1', $data,...
php
CWE-79
[ "app/View/Helper/CommandHelper.php" ]
app/View/Helper/CommandHelper.php
1
function screenshotPopup(url, title) { if (!url.startsWith('data:image/')) { url = url.slice(0, -1); } popupHtml = '<it class="fa fa-spin fa-spinner" style="font-size: xx-large; color: white; position: fixed; left: 50%; top: 50%;"></it>' popupHtml += '<img class="screenshot_box-content hidden" ...
function screenshotPopup(url, title) { if (!url.startsWith('data:image/')) { url = url.slice(0, -1); } popupHtml = '<it class="fa fa-spin fa-spinner" style="font-size: xx-large; color: white; position: fixed; left: 50%; top: 50%;"></it>'; url = $('<div>').text(url).html(); title = $('<div>'...
CVE-2019-11814
{'CWE-79'}
2.9
{'https://github.com/MISP/MISP/commit/62f15433e42fb92e45bd57dd6fc0c0bf53deb6fc'}
nvd
An issue was discovered in app/webroot/js/misp.js in MISP before 2.4.107. There is persistent XSS via image names in titles, as demonstrated by a screenshot.
2019-05-08
1
https://github.com/MISP/MISP
https://github.com/MISP/MISP/commit/62f15433e42fb92e45bd57dd6fc0c0bf53deb6fc
62f15433e42fb92e45bd57dd6fc0c0bf53deb6fc
SINGLE
['62f15433e42fb92e45bd57dd6fc0c0bf53deb6fc']
{'6f6fb678ca07c80cb7d2bdfe5cb0313bb71bd487'}
62f15433e42fb92e45bd57dd6fc0c0bf53deb6fc
1
05/07/2019, 07:01:05
fix: [security] Fix persistent xss due to invalid sanitisation of image names in titles - triggered by expanding a screenshot - as reported by João Lucas Melo Brasio from Elytron Security S.A. (https://elytronsecurity.com)
iglocska
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -97,7 +97,9 @@ function screenshotPopup(url, title) {\n if (!url.startsWith('data:image/')) {\n url = url.slice(0, -1);\n }\n- popupHtml = '<it class=\"fa fa-spin fa-spinner\" style=\"font-size: xx-large; color: white; p...
js
CWE-79
[ "app/webroot/js/misp.js" ]
app/webroot/js/misp.js
1
static void rds_tcp_kill_sock(struct net *net) list_for_each_entry_safe(tc, _tc, &rds_tcp_conn_list, t_tcp_node) { struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net); if (net != c_net || !tc->t_sock) continue; if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { list_move_tail(&tc->t_tcp_node,...
static void rds_tcp_kill_sock(struct net *net) list_for_each_entry_safe(tc, _tc, &rds_tcp_conn_list, t_tcp_node) { struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net); if (net != c_net) continue; if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { list_move_tail(&tc->t_tcp_node, &tmp_list);
CVE-2019-11815
{'CWE-416', 'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/cb66ddd156203daefb8d71158036b27b0e2caf63'}
nvd
An issue was discovered in rds_tcp_kill_sock in net/rds/tcp.c in the Linux kernel before 5.0.8. There is a race condition leading to a use-after-free, related to net namespace cleanup.
2019-05-08
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/cb66ddd156203daefb8d71158036b27b0e2caf63
cb66ddd156203daefb8d71158036b27b0e2caf63
SINGLE
['cb66ddd156203daefb8d71158036b27b0e2caf63']
{'f28cd2af22a0c134e4aa1c64a70f70d815d473fb'}
cb66ddd156203daefb8d71158036b27b0e2caf63
1
03/28/2019, 09:10:56
net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock(). When it is to cleanup net namespace, rds_tcp_exit_net() will call rds_tcp_kill_sock(), if t_sock is NULL, it will not call rds_conn_destroy(), rds_conn_path_destroy() and rds_tcp_conn_free() to free connection, and the worker cp_conn_w is ...
Mao Wenan
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -608,7 +608,7 @@ static void rds_tcp_kill_sock(struct net *net)\n \tlist_for_each_entry_safe(tc, _tc, &rds_tcp_conn_list, t_tcp_node) {\n \t\tstruct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net);\n \n-\t\tif (net != c_net || !tc->t_...
c
CWE-416
[ "net/rds/tcp.c" ]
net/rds/tcp.c
1
static void rds_tcp_kill_sock(struct net *net) list_for_each_entry_safe(tc, _tc, &rds_tcp_conn_list, t_tcp_node) { struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net); if (net != c_net || !tc->t_sock) continue; if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { list_move_tail(&tc->t_tcp_node,...
static void rds_tcp_kill_sock(struct net *net) list_for_each_entry_safe(tc, _tc, &rds_tcp_conn_list, t_tcp_node) { struct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net); if (net != c_net) continue; if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { list_move_tail(&tc->t_tcp_node, &tmp_list);
CVE-2019-11815
{'CWE-416', 'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/cb66ddd156203daefb8d71158036b27b0e2caf63'}
nvd
An issue was discovered in rds_tcp_kill_sock in net/rds/tcp.c in the Linux kernel before 5.0.8. There is a race condition leading to a use-after-free, related to net namespace cleanup.
2019-05-08
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/cb66ddd156203daefb8d71158036b27b0e2caf63
cb66ddd156203daefb8d71158036b27b0e2caf63
SINGLE
['cb66ddd156203daefb8d71158036b27b0e2caf63']
{'f28cd2af22a0c134e4aa1c64a70f70d815d473fb'}
cb66ddd156203daefb8d71158036b27b0e2caf63
1
03/28/2019, 09:10:56
net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock(). When it is to cleanup net namespace, rds_tcp_exit_net() will call rds_tcp_kill_sock(), if t_sock is NULL, it will not call rds_conn_destroy(), rds_conn_path_destroy() and rds_tcp_conn_free() to free connection, and the worker cp_conn_w is ...
Mao Wenan
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -608,7 +608,7 @@ static void rds_tcp_kill_sock(struct net *net)\n \tlist_for_each_entry_safe(tc, _tc, &rds_tcp_conn_list, t_tcp_node) {\n \t\tstruct net *c_net = read_pnet(&tc->t_cpath->cp_conn->c_net);\n \n-\t\tif (net != c_net || !tc->t_...
c
CWE-362
[ "net/rds/tcp.c" ]
net/rds/tcp.c
1
*/ #include "StructuredHeadersUtilities.h" #include <boost/archive/iterators/binary_from_base64.hpp> #include <boost/archive/iterators/base64_from_binary.hpp> #include <boost/archive/iterators/transform_width.hpp> #include "StructuredHeadersConstants.h" namespace proxygen { namespace StructuredHeaders { std::strin...
*/ #include "StructuredHeadersUtilities.h" #include "StructuredHeadersConstants.h" #include "proxygen/lib/utils/Base64.h" namespace proxygen { namespace StructuredHeaders { std::string decodeBase64( if (encoded.size() == 0) { // special case, to prevent an integer overflow down below. return std::strin...
CVE-2019-11921
{'CWE-787'}
6.4
{'https://github.com/facebook/proxygen/commit/2f07985bef9fbae124cc63e5c0272e32da4fdaec'}
nvd
An out of bounds write is possible via a specially crafted packet in certain configurations of Proxygen due to improper handling of Base64 when parsing malformed binary content in Structured HTTP Headers. This issue affects versions of proxygen prior to v2019.07.22.00.
2019-07-25
1
https://github.com/facebook/proxygen
https://github.com/facebook/proxygen/commit/2f07985bef9fbae124cc63e5c0272e32da4fdaec
2f07985bef9fbae124cc63e5c0272e32da4fdaec
SINGLE
['2f07985bef9fbae124cc63e5c0272e32da4fdaec']
{'b64f58b5e09b2f037224ddaaf1b7b40949fe4fb3'}
2f07985bef9fbae124cc63e5c0272e32da4fdaec
1
07/19/2019, 23:38:48
Fix SEGV in StructuredHeaders::decodeBase64 Summary: The existing code can potentially cause a SEGV due to an out of bounds write. This fixes CVE-2019-11921. Reviewed By: knekritz Differential Revision: D12983120 fbshipit-source-id: 1d48063595c8d518fd8afcbc941de260af7e37fd
Aman Sharma
null
{'additions': 13, 'deletions': 22, 'total': 35}
[ { "additions": 13, "changes": 35, "deletions": 22, "patch": "@@ -9,11 +9,10 @@\n */\n \n #include \"StructuredHeadersUtilities.h\"\n-#include <boost/archive/iterators/binary_from_base64.hpp>\n-#include <boost/archive/iterators/base64_from_binary.hpp>\n-#include <boost/archive/iterators/transform_wi...
cpp
CWE-787
[ "proxygen/lib/http/structuredheaders/StructuredHeadersUtilities.cpp" ]
proxygen/lib/http/structuredheaders/StructuredHeadersUtilities.cpp
1
updateDevice(const struct header * headers, time_t t) if(!tmp) /* allocation error */ { syslog(LOG_ERR, "updateDevice() : memory allocation error"); free(p); return 0; }
updateDevice(const struct header * headers, time_t t) if(!tmp) /* allocation error */ { syslog(LOG_ERR, "updateDevice() : memory allocation error"); *pp = p->next; /* remove "p" from the list */ free(p); return 0; }
CVE-2019-12106
{'CWE-416'}
2.9
{'https://github.com/miniupnp/miniupnp/commit/cd506a67e174a45c6a202eff182a712955ed6d6f'}
nvd
The updateDevice function in minissdpd.c in MiniUPnP MiniSSDPd 1.4 and 1.5 allows a remote attacker to crash the process due to a Use After Free vulnerability.
2019-05-15
1
https://github.com/miniupnp/miniupnp
https://github.com/miniupnp/miniupnp/commit/cd506a67e174a45c6a202eff182a712955ed6d6f
cd506a67e174a45c6a202eff182a712955ed6d6f
SINGLE
['cd506a67e174a45c6a202eff182a712955ed6d6f']
{'9066896195927f9ffad4e3708d060c5c666b7bfd'}
cd506a67e174a45c6a202eff182a712955ed6d6f
1
12/18/2018, 19:23:47
updateDevice() remove element from the list when realloc fails
Thomas Bernard
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -318,6 +318,7 @@ updateDevice(const struct header * headers, time_t t)\n \t\t\t\tif(!tmp)\t/* allocation error */\n \t\t\t\t{\n \t\t\t\t\tsyslog(LOG_ERR, \"updateDevice() : memory allocation error\");\n+\t\t\t\t\t*pp = p->next;\t/* remove ...
c
CWE-416
[ "minissdpd/minissdpd.c" ]
minissdpd/minissdpd.c
1
upnp_redirect(const char * rhost, unsigned short eport, "%hu->%s:%hu %s", eport, iaddr, iport, protocol); return -3; } /* IGDv1 (WANIPConnection:1 Service Template Version 1.01 / Nov 12, 2001) * - 2.2.20.PortMappingDescription : * Overwriting Previous / Existing Port Mappings:
upnp_redirect(const char * rhost, unsigned short eport, "%hu->%s:%hu %s", eport, iaddr, iport, protocol); return -3; } if (desc == NULL) desc = ""; /* assume empty description */ /* IGDv1 (WANIPConnection:1 Service Template Version 1.01 / Nov 12, 2001) * - 2.2.20.PortMappingDescription : ...
CVE-2019-12110
{'CWE-476'}
2.9
{'https://github.com/miniupnp/miniupnp/commit/f321c2066b96d18afa5158dfa2d2873a2957ef38'}
nvd
An AddPortMapping Denial Of Service vulnerability in MiniUPnP MiniUPnPd through 2.1 exists due to a NULL pointer dereference in upnpredirect.c.
2019-05-15
1
https://github.com/miniupnp/miniupnp
https://github.com/miniupnp/miniupnp/commit/f321c2066b96d18afa5158dfa2d2873a2957ef38
f321c2066b96d18afa5158dfa2d2873a2957ef38
SINGLE
['f321c2066b96d18afa5158dfa2d2873a2957ef38']
{'13585f15c7f7dc28bbbba1661efb280d530d114c'}
f321c2066b96d18afa5158dfa2d2873a2957ef38
1
12/18/2018, 21:59:18
upnp_redirect(): accept NULL desc argument
Thomas Bernard
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -356,6 +356,10 @@ upnp_redirect(const char * rhost, unsigned short eport,\n \t\t \"%hu->%s:%hu %s\", eport, iaddr, iport, protocol);\n \t\treturn -3;\n \t}\n+\n+\tif (desc == NULL)\n+\t\tdesc = \"\";\t/* assume empty descri...
c
CWE-476
[ "miniupnpd/upnpredirect.c" ]
miniupnpd/upnpredirect.c
1
static const char * getPCPOpCodeStr(uint8_t opcode) * buffers are same */ static void copyIPv6IfDifferent(void * dest, const void * src) { if(dest != src) { memcpy(dest, src, sizeof(struct in6_addr)); } }
static const char * getPCPOpCodeStr(uint8_t opcode) * buffers are same */ static void copyIPv6IfDifferent(void * dest, const void * src) { if(dest != src && src != NULL) { memcpy(dest, src, sizeof(struct in6_addr)); } }
CVE-2019-12111
{'CWE-476'}
2.9
{'https://github.com/miniupnp/miniupnp/commit/cb8a02af7a5677cf608e86d57ab04241cf34e24f'}
nvd
A Denial Of Service vulnerability in MiniUPnP MiniUPnPd through 2.1 exists due to a NULL pointer dereference in copyIPv6IfDifferent in pcpserver.c.
2019-05-15
1
https://github.com/miniupnp/miniupnp
https://github.com/miniupnp/miniupnp/commit/cb8a02af7a5677cf608e86d57ab04241cf34e24f
cb8a02af7a5677cf608e86d57ab04241cf34e24f
SINGLE
['cb8a02af7a5677cf608e86d57ab04241cf34e24f']
{'f321c2066b96d18afa5158dfa2d2873a2957ef38'}
cb8a02af7a5677cf608e86d57ab04241cf34e24f
1
12/18/2018, 22:04:14
pcpserver.c: copyIPv6IfDifferent() check for NULL src argument
Thomas Bernard
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -177,7 +177,7 @@ static const char * getPCPOpCodeStr(uint8_t opcode)\n * buffers are same */\n static void copyIPv6IfDifferent(void * dest, const void * src)\n {\n-\tif(dest != src) {\n+\tif(dest != src && src != NULL) {\n \t\tmemcpy(dest...
c
CWE-476
[ "miniupnpd/pcpserver.c" ]
miniupnpd/pcpserver.c
1
public void handle(String target, Request baseRequest, HttpServletRequest reques int soff = 0, eoff; // We're handling this request baseRequest.setHandled(true); if (path.charAt(0) == '/') soff = 1; eoff = path.indexOf('/', soff); if (soff < 0) {
public void handle(String target, Request baseRequest, HttpServletRequest reques int soff = 0, eoff; // We're handling this request baseRequest.setHandled(true); if(core.getLoginRequired() && request.getSession(true).getAttribute(LoginServlet.USERID_ATTRIB) == null){ ...
CVE-2019-12395
{'CWE-287'}
2.9
{'https://github.com/webbukkit/dynmap/commit/641f142cd3ccdcbfb04eda3059be22dd9ed93783'}
nvd
In Webbukkit Dynmap 3.0-beta-3 or below, due to a missing login check in servlet/MapStorageHandler.java, an attacker can see a map image without login even if victim enables login-required in setting.
2019-05-28
1
https://github.com/webbukkit/dynmap
https://github.com/webbukkit/dynmap/commit/641f142cd3ccdcbfb04eda3059be22dd9ed93783
641f142cd3ccdcbfb04eda3059be22dd9ed93783
SINGLE
['641f142cd3ccdcbfb04eda3059be22dd9ed93783']
{'c1902a2a9b8acb5eb32791e0c5c3232766cd7156', 'd5596944b0216e99f444070b40d2641ffe007e63'}
641f142cd3ccdcbfb04eda3059be22dd9ed93783
1
05/04/2019, 16:28:31
Merge pull request #2475 from Ry0taK/v3.0 Fix required login bypass vulnerability
mikeprimm
null
{'additions': 5, 'deletions': 1, 'total': 6}
[ { "additions": 5, "changes": 6, "deletions": 1, "patch": "@@ -46,7 +46,11 @@ public void handle(String target, Request baseRequest, HttpServletRequest reques\n int soff = 0, eoff;\n // We're handling this request\n baseRequest.setHandled(true);\n-\n+ if(core.getLoginRe...
java
CWE-287
[ "DynmapCore/src/main/java/org/dynmap/servlet/MapStorageResourceHandler.java" ]
DynmapCore/src/main/java/org/dynmap/servlet/MapStorageResourceHandler.java
1
main (int argc, char **argv) { mode_t old_umask; cleanup_free char *base_path = NULL; int clone_flags; char *old_cwd = NULL; pid_t pid; main (int argc, die_with_error ("Can't open /proc"); /* We need *some* mountpoint where we can mount the root tmpfs. We first try in /run, and if tha...
main (int argc, char **argv) { mode_t old_umask; const char *base_path = NULL; int clone_flags; char *old_cwd = NULL; pid_t pid; main (int argc, die_with_error ("Can't open /proc"); /* We need *some* mountpoint where we can mount the root tmpfs. * Because we use pivot_root, it won't app...
CVE-2019-12439
{'CWE-20'}
6.4
{'https://github.com/projectatomic/bubblewrap/commit/efc89e3b939b4bde42c10f065f6b7b02958ed50e'}
nvd
bubblewrap.c in Bubblewrap before 0.3.3 misuses temporary directories in /tmp as a mount point. In some particular configurations (related to XDG_RUNTIME_DIR), a local attacker may abuse this flaw to prevent other users from executing bubblewrap or potentially execute code.
2019-05-29
1
https://github.com/projectatomic/bubblewrap
https://github.com/projectatomic/bubblewrap/commit/efc89e3b939b4bde42c10f065f6b7b02958ed50e
efc89e3b939b4bde42c10f065f6b7b02958ed50e
SINGLE
['efc89e3b939b4bde42c10f065f6b7b02958ed50e']
{'1622673a4daa47c0efc586d568b0b2c150e80597'}
efc89e3b939b4bde42c10f065f6b7b02958ed50e
1
03/02/2019, 12:09:03
Don't create our own temporary mount point for pivot_root An attacker could pre-create /tmp/.bubblewrap-$UID and make it a non-directory, non-symlink (in which case mounting our tmpfs would fail, causing denial of service), or make it a symlink under their control (potentially allowing bad things if the protected_syml...
Simon McVittie
null
{'additions': 9, 'deletions': 11, 'total': 20}
[ { "additions": 9, "changes": 20, "deletions": 11, "patch": "@@ -2046,7 +2046,7 @@ main (int argc,\n char **argv)\n {\n mode_t old_umask;\n- cleanup_free char *base_path = NULL;\n+ const char *base_path = NULL;\n int clone_flags;\n char *old_cwd = NULL;\n pid_t pid;\n@@ -2187,15 +2...
c
CWE-20
[ "bubblewrap.c" ]
bubblewrap.c
1
function execTime($function, $title="", $iterations = 100000) { <form method="post"> <p>Path:<br /> <input type="text" size="120" name="path" value="<?php echo stripslashes($_POST['path']); ?>" /></p> <p><input type="submit" /></p> </form> <dl> <?php foreach ($paths as $path) { echo "<dt><pre>Path '$path' becomes:</...
function execTime($function, $title="", $iterations = 100000) { <form method="post"> <p>Path:<br /> <input type="text" size="120" name="path" value="<?php echo htmlspecialchars(stripslashes($_POST['path']), ENT_QUOTES); ?>" /></p> <p><input type="submit" /></p> </form> <dl> <?php foreach ($paths as $path) { $path...
CVE-2019-12507
{'CWE-79'}
2.9
{'https://github.com/Grandt/PHPRelativePath/pull/5/commits/13273e019d737f8eb4d7b1fe1eb665185dddfb5a'}
nvd
An XSS vulnerability exists in PHPRelativePath (aka Relative Path) through 1.0.2 via the RelativePath.Example1.php path parameter.
2019-05-31
1
https://github.com/Grandt/PHPRelativePath
https://github.com/Grandt/PHPRelativePath/pull/5/commits/13273e019d737f8eb4d7b1fe1eb665185dddfb5a
13273e019d737f8eb4d7b1fe1eb665185dddfb5a
SINGLE
['13273e019d737f8eb4d7b1fe1eb665185dddfb5a']
{'f63ea3af57e4afde94c97475899163199f872eee'}
13273e019d737f8eb4d7b1fe1eb665185dddfb5a
1
05/29/2019, 22:06:59
Sanitizing user input
Taylor Finley
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -82,12 +82,13 @@ function execTime($function, $title=\"\", $iterations = 100000) {\n <form method=\"post\">\n <p>Path:<br />\n <input type=\"text\" size=\"120\" name=\"path\"\n-\tvalue=\"<?php echo stripslashes($_POST['path']); ?>\" /></p>...
php
CWE-79
[ "RelativePath.Example1.php" ]
RelativePath.Example1.php
1
public static function get_page_info( $page_id, $type = 'post' ) { case "post": case "page": $arg = array( 'title' => get_the_title( $page_id ), 'link' => get_the_permalink( $page_id ), 'edit_link' => get_edit_post_link( $page_id ), 'meta' => array( public static func...
public static function get_page_info( $page_id, $type = 'post' ) { case "post": case "page": $arg = array( 'title' => esc_html( get_the_title( $page_id ) ), 'link' => get_the_permalink( $page_id ), 'edit_link' => get_edit_post_link( $page_id ), 'meta' => array( public...
CVE-2019-12566
{'CWE-79'}
2.9
{'https://github.com/wp-statistics/wp-statistics/commit/aec4359975344f75385ae1ec257575d8131d6ec2'}
nvd
The WP Statistics plugin through 12.6.5 for Wordpress has stored XSS in includes/class-wp-statistics-pages.php. This is related to an account with the Editor role creating a post with a title that contains JavaScript, to attack an admin user.
2019-06-03
1
https://github.com/wp-statistics/wp-statistics
https://github.com/wp-statistics/wp-statistics/commit/aec4359975344f75385ae1ec257575d8131d6ec2
aec4359975344f75385ae1ec257575d8131d6ec2
SINGLE
['aec4359975344f75385ae1ec257575d8131d6ec2']
{'20f70e506e999ef9a0b2a1fddb12332e7d658ec2'}
aec4359975344f75385ae1ec257575d8131d6ec2
1
06/01/2019, 06:09:35
Page's title should be encoded or filtering html entities/javascript code #271
Mehrshad Darzi
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -295,7 +295,7 @@ public static function get_page_info( $page_id, $type = 'post' ) {\n \t\t\t\tcase \"post\":\n \t\t\t\tcase \"page\":\n \t\t\t\t\t$arg = array(\n-\t\t\t\t\t\t'title' => get_the_title( $page_id ),\n+\t\t\t\t\t\t'title' ...
php
CWE-79
[ "includes/class-wp-statistics-pages.php" ]
includes/class-wp-statistics-pages.php
1
int __mdiobus_register(struct mii_bus *bus, struct module *owner) err = device_register(&bus->dev); if (err) { pr_err("mii_bus %s failed to register\n", bus->id); put_device(&bus->dev); return -EINVAL; }
int __mdiobus_register(struct mii_bus *bus, struct module *owner) err = device_register(&bus->dev); if (err) { pr_err("mii_bus %s failed to register\n", bus->id); return -EINVAL; }
CVE-2019-12819
{'CWE-416'}
2.9
{'https://github.com/torvalds/linux/commit/6ff7b060535e87c2ae14dd8548512abfdda528fb'}
nvd
An issue was discovered in the Linux kernel before 5.0. The function __mdiobus_register() in drivers/net/phy/mdio_bus.c calls put_device(), which will trigger a fixed_mdio_bus_init use-after-free. This will cause a denial of service.
2019-06-14
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/6ff7b060535e87c2ae14dd8548512abfdda528fb
6ff7b060535e87c2ae14dd8548512abfdda528fb
SINGLE
['6ff7b060535e87c2ae14dd8548512abfdda528fb']
{'97f0082a0592212fc15d4680f5a4d80f79a1687c'}
6ff7b060535e87c2ae14dd8548512abfdda528fb
1
02/21/2019, 14:42:01
mdio_bus: Fix use-after-free on device_register fails KASAN has found use-after-free in fixed_mdio_bus_init, commit 0c692d07842a ("drivers/net/phy/mdio_bus.c: call put_device on device_register() failure") call put_device() while device_register() fails,give up the last reference to the device and allow mdiobus_releas...
YueHaibing
null
{'additions': 0, 'deletions': 1, 'total': 1}
[ { "additions": 0, "changes": 1, "deletions": 1, "patch": "@@ -379,7 +379,6 @@ int __mdiobus_register(struct mii_bus *bus, struct module *owner)\n \terr = device_register(&bus->dev);\n \tif (err) {\n \t\tpr_err(\"mii_bus %s failed to register\\n\", bus->id);\n-\t\tput_device(&bus->dev);\n \t\treturn ...
c
CWE-416
[ "drivers/net/phy/mdio_bus.c" ]
drivers/net/phy/mdio_bus.c
1
SWFInput_readSBits(SWFInput input, int number) { int num = SWFInput_readBits(input, number); if ( num & (1<<(number-1)) ) return num - (1<<number); else return num;
SWFInput_readSBits(SWFInput input, int number) { int num = SWFInput_readBits(input, number); if(number && num & (1<<(number-1))) return num - (1<<number); else return num;
CVE-2019-12980
{'CWE-190'}
2.9
{'https://github.com/libming/libming/commit/a009a38dce1d9316cad1ab522b813b1d5ba4c62a'}
nvd
In Ming (aka libming) 0.4.8, there is an integer overflow (caused by an out-of-range left shift) in the SWFInput_readSBits function in blocks/input.c. Remote attackers could leverage this vulnerability to cause a denial-of-service via a crafted swf file.
2019-06-26
1
https://github.com/libming/libming
https://github.com/libming/libming/commit/a009a38dce1d9316cad1ab522b813b1d5ba4c62a
a009a38dce1d9316cad1ab522b813b1d5ba4c62a
SINGLE
['a009a38dce1d9316cad1ab522b813b1d5ba4c62a']
{'da9d86eab55cbf608d5c916b8b690f5b76bca462'}
a009a38dce1d9316cad1ab522b813b1d5ba4c62a
1
03/16/2019, 10:50:24
Fix left shift of a negative value in SWFInput_readSBits. Check for number before before left-shifting by (number-1).
Young Xiao
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -113,7 +113,7 @@ SWFInput_readSBits(SWFInput input, int number)\n {\n \tint num = SWFInput_readBits(input, number);\n \n-\tif ( num & (1<<(number-1)) )\n+\tif(number && num & (1<<(number-1)))\n \t\treturn num - (1<<number);\n \telse\n \t\t...
c
CWE-190
[ "src/blocks/input.c" ]
src/blocks/input.c
1
SWFShape_setLeftFillStyle(SWFShape shape, SWFFillStyle fill) return; idx = getFillIdx(shape, fill); } record = addStyleRecord(shape); record.record.stateChange->leftFill = idx;
SWFShape_setLeftFillStyle(SWFShape shape, SWFFillStyle fill) return; idx = getFillIdx(shape, fill); } else if (idx >= 255 && shape->useVersion == SWF_SHAPE1) { SWF_error("Too many fills for SWFShape V1.\n" "Use a higher SWFShape version\n"); } record = addStyleRecord(shape); record.record.sta...
CVE-2019-12981
{'CWE-20'}
6.4
{'https://github.com/libming/libming/commit/6e76e8c71cb51c8ba0aa9737a636b9ac3029887f'}
nvd
Ming (aka libming) 0.4.8 has an "fill overflow" vulnerability in the function SWFShape_setLeftFillStyle in blocks/shape.c.
2019-06-26
1
https://github.com/libming/libming
https://github.com/libming/libming/commit/6e76e8c71cb51c8ba0aa9737a636b9ac3029887f
6e76e8c71cb51c8ba0aa9737a636b9ac3029887f
SINGLE
['6e76e8c71cb51c8ba0aa9737a636b9ac3029887f']
{'50098023446a5412efcfbd40552821a8cba983a6'}
6e76e8c71cb51c8ba0aa9737a636b9ac3029887f
1
03/16/2019, 09:27:18
SWFShape_setLeftFillStyle: prevent fill overflow
Young Xiao
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -1169,6 +1169,11 @@ SWFShape_setLeftFillStyle(SWFShape shape, SWFFillStyle fill)\n \t\t\treturn;\t\t\n \t\tidx = getFillIdx(shape, fill);\n \t}\n+\telse if (idx >= 255 && shape->useVersion == SWF_SHAPE1)\n+\t{\n+\t\tSWF_error(\"Too many fi...
c
CWE-20
[ "src/blocks/shape.c" ]
src/blocks/shape.c
1
decompileCAST(int n, SWF_ACTION *actions, int maxn) int decompileAction(int n, SWF_ACTION *actions, int maxn) { if( n > maxn ) SWF_error("Action overflow!!"); #ifdef DEBUG fprintf(stderr,"%d:\tACTION[%3.3d]: %s\n", actions[n].SWF_ACTIONRECORD.Offset, n, actionName(actions[n].SWF_ACTIONRECORD.Acti...
decompileCAST(int n, SWF_ACTION *actions, int maxn) int decompileAction(int n, SWF_ACTION *actions, int maxn) { #ifdef DEBUG fprintf(stderr,"%d:\tACTION[%3.3d]: %s\n", actions[n].SWF_ACTIONRECORD.Offset, n, actionName(actions[n].SWF_ACTIONRECORD.ActionCode)); #endif switch(OpCode(actions, n, max...
CVE-2019-12982
{'CWE-119'}
2.9
{'https://github.com/libming/libming/commit/da9d86eab55cbf608d5c916b8b690f5b76bca462'}
nvd
Ming (aka libming) 0.4.8 has a heap buffer overflow and underflow in the decompileCAST function in util/decompile.c in libutil.a. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted SWF file.
2019-06-26
1
https://github.com/libming/libming
https://github.com/libming/libming/commit/da9d86eab55cbf608d5c916b8b690f5b76bca462
da9d86eab55cbf608d5c916b8b690f5b76bca462
SINGLE
['da9d86eab55cbf608d5c916b8b690f5b76bca462']
{'6e76e8c71cb51c8ba0aa9737a636b9ac3029887f'}
da9d86eab55cbf608d5c916b8b690f5b76bca462
1
03/16/2019, 09:42:14
decompileAction: Prevent heap buffer overflow and underflow with using OpCode
Young Xiao
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -3202,15 +3202,14 @@ decompileCAST(int n, SWF_ACTION *actions, int maxn)\n int\n decompileAction(int n, SWF_ACTION *actions, int maxn)\n {\n-\tif( n > maxn ) SWF_error(\"Action overflow!!\");\n \n #ifdef DEBUG\n \tfprintf(stderr,\"%d:\\tAC...
c
CWE-119
[ "util/decompile.c" ]
util/decompile.c
1
static int nfc_genl_deactivate_target(struct sk_buff *skb, u32 device_idx, target_idx; int rc; if (!info->attrs[NFC_ATTR_DEVICE_INDEX]) return -EINVAL; device_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
static int nfc_genl_deactivate_target(struct sk_buff *skb, u32 device_idx, target_idx; int rc; if (!info->attrs[NFC_ATTR_DEVICE_INDEX] || !info->attrs[NFC_ATTR_TARGET_INDEX]) return -EINVAL; device_idx = nla_get_u32(info->attrs[NFC_ATTR_DEVICE_INDEX]);
CVE-2019-12984
{'CWE-476'}
2.9
{'https://github.com/torvalds/linux/commit/385097a3675749cbc9e97c085c0e5dfe4269ca51'}
nvd
A NULL pointer dereference vulnerability in the function nfc_genl_deactivate_target() in net/nfc/netlink.c in the Linux kernel before 5.1.13 can be triggered by a malicious user-mode program that omits certain NFC attributes, leading to denial of service.
2019-06-26
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/385097a3675749cbc9e97c085c0e5dfe4269ca51
385097a3675749cbc9e97c085c0e5dfe4269ca51
SINGLE
['385097a3675749cbc9e97c085c0e5dfe4269ca51']
{'b8003cef2e639fbf462a05ff739aae524d72ca3c'}
385097a3675749cbc9e97c085c0e5dfe4269ca51
1
06/14/2019, 07:13:02
nfc: Ensure presence of required attributes in the deactivate_target handler Check that the NFC_ATTR_TARGET_INDEX attributes (in addition to NFC_ATTR_DEVICE_INDEX) are provided by the netlink client prior to accessing them. This prevents potential unhandled NULL pointer dereference exceptions which can be triggered by...
Young Xiao
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -911,7 +911,8 @@ static int nfc_genl_deactivate_target(struct sk_buff *skb,\n \tu32 device_idx, target_idx;\n \tint rc;\n \n-\tif (!info->attrs[NFC_ATTR_DEVICE_INDEX])\n+\tif (!info->attrs[NFC_ATTR_DEVICE_INDEX] ||\n+\t !info->attrs[NFC...
c
CWE-476
[ "net/nfc/netlink.c" ]
net/nfc/netlink.c
1
var ColorDialog = function(editorUi, color, apply, cancelFn) var applyBtn = mxUtils.button(mxResources.get('apply'), function() { var color = input.value; ColorDialog.addRecentColor(color, 12); if (color != 'none' && color.charAt(0) != '#') { color = '#' + color; } applyFunction(color); editorUi...
var ColorDialog = function(editorUi, color, apply, cancelFn) var applyBtn = mxUtils.button(mxResources.get('apply'), function() { var color = input.value; // https://stackoverflow.com/questions/8027423/how-to-check-if-a-string-is-a-valid-hex-color-representation/8027444 var colorValid = /(^#?[0-9A-F]{6}$)|(^#...
CVE-2019-13127
{'CWE-79', 'CWE-20'}
2.9
{'https://github.com/jgraph/mxgraph/commit/76e8e2809b622659a9c5ffdc4f19922b7a68cfa3'}
nvd
An issue was discovered in mxGraph through 4.0.0, related to the "draw.io Diagrams" plugin before 8.3.14 for Confluence and other products. Improper input validation/sanitization of a color field leads to XSS. This is associated with javascript/examples/grapheditor/www/js/Dialogs.js.
2019-07-01
1
https://github.com/jgraph/mxgraph
https://github.com/jgraph/mxgraph/commit/76e8e2809b622659a9c5ffdc4f19922b7a68cfa3
76e8e2809b622659a9c5ffdc4f19922b7a68cfa3
SINGLE
['76e8e2809b622659a9c5ffdc4f19922b7a68cfa3']
{'33911ed7e055c17b74d0367f5f1f6c9ee4b4fd44'}
76e8e2809b622659a9c5ffdc4f19922b7a68cfa3
1
06/12/2019, 09:51:21
Added validation of input color codes
David Benson
null
{'additions': 11, 'deletions': 4, 'total': 15}
[ { "additions": 11, "changes": 15, "deletions": 4, "patch": "@@ -204,14 +204,21 @@ var ColorDialog = function(editorUi, color, apply, cancelFn)\n \tvar applyBtn = mxUtils.button(mxResources.get('apply'), function()\n \t{\n \t\tvar color = input.value;\n-\t\tColorDialog.addRecentColor(color, 12);\n+\t...
js
CWE-20
[ "javascript/examples/grapheditor/www/js/Dialogs.js" ]
javascript/examples/grapheditor/www/js/Dialogs.js
1
var ColorDialog = function(editorUi, color, apply, cancelFn) var applyBtn = mxUtils.button(mxResources.get('apply'), function() { var color = input.value; ColorDialog.addRecentColor(color, 12); if (color != 'none' && color.charAt(0) != '#') { color = '#' + color; } applyFunction(color); editorUi...
var ColorDialog = function(editorUi, color, apply, cancelFn) var applyBtn = mxUtils.button(mxResources.get('apply'), function() { var color = input.value; // https://stackoverflow.com/questions/8027423/how-to-check-if-a-string-is-a-valid-hex-color-representation/8027444 var colorValid = /(^#?[0-9A-F]{6}$)|(^#...
CVE-2019-13127
{'CWE-79', 'CWE-20'}
2.9
{'https://github.com/jgraph/mxgraph/commit/76e8e2809b622659a9c5ffdc4f19922b7a68cfa3'}
nvd
An issue was discovered in mxGraph through 4.0.0, related to the "draw.io Diagrams" plugin before 8.3.14 for Confluence and other products. Improper input validation/sanitization of a color field leads to XSS. This is associated with javascript/examples/grapheditor/www/js/Dialogs.js.
2019-07-01
1
https://github.com/jgraph/mxgraph
https://github.com/jgraph/mxgraph/commit/76e8e2809b622659a9c5ffdc4f19922b7a68cfa3
76e8e2809b622659a9c5ffdc4f19922b7a68cfa3
SINGLE
['76e8e2809b622659a9c5ffdc4f19922b7a68cfa3']
{'33911ed7e055c17b74d0367f5f1f6c9ee4b4fd44'}
76e8e2809b622659a9c5ffdc4f19922b7a68cfa3
1
06/12/2019, 09:51:21
Added validation of input color codes
David Benson
null
{'additions': 11, 'deletions': 4, 'total': 15}
[ { "additions": 11, "changes": 15, "deletions": 4, "patch": "@@ -204,14 +204,21 @@ var ColorDialog = function(editorUi, color, apply, cancelFn)\n \tvar applyBtn = mxUtils.button(mxResources.get('apply'), function()\n \t{\n \t\tvar color = input.value;\n-\t\tColorDialog.addRecentColor(color, 12);\n+\t...
js
CWE-79
[ "javascript/examples/grapheditor/www/js/Dialogs.js" ]
javascript/examples/grapheditor/www/js/Dialogs.js
1
static MagickOffsetType TIFFSeekCustomStream(const MagickOffsetType offset, } case SEEK_CUR: { if ((profile->offset+offset) < 0) return(-1); profile->offset+=offset;
static MagickOffsetType TIFFSeekCustomStream(const MagickOffsetType offset, } case SEEK_CUR: { if (((offset > 0) && (profile->offset > (SSIZE_MAX-offset))) || ((offset < 0) && (profile->offset < (-SSIZE_MAX-offset)))) { errno=EOVERFLOW; return(-1); } ...
CVE-2019-13136
{'CWE-190'}
6.4
{'https://github.com/ImageMagick/ImageMagick/commit/fe5f4b85e6b1b54d3b4588a77133c06ade46d891'}
nvd
ImageMagick before 7.0.8-50 has an integer overflow vulnerability in the function TIFFSeekCustomStream in coders/tiff.c.
2019-07-01
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/fe5f4b85e6b1b54d3b4588a77133c06ade46d891
fe5f4b85e6b1b54d3b4588a77133c06ade46d891
SINGLE
['fe5f4b85e6b1b54d3b4588a77133c06ade46d891']
{'35ccb468ee2dcbe8ce9cf1e2f1957acc27f54c34'}
fe5f4b85e6b1b54d3b4588a77133c06ade46d891
1
06/18/2019, 15:57:54
https://github.com/ImageMagick/ImageMagick/issues/1602
Cristy
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -258,6 +258,12 @@ static MagickOffsetType TIFFSeekCustomStream(const MagickOffsetType offset,\n }\n case SEEK_CUR:\n {\n+ if (((offset > 0) && (profile->offset > (SSIZE_MAX-offset))) ||\n+ ((offset < 0) && (profil...
c
CWE-190
[ "coders/tiff.c" ]
coders/tiff.c
1
// Timur Gagiev // // Partial history: // 1.16 - 2019-03-04 - fix warnings // 1.15 - 2019-02-07 - explicit failure if Ogg Skeleton data is found // 1.14 - 2018-02-11 - delete bogus dealloca usage static int lookup1_values(int entries, int dim) int r = (int) floor(exp((float) log((float) entries...
// Timur Gagiev // // Partial history: // 1.17 - 2019-07-08 - fix CVE-2019-13217..CVE-2019-13223 (by ForAllSecure) // 1.16 - 2019-03-04 - fix warnings // 1.15 - 2019-02-07 - explicit failure if Ogg Skeleton data is found // 1.14 - 2018-02-11 - delete bogus dealloca usage static int lookup1_v...
CVE-2019-13217
{'CWE-787'}
6.4
{'https://github.com/nothings/stb/commit/98fdfc6df88b1e34a736d5e126e6c8139c8de1a6'}
nvd
A heap buffer overflow in the start_decoder function in stb_vorbis through 2019-03-04 allows an attacker to cause a denial of service or execute arbitrary code by opening a crafted Ogg Vorbis file.
2019-08-15
1
https://github.com/nothings/stb
https://github.com/nothings/stb/commit/98fdfc6df88b1e34a736d5e126e6c8139c8de1a6
98fdfc6df88b1e34a736d5e126e6c8139c8de1a6
SINGLE
['98fdfc6df88b1e34a736d5e126e6c8139c8de1a6']
{'c72a95d766b8cbf5514e68d3ddbf6437ac9425b1'}
98fdfc6df88b1e34a736d5e126e6c8139c8de1a6
1
08/09/2019, 11:05:22
Fix seven bugs discovered and fixed by ForAllSecure: CVE-2019-13217: heap buffer overflow in start_decoder() CVE-2019-13218: stack buffer overflow in compute_codewords() CVE-2019-13219: uninitialized memory in vorbis_decode_packet_rest() CVE-2019-13220: out-of-range read in draw_line() CVE-2019-13221: issue with large...
Sean Barrett
null
{'additions': 22, 'deletions': 6, 'total': 28}
[ { "additions": 22, "changes": 28, "deletions": 6, "patch": "@@ -33,6 +33,7 @@\n // Timur Gagiev\n //\n // Partial history:\n+// 1.17 - 2019-07-08 - fix CVE-2019-13217..CVE-2019-13223 (by ForAllSecure)\n // 1.16 - 2019-03-04 - fix warnings\n // 1.15 - 2019-02-07 - explicit failur...
c
CWE-787
[ "stb_vorbis.c" ]
stb_vorbis.c
1
#include "regint.h" static void conv_ext0be32(const UChar* s, const UChar* end, UChar* conv) { conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* e return ONIGERR_NOT_SUPPORTED_ENCODING_COMBINATION; } extern int onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern...
#include "regint.h" #if 0 static void conv_ext0be32(const UChar* s, const UChar* end, UChar* conv) { conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* e return ONIGERR_NOT_SUPPORTED_ENCODING_COMBINATION; } #endif extern int onig_new_deluxe(regex_t** reg, const UChar* pattern, const U...
CVE-2019-13224
{'CWE-416'}
6.4
{'https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55'}
nvd
A use-after-free in onig_new_deluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets h...
2019-07-10
1
https://github.com/kkos/oniguruma
https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
SINGLE
['0f7f61ed1b7b697e283e37bd2d731d0bd57adb55']
{'c509265c5f6ae7264f7b8a8aae1cfa5fc59d108c'}
0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
1
06/27/2019, 08:25:26
Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()
K.Kosako
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -29,6 +29,7 @@\n \n #include \"regint.h\"\n \n+#if 0\n static void\n conv_ext0be32(const UChar* s, const UChar* end, UChar* conv)\n {\n@@ -158,6 +159,7 @@ conv_encoding(OnigEncoding from, OnigEncoding to, const UChar* s, const UChar* e\n \...
c
CWE-416
[ "src/regext.c" ]
src/regext.c
1
compile_length_bag_node(BagNode* node, regex_t* reg) len += tlen; } if (IS_NOT_NULL(Else)) { len += SIZE_OP_JUMP; tlen = compile_length_tree(Else, reg); if (tlen < 0) return tlen; len += tlen; compile_bag_node(BagNode* node, regex_t* reg, ScanEnv* env) case BAG_I...
compile_length_bag_node(BagNode* node, regex_t* reg) len += tlen; } len += SIZE_OP_JUMP + SIZE_OP_ATOMIC_END; if (IS_NOT_NULL(Else)) { tlen = compile_length_tree(Else, reg); if (tlen < 0) return tlen; len += tlen; compile_bag_node(BagNode* node, regex_t* reg, ScanEnv...
CVE-2019-13225
{'CWE-476'}
2.9
{'https://github.com/kkos/oniguruma/commit/c509265c5f6ae7264f7b8a8aae1cfa5fc59d108c'}
nvd
A NULL Pointer Dereference in match_at() in regexec.c in Oniguruma 6.9.2 allows attackers to potentially cause denial of service by providing a crafted regular expression. Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.
2019-07-10
1
https://github.com/kkos/oniguruma
https://github.com/kkos/oniguruma/commit/c509265c5f6ae7264f7b8a8aae1cfa5fc59d108c
c509265c5f6ae7264f7b8a8aae1cfa5fc59d108c
SINGLE
['c509265c5f6ae7264f7b8a8aae1cfa5fc59d108c']
{'4cf9f4795cb88ba639d6fd68890950ae737f89d7'}
c509265c5f6ae7264f7b8a8aae1cfa5fc59d108c
1
06/27/2019, 05:11:55
Fix CVE-2019-13225: problem in converting if-then-else pattern to bytecode.
K.Kosako
{'com_1': {'author': 'apoleon', 'datetime': '07/14/2019, 16:58:53', 'body': 'Hello,\r\n\r\nI am currently investigating CVE-2019-13225 because we still maintain version 5.9.1 of oniguruma. The code base is completely different and the patch does not apply at all. Can you provide a test case to reproduce this problem or...
{'additions': 17, 'deletions': 8, 'total': 25}
[ { "additions": 17, "changes": 25, "deletions": 8, "patch": "@@ -1307,8 +1307,9 @@ compile_length_bag_node(BagNode* node, regex_t* reg)\n len += tlen;\n }\n \n+ len += SIZE_OP_JUMP + SIZE_OP_ATOMIC_END;\n+\n if (IS_NOT_NULL(Else)) {\n- len += SIZE_OP_JUMP;\n tl...
c
CWE-476
[ "src/regcomp.c" ]
src/regcomp.c
1
static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs, } /** * get_desc() - Obtain pointer to a segment descriptor * @sel: Segment selector * * Given a segment selector, obtain a pointer to the segment descriptor. * Both global and local descriptor tables are supported. * * Returns: * * Pointe...
static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs, } /** * get_desc() - Obtain contents of a segment descriptor * @out: Segment descriptor contents on success * @sel: Segment selector * * Given a segment selector, obtain a pointer to the segment descriptor. * Both global and local descriptor ...
CVE-2019-13233
{'CWE-416', 'CWE-362'}
6.4
{'https://github.com/torvalds/linux/commit/de9f869616dd95e95c00bdd6b0fcd3421e8a4323'}
nvd
In arch/x86/lib/insn-eval.c in the Linux kernel before 5.1.9, there is a use-after-free for access to an LDT entry because of a race condition between modify_ldt() and a #BR exception for an MPX bounds violation.
2019-07-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/de9f869616dd95e95c00bdd6b0fcd3421e8a4323
de9f869616dd95e95c00bdd6b0fcd3421e8a4323
SINGLE
['de9f869616dd95e95c00bdd6b0fcd3421e8a4323']
{'1e1d926369545ea09c98c6c7f5d109aa4ee0cd0b'}
de9f869616dd95e95c00bdd6b0fcd3421e8a4323
1
06/02/2019, 01:15:58
x86/insn-eval: Fix use-after-free access to LDT entry get_desc() computes a pointer into the LDT while holding a lock that protects the LDT from being freed, but then drops the lock and returns the (now potentially dangling) pointer to its caller. Fix it by giving the caller a copy of the LDT entry instead. Fixes: 6...
Jann Horn
null
{'additions': 24, 'deletions': 23, 'total': 47}
[ { "additions": 24, "changes": 47, "deletions": 23, "patch": "@@ -557,39 +557,42 @@ static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs,\n }\n \n /**\n- * get_desc() - Obtain pointer to a segment descriptor\n+ * get_desc() - Obtain contents of a segment descriptor\n+ * @out:\tSegment...
c
CWE-416
[ "arch/x86/lib/insn-eval.c" ]
arch/x86/lib/insn-eval.c
1
static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs, } /** * get_desc() - Obtain pointer to a segment descriptor * @sel: Segment selector * * Given a segment selector, obtain a pointer to the segment descriptor. * Both global and local descriptor tables are supported. * * Returns: * * Pointe...
static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs, } /** * get_desc() - Obtain contents of a segment descriptor * @out: Segment descriptor contents on success * @sel: Segment selector * * Given a segment selector, obtain a pointer to the segment descriptor. * Both global and local descriptor ...
CVE-2019-13233
{'CWE-416', 'CWE-362'}
6.4
{'https://github.com/torvalds/linux/commit/de9f869616dd95e95c00bdd6b0fcd3421e8a4323'}
nvd
In arch/x86/lib/insn-eval.c in the Linux kernel before 5.1.9, there is a use-after-free for access to an LDT entry because of a race condition between modify_ldt() and a #BR exception for an MPX bounds violation.
2019-07-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/de9f869616dd95e95c00bdd6b0fcd3421e8a4323
de9f869616dd95e95c00bdd6b0fcd3421e8a4323
SINGLE
['de9f869616dd95e95c00bdd6b0fcd3421e8a4323']
{'1e1d926369545ea09c98c6c7f5d109aa4ee0cd0b'}
de9f869616dd95e95c00bdd6b0fcd3421e8a4323
1
06/02/2019, 01:15:58
x86/insn-eval: Fix use-after-free access to LDT entry get_desc() computes a pointer into the LDT while holding a lock that protects the LDT from being freed, but then drops the lock and returns the (now potentially dangling) pointer to its caller. Fix it by giving the caller a copy of the LDT entry instead. Fixes: 6...
Jann Horn
null
{'additions': 24, 'deletions': 23, 'total': 47}
[ { "additions": 24, "changes": 47, "deletions": 23, "patch": "@@ -557,39 +557,42 @@ static int get_reg_offset_16(struct insn *insn, struct pt_regs *regs,\n }\n \n /**\n- * get_desc() - Obtain pointer to a segment descriptor\n+ * get_desc() - Obtain contents of a segment descriptor\n+ * @out:\tSegment...
c
CWE-362
[ "arch/x86/lib/insn-eval.c" ]
arch/x86/lib/insn-eval.c
1