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
static int segmented_read_std(struct x86_emulate_ctxt *ctxt, return ctxt->ops->read_std(ctxt, linear, data, size, &ctxt->exception); } /* * Prefetch the remaining bytes of the instruction without crossing page * boundary if they are not in fetch_cache yet. static int emulate_store_desc_ptr(struct x86_emulate_ctxt ...
static int segmented_read_std(struct x86_emulate_ctxt *ctxt, return ctxt->ops->read_std(ctxt, linear, data, size, &ctxt->exception); } static int segmented_write_std(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned int size) { int rc; ulong linear; ...
CVE-2017-2584
{'CWE-416', 'CWE-200'}
4.9
{'https://github.com/torvalds/linux/commit/129a72a0d3c8e139a04512325384fe5ac119e74d'}
nvd
arch/x86/kvm/emulate.c in the Linux kernel through 4.9.3 allows local users to obtain sensitive information from kernel memory or cause a denial of service (use-after-free) via a crafted application that leverages instruction emulation for fxrstor, fxsave, sgdt, and sidt.
2017-01-15
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/129a72a0d3c8e139a04512325384fe5ac119e74d
129a72a0d3c8e139a04512325384fe5ac119e74d
SINGLE
['129a72a0d3c8e139a04512325384fe5ac119e74d']
{'cef84c302fe051744b983a92764d3fcca933415d'}
129a72a0d3c8e139a04512325384fe5ac119e74d
1
01/12/2017, 02:28:29
KVM: x86: Introduce segmented_write_std Introduces segemented_write_std. Switches from emulated reads/writes to standard read/writes in fxsave, fxrstor, sgdt, and sidt. This fixes CVE-2017-2584, a longstanding kernel memory leak. Since commit 283c95d0e389 ("KVM: x86: emulate FXSAVE and FXRSTOR", 2016-11-09), which ...
Steve Rutherford
null
{'additions': 18, 'deletions': 4, 'total': 22}
[ { "additions": 18, "changes": 22, "deletions": 4, "patch": "@@ -818,6 +818,20 @@ static int segmented_read_std(struct x86_emulate_ctxt *ctxt,\n \treturn ctxt->ops->read_std(ctxt, linear, data, size, &ctxt->exception);\n }\n \n+static int segmented_write_std(struct x86_emulate_ctxt *ctxt,\n+\t\t\t ...
c
CWE-416
[ "arch/x86/kvm/emulate.c" ]
arch/x86/kvm/emulate.c
1
static int segmented_read_std(struct x86_emulate_ctxt *ctxt, return ctxt->ops->read_std(ctxt, linear, data, size, &ctxt->exception); } /* * Prefetch the remaining bytes of the instruction without crossing page * boundary if they are not in fetch_cache yet. static int emulate_store_desc_ptr(struct x86_emulate_ctxt ...
static int segmented_read_std(struct x86_emulate_ctxt *ctxt, return ctxt->ops->read_std(ctxt, linear, data, size, &ctxt->exception); } static int segmented_write_std(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, void *data, unsigned int size) { int rc; ulong linear; ...
CVE-2017-2584
{'CWE-416', 'CWE-200'}
4.9
{'https://github.com/torvalds/linux/commit/129a72a0d3c8e139a04512325384fe5ac119e74d'}
nvd
arch/x86/kvm/emulate.c in the Linux kernel through 4.9.3 allows local users to obtain sensitive information from kernel memory or cause a denial of service (use-after-free) via a crafted application that leverages instruction emulation for fxrstor, fxsave, sgdt, and sidt.
2017-01-15
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/129a72a0d3c8e139a04512325384fe5ac119e74d
129a72a0d3c8e139a04512325384fe5ac119e74d
SINGLE
['129a72a0d3c8e139a04512325384fe5ac119e74d']
{'cef84c302fe051744b983a92764d3fcca933415d'}
129a72a0d3c8e139a04512325384fe5ac119e74d
1
01/12/2017, 02:28:29
KVM: x86: Introduce segmented_write_std Introduces segemented_write_std. Switches from emulated reads/writes to standard read/writes in fxsave, fxrstor, sgdt, and sidt. This fixes CVE-2017-2584, a longstanding kernel memory leak. Since commit 283c95d0e389 ("KVM: x86: emulate FXSAVE and FXRSTOR", 2016-11-09), which ...
Steve Rutherford
null
{'additions': 18, 'deletions': 4, 'total': 22}
[ { "additions": 18, "changes": 22, "deletions": 4, "patch": "@@ -818,6 +818,20 @@ static int segmented_read_std(struct x86_emulate_ctxt *ctxt,\n \treturn ctxt->ops->read_std(ctxt, linear, data, size, &ctxt->exception);\n }\n \n+static int segmented_write_std(struct x86_emulate_ctxt *ctxt,\n+\t\t\t ...
c
CWE-200
[ "arch/x86/kvm/emulate.c" ]
arch/x86/kvm/emulate.c
1
create_watching_parent (void) } else status = WEXITSTATUS (status); } else if (caught_signal) status = caught_signal + 128; create_watching_parent (void) else status = 1; if (caught_signal) { fprintf (stderr, _("\nSession terminated, killing sh...
create_watching_parent (void) } else status = WEXITSTATUS (status); /* child is gone, don't use the PID anymore */ child = (pid_t) -1; } else if (caught_signal) status = caught_signal + 128; create_watching_parent (void) else status = 1; if (caugh...
CVE-2017-2616
{'CWE-362'}
6.9
{'https://github.com/karelzak/util-linux/commit/dffab154d29a288aa171ff50263ecc8f2e14a891'}
nvd
A race condition was found in util-linux before 2.32.1 in the way su handled the management of child processes. A local authenticated attacker could use this flaw to kill other processes with root privileges under specific conditions.
2018-07-27
1
https://github.com/karelzak/util-linux
https://github.com/karelzak/util-linux/commit/dffab154d29a288aa171ff50263ecc8f2e14a891
dffab154d29a288aa171ff50263ecc8f2e14a891
SINGLE
['dffab154d29a288aa171ff50263ecc8f2e14a891']
{'904ffe1fd2ba6c2092e00b4b1b95fcc30be77b45'}
dffab154d29a288aa171ff50263ecc8f2e14a891
1
02/01/2017, 10:58:09
su: properly clear child PID Reported-by: Tobias Stöckmann <tobias@stoeckmann.org> Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak
null
{'additions': 10, 'deletions': 4, 'total': 14}
[ { "additions": 10, "changes": 14, "deletions": 4, "patch": "@@ -368,6 +368,9 @@ create_watching_parent (void)\n }\n else\n status = WEXITSTATUS (status);\n+\n+\t /* child is gone, don't use the PID anymore */\n+\t child = (pid_t) -1;\n }\n else if (c...
c
CWE-362
[ "login-utils/su-common.c" ]
login-utils/su-common.c
1
static int db_dict_iter_lookup_key_values(struct db_dict_value_iter *iter) continue; str_truncate(path, strlen(DICT_PATH_SHARED)); ret = var_expand(path, key->key->key, iter->var_expand_table, &error); if (ret <= 0) { auth_request_log_error(iter->auth_request, AUTH_SUBSYS_DB, "Failed to expand key %s:...
static int db_dict_iter_lookup_key_values(struct db_dict_value_iter *iter) continue; str_truncate(path, strlen(DICT_PATH_SHARED)); str_append(path, key->key->key); ret = dict_lookup(iter->conn->dict, iter->pool, str_c(path), &key->value, &error); if (ret > 0) {
CVE-2017-2669
{'CWE-20'}
2.9
{'https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735'}
nvd
Dovecot before version 2.2.29 is vulnerable to a denial of service. When 'dict' passdb and userdb were used for user authentication, the username sent by the IMAP/POP3 client was sent through var_expand() to perform %variable expansion. Sending specially crafted %variable fields could result in excessive memory usage c...
2018-06-21
1
https://github.com/dovecot/core
https://github.com/dovecot/core/commit/000030feb7a30f193197f1aab8a7b04a26b42735
000030feb7a30f193197f1aab8a7b04a26b42735
SINGLE
['000030feb7a30f193197f1aab8a7b04a26b42735']
{'a8d3f2d03d260b55064d3be868bc06b025d6c9d3'}
000030feb7a30f193197f1aab8a7b04a26b42735
1
03/06/2017, 12:59:46
auth: Do not double-expand key in passdb dict when authenticating Broken by 79042f8c
Aki Tuomi
null
{'additions': 1, 'deletions': 6, 'total': 7}
[ { "additions": 1, "changes": 7, "deletions": 6, "patch": "@@ -413,12 +413,7 @@ static int db_dict_iter_lookup_key_values(struct db_dict_value_iter *iter)\n \t\t\tcontinue;\n \n \t\tstr_truncate(path, strlen(DICT_PATH_SHARED));\n-\t\tret = var_expand(path, key->key->key, iter->var_expand_table, &erro...
c
CWE-20
[ "src/auth/db-dict.c" ]
src/auth/db-dict.c
1
int ofx_proc_file(LibofxContextPtr ctx, const char * p_filename) string sanitize_proprietary_tags(string input_string) { unsigned int i; size_t input_string_size; bool strip = false; bool tag_open = false; int tag_open_idx = 0; //Are we within < > ? string sanitize_proprietary_tags(string input_string) c...
int ofx_proc_file(LibofxContextPtr ctx, const char * p_filename) string sanitize_proprietary_tags(string input_string) { unsigned int i; bool strip = false; bool tag_open = false; int tag_open_idx = 0; //Are we within < > ? string sanitize_proprietary_tags(string input_string) close_tagname[i] = 0; } ...
CVE-2017-2920
{'CWE-119'}
6.4
{'https://github.com/libofx/libofx/commit/a70934eea95c76a7737b83773bffe8738935082d'}
nvd
An memory corruption vulnerability exists in the .SVG parsing functionality of Computerinsel Photoline 20.02. A specially crafted .SVG file can cause a vulnerability resulting in memory corruption, which can potentially lead to arbitrary code execution. An attacker can send a specific .SVG file to trigger this vulnerab...
2017-10-05
1
https://github.com/libofx/libofx
https://github.com/libofx/libofx/commit/a70934eea95c76a7737b83773bffe8738935082d
a70934eea95c76a7737b83773bffe8738935082d
SINGLE
['a70934eea95c76a7737b83773bffe8738935082d']
{'f589f0aefff7f663ec3db818863fb07de9338963'}
a70934eea95c76a7737b83773bffe8738935082d
1
09/17/2017, 19:02:10
Fix a buffer overflow. This is only the minimum workaround to prevent buffer overflow: Stop iterating once the (fixed!) size of the output buffers is reached. In response to https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0317 However, this code is a huge mess anyway and is in no way anything like ...
Christian Stimming
null
{'additions': 11, 'deletions': 4, 'total': 15}
[ { "additions": 11, "changes": 15, "deletions": 4, "patch": "@@ -417,7 +417,6 @@ int ofx_proc_file(LibofxContextPtr ctx, const char * p_filename)\n string sanitize_proprietary_tags(string input_string)\n {\n unsigned int i;\n- size_t input_string_size;\n bool strip = false;\n bool tag_open = f...
cpp
CWE-119
[ "lib/ofx_preproc.cpp" ]
lib/ofx_preproc.cpp
1
static int tls_construct_cke_dhe(SSL *s, unsigned char **p, int *len, int *al) return 0; } ckey = ssl_generate_pkey(skey); dh_clnt = EVP_PKEY_get0_DH(ckey); if (dh_clnt == NULL || ssl_derive(s, ckey, skey) == 0) { static int tls_construct_cke_ecdhe(SSL *s, unsigned char **p, int *len, int *al)...
static int tls_construct_cke_dhe(SSL *s, unsigned char **p, int *len, int *al) return 0; } ckey = ssl_generate_pkey(skey); if (ckey == NULL) { SSLerr(SSL_F_TLS_CONSTRUCT_CKE_DHE, ERR_R_INTERNAL_ERROR); return 0; } dh_clnt = EVP_PKEY_get0_DH(ckey); if (dh_clnt == NULL |...
CVE-2017-3730
{'CWE-476'}
2.9
{'https://github.com/openssl/openssl/commit/efbe126e3ebb9123ac9d058aa2bb044261342aaa'}
nvd
In OpenSSL 1.1.0 before 1.1.0d, if a malicious server supplies bad parameters for a DHE or ECDHE key exchange then this can result in the client attempting to dereference a NULL pointer leading to a client crash. This could be exploited in a Denial of Service attack.
2017-05-04
1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/efbe126e3ebb9123ac9d058aa2bb044261342aaa
efbe126e3ebb9123ac9d058aa2bb044261342aaa
SINGLE
['efbe126e3ebb9123ac9d058aa2bb044261342aaa']
{'793d9b79033c2fffc8e781dab2fd678661b348cd'}
efbe126e3ebb9123ac9d058aa2bb044261342aaa
1
11/23/2016, 22:12:40
Fix missing NULL checks in CKE processing Reviewed-by: Rich Salz <rsalz@openssl.org>
Matt Caswell
null
{'additions': 9, 'deletions': 0, 'total': 9}
[ { "additions": 9, "changes": 9, "deletions": 0, "patch": "@@ -2258,6 +2258,11 @@ static int tls_construct_cke_dhe(SSL *s, unsigned char **p, int *len, int *al)\n return 0;\n }\n ckey = ssl_generate_pkey(skey);\n+ if (ckey == NULL) {\n+ SSLerr(SSL_F_TLS_CONSTRUCT_CKE_DHE, ER...
c
CWE-476
[ "ssl/statem/statem_clnt.c" ]
ssl/statem/statem_clnt.c
1
static int length_from_afi(const unsigned afi) */ unsigned int X509v3_addr_get_afi(const IPAddressFamily *f) { return ((f != NULL && f->addressFamily != NULL && f->addressFamily->data != NULL) ? ((f->addressFamily->data[0] << 8) | (f->addressFamily->data[1])) : 0); } /*
static int length_from_afi(const unsigned afi) */ unsigned int X509v3_addr_get_afi(const IPAddressFamily *f) { if (f == NULL || f->addressFamily == NULL || f->addressFamily->data == NULL || f->addressFamily->length < 2) return 0; return (f->addressFamily->data[0] <<...
CVE-2017-3735
{'CWE-119'}
2.9
{'https://github.com/openssl/openssl/commit/068b963bb7afc57f5bdd723de0dd15e7795d5822'}
nvd
While parsing an IPAddressFamily extension in an X.509 certificate, it is possible to do a one-byte overread. This would result in an incorrect text display of the certificate. This bug has been present since 2006 and is present in all versions of OpenSSL before 1.0.2m and 1.1.0g.
2017-08-28
1
https://github.com/openssl/openssl
https://github.com/openssl/openssl/commit/068b963bb7afc57f5bdd723de0dd15e7795d5822
068b963bb7afc57f5bdd723de0dd15e7795d5822
SINGLE
['068b963bb7afc57f5bdd723de0dd15e7795d5822']
{'7c188d4af022700961882971b90b70ac71702470'}
068b963bb7afc57f5bdd723de0dd15e7795d5822
1
08/22/2017, 15:44:41
Avoid out-of-bounds read Fixes CVE 2017-3735 Reviewed-by: Kurt Roeckx <kurt@roeckx.be> (Merged from https://github.com/openssl/openssl/pull/4276) (cherry picked from commit b23171744b01e473ebbfd6edad70c1c3825ffbcd)
Rich Salz
null
{'additions': 6, 'deletions': 4, 'total': 10}
[ { "additions": 6, "changes": 10, "deletions": 4, "patch": "@@ -84,10 +84,12 @@ static int length_from_afi(const unsigned afi)\n */\n unsigned int X509v3_addr_get_afi(const IPAddressFamily *f)\n {\n- return ((f != NULL &&\n- f->addressFamily != NULL && f->addressFamily->data != NULL)\...
c
CWE-119
[ "crypto/x509v3/v3_addr.c" ]
crypto/x509v3/v3_addr.c
1
static const signed char base64_table[256] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, -1, 0, 1,...
static const signed char base64_table[256] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -2, -1, -1, -1, 0, 1,...
CVE-2017-5209
{'CWE-125'}
4.9
{'https://github.com/libimobiledevice/libplist/commit/3a55ddd3c4c11ce75a86afbefd085d8d397ff957'}
nvd
The base64decode function in base64.c in libimobiledevice libplist through 1.12 allows attackers to obtain sensitive information from process memory or cause a denial of service (buffer over-read) via split encoded Apple Property List data.
2017-01-11
1
https://github.com/libimobiledevice/libplist
https://github.com/libimobiledevice/libplist/commit/3a55ddd3c4c11ce75a86afbefd085d8d397ff957
3a55ddd3c4c11ce75a86afbefd085d8d397ff957
SINGLE
['3a55ddd3c4c11ce75a86afbefd085d8d397ff957']
{'bbd33793d62ef9c9dbd6f69aa2fd0ced1b163e2f'}
3a55ddd3c4c11ce75a86afbefd085d8d397ff957
1
01/11/2017, 02:49:31
base64: Rework base64decode to handle split encoded data correctly
Nikias Bassen
null
{'additions': 27, 'deletions': 41, 'total': 68}
[ { "additions": 27, "changes": 68, "deletions": 41, "patch": "@@ -28,7 +28,7 @@ static const signed char base64_table[256] = {\n \t-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n \t-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,\n \t-1, -1, -1, -1, -1, -1, -1, -1, -1...
c
CWE-125
[ "src/base64.c" ]
src/base64.c
1
main (int argc, /* We want sigchild in the child */ unblock_sigchild (); if (label_exec (opt_exec_label) == -1) die_with_error ("label_exec %s", argv[0]);
main (int argc, /* We want sigchild in the child */ unblock_sigchild (); if (setsid () == (pid_t) -1) die_with_error ("setsid"); if (label_exec (opt_exec_label) == -1) die_with_error ("label_exec %s", argv[0]);
CVE-2017-5226
{'CWE-20'}
6.4
{'https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117'}
nvd
When executing a program via the bubblewrap sandbox, the nonpriv session can escape to the parent session by using the TIOCSTI ioctl to push characters into the terminal's input buffer, allowing an attacker to escape the sandbox.
2017-03-29
1
https://github.com/projectatomic/bubblewrap
https://github.com/projectatomic/bubblewrap/commit/d7fc532c42f0e9bf427923bab85433282b3e5117
d7fc532c42f0e9bf427923bab85433282b3e5117
SINGLE
['d7fc532c42f0e9bf427923bab85433282b3e5117']
{'a10af855abdd444df5e464187c15e1c81fa18d4d'}
d7fc532c42f0e9bf427923bab85433282b3e5117
1
01/09/2017, 17:46:07
Call setsid() before executing sandboxed code (CVE-2017-5226) This prevents the sandboxed code from getting a controlling tty, which in turn prevents it from accessing the TIOCSTI ioctl and hence faking terminal input. Fixes: #142 Closes: #143 Approved by: cgwalters
Simon McVittie
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -2071,6 +2071,9 @@ main (int argc,\n /* We want sigchild in the child */\n unblock_sigchild ();\n \n+ if (setsid () == (pid_t) -1)\n+ die_with_error (\"setsid\");\n+\n if (label_exec (opt_exec_label) == -1)\n die_with_erro...
c
CWE-20
[ "bubblewrap.c" ]
bubblewrap.c
1
ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_ GC_REFCOUNT(ht) = 1; GC_TYPE_INFO(ht) = IS_ARRAY; ht->u.flags = (persistent ? HASH_FLAG_PERSISTENT : 0) | HASH_FLAG_APPLY_PROTECTION | HASH_FLAG_STATIC_KEYS; ht->nTableSize = zend_hash_check_size(nSize); ht->nTableMask = HT_MIN_MASK;...
ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_ GC_REFCOUNT(ht) = 1; GC_TYPE_INFO(ht) = IS_ARRAY; ht->u.flags = (persistent ? HASH_FLAG_PERSISTENT : 0) | HASH_FLAG_APPLY_PROTECTION | HASH_FLAG_STATIC_KEYS; ht->nTableMask = HT_MIN_MASK; HT_SET_DATA_ADDR(ht, &uninitialized_bucket); ...
CVE-2017-5340
{'CWE-190'}
6.4
{'https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12'}
nvd
Zend/zend_hash.c in PHP before 7.0.15 and 7.1.x before 7.1.1 mishandles certain cases that require large array allocations, which allows remote attackers to execute arbitrary code or cause a denial of service (integer overflow, uninitialized memory access, and use of arbitrary destructor function pointers) via crafted ...
2017-01-11
1
https://github.com/php/php-src
https://github.com/php/php-src/commit/4cc0286f2f3780abc6084bcdae5dce595daa3c12
4cc0286f2f3780abc6084bcdae5dce595daa3c12
SINGLE
['4cc0286f2f3780abc6084bcdae5dce595daa3c12']
{'8d2539fa0faf3f63e1d1e7635347c5b9e777d47b'}
4cc0286f2f3780abc6084bcdae5dce595daa3c12
1
01/03/2017, 04:14:05
Fix #73832 - leave the table in a safe state if the size is too big.
Stanislav Malyshev
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -175,14 +175,14 @@ ZEND_API void ZEND_FASTCALL _zend_hash_init(HashTable *ht, uint32_t nSize, dtor_\n \tGC_REFCOUNT(ht) = 1;\n \tGC_TYPE_INFO(ht) = IS_ARRAY;\n \tht->u.flags = (persistent ? HASH_FLAG_PERSISTENT : 0) | HASH_FLAG_APPLY_PROTE...
c
CWE-190
[ "Zend/zend_hash.c" ]
Zend/zend_hash.c
1
* @global Filelist */ $selected_Filelist = new Filelist( $fm_FileRoot, $ads_list_path ); foreach( $fm_selected as $l_source_path ) { $selected_Filelist->add_by_subpath( urldecode($l_source_path), true ); }
* @global Filelist */ $selected_Filelist = new Filelist( $fm_FileRoot, $ads_list_path ); // Prevent directory traversal using '..' $re = '/\/?\.\.\/+/'; foreach( $fm_selected as $l_source_path ) { if( preg_match( $re, $l_source_path ) ) { debug_die( 'Invalid fm_selected parameter value' ); } $selected_Filelis...
CVE-2017-5480
{'CWE-22'}
4.9
{'https://github.com/b2evolution/b2evolution/commit/26841d9c81f27ad23b2f6e4bd5eaec7f2f58dfe0'}
nvd
Directory traversal vulnerability in inc/files/files.ctrl.php in b2evolution through 6.8.3 allows remote authenticated users to read or delete arbitrary files by leveraging back-office access to provide a .. (dot dot) in the fm_selected array parameter.
2017-01-15
1
https://github.com/b2evolution/b2evolution
https://github.com/b2evolution/b2evolution/commit/26841d9c81f27ad23b2f6e4bd5eaec7f2f58dfe0
26841d9c81f27ad23b2f6e4bd5eaec7f2f58dfe0
SINGLE
['26841d9c81f27ad23b2f6e4bd5eaec7f2f58dfe0']
{'261dbd5b294e707af766691e65a177a290314a6e'}
26841d9c81f27ad23b2f6e4bd5eaec7f2f58dfe0
1
01/15/2017, 08:31:00
Fixed fm_selected parameter exploit
Erwin Rommel H. Satingin
null
{'additions': 7, 'deletions': 0, 'total': 7}
[ { "additions": 7, "changes": 7, "deletions": 0, "patch": "@@ -343,8 +343,15 @@\n * @global Filelist\n */\n $selected_Filelist = new Filelist( $fm_FileRoot, $ads_list_path );\n+\n+// Prevent directory traversal using '..'\n+$re = '/\\/?\\.\\.\\/+/';\n foreach( $fm_selected as $l_source_path )\n {\n...
php
CWE-22
[ "inc/files/files.ctrl.php" ]
inc/files/files.ctrl.php
1
MagickBooleanType SyncExifProfile(Image *image,StringInfo *profile) The directory entry contains an offset. */ offset=(ssize_t) ReadProfileLong(endian,q+8); if ((size_t) (offset+number_bytes) > length) continue; if (~length < number_bytes) co...
MagickBooleanType SyncExifProfile(Image *image,StringInfo *profile) The directory entry contains an offset. */ offset=(ssize_t) ReadProfileLong(endian,q+8); if ((offset < 0) || ((size_t) (offset+number_bytes) > length)) continue; if (~length < number_byt...
CVE-2017-5506
{'CWE-415'}
6.4
{'https://github.com/ImageMagick/ImageMagick/commit/9a069e0f2e027ec5138f998023cf9cb62c04889f'}
nvd
Double free vulnerability in magick/profile.c in ImageMagick allows remote attackers to have unspecified impact via a crafted file.
2017-03-24
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/9a069e0f2e027ec5138f998023cf9cb62c04889f
9a069e0f2e027ec5138f998023cf9cb62c04889f
SINGLE
['9a069e0f2e027ec5138f998023cf9cb62c04889f']
{'ac36bf9a08f058a259c902f7325b5b544f700994'}
9a069e0f2e027ec5138f998023cf9cb62c04889f
1
01/12/2017, 17:51:57
https://github.com/ImageMagick/ImageMagick/issues/354
Cristy
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -2043,7 +2043,7 @@ MagickBooleanType SyncExifProfile(Image *image,StringInfo *profile)\n The directory entry contains an offset.\n */\n offset=(ssize_t) ReadProfileLong(endian,q+8);\n- if ((size_t)...
c
CWE-415
[ "MagickCore/profile.c" ]
MagickCore/profile.c
1
int main(int argc, char *argv[]) } stat(options->in_file, &filestats); plist_entire = (char *) malloc(sizeof(char) * (filestats.st_size + 1)); read_size = fread(plist_entire, sizeof(char), filestats.st_size, iplist); fclose(iplist);
int main(int argc, char *argv[]) } stat(options->in_file, &filestats); if (filestats.st_size < 8) { printf("ERROR: Input file is too small to contain valid plist data.\n"); return -1; } plist_entire = (char *) malloc(sizeof(char) * (filestats.st_size + 1)); read_size = fread(...
CVE-2017-5545
{'CWE-125'}
4.9
{'https://github.com/libimobiledevice/libplist/commit/7391a506352c009fe044dead7baad9e22dd279ee'}
nvd
The main function in plistutil.c in libimobiledevice libplist through 1.12 allows attackers to obtain sensitive information from process memory or cause a denial of service (buffer over-read) via Apple Property List data that is too short.
2017-01-21
1
https://github.com/libimobiledevice/libplist
https://github.com/libimobiledevice/libplist/commit/7391a506352c009fe044dead7baad9e22dd279ee
7391a506352c009fe044dead7baad9e22dd279ee
SINGLE
['7391a506352c009fe044dead7baad9e22dd279ee']
{'7a28a14cf6ed547dfd2e52a4db17f47242bfdef9'}
7391a506352c009fe044dead7baad9e22dd279ee
1
01/18/2017, 14:44:51
plistutil: Prevent OOB heap buffer read by checking input size As pointed out in #87 plistutil would do a memcmp with a heap buffer without checking the size. If the size is less than 8 it would read beyond the bounds of this heap buffer. This commit prevents that.
Nikias Bassen
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -129,6 +129,12 @@ int main(int argc, char *argv[])\n }\n \n stat(options->in_file, &filestats);\n+\n+ if (filestats.st_size < 8) {\n+ printf(\"ERROR: Input file is too small to contain valid plist data.\\n\");\n+ r...
c
CWE-125
[ "tools/plistutil.c" ]
tools/plistutil.c
1
static enum led_brightness k90_backlight_get(struct led_classdev *led_cdev) struct usb_interface *usbif = to_usb_interface(dev->parent); struct usb_device *usbdev = interface_to_usbdev(usbif); int brightness; char data[8]; ret = usb_control_msg(usbdev, usb_rcvctrlpipe(usbdev, 0), K90_REQUEST_STATUS, sta...
static enum led_brightness k90_backlight_get(struct led_classdev *led_cdev) struct usb_interface *usbif = to_usb_interface(dev->parent); struct usb_device *usbdev = interface_to_usbdev(usbif); int brightness; char *data; data = kmalloc(8, GFP_KERNEL); if (!data) return -ENOMEM; ret = usb_control_msg(usbdev,...
CVE-2017-5547
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/6d104af38b570d37aa32a5803b04c354f8ed513d'}
nvd
drivers/hid/hid-corsair.c in the Linux kernel 4.9.x before 4.9.6 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page for a DMA scatterl...
2017-02-06
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/6d104af38b570d37aa32a5803b04c354f8ed513d
6d104af38b570d37aa32a5803b04c354f8ed513d
SINGLE
['6d104af38b570d37aa32a5803b04c354f8ed513d']
{'a89af4abdf9b353cdd6f61afc0eaaac403304873'}
6d104af38b570d37aa32a5803b04c354f8ed513d
1
01/12/2017, 17:17:42
HID: corsair: fix DMA buffers on stack Not all platforms support DMA to the stack, and specifically since v4.9 this is no longer supported on x86 with VMAP_STACK either. Note that the macro-mode buffer was larger than necessary. Fixes: 6f78193ee9ea ("HID: corsair: Add Corsair Vengeance K90 driver") Cc: stable <stabl...
Johan Hovold
null
{'additions': 42, 'deletions': 12, 'total': 54}
[ { "additions": 42, "changes": 54, "deletions": 12, "patch": "@@ -148,7 +148,11 @@ static enum led_brightness k90_backlight_get(struct led_classdev *led_cdev)\n \tstruct usb_interface *usbif = to_usb_interface(dev->parent);\n \tstruct usb_device *usbdev = interface_to_usbdev(usbif);\n \tint brightnes...
c
CWE-119
[ "drivers/hid/hid-corsair.c" ]
drivers/hid/hid-corsair.c
1
static int atusb_read_reg(struct atusb *atusb, uint8_t reg) { struct usb_device *usb_dev = atusb->usb_dev; int ret; uint8_t value; dev_dbg(&usb_dev->dev, "atusb: reg = 0x%x\n", reg); ret = atusb_control_msg(atusb, usb_rcvctrlpipe(usb_dev, 0), ATUSB_REG_READ, ATUSB_REQ_FROM_DEV, 0, reg, &value, 1, 1000); ...
static int atusb_read_reg(struct atusb *atusb, uint8_t reg) { struct usb_device *usb_dev = atusb->usb_dev; int ret; uint8_t *buffer; uint8_t value; buffer = kmalloc(1, GFP_KERNEL); if (!buffer) return -ENOMEM; dev_dbg(&usb_dev->dev, "atusb: reg = 0x%x\n", reg); ret = atusb_control_msg(atusb, usb_rcvctrlpip...
CVE-2017-5548
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655'}
nvd
drivers/net/ieee802154/atusb.c in the Linux kernel 4.9.x before 4.9.6 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page for a DMA sca...
2017-02-06
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655
05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655
SINGLE
['05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655']
{'8a430ed50bb1b19ca14a46661f3b1b35f2fb5c39'}
05a974efa4bdf6e2a150e3f27dc6fcf0a9ad5655
1
12/15/2016, 17:40:14
ieee802154: atusb: do not use the stack for buffers to make them DMA able From 4.9 we should really avoid using the stack here as this will not be DMA able on various platforms. This changes the buffers already being present in time of 4.9 being released. This should go into stable as well. Reported-by: Dan Carpenter...
Stefan Schmidt
null
{'additions': 27, 'deletions': 4, 'total': 31}
[ { "additions": 27, "changes": 31, "deletions": 4, "patch": "@@ -117,13 +117,26 @@ static int atusb_read_reg(struct atusb *atusb, uint8_t reg)\n {\n \tstruct usb_device *usb_dev = atusb->usb_dev;\n \tint ret;\n+\tuint8_t *buffer;\n \tuint8_t value;\n \n+\tbuffer = kmalloc(1, GFP_KERNEL);\n+\tif (!buf...
c
CWE-119
[ "drivers/net/ieee802154/atusb.c" ]
drivers/net/ieee802154/atusb.c
1
size_t iov_iter_copy_from_user_atomic(struct page *page, } EXPORT_SYMBOL(iov_iter_copy_from_user_atomic); static void pipe_advance(struct iov_iter *i, size_t size) { struct pipe_inode_info *pipe = i->pipe; struct pipe_buffer *buf; int idx = i->idx; size_t off = i->iov_offset, orig_sz; if (unlikely(i->count < s...
size_t iov_iter_copy_from_user_atomic(struct page *page, } EXPORT_SYMBOL(iov_iter_copy_from_user_atomic); static inline void pipe_truncate(struct iov_iter *i) { struct pipe_inode_info *pipe = i->pipe; if (pipe->nrbufs) { size_t off = i->iov_offset; int idx = i->idx; int nrbufs = (idx - pipe->curbuf) & (pipe->...
CVE-2017-5550
{'CWE-200'}
2.9
{'https://github.com/torvalds/linux/commit/b9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb'}
nvd
Off-by-one error in the pipe_advance function in lib/iov_iter.c in the Linux kernel before 4.9.5 allows local users to obtain sensitive information from uninitialized heap-memory locations in opportunistic circumstances by reading from a pipe after an incorrect buffer-release decision.
2017-02-06
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb
b9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb
SINGLE
['b9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb']
{'4d22c75d4c7b5c5f4bd31054f09103ee490878fd'}
b9dc6f65bc5e232d1c05fe34b5daadc7e8bbf1fb
1
01/15/2017, 00:33:08
fix a fencepost error in pipe_advance() The logics in pipe_advance() used to release all buffers past the new position failed in cases when the number of buffers to release was equal to pipe->buffers. If that happened, none of them had been released, leaving pipe full. Worse, it was trivial to trigger and we end up ...
Al Viro
null
{'additions': 31, 'deletions': 23, 'total': 54}
[ { "additions": 31, "changes": 54, "deletions": 23, "patch": "@@ -730,43 +730,50 @@ size_t iov_iter_copy_from_user_atomic(struct page *page,\n }\n EXPORT_SYMBOL(iov_iter_copy_from_user_atomic);\n \n+static inline void pipe_truncate(struct iov_iter *i)\n+{\n+\tstruct pipe_inode_info *pipe = i->pipe;\n...
c
CWE-200
[ "lib/iov_iter.c" ]
lib/iov_iter.c
1
9. Don't apply <p> around list and already existing paragraph tags 10. Don't convert HTML entities inside <code> html tags because the "Escape code" plugin does this 11. Fix the missed empty lines in code blocks which are started and ended with ``` */ class Parsedown function parse($text) # Extracts link refere...
9. Don't apply <p> around list and already existing paragraph tags 10. Don't convert HTML entities inside <code> html tags because the "Escape code" plugin does this 11. Fix the missed empty lines in code blocks which are started and ended with ``` 12. Ignore wrong URLs for links and images; Allow only which begin...
CVE-2017-5553
{'CWE-79'}
2.9
{'https://github.com/b2evolution/b2evolution/commit/ce5b36e44b714b18b0bcd34c6db0187b8d13bab8'}
nvd
Cross-site scripting (XSS) vulnerability in plugins/markdown_plugin/_markdown.plugin.php in b2evolution before 6.8.5 allows remote authenticated users to inject arbitrary web script or HTML via a javascript: URL.
2017-01-23
1
https://github.com/b2evolution/b2evolution
https://github.com/b2evolution/b2evolution/commit/ce5b36e44b714b18b0bcd34c6db0187b8d13bab8
ce5b36e44b714b18b0bcd34c6db0187b8d13bab8
SINGLE
['ce5b36e44b714b18b0bcd34c6db0187b8d13bab8']
{'274ad5899b3212269d74875f773ffa975b4d1af9'}
ce5b36e44b714b18b0bcd34c6db0187b8d13bab8
1
01/19/2017, 07:24:29
Ignore wrong urls on markdown plugin
yurabakhtin
null
{'additions': 5, 'deletions': 4, 'total': 9}
[ { "additions": 5, "changes": 9, "deletions": 4, "patch": "@@ -29,6 +29,7 @@\n \t9. Don't apply <p> around list and already existing paragraph tags\n \t10. Don't convert HTML entities inside <code> html tags because the \"Escape code\" plugin does this\n \t11. Fix the missed empty lines in code block...
php
CWE-79
[ "plugins/markdown_plugin/_parsedown.inc.php" ]
plugins/markdown_plugin/_parsedown.inc.php
1
vc4_get_bcl(struct drm_device *dev, struct vc4_exec_info *exec) args->shader_rec_count); struct vc4_bo *bo; if (uniforms_offset < shader_rec_offset || exec_size < uniforms_offset || args->shader_rec_count >= (UINT_MAX / sizeof(struct vc4_shader_state)) ||
vc4_get_bcl(struct drm_device *dev, struct vc4_exec_info *exec) args->shader_rec_count); struct vc4_bo *bo; if (shader_rec_offset < args->bin_cl_size || uniforms_offset < shader_rec_offset || exec_size < uniforms_offset || args->shader_rec_count >= (UINT_MAX / sizeof(struct vc4_shader_s...
CVE-2017-5576
{'CWE-190'}
10
{'https://github.com/torvalds/linux/commit/0f2ff82e11c86c05d051cae32b58226392d33bbf'}
nvd
Integer overflow in the vc4_get_bcl function in drivers/gpu/drm/vc4/vc4_gem.c in the VideoCore DRM driver in the Linux kernel before 4.9.7 allows local users to cause a denial of service or possibly have unspecified other impact via a crafted size value in a VC4_SUBMIT_CL ioctl call.
2017-02-06
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/0f2ff82e11c86c05d051cae32b58226392d33bbf
0f2ff82e11c86c05d051cae32b58226392d33bbf
SINGLE
['0f2ff82e11c86c05d051cae32b58226392d33bbf']
{'21ccc32496b2f63228f5232b3ac0e426e8fb3c31'}
0f2ff82e11c86c05d051cae32b58226392d33bbf
1
01/17/2017, 10:42:53
drm/vc4: Fix an integer overflow in temporary allocation layout. We copy the unvalidated ioctl arguments from the user into kernel temporary memory to run the validation from, to avoid a race where the user updates the unvalidate contents in between validating them and copying them into the validated BO. However, in ...
Eric Anholt
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -594,7 +594,8 @@ vc4_get_bcl(struct drm_device *dev, struct vc4_exec_info *exec)\n \t\t\t\t\t args->shader_rec_count);\n \tstruct vc4_bo *bo;\n \n-\tif (uniforms_offset < shader_rec_offset ||\n+\tif (shader_rec_offset < args->bin_cl_size ...
c
CWE-190
[ "drivers/gpu/drm/vc4/vc4_gem.c" ]
drivers/gpu/drm/vc4/vc4_gem.c
1
public void processPacket(Packet packet) { int direction = ChatConstants.INCOMING; Carbon cc = CarbonManager.getCarbon(msg); // extract timestamp long ts;
public void processPacket(Packet packet) { int direction = ChatConstants.INCOMING; Carbon cc = CarbonManager.getCarbon(msg); if (cc != null && !msg.getFrom().equalsIgnoreCase(mConfig.jabberID)) { Log.w(TAG, "Received illegal carbon from " + msg.getFrom() + ": " + cc.toXML()); cc = null...
CVE-2017-5589
{'CWE-20', 'CWE-346'}
2.9
{'https://github.com/ge0rg/yaxim/commit/65a38dc77545d9568732189e86089390f0ceaf9f'}
nvd
An incorrect implementation of "XEP-0280: Message Carbons" in multiple XMPP clients allows a remote attacker to impersonate any user, including contacts, in the vulnerable application's display. This allows for various kinds of social engineering attacks. This CVE is for yaxim and Bruno (0.8.6 - 0.8.8; Android).
2017-02-09
1
https://github.com/ge0rg/yaxim
https://github.com/ge0rg/yaxim/commit/65a38dc77545d9568732189e86089390f0ceaf9f
65a38dc77545d9568732189e86089390f0ceaf9f
SINGLE
['65a38dc77545d9568732189e86089390f0ceaf9f']
{'b829050cd1d27b86739c3b694732c558787c18c0'}
65a38dc77545d9568732189e86089390f0ceaf9f
1
01/30/2017, 14:36:48
Smackable: improved carbon checks
Georg Lukas
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -1242,6 +1242,10 @@ public void processPacket(Packet packet) {\n \t\t\t\t\t\n \t\t\t\t\tint direction = ChatConstants.INCOMING;\n \t\t\t\t\tCarbon cc = CarbonManager.getCarbon(msg);\n+\t\t\t\t\tif (cc != null && !msg.getFrom().equalsIgnore...
java
CWE-20
[ "src/org/yaxim/androidclient/service/SmackableImp.java" ]
src/org/yaxim/androidclient/service/SmackableImp.java
1
bool JT_PushMessage::take(const QDomElement &e) QDomElement forward; Message::CarbonDir cd = Message::NoCarbon; // Check for Carbon QDomNodeList list = e1.childNodes(); for (int i = 0; i < list.size(); ++i) { QDomElement el = list.at(i).toElement(); if (el.attribute("xmlns") == QLatin1String("urn:xmpp:carbo...
bool JT_PushMessage::take(const QDomElement &e) QDomElement forward; Message::CarbonDir cd = Message::NoCarbon; Jid fromJid = Jid(e1.attribute(QLatin1String("from"))); // Check for Carbon QDomNodeList list = e1.childNodes(); for (int i = 0; i < list.size(); ++i) { QDomElement el = list.at(i).toElement(); i...
CVE-2017-5593
{'CWE-20', 'CWE-346'}
2.9
{'https://github.com/psi-im/iris/pull/47/commits/02e976d4426a1319a7af7d26d7aba9d8c6077570'}
nvd
An incorrect implementation of "XEP-0280: Message Carbons" in multiple XMPP clients allows a remote attacker to impersonate any user, including contacts, in the vulnerable application's display. This allows for various kinds of social engineering attacks. This CVE is for Psi+ (0.16.563.580 - 0.16.571.627).
2017-02-09
1
https://github.com/psi-im/iris
https://github.com/psi-im/iris/pull/47/commits/02e976d4426a1319a7af7d26d7aba9d8c6077570
02e976d4426a1319a7af7d26d7aba9d8c6077570
SINGLE
['02e976d4426a1319a7af7d26d7aba9d8c6077570']
{'b747d3b063c22e50e66c9023a8501df9b23315b3'}
02e976d4426a1319a7af7d26d7aba9d8c6077570
1
01/25/2017, 12:15:47
Try to fix XMPP Client User Impersonation Vulnerability
Vitaly Tonkacheyev
null
{'additions': 9, 'deletions': 5, 'total': 14}
[ { "additions": 9, "changes": 14, "deletions": 5, "patch": "@@ -888,14 +888,18 @@ bool JT_PushMessage::take(const QDomElement &e)\n \tQDomElement forward;\n \tMessage::CarbonDir cd = Message::NoCarbon;\n \n+\tJid fromJid = Jid(e1.attribute(QLatin1String(\"from\")));\n \t// Check for Carbon\n \tQDomNo...
cpp
CWE-20
[ "src/xmpp/xmpp-im/xmpp_tasks.cpp" ]
src/xmpp/xmpp-im/xmpp_tasks.cpp
1
lha_read_file_header_1(struct archive_read *a, struct lha *lha) /* Get a real compressed file size. */ lha->compsize -= extdsize - 2; if (sum_calculated != headersum) { archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, "LHa header sum error");
lha_read_file_header_1(struct archive_read *a, struct lha *lha) /* Get a real compressed file size. */ lha->compsize -= extdsize - 2; if (lha->compsize < 0) goto invalid; /* Invalid compressed file size */ if (sum_calculated != headersum) { archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, "LHa header...
CVE-2017-5601
{'CWE-125'}
2.9
{'https://github.com/libarchive/libarchive/commit/98dcbbf0bf4854bf987557e55e55fff7abbf3ea9'}
nvd
An error in the lha_read_file_header_1() function (archive_read_support_format_lha.c) in libarchive 3.2.2 allows remote attackers to trigger an out-of-bounds read memory access and subsequently cause a crash via a specially crafted archive.
2017-01-27
1
https://github.com/libarchive/libarchive
https://github.com/libarchive/libarchive/commit/98dcbbf0bf4854bf987557e55e55fff7abbf3ea9
98dcbbf0bf4854bf987557e55e55fff7abbf3ea9
SINGLE
['98dcbbf0bf4854bf987557e55e55fff7abbf3ea9']
{'42f7080f59c973446e9a61b0971f2614851c78d6'}
98dcbbf0bf4854bf987557e55e55fff7abbf3ea9
1
01/19/2017, 21:00:18
Fail with negative lha->compsize in lha_read_file_header_1() Fixes a heap buffer overflow reported in Secunia SA74169
Martin Matuska
{'com_1': {'author': 'carnil', 'datetime': '01/31/2017, 05:47:51', 'body': 'This is [CVE-2017-5601](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5601)'}}
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -924,6 +924,9 @@ lha_read_file_header_1(struct archive_read *a, struct lha *lha)\n \t/* Get a real compressed file size. */\n \tlha->compsize -= extdsize - 2;\n \n+\tif (lha->compsize < 0)\n+\t\tgoto invalid;\t/* Invalid compressed file si...
c
CWE-125
[ "libarchive/archive_read_support_format_lha.c" ]
libarchive/archive_read_support_format_lha.c
1
public void processPacket(Packet packet) ForwardedPacketExtension.class); if(extensions.isEmpty()) return; ForwardedPacketExtension forwardedExt = extensions.get(0); msg = forwardedExt.getMessage(); if(msg == nu...
public void processPacket(Packet packet) ForwardedPacketExtension.class); if(extensions.isEmpty()) return; // according to xep-0280 all carbons should come from // our bare jid if (!msg.getFrom().equals( ...
CVE-2017-5603
{'CWE-20', 'CWE-346'}
2.9
{'https://github.com/jitsi/jitsi/commit/7d66da61b316c9480b63000f831b6de723b87315'}
nvd
An incorrect implementation of "XEP-0280: Message Carbons" in multiple XMPP clients allows a remote attacker to impersonate any user, including contacts, in the vulnerable application's display. This allows for various kinds of social engineering attacks. This CVE is for Jitsi 2.5.5061 - 2.9.5544.
2017-02-09
1
https://github.com/jitsi/jitsi
https://github.com/jitsi/jitsi/commit/7d66da61b316c9480b63000f831b6de723b87315
7d66da61b316c9480b63000f831b6de723b87315
SINGLE
['7d66da61b316c9480b63000f831b6de723b87315']
{'cf6951b80e0ef9fe04fcd91f946c464145de683f'}
7d66da61b316c9480b63000f831b6de723b87315
1
01/26/2017, 23:00:46
Checks from for received carbon messages, should be bare jid.
damencho
null
{'additions': 11, 'deletions': 0, 'total': 11}
[ { "additions": 11, "changes": 11, "deletions": 0, "patch": "@@ -815,6 +815,17 @@ public void processPacket(Packet packet)\n ForwardedPacketExtension.class);\n if(extensions.isEmpty())\n return;\n+\n+ // according to xep-0280 ...
java
CWE-20
[ "src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java" ]
src/net/java/sip/communicator/impl/protocol/jabber/OperationSetBasicInstantMessagingJabberImpl.java
1
static gboolean prplcb_xfer_new_send_cb(gpointer data, gint fd, b_input_conditio /* TODO(wilmer): After spreading some more const goodness in BitlBee, remove the evil cast below. */ px->ft = imcb_file_send_start(ic, (char *) who, xfer->filename, xfer->size); px->ft->data = px; px->ft->accept = prpl_xfer_accep...
static gboolean prplcb_xfer_new_send_cb(gpointer data, gint fd, b_input_conditio /* TODO(wilmer): After spreading some more const goodness in BitlBee, remove the evil cast below. */ px->ft = imcb_file_send_start(ic, (char *) who, xfer->filename, xfer->size); if (!px->ft) { return FALSE; } px->ft->data = px...
CVE-2017-5668
{'CWE-476'}
6.4
{'https://github.com/bitlbee/bitlbee/commit/30d598ce7cd3f136ee9d7097f39fa9818a272441'}
nvd
bitlbee-libpurple before 3.5.1 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) and possibly execute arbitrary code via a file transfer request for a contact that is not in the contact list. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-10189.
2017-03-14
1
https://github.com/bitlbee/bitlbee
https://github.com/bitlbee/bitlbee/commit/30d598ce7cd3f136ee9d7097f39fa9818a272441
30d598ce7cd3f136ee9d7097f39fa9818a272441
SINGLE
['30d598ce7cd3f136ee9d7097f39fa9818a272441']
{'53cb4ae80e54b89efebc7d19f739d17fc3286383'}
30d598ce7cd3f136ee9d7097f39fa9818a272441
1
01/29/2017, 22:40:09
purple: Fix crash on ft requests from unknown contacts Followup to 701ab81 (included in 3.5) which was a partial fix which only improved things for non-libpurple file transfers (that is, just jabber)
dequis
{'com_1': {'author': 'carnil', 'datetime': '01/31/2017, 07:38:37', 'body': 'CVE Request: http://www.openwall.com/lists/oss-security/2017/01/30/4'}, 'com_2': {'author': 'dequis', 'datetime': '01/31/2017, 15:55:19', 'body': 'CVE-2017-5668 has been assigned for this'}}
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -145,6 +145,10 @@ static gboolean prplcb_xfer_new_send_cb(gpointer data, gint fd, b_input_conditio\n \t/* TODO(wilmer): After spreading some more const goodness in BitlBee,\n \t remove the evil cast below. */\n \tpx->ft = imcb_file_send_...
c
CWE-476
[ "protocols/purple/ft.c" ]
protocols/purple/ft.c
1
gst_asf_demux_process_ext_content_desc (GstASFDemux * demux, guint8 * data, break; } case ASF_DEMUX_DATA_TYPE_DWORD:{ guint uint_val = GST_READ_UINT32_LE (value); /* this is the track number */ g_value_init (&tag_value, G_TYPE_UINT); gst_asf_demux_process_ext_co...
gst_asf_demux_process_ext_content_desc (GstASFDemux * demux, guint8 * data, break; } case ASF_DEMUX_DATA_TYPE_DWORD:{ guint uint_val; if (value_len < 4) break; uint_val = GST_READ_UINT32_LE (value); /* this is the track number */ ...
CVE-2017-5847
{'CWE-125'}
2.9
{'https://github.com/GStreamer/gst-plugins-ugly/commit/d21017b52a585f145e8d62781bcc1c5fefc7ee37'}
nvd
The gst_asf_demux_process_ext_content_desc function in gst/asfdemux/gstasfdemux.c in gst-plugins-ugly in GStreamer allows remote attackers to cause a denial of service (out-of-bounds heap read) via vectors involving extended content descriptors.
2017-02-09
1
https://github.com/GStreamer/gst-plugins-ugly
https://github.com/GStreamer/gst-plugins-ugly/commit/d21017b52a585f145e8d62781bcc1c5fefc7ee37
d21017b52a585f145e8d62781bcc1c5fefc7ee37
SINGLE
['d21017b52a585f145e8d62781bcc1c5fefc7ee37']
{'dec880031d16f1ee4919a36f49298419246cf6a8'}
d21017b52a585f145e8d62781bcc1c5fefc7ee37
1
01/31/2017, 11:50:21
asfdemux: Check that we have enough data available before parsing bool/uint extended content descriptors https://bugzilla.gnome.org/show_bug.cgi?id=777955
Sebastian Dröge
null
{'additions': 12, 'deletions': 2, 'total': 14}
[ { "additions": 12, "changes": 14, "deletions": 2, "patch": "@@ -3439,7 +3439,12 @@ gst_asf_demux_process_ext_content_desc (GstASFDemux * demux, guint8 * data,\n break;\n }\n case ASF_DEMUX_DATA_TYPE_DWORD:{\n- guint uint_val = GST_READ_UINT32_LE (value);\n+ ...
c
CWE-125
[ "gst/asfdemux/gstasfdemux.c" ]
gst/asfdemux/gstasfdemux.c
1
def nav_path(request): path_parts.append(part) is_last = len(path_parts) == len(request.path_parts) item = _item(name=part, href=None) if not is_last or (is_dir and request.view_func is not view_directory): item.href = request.get_url(view_func=view_directory,
def nav_path(request): path_parts.append(part) is_last = len(path_parts) == len(request.path_parts) item = _item(name=request.server.escape(part), href=None) if not is_last or (is_dir and request.view_func is not view_directory): item.href = request.get_url(view_func=view_directory,
CVE-2017-5938
{'CWE-79'}
2.9
{'https://github.com/viewvc/viewvc/commit/9dcfc7daa4c940992920d3b2fbd317da20e44aad'}
nvd
Cross-site scripting (XSS) vulnerability in the nav_path function in lib/viewvc.py in ViewVC before 1.0.14 and 1.1.x before 1.1.26 allows remote attackers to inject arbitrary web script or HTML via the nav_data name.
2017-03-15
1
https://github.com/viewvc/viewvc
https://github.com/viewvc/viewvc/commit/9dcfc7daa4c940992920d3b2fbd317da20e44aad
9dcfc7daa4c940992920d3b2fbd317da20e44aad
SINGLE
['9dcfc7daa4c940992920d3b2fbd317da20e44aad']
{'8507aa4e745e4cf5cac811ccb6d2fbf768bb9cba'}
9dcfc7daa4c940992920d3b2fbd317da20e44aad
1
01/24/2017, 20:39:56
Escape some raw path data before handing off to templates * lib/viewvc.py (nav_path): Escape the 'name' property of navigation path components the same way we escape that of the 'root' path component. Reported by: Thomas Gerbet <thomas.gerbet@enalean.com>
C. Michael Pilato
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -980,7 +980,7 @@ def nav_path(request):\n path_parts.append(part)\n is_last = len(path_parts) == len(request.path_parts)\n \n- item = _item(name=part, href=None)\n+ item = _item(name=request.server.escape(part), href=None)\n ...
py
CWE-79
[ "lib/viewvc.py" ]
lib/viewvc.py
1
void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb) pktinfo->ipi_ifindex = 0; pktinfo->ipi_spec_dst.s_addr = 0; } skb_dst_drop(skb); } int ip_setsockopt(struct sock *sk, int level,
void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb) pktinfo->ipi_ifindex = 0; pktinfo->ipi_spec_dst.s_addr = 0; } /* We need to keep the dst for __ip_options_echo() * We could restrict the test to opt.ts_needtime || opt.srr, * but the following is good enough as IP options are not often use...
CVE-2017-5970
{'CWE-476'}
2.9
{'https://github.com/torvalds/linux/commit/34b2cef20f19c87999fff3da4071e66937db9644'}
nvd
The ipv4_pktinfo_prepare function in net/ipv4/ip_sockglue.c in the Linux kernel through 4.9.9 allows attackers to cause a denial of service (system crash) via (1) an application that makes crafted system calls or possibly (2) IPv4 traffic with invalid IP options.
2017-02-14
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/34b2cef20f19c87999fff3da4071e66937db9644
34b2cef20f19c87999fff3da4071e66937db9644
SINGLE
['34b2cef20f19c87999fff3da4071e66937db9644']
{'5fa8bbda38c668e56b0c6cdecced2eac2fe36dec'}
34b2cef20f19c87999fff3da4071e66937db9644
1
02/04/2017, 19:16:52
ipv4: keep skb->dst around in presence of IP options Andrey Konovalov got crashes in __ip_options_echo() when a NULL skb->dst is accessed. ipv4_pktinfo_prepare() should not drop the dst if (evil) IP options are present. We could refine the test to the presence of ts_needtime or srr, but IP options are not often used...
Eric Dumazet
null
{'additions': 8, 'deletions': 1, 'total': 9}
[ { "additions": 8, "changes": 9, "deletions": 1, "patch": "@@ -1238,7 +1238,14 @@ void ipv4_pktinfo_prepare(const struct sock *sk, struct sk_buff *skb)\n \t\tpktinfo->ipi_ifindex = 0;\n \t\tpktinfo->ipi_spec_dst.s_addr = 0;\n \t}\n-\tskb_dst_drop(skb);\n+\t/* We need to keep the dst for __ip_options_...
c
CWE-476
[ "net/ipv4/ip_sockglue.c" ]
net/ipv4/ip_sockglue.c
1
static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, */ release_sock(sk); current_timeo = schedule_timeout(current_timeo); BUG_ON(sk != asoc->base.sk); lock_sock(sk); *timeo_p = current_timeo;
static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, */ release_sock(sk); current_timeo = schedule_timeout(current_timeo); if (sk != asoc->base.sk) goto do_error; lock_sock(sk); *timeo_p = current_timeo;
CVE-2017-5986
{'CWE-617', 'CWE-362'}
6.9
{'https://github.com/torvalds/linux/commit/2dcab598484185dea7ec22219c76dcdd59e3cb90'}
nvd
Race condition in the sctp_wait_for_sndbuf function in net/sctp/socket.c in the Linux kernel before 4.9.11 allows local users to cause a denial of service (assertion failure and panic) via a multithreaded application that peels off an association in a certain buffer-full state.
2017-02-18
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2dcab598484185dea7ec22219c76dcdd59e3cb90
2dcab598484185dea7ec22219c76dcdd59e3cb90
SINGLE
['2dcab598484185dea7ec22219c76dcdd59e3cb90']
{'bd4ce941c8d5b862b2f83364be5dbe8fc8ab48f8'}
2dcab598484185dea7ec22219c76dcdd59e3cb90
1
02/06/2017, 20:10:31
sctp: avoid BUG_ON on sctp_wait_for_sndbuf Alexander Popov reported that an application may trigger a BUG_ON in sctp_wait_for_sndbuf if the socket tx buffer is full, a thread is waiting on it to queue more data and meanwhile another thread peels off the association being used by the first thread. This patch replaces ...
Marcelo Ricardo Leitner
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -7426,7 +7426,8 @@ static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p,\n \t\t */\n \t\trelease_sock(sk);\n \t\tcurrent_timeo = schedule_timeout(current_timeo);\n-\t\tBUG_ON(sk != asoc->base.sk);\n+\t\tif (sk != as...
c
CWE-362
[ "net/sctp/socket.c" ]
net/sctp/socket.c
1
static int perf_event_set_clock(struct perf_event *event, clockid_t clk_id) return 0; } /** * sys_perf_event_open - open a performance event, associate it to a task/cpu * SYSCALL_DEFINE5(perf_event_open, } if (move_group) { gctx = group_leader->ctx; mutex_lock_double(&gctx->mutex, &ctx->mutex); if (gctx->...
static int perf_event_set_clock(struct perf_event *event, clockid_t clk_id) return 0; } /* * Variation on perf_event_ctx_lock_nested(), except we take two context * mutexes. */ static struct perf_event_context * __perf_event_ctx_lock_double(struct perf_event *group_leader, struct perf_event_context *ctx) ...
CVE-2017-6001
{'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/321027c1fe77f892f4ea07846aeae08cefbbb290'}
nvd
Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent perf_event_open system calls for moving a software group into a hardware context. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-6786.
2017-02-18
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/321027c1fe77f892f4ea07846aeae08cefbbb290
321027c1fe77f892f4ea07846aeae08cefbbb290
SINGLE
['321027c1fe77f892f4ea07846aeae08cefbbb290']
{'63cae12bce9861cec309798d34701cf3da20bc71'}
321027c1fe77f892f4ea07846aeae08cefbbb290
1
01/11/2017, 20:09:50
perf/core: Fix concurrent sys_perf_event_open() vs. 'move_group' race Di Shen reported a race between two concurrent sys_perf_event_open() calls where both try and move the same pre-existing software group into a hardware context. The problem is exactly that described in commit: f63a8daa5812 ("perf: Fix event->ctx...
Peter Zijlstra
null
{'additions': 54, 'deletions': 4, 'total': 58}
[ { "additions": 54, "changes": 58, "deletions": 4, "patch": "@@ -9529,6 +9529,37 @@ static int perf_event_set_clock(struct perf_event *event, clockid_t clk_id)\n \treturn 0;\n }\n \n+/*\n+ * Variation on perf_event_ctx_lock_nested(), except we take two context\n+ * mutexes.\n+ */\n+static struct perf...
c
CWE-362
[ "kernel/events/core.c" ]
kernel/events/core.c
1
int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, if (inet_csk(sk)->icsk_af_ops->conn_request(sk, skb) < 0) return 1; goto discard; } if (dh->dccph_type == DCCP_PKT_RESET) goto discard;
int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, if (inet_csk(sk)->icsk_af_ops->conn_request(sk, skb) < 0) return 1; consume_skb(skb); return 0; } if (dh->dccph_type == DCCP_PKT_RESET) goto discard;
CVE-2017-6074
{'CWE-415'}
10
{'https://github.com/torvalds/linux/commit/5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4'}
nvd
The dccp_rcv_state_process function in net/dccp/input.c in the Linux kernel through 4.9.11 mishandles DCCP_PKT_REQUEST packet data structures in the LISTEN state, which allows local users to obtain root privileges or cause a denial of service (double free) via an application that makes an IPV6_RECVPKTINFO setsockopt sy...
2017-02-18
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4
5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4
SINGLE
['5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4']
{'785f35775d968e0f45231b754e945fcb3ed6bded'}
5edabca9d4cff7f1f2b68f0bac55ef99d9798ba4
1
02/16/2017, 16:22:46
dccp: fix freeing skb too early for IPV6_RECVPKTINFO In the current DCCP implementation an skb for a DCCP_PKT_REQUEST packet is forcibly freed via __kfree_skb in dccp_rcv_state_process if dccp_v6_conn_request successfully returns. However, if IPV6_RECVPKTINFO is set on a socket, the address of the skb is saved to ire...
Andrey Konovalov
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -606,7 +606,8 @@ int dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb,\n \t\t\tif (inet_csk(sk)->icsk_af_ops->conn_request(sk,\n \t\t\t\t\t\t\t\t skb) < 0)\n \t\t\t\treturn 1;\n-\t\t\tgoto discard;\n+\t\t\tconsume_skb(skb);\n...
c
CWE-415
[ "net/dccp/input.c" ]
net/dccp/input.c
1
static void *load_bytes(RBinFile *arch, const ut8 *buf, ut64 sz, ut64 loaddr, Sd return NULL; } RBuffer *tbuf = r_buf_new (); r_buf_set_bytes (tbuf, buf, sz); struct r_bin_bflt_obj *res = r_bin_bflt_new_buf (tbuf); r_buf_free (tbuf); static void __patch_reloc(RBuffer *buf, ut32 addr_to_patch, ut32 data_offset) ...
static void *load_bytes(RBinFile *arch, const ut8 *buf, ut64 sz, ut64 loaddr, Sd return NULL; } RBuffer *tbuf = r_buf_new (); if (!tbuf) { return NULL; } r_buf_set_bytes (tbuf, buf, sz); struct r_bin_bflt_obj *res = r_bin_bflt_new_buf (tbuf); r_buf_free (tbuf); static void __patch_reloc(RBuffer *buf, ut32 a...
CVE-2017-6194
{'CWE-119'}
6.4
{'https://github.com/radare/radare2/commit/72794dc3523bbd5bb370de3c5857cb736c387e18'}
nvd
The relocs function in libr/bin/p/bin_bflt.c in radare2 1.2.1 allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted binary file.
2017-04-03
1
https://github.com/radare/radare2
https://github.com/radare/radare2/commit/72794dc3523bbd5bb370de3c5857cb736c387e18
72794dc3523bbd5bb370de3c5857cb736c387e18
SINGLE
['72794dc3523bbd5bb370de3c5857cb736c387e18']
{'ee59ad6d149dd51b6db5b624b559aaa4116a50b4'}
72794dc3523bbd5bb370de3c5857cb736c387e18
1
02/21/2017, 20:53:59
Fix #6829 oob write because of using wrong struct
alvarofe
null
{'additions': 7, 'deletions': 2, 'total': 9}
[ { "additions": 7, "changes": 9, "deletions": 2, "patch": "@@ -12,6 +12,9 @@ static void *load_bytes(RBinFile *arch, const ut8 *buf, ut64 sz, ut64 loaddr, Sd\n \t\treturn NULL;\n \t}\n \tRBuffer *tbuf = r_buf_new ();\n+\tif (!tbuf) {\n+\t\treturn NULL;\n+\t}\n \tr_buf_set_bytes (tbuf, buf, sz);\n \ts...
c
CWE-119
[ "libr/bin/p/bin_bflt.c" ]
libr/bin/p/bin_bflt.c
1
mapi_attr_read (size_t len, unsigned char *buf) uint32 i,j; assert(len > 4); uint32 num_properties = GETINT32(buf+idx); MAPI_Attr** attrs = CHECKED_XMALLOC (MAPI_Attr*, (num_properties + 1)); idx += 4; mapi_attr_read (size_t len, unsigned char *buf) /* read the data into a buffer */ a-...
mapi_attr_read (size_t len, unsigned char *buf) uint32 i,j; assert(len > 4); uint32 num_properties = GETINT32(buf+idx); assert((num_properties+1) != 0); MAPI_Attr** attrs = CHECKED_XMALLOC (MAPI_Attr*, (num_properties + 1)); idx += 4; mapi_attr_read (size_t len, unsigned char *buf) /* re...
CVE-2017-6307
{'CWE-787'}
6.4
{'https://github.com/verdammelt/tnef/commit/1a17af1ed0c791aec44dbdc9eab91218cc1e335a'}
nvd
An issue was discovered in tnef before 1.4.13. Two OOB Writes have been identified in src/mapi_attr.c:mapi_attr_read(). These might lead to invalid read and write operations, controlled by an attacker.
2017-02-24
1
https://github.com/verdammelt/tnef
https://github.com/verdammelt/tnef/commit/1a17af1ed0c791aec44dbdc9eab91218cc1e335a
1a17af1ed0c791aec44dbdc9eab91218cc1e335a
SINGLE
['1a17af1ed0c791aec44dbdc9eab91218cc1e335a']
{'1016eae06395c1821f41fa9e833e7625a6022061'}
1a17af1ed0c791aec44dbdc9eab91218cc1e335a
1
02/19/2017, 18:47:22
Use asserts on lengths to prevent invalid reads/writes.
Eric Sesterhenn
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -174,6 +174,7 @@ mapi_attr_read (size_t len, unsigned char *buf)\n uint32 i,j;\n assert(len > 4);\n uint32 num_properties = GETINT32(buf+idx);\n+ assert((num_properties+1) != 0);\n MAPI_Attr** attrs = CHECKED_XMALLOC (MA...
c
CWE-787
[ "src/mapi_attr.c" ]
src/mapi_attr.c
1
static void dex_parse_debug_item(RBinFile *binfile, RBinDexObj *bin, ut64 source_file_idx = c->source_file; RList *params, *debug_positions, *emitted_debug_locals = NULL; bool keep = true; if (argReg >= regsz) { //return; // this return breaks tests } p4 = r_uleb128 (p4, p4_end - p4, &line_start); p4 = r_ule...
static void dex_parse_debug_item(RBinFile *binfile, RBinDexObj *bin, ut64 source_file_idx = c->source_file; RList *params, *debug_positions, *emitted_debug_locals = NULL; bool keep = true; if (argReg > regsz) { return; // this return breaks tests } p4 = r_uleb128 (p4, p4_end - p4, &line_start); p4 = r_uleb12...
CVE-2017-6319
{'CWE-119'}
6.4
{'https://github.com/radare/radare2/commit/ad55822430a03fe075221b543efb434567e9e431'}
nvd
The dex_parse_debug_item function in libr/bin/p/bin_dex.c in radare2 1.2.1 allows remote attackers to cause a denial of service (buffer overflow and application crash) or possibly have unspecified other impact via a crafted DEX file.
2017-03-02
1
https://github.com/radare/radare2
https://github.com/radare/radare2/commit/ad55822430a03fe075221b543efb434567e9e431
ad55822430a03fe075221b543efb434567e9e431
SINGLE
['ad55822430a03fe075221b543efb434567e9e431']
{'70bd2f271145f8ad435d2e9d0a3038de13ac08e3'}
ad55822430a03fe075221b543efb434567e9e431
1
02/23/2017, 18:17:28
Fix #6836 - oob write in dex
pancake
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -309,8 +309,8 @@ static void dex_parse_debug_item(RBinFile *binfile, RBinDexObj *bin,\n \tut64 source_file_idx = c->source_file;\n \tRList *params, *debug_positions, *emitted_debug_locals = NULL; \n \tbool keep = true;\n-\tif (argReg >= re...
c
CWE-119
[ "libr/bin/p/bin_dex.c" ]
libr/bin/p/bin_dex.c
1
static void fanout_release_data(struct packet_fanout *f) static int fanout_add(struct sock *sk, u16 id, u16 type_flags) { struct packet_sock *po = pkt_sk(sk); struct packet_fanout *f, *match; u8 type = type_flags & 0xff; static int fanout_add(struct sock *sk, u16 id, u16 type_flags) return -EINVAL; } if (!po-...
static void fanout_release_data(struct packet_fanout *f) static int fanout_add(struct sock *sk, u16 id, u16 type_flags) { struct packet_rollover *rollover = NULL; struct packet_sock *po = pkt_sk(sk); struct packet_fanout *f, *match; u8 type = type_flags & 0xff; static int fanout_add(struct sock *sk, u16 id, u16 t...
CVE-2017-6346
{'CWE-416', 'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/d199fab63c11998a602205f7ee7ff7c05c97164b'}
nvd
Race condition in net/packet/af_packet.c in the Linux kernel before 4.9.13 allows local users to cause a denial of service (use-after-free) or possibly have unspecified other impact via a multithreaded application that makes PACKET_FANOUT setsockopt system calls.
2017-03-01
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/d199fab63c11998a602205f7ee7ff7c05c97164b
d199fab63c11998a602205f7ee7ff7c05c97164b
SINGLE
['d199fab63c11998a602205f7ee7ff7c05c97164b']
{'f39f0d1e1e93145a0e91d9a7a639c42fd037ecc3'}
d199fab63c11998a602205f7ee7ff7c05c97164b
1
02/14/2017, 17:03:51
packet: fix races in fanout_add() Multiple threads can call fanout_add() at the same time. We need to grab fanout_mutex earlier to avoid races that could lead to one thread freeing po->rollover that was set by another thread. Do the same in fanout_release(), for peace of mind, and to help us finding lockdep issues e...
Eric Dumazet
null
{'additions': 30, 'deletions': 25, 'total': 55}
[ { "additions": 30, "changes": 55, "deletions": 25, "patch": "@@ -1619,6 +1619,7 @@ static void fanout_release_data(struct packet_fanout *f)\n \n static int fanout_add(struct sock *sk, u16 id, u16 type_flags)\n {\n+\tstruct packet_rollover *rollover = NULL;\n \tstruct packet_sock *po = pkt_sk(sk);\n ...
c
CWE-416
[ "net/packet/af_packet.c" ]
net/packet/af_packet.c
1
static void fanout_release_data(struct packet_fanout *f) static int fanout_add(struct sock *sk, u16 id, u16 type_flags) { struct packet_sock *po = pkt_sk(sk); struct packet_fanout *f, *match; u8 type = type_flags & 0xff; static int fanout_add(struct sock *sk, u16 id, u16 type_flags) return -EINVAL; } if (!po-...
static void fanout_release_data(struct packet_fanout *f) static int fanout_add(struct sock *sk, u16 id, u16 type_flags) { struct packet_rollover *rollover = NULL; struct packet_sock *po = pkt_sk(sk); struct packet_fanout *f, *match; u8 type = type_flags & 0xff; static int fanout_add(struct sock *sk, u16 id, u16 t...
CVE-2017-6346
{'CWE-416', 'CWE-362'}
10
{'https://github.com/torvalds/linux/commit/d199fab63c11998a602205f7ee7ff7c05c97164b'}
nvd
Race condition in net/packet/af_packet.c in the Linux kernel before 4.9.13 allows local users to cause a denial of service (use-after-free) or possibly have unspecified other impact via a multithreaded application that makes PACKET_FANOUT setsockopt system calls.
2017-03-01
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/d199fab63c11998a602205f7ee7ff7c05c97164b
d199fab63c11998a602205f7ee7ff7c05c97164b
SINGLE
['d199fab63c11998a602205f7ee7ff7c05c97164b']
{'f39f0d1e1e93145a0e91d9a7a639c42fd037ecc3'}
d199fab63c11998a602205f7ee7ff7c05c97164b
1
02/14/2017, 17:03:51
packet: fix races in fanout_add() Multiple threads can call fanout_add() at the same time. We need to grab fanout_mutex earlier to avoid races that could lead to one thread freeing po->rollover that was set by another thread. Do the same in fanout_release(), for peace of mind, and to help us finding lockdep issues e...
Eric Dumazet
null
{'additions': 30, 'deletions': 25, 'total': 55}
[ { "additions": 30, "changes": 55, "deletions": 25, "patch": "@@ -1619,6 +1619,7 @@ static void fanout_release_data(struct packet_fanout *f)\n \n static int fanout_add(struct sock *sk, u16 id, u16 type_flags)\n {\n+\tstruct packet_rollover *rollover = NULL;\n \tstruct packet_sock *po = pkt_sk(sk);\n ...
c
CWE-362
[ "net/packet/af_packet.c" ]
net/packet/af_packet.c
1
static void ip_cmsg_recv_checksum(struct msghdr *msg, struct sk_buff *skb, if (skb->ip_summed != CHECKSUM_COMPLETE) return; if (offset != 0) csum = csum_sub(csum, csum_partial(skb_transport_header(skb) + tlen, offset, 0)); put_cmsg(msg, SOL_IP, IP_CHECKSUM, sizeof(__wsum), &csum); }
static void ip_cmsg_recv_checksum(struct msghdr *msg, struct sk_buff *skb, if (skb->ip_summed != CHECKSUM_COMPLETE) return; if (offset != 0) { int tend_off = skb_transport_offset(skb) + tlen; csum = csum_sub(csum, skb_checksum(skb, tend_off, offset, 0)); } put_cmsg(msg, SOL_IP, IP_CHECKSUM, sizeof(__wsum),...
CVE-2017-6347
{'CWE-125'}
10
{'https://github.com/torvalds/linux/commit/ca4ef4574f1ee5252e2cd365f8f5d5bafd048f32'}
nvd
The ip_cmsg_recv_checksum function in net/ipv4/ip_sockglue.c in the Linux kernel before 4.10.1 has incorrect expectations about skb data layout, which allows local users to cause a denial of service (buffer over-read) or possibly have unspecified other impact via crafted system calls, as demonstrated by use of the MSG_...
2017-03-01
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/ca4ef4574f1ee5252e2cd365f8f5d5bafd048f32
ca4ef4574f1ee5252e2cd365f8f5d5bafd048f32
SINGLE
['ca4ef4574f1ee5252e2cd365f8f5d5bafd048f32']
{'8dcd81a993f4f65d22dfecb4360204b428c36cff'}
ca4ef4574f1ee5252e2cd365f8f5d5bafd048f32
1
02/21/2017, 08:33:18
ip: fix IP_CHECKSUM handling The skbs processed by ip_cmsg_recv() are not guaranteed to be linear e.g. when sending UDP packets over loopback with MSGMORE. Using csum_partial() on [potentially] the whole skb len is dangerous; instead be on the safe side and use skb_checksum(). Thanks to syzkaller team to detect the i...
Paolo Abeni
null
{'additions': 4, 'deletions': 4, 'total': 8}
[ { "additions": 4, "changes": 8, "deletions": 4, "patch": "@@ -116,10 +116,10 @@ static void ip_cmsg_recv_checksum(struct msghdr *msg, struct sk_buff *skb,\n \tif (skb->ip_summed != CHECKSUM_COMPLETE)\n \t\treturn;\n \n-\tif (offset != 0)\n-\t\tcsum = csum_sub(csum,\n-\t\t\t\tcsum_partial(skb_transpo...
c
CWE-125
[ "net/ipv4/ip_sockglue.c" ]
net/ipv4/ip_sockglue.c
1
int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp) if (!asoc) return -EINVAL; /* An association cannot be branched off from an already peeled-off * socket, nor is this supported for tcp style sockets. */ static int sctp_wait_for_sndbuf(struct sctp_association *asoc, long *timeo_p, ...
int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp) if (!asoc) return -EINVAL; /* If there is a thread waiting on more sndbuf space for * sending on this asoc, it cannot be peeled. */ if (waitqueue_active(&asoc->wait)) return -EBUSY; /* An association cannot be branched off from ...
CVE-2017-6353
{'CWE-415'}
6.9
{'https://github.com/torvalds/linux/commit/dfcb9f4f99f1e9a49e43398a7bfbf56927544af1'}
nvd
net/sctp/socket.c in the Linux kernel through 4.10.1 does not properly restrict association peel-off operations during certain wait states, which allows local users to cause a denial of service (invalid unlock and double free) via a multithreaded application. NOTE: this vulnerability exists because of an incorrect fix...
2017-03-01
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/dfcb9f4f99f1e9a49e43398a7bfbf56927544af1
dfcb9f4f99f1e9a49e43398a7bfbf56927544af1
SINGLE
['dfcb9f4f99f1e9a49e43398a7bfbf56927544af1']
{'f1ef09fde17f9b77ca1435a5b53a28b203afb81c'}
dfcb9f4f99f1e9a49e43398a7bfbf56927544af1
1
02/23/2017, 12:31:18
sctp: deny peeloff operation on asocs with threads sleeping on it commit 2dcab5984841 ("sctp: avoid BUG_ON on sctp_wait_for_sndbuf") attempted to avoid a BUG_ON call when the association being used for a sendmsg() is blocked waiting for more sndbuf and another thread did a peeloff operation on such asoc, moving it to ...
Marcelo Ricardo Leitner
null
{'additions': 6, 'deletions': 2, 'total': 8}
[ { "additions": 6, "changes": 8, "deletions": 2, "patch": "@@ -4862,6 +4862,12 @@ int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp)\n \tif (!asoc)\n \t\treturn -EINVAL;\n \n+\t/* If there is a thread waiting on more sndbuf space for\n+\t * sending on this asoc, it cannot be...
c
CWE-415
[ "net/sctp/socket.c" ]
net/sctp/socket.c
1
<script src="/jquery.html5uploader.min.js"></script> <script src="/index.js"></script> <?php if(isset($_GET["url"])){ echo '<script> document.querySelector("#autoSearch").checked = true; document.querySelector("#messageText").classList.remove("error");
<script src="/jquery.html5uploader.min.js"></script> <script src="/index.js"></script> <?php if(isset($_GET["url"]) && filter_var($_GET["url"], FILTER_VALIDATE_URL)){ echo '<script> document.querySelector("#autoSearch").checked = true; document.querySelector("#messageText").classList.remove("error");
CVE-2017-6390
{'CWE-79'}
2.9
{'https://github.com/soruly/whatanime.ga/commit/c334dd8499a681587dd4199e90b0aa0eba814c1d'}
nvd
An issue was discovered in whatanime.ga before c334dd8499a681587dd4199e90b0aa0eba814c1d. The vulnerability exists due to insufficient filtration of user-supplied data passed to the "whatanime.ga-master/index.php" URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable...
2017-03-02
1
https://github.com/soruly/whatanime.ga
https://github.com/soruly/whatanime.ga/commit/c334dd8499a681587dd4199e90b0aa0eba814c1d
c334dd8499a681587dd4199e90b0aa0eba814c1d
SINGLE
['c334dd8499a681587dd4199e90b0aa0eba814c1d']
{'34c7155c6fd82b7746fe8b56eb89bf278553c421'}
c334dd8499a681587dd4199e90b0aa0eba814c1d
1
02/28/2017, 03:41:22
Fix #8 XSS issue
soruly
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -121,7 +121,7 @@\n <script src=\"/jquery.html5uploader.min.js\"></script>\r\n <script src=\"/index.js\"></script>\r\n <?php\r\n-if(isset($_GET[\"url\"])){\r\n+if(isset($_GET[\"url\"]) && filter_var($_GET[\"url\"], FILTER_VALIDATE_URL)){\r\...
php
CWE-79
[ "index.php" ]
index.php
1
static void dex_parse_debug_item(RBinFile *binfile, RBinDexObj *bin, --parameters_size; } ut8 opcode = *(p4++) & 0xff; while (keep) { switch (opcode) {
static void dex_parse_debug_item(RBinFile *binfile, RBinDexObj *bin, --parameters_size; } if (p4 <= 0) { return; } ut8 opcode = *(p4++) & 0xff; while (keep) { switch (opcode) {
CVE-2017-6415
{'CWE-476'}
2.9
{'https://github.com/radareorg/radare2/commit/68338b71a563b24e62617bb629059adc0c94b230'}
nvd
The dex_parse_debug_item function in libr/bin/p/bin_dex.c in radare2 1.2.1 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted DEX file.
2017-03-02
1
https://github.com/radareorg/radare2
https://github.com/radareorg/radare2/commit/68338b71a563b24e62617bb629059adc0c94b230
68338b71a563b24e62617bb629059adc0c94b230
SINGLE
['68338b71a563b24e62617bb629059adc0c94b230']
{'5af263c821f8d8ba5aea7c542b965971f9c872ff'}
68338b71a563b24e62617bb629059adc0c94b230
1
03/01/2017, 11:39:11
fix #6872
h4ng3r
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -377,6 +377,9 @@ static void dex_parse_debug_item(RBinFile *binfile, RBinDexObj *bin,\n \t\t--parameters_size;\n \t}\n \n+\tif (p4 <= 0) {\n+\t\treturn;\n+\t}\n \tut8 opcode = *(p4++) & 0xff;\n \twhile (keep) {\n \t\tswitch (opcode) {", ...
c
CWE-476
[ "libr/bin/p/bin_dex.c" ]
libr/bin/p/bin_dex.c
1
messageAddArgument(message *m, const char *arg) * FIXME: Bounce message handling is corrupting the in * core copies of headers */ cli_dbgmsg("Possible data corruption fixed\n"); p[8] = '='; } else { if(*p) cli_dbgmsg("messageAddArgument, '%s' contains no '='\n", p); messageFindArgument(const...
messageAddArgument(message *m, const char *arg) * FIXME: Bounce message handling is corrupting the in * core copies of headers */ if (strlen(p) > 8) { cli_dbgmsg("Possible data corruption fixed\n"); p[8] = '='; ...
CVE-2017-6418
{'CWE-125'}
2.9
{'https://github.com/vrtadmin/clamav-devel/commit/586a5180287262070637c8943f2f7efd652e4a2c'}
nvd
libclamav/message.c in ClamAV 0.99.2 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted e-mail message.
2017-08-07
1
https://github.com/vrtadmin/clamav-devel
https://github.com/vrtadmin/clamav-devel/commit/586a5180287262070637c8943f2f7efd652e4a2c
586a5180287262070637c8943f2f7efd652e4a2c
SINGLE
['586a5180287262070637c8943f2f7efd652e4a2c']
{'631f3e1165ed518a99e0f12f1a02a345feb2aea9'}
586a5180287262070637c8943f2f7efd652e4a2c
1
03/02/2017, 19:41:20
bb11797 - fix invalid read in fuzzed mail file.
Steven Morgan
null
{'additions': 7, 'deletions': 3, 'total': 10}
[ { "additions": 7, "changes": 10, "deletions": 3, "patch": "@@ -445,8 +445,12 @@ messageAddArgument(message *m, const char *arg)\n \t\t\t * FIXME: Bounce message handling is corrupting the in\n \t\t\t * core copies of headers\n \t\t\t */\n-\t\t\tcli_dbgmsg(\"Possible data corruption fixed\\n\");\n-\t...
c
CWE-125
[ "libclamav/message.c" ]
libclamav/message.c
1
int wwunpack(uint8_t *exe, uint32_t exesz, uint8_t *wwsect, struct cli_exe_secti return CL_EFORMAT; exe[pe+6]=(uint8_t)scount; exe[pe+7]=(uint8_t)(scount>>8); cli_writeint32(&exe[pe+0x28], cli_readint32(wwsect+0x295)+sects[scount].rva+0x299); cli_writeint32(&exe[pe+0x50], cli_readint32(&exe[pe+0x50])-...
int wwunpack(uint8_t *exe, uint32_t exesz, uint8_t *wwsect, struct cli_exe_secti return CL_EFORMAT; exe[pe+6]=(uint8_t)scount; exe[pe+7]=(uint8_t)(scount>>8); if (!CLI_ISCONTAINED(wwsect, sects[scount].rsz, wwsect+0x295, 4) || !CLI_ISCONTAINED(wwsect, sects[scount].rsz, wwsect+0x295+sects[scount]....
CVE-2017-6420
{'CWE-416'}
2.9
{'https://github.com/vrtadmin/clamav-devel/commit/dfc00cd3301a42b571454b51a6102eecf58407bc'}
nvd
The wwunpack function in libclamav/wwunpack.c in ClamAV 0.99.2 allows remote attackers to cause a denial of service (use-after-free) via a crafted PE file with WWPack compression.
2017-08-07
1
https://github.com/vrtadmin/clamav-devel
https://github.com/vrtadmin/clamav-devel/commit/dfc00cd3301a42b571454b51a6102eecf58407bc
dfc00cd3301a42b571454b51a6102eecf58407bc
SINGLE
['dfc00cd3301a42b571454b51a6102eecf58407bc']
{'586a5180287262070637c8943f2f7efd652e4a2c'}
dfc00cd3301a42b571454b51a6102eecf58407bc
1
03/03/2017, 18:56:28
bb19798 - fix out of bound memory access for crafted wwunpack file.
Steven Morgan
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -226,6 +226,12 @@ int wwunpack(uint8_t *exe, uint32_t exesz, uint8_t *wwsect, struct cli_exe_secti\n \treturn CL_EFORMAT;\n exe[pe+6]=(uint8_t)scount;\n exe[pe+7]=(uint8_t)(scount>>8);\n+ if (!CLI_ISCONTAINED(wwsect, sects[scoun...
c
CWE-416
[ "libclamav/wwunpack.c" ]
libclamav/wwunpack.c
1
static plist_t parse_string_node(const char **bnode, uint64_t size) data->type = PLIST_STRING; data->strval = (char *) malloc(sizeof(char) * (size + 1)); memcpy(data->strval, *bnode, size); data->strval[size] = '\0'; data->length = strlen(data->strval);
static plist_t parse_string_node(const char **bnode, uint64_t size) data->type = PLIST_STRING; data->strval = (char *) malloc(sizeof(char) * (size + 1)); if (!data->strval) { plist_free_data(data); PLIST_BIN_ERR("%s: Could not allocate %" PRIu64 " bytes\n", __func__, sizeof(char) * (size +...
CVE-2017-6435
{'CWE-119'}
2.9
{'https://github.com/libimobiledevice/libplist/commit/fbd8494d5e4e46bf2e90cb6116903e404374fb56'}
nvd
The parse_string_node function in bplist.c in libimobiledevice libplist 1.12 allows local users to cause a denial of service (memory corruption) via a crafted plist file.
2017-03-15
1
https://github.com/libimobiledevice/libplist
https://github.com/libimobiledevice/libplist/commit/fbd8494d5e4e46bf2e90cb6116903e404374fb56
fbd8494d5e4e46bf2e90cb6116903e404374fb56
SINGLE
['fbd8494d5e4e46bf2e90cb6116903e404374fb56']
{'3a5520ccce42ac145794f2195cc60e8ae855a8cb'}
fbd8494d5e4e46bf2e90cb6116903e404374fb56
1
02/07/2017, 11:43:27
bplist: Make sure to bail out if malloc() fails in parse_string_node() Credit to Wang Junjie <zhunkibatu@gmail.com> (#93)
Nikias Bassen
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -289,6 +289,11 @@ static plist_t parse_string_node(const char **bnode, uint64_t size)\n \n data->type = PLIST_STRING;\n data->strval = (char *) malloc(sizeof(char) * (size + 1));\n+ if (!data->strval) {\n+ plist_free_data...
c
CWE-119
[ "src/bplist.c" ]
src/bplist.c
1
static plist_t parse_bin_node(struct bplist_data *bplist, const char** object) return parse_date_node(object, size); case BPLIST_DATA: if (*object + size > bplist->offset_table) { PLIST_BIN_ERR("%s: BPLIST_DATA data bytes point outside of valid range\n", __func__); return N...
static plist_t parse_bin_node(struct bplist_data *bplist, const char** object) return parse_date_node(object, size); case BPLIST_DATA: if (*object + size < *object || *object + size > bplist->offset_table) { PLIST_BIN_ERR("%s: BPLIST_DATA data bytes point outside of valid range\n", __f...
CVE-2017-6436
{'CWE-20', 'CWE-119'}
2.9
{'https://github.com/libimobiledevice/libplist/commit/32ee5213fe64f1e10ec76c1ee861ee6f233120dd'}
nvd
The parse_string_node function in bplist.c in libimobiledevice libplist 1.12 allows local users to cause a denial of service (memory allocation error) via a crafted plist file.
2017-03-15
1
https://github.com/libimobiledevice/libplist
https://github.com/libimobiledevice/libplist/commit/32ee5213fe64f1e10ec76c1ee861ee6f233120dd
32ee5213fe64f1e10ec76c1ee861ee6f233120dd
SINGLE
['32ee5213fe64f1e10ec76c1ee861ee6f233120dd']
{'72f7cf803635a127c63bcd37ab35ced28636410a'}
32ee5213fe64f1e10ec76c1ee861ee6f233120dd
1
02/10/2017, 12:42:46
bplist: Fix data range check for string/data/dict/array nodes Passing a size of 0xFFFFFFFFFFFFFFFF to parse_string_node() might result in a memcpy with a size of -1, leading to undefined behavior. This commit makes sure that the actual node data (which depends on the size) is in the range start_of_object..start_of_obj...
Nikias Bassen
null
{'additions': 6, 'deletions': 6, 'total': 12}
[ { "additions": 6, "changes": 12, "deletions": 6, "patch": "@@ -654,14 +654,14 @@ static plist_t parse_bin_node(struct bplist_data *bplist, const char** object)\n return parse_date_node(object, size);\n \n case BPLIST_DATA:\n- if (*object + size > bplist->offset_table) {\n+ ...
c
CWE-20
[ "src/bplist.c" ]
src/bplist.c
1
static plist_t parse_bin_node(struct bplist_data *bplist, const char** object) return parse_date_node(object, size); case BPLIST_DATA: if (*object + size > bplist->offset_table) { PLIST_BIN_ERR("%s: BPLIST_DATA data bytes point outside of valid range\n", __func__); return N...
static plist_t parse_bin_node(struct bplist_data *bplist, const char** object) return parse_date_node(object, size); case BPLIST_DATA: if (*object + size < *object || *object + size > bplist->offset_table) { PLIST_BIN_ERR("%s: BPLIST_DATA data bytes point outside of valid range\n", __f...
CVE-2017-6436
{'CWE-20', 'CWE-119'}
2.9
{'https://github.com/libimobiledevice/libplist/commit/32ee5213fe64f1e10ec76c1ee861ee6f233120dd'}
nvd
The parse_string_node function in bplist.c in libimobiledevice libplist 1.12 allows local users to cause a denial of service (memory allocation error) via a crafted plist file.
2017-03-15
1
https://github.com/libimobiledevice/libplist
https://github.com/libimobiledevice/libplist/commit/32ee5213fe64f1e10ec76c1ee861ee6f233120dd
32ee5213fe64f1e10ec76c1ee861ee6f233120dd
SINGLE
['32ee5213fe64f1e10ec76c1ee861ee6f233120dd']
{'72f7cf803635a127c63bcd37ab35ced28636410a'}
32ee5213fe64f1e10ec76c1ee861ee6f233120dd
1
02/10/2017, 12:42:46
bplist: Fix data range check for string/data/dict/array nodes Passing a size of 0xFFFFFFFFFFFFFFFF to parse_string_node() might result in a memcpy with a size of -1, leading to undefined behavior. This commit makes sure that the actual node data (which depends on the size) is in the range start_of_object..start_of_obj...
Nikias Bassen
null
{'additions': 6, 'deletions': 6, 'total': 12}
[ { "additions": 6, "changes": 12, "deletions": 6, "patch": "@@ -654,14 +654,14 @@ static plist_t parse_bin_node(struct bplist_data *bplist, const char** object)\n return parse_date_node(object, size);\n \n case BPLIST_DATA:\n- if (*object + size > bplist->offset_table) {\n+ ...
c
CWE-119
[ "src/bplist.c" ]
src/bplist.c
1
static int dalvik_disassemble (RAsm *a, RAsmOp *op, const ut8 *buf, int len) { { unsigned short array_size = buf[2] | (buf[3] << 8); int first_key = buf[4] | (buf[5] << 8) | (buf[6] << 16) | (buf[7] << 24); sprintf (op->buf_asm, "packed-switch-payload %d, %d", array_size, first_key); size = 8; p...
static int dalvik_disassemble (RAsm *a, RAsmOp *op, const ut8 *buf, int len) { { unsigned short array_size = buf[2] | (buf[3] << 8); int first_key = buf[4] | (buf[5] << 8) | (buf[6] << 16) | (buf[7] << 24); snprintf (op->buf_asm, sizeof(op->buf_asm), "packed-switch-payload %d, %d", array_size, first_key...
CVE-2017-6448
{'CWE-119'}
6.4
{'https://github.com/radare/radare2/commit/f41e941341e44aa86edd4483c4487ec09a074257'}
nvd
The dalvik_disassemble function in libr/asm/p/asm_dalvik.c in radare2 1.2.1 allows remote attackers to cause a denial of service (stack-based buffer overflow and application crash) or possibly have unspecified other impact via a crafted DEX file.
2017-04-03
1
https://github.com/radare/radare2
https://github.com/radare/radare2/commit/f41e941341e44aa86edd4483c4487ec09a074257
f41e941341e44aa86edd4483c4487ec09a074257
SINGLE
['f41e941341e44aa86edd4483c4487ec09a074257']
{'3cc86045837f32a1059a77d3553c10e19b4038a4'}
f41e941341e44aa86edd4483c4487ec09a074257
1
03/02/2017, 19:16:22
Fix #6885 - oob write in dalvik_disassemble
h4ng3r
null
{'additions': 59, 'deletions': 59, 'total': 118}
[ { "additions": 59, "changes": 118, "deletions": 59, "patch": "@@ -26,7 +26,7 @@ static int dalvik_disassemble (RAsm *a, RAsmOp *op, const ut8 *buf, int len) {\n \t\t\t{\n \t\t\t\tunsigned short array_size = buf[2] | (buf[3] << 8);\n \t\t\t\tint first_key = buf[4] | (buf[5] << 8) | (buf[6] << 16) | (...
c
CWE-119
[ "libr/asm/p/asm_dalvik.c" ]
libr/asm/p/asm_dalvik.c
1
static MagickBooleanType ReadPSDChannel(Image *image, } mask=CloneImage(image,layer_info->mask.page.width, layer_info->mask.page.height,MagickFalse,exception); mask->matte=MagickFalse; channel_image=mask; } offset=TellBlob(image);
static MagickBooleanType ReadPSDChannel(Image *image, } mask=CloneImage(image,layer_info->mask.page.width, layer_info->mask.page.height,MagickFalse,exception); if (mask != (Image *) NULL) { mask->matte=MagickFalse; channel_image=mask; } } offset=Tell...
CVE-2017-6497
{'CWE-476'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/7f2dc7a1afc067d0c89f12c82bcdec0445fb1b94'}
nvd
An issue was discovered in ImageMagick 6.9.7. A specially crafted psd file could lead to a NULL pointer dereference (thus, a DoS).
2017-03-06
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/7f2dc7a1afc067d0c89f12c82bcdec0445fb1b94
7f2dc7a1afc067d0c89f12c82bcdec0445fb1b94
SINGLE
['7f2dc7a1afc067d0c89f12c82bcdec0445fb1b94']
{'9c52e5bf7ed16476cb633b7114b36ff02801afcc'}
7f2dc7a1afc067d0c89f12c82bcdec0445fb1b94
1
02/11/2017, 09:31:39
Added missing null check.
Dirk Lemstra
{'com_1': {'author': 'setharnold', 'datetime': '03/07/2017, 01:39:26', 'body': 'If CloneImage returns NULL here should the rest of the computation even continue?\r\n\r\nThanks'}, 'com_2': {'author': 'dlemstra', 'datetime': '03/07/2017, 02:36:55', 'body': 'Fair point. Decided to ignore the mask when it could not be allo...
{'additions': 5, 'deletions': 2, 'total': 7}
[ { "additions": 5, "changes": 7, "deletions": 2, "patch": "@@ -1284,8 +1284,11 @@ static MagickBooleanType ReadPSDChannel(Image *image,\n }\n mask=CloneImage(image,layer_info->mask.page.width,\n layer_info->mask.page.height,MagickFalse,exception);\n- mask->matte=MagickFalse;\...
c
CWE-476
[ "coders/psd.c" ]
coders/psd.c
1
static MagickBooleanType WriteTGAImage(const ImageInfo *image_info,Image *image) compression; const char *value; const double static MagickBooleanType WriteTGAImage(const ImageInfo *image_info,Image *image) compression=image_info->compression; range=GetQuantumRange(5UL); tga_info.id_length=0; v...
static MagickBooleanType WriteTGAImage(const ImageInfo *image_info,Image *image) compression; const char *comment, *value; const double static MagickBooleanType WriteTGAImage(const ImageInfo *image_info,Image *image) compression=image_info->compression; range=GetQuantumRange(5UL); tga_info.id...
CVE-2017-6498
{'CWE-20'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/65f75a32a93ae4044c528a987a68366ecd4b46b9'}
nvd
An issue was discovered in ImageMagick 6.9.7. Incorrect TGA files could trigger assertion failures, thus leading to DoS.
2017-03-06
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/65f75a32a93ae4044c528a987a68366ecd4b46b9
65f75a32a93ae4044c528a987a68366ecd4b46b9
SINGLE
['65f75a32a93ae4044c528a987a68366ecd4b46b9']
{'2b72652d41aab10001f3c04ddfc0f04610b3124c'}
65f75a32a93ae4044c528a987a68366ecd4b46b9
1
01/20/2017, 00:30:48
https://github.com/ImageMagick/ImageMagick/pull/359
Cristy
null
{'additions': 5, 'deletions': 4, 'total': 9}
[ { "additions": 5, "changes": 9, "deletions": 4, "patch": "@@ -710,6 +710,7 @@ static MagickBooleanType WriteTGAImage(const ImageInfo *image_info,Image *image)\n compression;\n \n const char\n+ *comment,\n *value;\n \n const double\n@@ -766,9 +767,9 @@ static MagickBooleanType WriteTGA...
c
CWE-20
[ "coders/tga.c" ]
coders/tga.c
1
static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowReaderException(ResourceLimitError,"ImproperImageHeader"); } pixels_length=height*bytes_per_line; sun_pixels=(unsigned char *) AcquireQuantumMemory(pixels_length, sizeof(*sun_pixels)); if (sun_pixels =...
static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowReaderException(ResourceLimitError,"ImproperImageHeader"); } pixels_length=height*bytes_per_line; sun_pixels=(unsigned char *) AcquireQuantumMemory(pixels_length+image->rows, sizeof(*sun_pixels)); if (...
CVE-2017-6500
{'CWE-125'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/3007531bfd326c5c1e29cd41d2cd80c166de8528'}
nvd
An issue was discovered in ImageMagick 6.9.7. A specially crafted sun file triggers a heap-based buffer over-read.
2017-03-06
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/3007531bfd326c5c1e29cd41d2cd80c166de8528
3007531bfd326c5c1e29cd41d2cd80c166de8528
SINGLE
['3007531bfd326c5c1e29cd41d2cd80c166de8528']
{'a24b3a9ed027986841a6adcd49d12a1a15c4e6ec'}
3007531bfd326c5c1e29cd41d2cd80c166de8528
1
02/08/2017, 18:38:04
https://github.com/ImageMagick/ImageMagick/issues/375 https://github.com/ImageMagick/ImageMagick/issues/376
Cristy
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -458,7 +458,7 @@ static Image *ReadSUNImage(const ImageInfo *image_info,ExceptionInfo *exception)\n ThrowReaderException(ResourceLimitError,\"ImproperImageHeader\");\n }\n pixels_length=height*bytes_per_line;\n- sun_pi...
c
CWE-125
[ "coders/sun.c" ]
coders/sun.c
1
static Image *ReadXCFImage(const ImageInfo *image_info,ExceptionInfo *exception) } (void) CloseBlob(image); DestroyImage(RemoveFirstImageFromList(&image)); if (image_type == GIMP_GRAY) image->type=GrayscaleType; return(GetFirstImageInList(image));
static Image *ReadXCFImage(const ImageInfo *image_info,ExceptionInfo *exception) } (void) CloseBlob(image); if (GetNextImageInList(image) != (Image *) NULL) DestroyImage(RemoveFirstImageFromList(&image)); if (image_type == GIMP_GRAY) image->type=GrayscaleType; return(GetFirstImageInList(image));
CVE-2017-6501
{'CWE-476'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/d31fec57e9dfb0516deead2053a856e3c71e9751'}
nvd
An issue was discovered in ImageMagick 6.9.7. A specially crafted xcf file could lead to a NULL pointer dereference.
2017-03-06
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/d31fec57e9dfb0516deead2053a856e3c71e9751
d31fec57e9dfb0516deead2053a856e3c71e9751
SINGLE
['d31fec57e9dfb0516deead2053a856e3c71e9751']
{'d0ecc3d3477102c91ab9c697b1ba14eae61b1458'}
d31fec57e9dfb0516deead2053a856e3c71e9751
1
02/09/2017, 23:13:47
Check for image list before we destroy the last image in XCF coder (patch sent privately by Андрей Черный)
Cristy
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -1445,7 +1445,8 @@ static Image *ReadXCFImage(const ImageInfo *image_info,ExceptionInfo *exception)\n }\n \n (void) CloseBlob(image);\n- DestroyImage(RemoveFirstImageFromList(&image));\n+ if (GetNextImageInList(image) != (Image *) NU...
c
CWE-476
[ "coders/xcf.c" ]
coders/xcf.c
1
<?php # CSRF protection not required here - form does not result in modifications ?> <input type="hidden" name="type" value="1" /> <input type="hidden" name="view_type" value="<?php echo $f_view_type; ?>" /> <?php if( $f_for_screen == false ) { print '<input type="hidden" name="print" value="1" />';
<?php # CSRF protection not required here - form does not result in modifications ?> <input type="hidden" name="type" value="1" /> <input type="hidden" name="view_type" value="<?php echo $t_filter['_view_type']; ?>" /> <?php if( $f_for_screen == false ) { print '<input type="hidden" name="print" value="1" />...
CVE-2017-6799
{'CWE-79'}
2.9
{'https://github.com/mantisbt/mantisbt/commit/1677251434b6e8b2be8f1d4376a3e78f7be14d95'}
nvd
A cross-site scripting (XSS) vulnerability in view_filters_page.php in MantisBT before 2.2.1 allows remote attackers to inject arbitrary JavaScript via the 'view_type' parameter.
2017-03-10
1
https://github.com/mantisbt/mantisbt
https://github.com/mantisbt/mantisbt/commit/1677251434b6e8b2be8f1d4376a3e78f7be14d95
1677251434b6e8b2be8f1d4376a3e78f7be14d95
SINGLE
['1677251434b6e8b2be8f1d4376a3e78f7be14d95']
{'c26b34b6cf24f69ece52d3409fd16d659a767fc9'}
1677251434b6e8b2be8f1d4376a3e78f7be14d95
1
03/09/2017, 23:24:51
Fix XSS in view_filters_page.php The value of the view_type parameter was not sanitized before being displayed as a hidden input. This vulnerability was reported by Etienne Landais. Fixes #22497
Damien Regad
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -105,7 +105,7 @@\n \n \t<?php # CSRF protection not required here - form does not result in modifications ?>\n \t<input type=\"hidden\" name=\"type\" value=\"1\" />\n-\t<input type=\"hidden\" name=\"view_type\" value=\"<?php echo $f_view_t...
php
CWE-79
[ "view_filters_page.php" ]
view_filters_page.php
1
void MAPIPrint(MAPIProps *p) { printf("] (%llu)\n", ddword_tmp); break; case PT_LONG: printf(" Value: %li\n", *((long*)mapidata->data)); break; case PT_I2: printf(" Value: %hi\n", *((short int*)mapidata->data));
void MAPIPrint(MAPIProps *p) { printf("] (%llu)\n", ddword_tmp); break; case PT_LONG: printf(" Value: %i\n", *((int*)mapidata->data)); break; case PT_I2: printf(" Value: %hi\n", *((short int*)mapidata->data));
CVE-2017-6800
{'CWE-125'}
2.9
{'https://github.com/Yeraze/ytnef/commit/f98f5d4adc1c4bd4033638f6167c1bb95d642f89'}
nvd
An issue was discovered in ytnef before 1.9.2. An invalid memory access (heap-based buffer over-read) can occur during handling of LONG data types, related to MAPIPrint() in libytnef.
2017-03-10
1
https://github.com/Yeraze/ytnef
https://github.com/Yeraze/ytnef/commit/f98f5d4adc1c4bd4033638f6167c1bb95d642f89
f98f5d4adc1c4bd4033638f6167c1bb95d642f89
SINGLE
['f98f5d4adc1c4bd4033638f6167c1bb95d642f89']
{'9d32c6cf45b0b1dafbc8492c803bfaf3a5807240'}
f98f5d4adc1c4bd4033638f6167c1bb95d642f89
1
02/23/2017, 19:26:49
BugFix - data length Even tho this is a "LONG" type, it's actually only 4 bytes. Typecasting it to a long* caused a dereference beyond the end of the allocated region. issues#28
Randall Hand
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1390,7 +1390,7 @@ void MAPIPrint(MAPIProps *p) {\n printf(\"] (%llu)\\n\", ddword_tmp);\n break;\n case PT_LONG:\n- printf(\" Value: %li\\n\", *((long*)mapidata->data));\n+ printf(\" Val...
c
CWE-125
[ "lib/ytnef.c" ]
lib/ytnef.c
1
int IMA::decodeBlockWAVE(const uint8_t *encoded, int16_t *decoded) if (encoded[1] & 0x80) m_adpcmState[c].previousValue -= 0x10000; m_adpcmState[c].index = encoded[2]; *decoded++ = m_adpcmState[c].previousValue; int IMA::decodeBlockQT(const uint8_t *encoded, int16_t *decoded) predictor -= 0x10000; st...
int IMA::decodeBlockWAVE(const uint8_t *encoded, int16_t *decoded) if (encoded[1] & 0x80) m_adpcmState[c].previousValue -= 0x10000; m_adpcmState[c].index = clamp(encoded[2], 0, 88); *decoded++ = m_adpcmState[c].previousValue; int IMA::decodeBlockQT(const uint8_t *encoded, int16_t *decoded) predictor -= ...
CVE-2017-6829
{'CWE-125'}
2.9
{'https://github.com/antlarr/audiofile/commit/25eb00ce913452c2e614548d7df93070bf0d066f'}
nvd
The decodeSample function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
2017-03-20
1
https://github.com/antlarr/audiofile
https://github.com/antlarr/audiofile/commit/25eb00ce913452c2e614548d7df93070bf0d066f
25eb00ce913452c2e614548d7df93070bf0d066f
SINGLE
['25eb00ce913452c2e614548d7df93070bf0d066f']
{'b62c902dd258125cac86cd2df21fc898035a43d3'}
25eb00ce913452c2e614548d7df93070bf0d066f
1
03/06/2017, 17:02:31
clamp index values to fix index overflow in IMA.cpp This fixes #33 (also reported at https://bugzilla.opensuse.org/show_bug.cgi?id=1026981 and https://blogs.gentoo.org/ago/2017/02/20/audiofile-global-buffer-overflow-in-decodesample-ima-cpp/)
Antonio Larrosa
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -169,7 +169,7 @@ int IMA::decodeBlockWAVE(const uint8_t *encoded, int16_t *decoded)\n \t\tif (encoded[1] & 0x80)\n \t\t\tm_adpcmState[c].previousValue -= 0x10000;\n \n-\t\tm_adpcmState[c].index = encoded[2];\n+\t\tm_adpcmState[c].index = c...
cpp
CWE-125
[ "libaudiofile/modules/IMA.cpp" ]
libaudiofile/modules/IMA.cpp
1
status WAVEFile::parseFormat(const Tag &id, uint32_t size) { _af_error(AF_BAD_NOT_IMPLEMENTED, "IMA ADPCM compression supports only 4 bits per sample"); } int bytesPerBlock = (samplesPerBlock + 14) / 8 * 4 * channelCount; if (bytesPerBlock > blockAlign || (samplesPerBlock % 8) != 1) { _af_...
status WAVEFile::parseFormat(const Tag &id, uint32_t size) { _af_error(AF_BAD_NOT_IMPLEMENTED, "IMA ADPCM compression supports only 4 bits per sample"); return AF_FAIL; } int bytesPerBlock = (samplesPerBlock + 14) / 8 * 4 * channelCount; if (bytesPerBlock > blockAlign || (samplesPerBlock % 8)...
CVE-2017-6831
{'CWE-119'}
2.9
{'https://github.com/antlarr/audiofile/commit/a2e9eab8ea87c4ffc494d839ebb4ea145eb9f2e6'}
nvd
Heap-based buffer overflow in the decodeBlockWAVE function in IMA.cpp in Audio File Library (aka audiofile) 0.3.6, 0.3.5, 0.3.4, 0.3.3, 0.3.2, 0.3.1, 0.3.0 and 0.2.7 allows remote attackers to cause a denial of service (crash) via a crafted file.
2017-03-20
1
https://github.com/antlarr/audiofile
https://github.com/antlarr/audiofile/commit/a2e9eab8ea87c4ffc494d839ebb4ea145eb9f2e6
a2e9eab8ea87c4ffc494d839ebb4ea145eb9f2e6
SINGLE
['a2e9eab8ea87c4ffc494d839ebb4ea145eb9f2e6']
{'b62c902dd258125cac86cd2df21fc898035a43d3'}
a2e9eab8ea87c4ffc494d839ebb4ea145eb9f2e6
1
03/06/2017, 17:59:26
Actually fail when error occurs in parseFormat When there's an unsupported number of bits per sample or an invalid number of samples per block, don't only print an error message using the error handler, but actually stop parsing the file. This fixes #35 (also reported at https://bugzilla.opensuse.org/show_bug.cgi?id=...
Antonio Larrosa
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -326,13 +326,15 @@ status WAVEFile::parseFormat(const Tag &id, uint32_t size)\n \t\t\t{\n \t\t\t\t_af_error(AF_BAD_NOT_IMPLEMENTED,\n \t\t\t\t\t\"IMA ADPCM compression supports only 4 bits per sample\");\n+\t\t\t\treturn AF_FAIL;\n \t\t\t}...
cpp
CWE-119
[ "libaudiofile/WAVE.cpp" ]
libaudiofile/WAVE.cpp
1
status WAVEFile::parseFormat(const Tag &id, uint32_t size) /* numCoefficients should be at least 7. */ assert(numCoefficients >= 7 && numCoefficients <= 255); m_msadpcmNumCoefficients = numCoefficients;
status WAVEFile::parseFormat(const Tag &id, uint32_t size) /* numCoefficients should be at least 7. */ assert(numCoefficients >= 7 && numCoefficients <= 255); if (numCoefficients < 7 || numCoefficients > 255) { _af_error(AF_BAD_HEADER, "Bad number of coefficients"); return AF_FAIL; } ...
CVE-2017-6837
{'CWE-20'}
2.9
{'https://github.com/antlarr/audiofile/commit/c48e4c6503f7dabd41f11d4c9c7b7f8960e7f2c0'}
nvd
WAVE.cpp in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via vectors related to a large number of coefficients.
2017-03-20
1
https://github.com/antlarr/audiofile
https://github.com/antlarr/audiofile/commit/c48e4c6503f7dabd41f11d4c9c7b7f8960e7f2c0
c48e4c6503f7dabd41f11d4c9c7b7f8960e7f2c0
SINGLE
['c48e4c6503f7dabd41f11d4c9c7b7f8960e7f2c0']
{'b62c902dd258125cac86cd2df21fc898035a43d3'}
c48e4c6503f7dabd41f11d4c9c7b7f8960e7f2c0
1
03/06/2017, 11:51:22
Always check the number of coefficients When building the library with NDEBUG, asserts are eliminated so it's better to always check that the number of coefficients is inside the array range. This fixes the 00191-audiofile-indexoob issue in #41
Antonio Larrosa
null
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -281,6 +281,12 @@ status WAVEFile::parseFormat(const Tag &id, uint32_t size)\n \n \t\t\t/* numCoefficients should be at least 7. */\n \t\t\tassert(numCoefficients >= 7 && numCoefficients <= 255);\n+\t\t\tif (numCoefficients < 7 || numCoeff...
cpp
CWE-20
[ "libaudiofile/WAVE.cpp" ]
libaudiofile/WAVE.cpp
1
void printusage (void); void usageerror (void); bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid); int main (int argc, char **argv) { if (argc == 2) bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid) { int frameSize = afGetVirtualFrameSize(infile, trackid, 1); co...
void printusage (void); void usageerror (void); bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid); int firstBitSet(int x) { int position=0; while (x!=0) { x>>=1; ++position; } return position; } #ifndef __has_builtin #d...
CVE-2017-6838
{'CWE-190'}
2.9
{'https://github.com/antlarr/audiofile/commit/7d65f89defb092b63bcbc5d98349fb222ca73b3c'}
nvd
Integer overflow in sfcommands/sfconvert.c in Audio File Library (aka audiofile) 0.3.6 allows remote attackers to cause a denial of service (crash) via a crafted file.
2017-03-20
1
https://github.com/antlarr/audiofile
https://github.com/antlarr/audiofile/commit/7d65f89defb092b63bcbc5d98349fb222ca73b3c
7d65f89defb092b63bcbc5d98349fb222ca73b3c
SINGLE
['7d65f89defb092b63bcbc5d98349fb222ca73b3c']
{'beacc44eb8cdf6d58717ec1a5103c5141f1b37f9'}
7d65f89defb092b63bcbc5d98349fb222ca73b3c
1
03/06/2017, 12:54:52
Check for multiplication overflow in sfconvert Checks that a multiplication doesn't overflow when calculating the buffer size, and if it overflows, reduce the buffer size instead of failing. This fixes the 00192-audiofile-signintoverflow-sfconvert case in #41
Antonio Larrosa
null
{'additions': 32, 'deletions': 2, 'total': 34}
[ { "additions": 32, "changes": 34, "deletions": 2, "patch": "@@ -45,6 +45,33 @@ void printusage (void);\n void usageerror (void);\n bool copyaudiodata (AFfilehandle infile, AFfilehandle outfile, int trackid);\n \n+int firstBitSet(int x)\n+{\n+ int position=0;\n+ while (x!=0)\n+ {...
c
CWE-190
[ "sfcommands/sfconvert.c" ]
sfcommands/sfconvert.c
1
void CLASS foveon_huff (ushort *huff) void CLASS foveon_dp_load_raw() { unsigned c, roff[4], row, col, diff; ushort huff[512], vpred[2][2], hpred[2]; fseek (ifp, 8, SEEK_CUR); foveon_huff (huff); void CLASS foveon_dp_load_raw() void CLASS foveon_load_camf() { unsigned type, wide, high, i, j, row, col, diff;...
void CLASS foveon_huff (ushort *huff) void CLASS foveon_dp_load_raw() { unsigned c, roff[4], row, col, diff; ushort huff[1024], vpred[2][2], hpred[2]; fseek (ifp, 8, SEEK_CUR); foveon_huff (huff); void CLASS foveon_dp_load_raw() void CLASS foveon_load_camf() { unsigned type, wide, high, i, j, row, col, diff...
CVE-2017-6889
{'CWE-190'}
6.4
{'https://github.com/LibRaw/LibRaw-demosaic-pack-GPL2/commit/194f592e205990ea8fce72b6c571c14350aca716'}
nvd
An integer overflow error within the "foveon_load_camf()" function (dcraw_foveon.c) in LibRaw-demosaic-pack-GPL2 before 0.18.2 can be exploited to cause a heap-based buffer overflow.
2017-05-15
1
https://github.com/LibRaw/LibRaw-demosaic-pack-GPL2
https://github.com/LibRaw/LibRaw-demosaic-pack-GPL2/commit/194f592e205990ea8fce72b6c571c14350aca716
194f592e205990ea8fce72b6c571c14350aca716
SINGLE
['194f592e205990ea8fce72b6c571c14350aca716']
{'ffea825e121e92aa780ae587b65f80fc5847637c'}
194f592e205990ea8fce72b6c571c14350aca716
1
03/04/2017, 16:55:24
Fixed possible foveon buffer overrun (Secunia SA750000)
Alex Tutubalin
null
{'additions': 6, 'deletions': 2, 'total': 8}
[ { "additions": 6, "changes": 8, "deletions": 2, "patch": "@@ -319,7 +319,7 @@ void CLASS foveon_huff (ushort *huff)\n void CLASS foveon_dp_load_raw()\n {\n unsigned c, roff[4], row, col, diff;\n- ushort huff[512], vpred[2][2], hpred[2];\n+ ushort huff[1024], vpred[2][2], hpred[2];\n \n fseek (...
c
CWE-190
[ "dcraw_foveon.c" ]
dcraw_foveon.c
1
aiff_read_chanmap (SF_PRIVATE * psf, unsigned dword) psf_binheader_readf (psf, "j", dword - bytesread) ; if (map_info->channel_map != NULL) { size_t chanmap_size = psf->sf.channels * sizeof (psf->channel_map [0]) ; free (psf->channel_map) ;
aiff_read_chanmap (SF_PRIVATE * psf, unsigned dword) psf_binheader_readf (psf, "j", dword - bytesread) ; if (map_info->channel_map != NULL) { size_t chanmap_size = SF_MIN (psf->sf.channels, layout_tag & 0xffff) * sizeof (psf->channel_map [0]) ; free (psf->channel_map) ;
CVE-2017-6892
{'CWE-119'}
6.4
{'https://github.com/erikd/libsndfile/commit/f833c53cb596e9e1792949f762e0b33661822748'}
nvd
In libsndfile version 1.0.28, an error in the "aiff_read_chanmap()" function (aiff.c) can be exploited to cause an out-of-bounds read memory access via a specially crafted AIFF file.
2017-06-12
1
https://github.com/erikd/libsndfile
https://github.com/erikd/libsndfile/commit/f833c53cb596e9e1792949f762e0b33661822748
f833c53cb596e9e1792949f762e0b33661822748
SINGLE
['f833c53cb596e9e1792949f762e0b33661822748']
{'66aa47ffeea1f6010a5ab45d13fa53b5bcad4e6b'}
f833c53cb596e9e1792949f762e0b33661822748
1
05/23/2017, 10:15:24
src/aiff.c: Fix a buffer read overflow Secunia Advisory SA76717. Found by: Laurent Delosieres, Secunia Research at Flexera Software
Erik de Castro Lopo
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1759,7 +1759,7 @@ aiff_read_chanmap (SF_PRIVATE * psf, unsigned dword)\n \t\tpsf_binheader_readf (psf, \"j\", dword - bytesread) ;\n \n \tif (map_info->channel_map != NULL)\n-\t{\tsize_t chanmap_size = psf->sf.channels * sizeof (psf->chan...
c
CWE-119
[ "src/aiff.c" ]
src/aiff.c
1
} $selectedField = Loader::helper('text')->entities($_REQUEST['ccm_file_selected_field']); $u = new User(); $form = Loader::helper('form'); $f = File::getByID($_REQUEST['fID']); $fp = new Permissions($f); if (!$fp->canViewFileInFileManager()) { die(t("Access Denied.")); $canEdit = $fv->canEdit() ? 1 : 0; ?> <di...
} $selectedField = Loader::helper('text')->entities($_REQUEST['ccm_file_selected_field']); $fID = Loader::helper('text')->entities($_REQUEST['fID']); $u = new User(); $form = Loader::helper('form'); $f = File::getByID($fID); $fp = new Permissions($f); if (!$fp->canViewFileInFileManager()) { die(t("Access Denied....
CVE-2017-6908
{'CWE-79'}
2.9
{'https://github.com/concrete5/concrete5-legacy/commit/62046f511fc02ad783ad170404c80db3c69f0408'}
nvd
An issue was discovered in concrete5 <= 5.6.3.4. The vulnerability exists due to insufficient filtration of user-supplied data (fID) passed to the "concrete5-legacy-master/web/concrete/tools/files/selector_data.php" URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnera...
2017-03-15
1
https://github.com/concrete5/concrete5-legacy
https://github.com/concrete5/concrete5-legacy/commit/62046f511fc02ad783ad170404c80db3c69f0408
62046f511fc02ad783ad170404c80db3c69f0408
SINGLE
['62046f511fc02ad783ad170404c80db3c69f0408']
{'35bb37f1aedd739ba2580fa13f84ef8dc8ae6b26'}
62046f511fc02ad783ad170404c80db3c69f0408
1
03/13/2017, 18:09:17
Fix #1948
Michael Krasnow
null
{'additions': 4, 'deletions': 3, 'total': 7}
[ { "additions": 4, "changes": 7, "deletions": 3, "patch": "@@ -6,6 +6,7 @@\n }\n \n $selectedField = Loader::helper('text')->entities($_REQUEST['ccm_file_selected_field']);\n+$fID = Loader::helper('text')->entities($_REQUEST['fID']);\n \n $u = new User();\n $form = Loader::helper('form');\n@@ -16,7 +...
php
CWE-79
[ "web/concrete/tools/files/selector_data.php" ]
web/concrete/tools/files/selector_data.php
1
#include "winkernel_mm.h" #include <ntddk.h> // A pool tag for memory allocation static const ULONG CS_WINKERNEL_POOL_TAG = 'kwsC'; void * CAPSTONE_API cs_winkernel_malloc(size_t size) // FP; a use of NonPagedPool is required for Windows 7 support #pragma prefast(suppress : 30030) // Allocating executable POOL_TY...
#include "winkernel_mm.h" #include <ntddk.h> #include <Ntintsafe.h> // A pool tag for memory allocation static const ULONG CS_WINKERNEL_POOL_TAG = 'kwsC'; void * CAPSTONE_API cs_winkernel_malloc(size_t size) // FP; a use of NonPagedPool is required for Windows 7 support #pragma prefast(suppress : 30030) // Alloca...
CVE-2017-6952
{'CWE-190'}
6.4
{'https://github.com/aquynh/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403'}
nvd
Integer overflow in the cs_winkernel_malloc function in winkernel_mm.c in Capstone 3.0.4 and earlier allows attackers to cause a denial of service (heap-based buffer overflow in a kernel driver) or possibly have unspecified other impact via a large value.
2017-03-16
1
https://github.com/aquynh/capstone
https://github.com/aquynh/capstone/commit/6fe86eef621b9849f51a5e1e5d73258a93440403
6fe86eef621b9849f51a5e1e5d73258a93440403
SINGLE
['6fe86eef621b9849f51a5e1e5d73258a93440403']
{'fbfa991cae29068297582e2e04d1a2376925ec27'}
6fe86eef621b9849f51a5e1e5d73258a93440403
1
03/13/2017, 15:34:48
provide a validity check to prevent against Integer overflow conditions (#870) * provide a validity check to prevent against Integer overflow conditions * fix some style issues.
Quang Nguyễn
null
{'additions': 11, 'deletions': 2, 'total': 13}
[ { "additions": 11, "changes": 13, "deletions": 2, "patch": "@@ -3,6 +3,7 @@\n \n #include \"winkernel_mm.h\"\n #include <ntddk.h>\n+#include <Ntintsafe.h>\n \n // A pool tag for memory allocation\n static const ULONG CS_WINKERNEL_POOL_TAG = 'kwsC';\n@@ -33,8 +34,16 @@ void * CAPSTONE_API cs_winkerne...
c
CWE-190
[ "windows/winkernel_mm.c" ]
windows/winkernel_mm.c
1
static void read_settings(void) } } void fe_netjoin_init(void) { settings_add_bool("misc", "hide_netsplit_quits", TRUE); void fe_netjoin_init(void) read_settings(); signal_add("setup changed", (SIGNAL_FUNC) read_settings); } void fe_netjoin_deinit(void) void fe_netjoin_deinit(void) } signal_remove("setup cha...
static void read_settings(void) } } static void sig_server_disconnected(IRC_SERVER_REC *server) { NETJOIN_SERVER_REC *netjoin_server; g_return_if_fail(server != NULL); if (!IS_IRC_SERVER(server)) return; if ((netjoin_server = netjoin_find_server(server))) { netjoin_server_remove(netjoin_server); } } voi...
CVE-2017-7191
{'CWE-416'}
6.4
{'https://github.com/irssi/irssi/commit/77b2631c78461965bc9a7414aae206b5c514e1b3'}
nvd
The netjoin processing in Irssi 1.x before 1.0.2 allows attackers to cause a denial of service (use-after-free) and possibly execute arbitrary code via unspecified vectors.
2017-03-27
1
https://github.com/irssi/irssi
https://github.com/irssi/irssi/commit/77b2631c78461965bc9a7414aae206b5c514e1b3
77b2631c78461965bc9a7414aae206b5c514e1b3
SINGLE
['77b2631c78461965bc9a7414aae206b5c514e1b3']
{'7c09b72848f99886964266ff531b41c69fe138f5', '26187d1d30f589d10300de2798f5a3ec4b0c1a3d'}
77b2631c78461965bc9a7414aae206b5c514e1b3
1
03/10/2017, 16:18:18
Merge branch 'netjoin-timeout' into 'master' fe-netjoin: remove irc servers on "server disconnected" signal Closes #7 See merge request !10
Ailin Nemui
null
{'additions': 16, 'deletions': 0, 'total': 16}
[ { "additions": 16, "changes": 16, "deletions": 0, "patch": "@@ -470,6 +470,20 @@ static void read_settings(void)\n \t}\n }\n \n+static void sig_server_disconnected(IRC_SERVER_REC *server)\n+{\n+\tNETJOIN_SERVER_REC *netjoin_server;\n+\n+\tg_return_if_fail(server != NULL);\n+\n+\tif (!IS_IRC_SERVER(s...
c
CWE-416
[ "src/fe-common/irc/fe-netjoin.c" ]
src/fe-common/irc/fe-netjoin.c
1
function layout_navbar() { echo '<div class="navbar-header">'; echo '<a href="' . $t_logo_url . '" class="navbar-brand">'; echo '<span class="smaller-75"> '; echo config_get('window_title'); echo ' </span>'; echo '</a>';
function layout_navbar() { echo '<div class="navbar-header">'; echo '<a href="' . $t_logo_url . '" class="navbar-brand">'; echo '<span class="smaller-75"> '; echo string_display_line( config_get('window_title') ); echo ' </span>'; echo '</a>';
CVE-2017-7222
{'CWE-79'}
2.9
{'http://github.com/mantisbt/mantisbt/commit/a85b0b96c8ebe3e010d0d016cf88ab3c8bfc196a'}
nvd
A cross-site scripting (XSS) vulnerability in MantisBT before 2.1.1 allows remote attackers to inject arbitrary HTML or JavaScript (if MantisBT's CSP settings permit it) by modifying 'window_title' in the application configuration. This requires privileged access to MantisBT configuration management pages (i.e., admini...
2017-03-22
1
http://github.com/mantisbt/mantisbt
http://github.com/mantisbt/mantisbt/commit/a85b0b96c8ebe3e010d0d016cf88ab3c8bfc196a
a85b0b96c8ebe3e010d0d016cf88ab3c8bfc196a
SINGLE
['a85b0b96c8ebe3e010d0d016cf88ab3c8bfc196a']
{'40b62c37d1044c94414b944a958d9b88b1704eb1'}
a85b0b96c8ebe3e010d0d016cf88ab3c8bfc196a
1
02/12/2017, 23:58:25
Sanitize window title The window title is not sanitized. That is not an issue when CSP is enable (default), but if disabled, it can execute javascript that is set by a user who has access to set configuration via Manage - Manage Configuration - Configuration Report page. Fixes #22266
Victor Boctor
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -415,7 +415,7 @@ function layout_navbar() {\n \techo '<div class=\"navbar-header\">';\n \techo '<a href=\"' . $t_logo_url . '\" class=\"navbar-brand\">';\n \techo '<span class=\"smaller-75\"> ';\n-\techo config_get('window_title');\n+\tech...
php
CWE-79
[ "core/layout_api.php" ]
core/layout_api.php
1
RCMS *r_pkcs7_parse_cms (const ut8 *buffer, ut32 length) { return NULL; } object = r_asn1_create_object (buffer, length); if (!object || object->list.length != 2 || !object->list.objects[0] || object->list.objects[1]->list.length != 1) { r_asn1_free_object (object); free (container); return NULL;
RCMS *r_pkcs7_parse_cms (const ut8 *buffer, ut32 length) { return NULL; } object = r_asn1_create_object (buffer, length); if (!object || object->list.length != 2 || !object->list.objects || !object->list.objects[0] || !object->list.objects[1] || object->list.objects[1]->list.length != 1) { r_asn1_free_objec...
CVE-2017-7274
{'CWE-476'}
2.9
{'https://github.com/radare/radare2/commit/7ab66cca5bbdf6cb2d69339ef4f513d95e532dbf'}
nvd
The r_pkcs7_parse_cms function in libr/util/r_pkcs7.c in radare2 1.3.0 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted PE file.
2017-03-27
1
https://github.com/radare/radare2
https://github.com/radare/radare2/commit/7ab66cca5bbdf6cb2d69339ef4f513d95e532dbf
7ab66cca5bbdf6cb2d69339ef4f513d95e532dbf
SINGLE
['7ab66cca5bbdf6cb2d69339ef4f513d95e532dbf']
{'6de49610ea69adc693920176948741d8926351f3'}
7ab66cca5bbdf6cb2d69339ef4f513d95e532dbf
1
03/27/2017, 10:55:16
Fix #7152 - Null deref in cms
Giovanni
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -284,7 +284,9 @@ RCMS *r_pkcs7_parse_cms (const ut8 *buffer, ut32 length) {\n \t\treturn NULL;\n \t}\n \tobject = r_asn1_create_object (buffer, length);\n-\tif (!object || object->list.length != 2 || !object->list.objects[0] || object->lis...
c
CWE-476
[ "libr/util/r_pkcs7.c" ]
libr/util/r_pkcs7.c
1
static int ipxitf_ioctl(unsigned int cmd, void __user *arg) sipx->sipx_network = ipxif->if_netnum; memcpy(sipx->sipx_node, ipxif->if_node, sizeof(sipx->sipx_node)); rc = -EFAULT; if (copy_to_user(arg, &ifr, sizeof(ifr))) break; ipxitf_put(ipxif); rc = 0; break; } case SIOCAIPXITFCRT:
static int ipxitf_ioctl(unsigned int cmd, void __user *arg) sipx->sipx_network = ipxif->if_netnum; memcpy(sipx->sipx_node, ipxif->if_node, sizeof(sipx->sipx_node)); rc = 0; if (copy_to_user(arg, &ifr, sizeof(ifr))) rc = -EFAULT; ipxitf_put(ipxif); break; } case SIOCAIPXITFCRT:
CVE-2017-7487
{'CWE-416'}
10
{'https://github.com/torvalds/linux/commit/ee0d8d8482345ff97a75a7d747efc309f13b0d80'}
nvd
The ipxitf_ioctl function in net/ipx/af_ipx.c in the Linux kernel through 4.11.1 mishandles reference counts, which allows local users to cause a denial of service (use-after-free) or possibly have unspecified other impact via a failed SIOCGIFADDR ioctl call for an IPX interface.
2017-05-14
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/ee0d8d8482345ff97a75a7d747efc309f13b0d80
ee0d8d8482345ff97a75a7d747efc309f13b0d80
SINGLE
['ee0d8d8482345ff97a75a7d747efc309f13b0d80']
{'9da3242e6a83b6f315aa9c394c939da8e4ad7774'}
ee0d8d8482345ff97a75a7d747efc309f13b0d80
1
05/02/2017, 10:58:53
ipx: call ipxitf_put() in ioctl error path We should call ipxitf_put() if the copy_to_user() fails. Reported-by: 李强 <liqiang6-s@360.cn> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Dan Carpenter
null
{'additions': 2, 'deletions': 3, 'total': 5}
[ { "additions": 2, "changes": 5, "deletions": 3, "patch": "@@ -1168,11 +1168,10 @@ static int ipxitf_ioctl(unsigned int cmd, void __user *arg)\n \t\tsipx->sipx_network\t= ipxif->if_netnum;\n \t\tmemcpy(sipx->sipx_node, ipxif->if_node,\n \t\t\tsizeof(sipx->sipx_node));\n-\t\trc = -EFAULT;\n+\t\trc = 0...
c
CWE-416
[ "net/ipx/af_ipx.c" ]
net/ipx/af_ipx.c
1
int ext4_map_blocks(handle_t *handle, struct inode *inode, ret = check_block_validity(inode, map); if (ret != 0) return ret; } return retval; } static int ext4_write_end(struct file *file, int i_size_changed = 0; trace_ext4_write_end(inode, pos, len, copied); if (ext4_test_inode_state(inode, EXT4_STATE_OR...
int ext4_map_blocks(handle_t *handle, struct inode *inode, ret = check_block_validity(inode, map); if (ret != 0) return ret; /* * Inodes with freshly allocated blocks where contents will be * visible after transaction commit must be on transaction's * ordered data list. */ if (map->m_flags & EX...
CVE-2017-7495
{'CWE-200'}
2.9
{'https://github.com/torvalds/linux/commit/06bd3c36a733ac27962fea7d6f47168841376824'}
nvd
fs/ext4/inode.c in the Linux kernel before 4.6.2, when ext4 data=ordered mode is used, mishandles a needs-flushing-before-commit list, which allows local users to obtain sensitive information from other users' files in opportunistic circumstances by waiting for a hardware reset, creating a new file, making write system...
2017-05-15
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/06bd3c36a733ac27962fea7d6f47168841376824
06bd3c36a733ac27962fea7d6f47168841376824
SINGLE
['06bd3c36a733ac27962fea7d6f47168841376824']
{'1f60fbe7274918adb8db2f616e321890730ab7e3'}
06bd3c36a733ac27962fea7d6f47168841376824
1
04/24/2016, 04:56:03
ext4: fix data exposure after a crash Huang has reported that in his powerfail testing he is seeing stale block contents in some of recently allocated blocks although he mounts ext4 in data=ordered mode. After some investigation I have found out that indeed when delayed allocation is used, we don't add inode to transa...
Jan Kara
null
{'additions': 15, 'deletions': 9, 'total': 24}
[ { "additions": 15, "changes": 24, "deletions": 9, "patch": "@@ -684,6 +684,21 @@ int ext4_map_blocks(handle_t *handle, struct inode *inode,\n \t\tret = check_block_validity(inode, map);\n \t\tif (ret != 0)\n \t\t\treturn ret;\n+\n+\t\t/*\n+\t\t * Inodes with freshly allocated blocks where contents w...
c
CWE-200
[ "fs/ext4/inode.c" ]
fs/ext4/inode.c
1
brcmf_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true, GFP_KERNEL); } else if (ieee80211_is_action(mgmt->frame_control)) { af_params = kzalloc(sizeof(*af_params), GFP_KERNEL); if (af_params == NULL) { brcmf_err("unable to allocate fr...
brcmf_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev, cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true, GFP_KERNEL); } else if (ieee80211_is_action(mgmt->frame_control)) { if (len > BRCMF_FIL_ACTION_FRAME_SIZE + DOT11_MGMT_HDR_LEN) { brcmf_err("invalid action frame length\n"); err...
CVE-2017-7541
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/8f44c9a41386729fea410e688959ddaa9d51be7c'}
nvd
The brcmf_cfg80211_mgmt_tx function in drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c in the Linux kernel before 4.12.3 allows local users to cause a denial of service (buffer overflow and system crash) or possibly gain privileges via a crafted NL80211_CMD_FRAME Netlink packet.
2017-07-25
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/8f44c9a41386729fea410e688959ddaa9d51be7c
8f44c9a41386729fea410e688959ddaa9d51be7c
SINGLE
['8f44c9a41386729fea410e688959ddaa9d51be7c']
{'76b825ab870be3281edac4ae8a414da6e54b0d3a'}
8f44c9a41386729fea410e688959ddaa9d51be7c
1
07/07/2017, 20:09:06
brcmfmac: fix possible buffer overflow in brcmf_cfg80211_mgmt_tx() The lower level nl80211 code in cfg80211 ensures that "len" is between 25 and NL80211_ATTR_FRAME (2304). We subtract DOT11_MGMT_HDR_LEN (24) from "len" so thats's max of 2280. However, the action_frame->data[] buffer is only BRCMF_FIL_ACTION_FRAME_SI...
Arend van Spriel
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -4934,6 +4934,11 @@ brcmf_cfg80211_mgmt_tx(struct wiphy *wiphy, struct wireless_dev *wdev,\n \t\tcfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true,\n \t\t\t\t\tGFP_KERNEL);\n \t} else if (ieee80211_is_action(mgmt->frame_control)) {\n+\...
c
CWE-119
[ "drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c" ]
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c
1
EXPORT_SYMBOL(ipv6_select_ident); int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr) { u16 offset = sizeof(struct ipv6hdr); unsigned int packet_len = skb_tail_pointer(skb) - skb_network_header(skb); int found_rhdr = 0; *nexthdr = &ipv6_hdr(skb)->nexthdr; while (offset <= packet_len) { struct ipv6_op...
EXPORT_SYMBOL(ipv6_select_ident); int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr) { unsigned int offset = sizeof(struct ipv6hdr); unsigned int packet_len = skb_tail_pointer(skb) - skb_network_header(skb); int found_rhdr = 0; *nexthdr = &ipv6_hdr(skb)->nexthdr; while (offset <= packet_len) { struc...
CVE-2017-7542
{'CWE-835', 'CWE-190'}
6.9
{'https://github.com/torvalds/linux/commit/6399f1fae4ec29fab5ec76070435555e256ca3a6'}
nvd
The ip6_find_1stfragopt function in net/ipv6/output_core.c in the Linux kernel through 4.12.3 allows local users to cause a denial of service (integer overflow and infinite loop) by leveraging the ability to open a raw socket.
2017-07-21
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/6399f1fae4ec29fab5ec76070435555e256ca3a6
6399f1fae4ec29fab5ec76070435555e256ca3a6
SINGLE
['6399f1fae4ec29fab5ec76070435555e256ca3a6']
{'1e6c22aef28364dcc5f03c04a05ec463bc2b3431'}
6399f1fae4ec29fab5ec76070435555e256ca3a6
1
07/19/2017, 20:28:55
ipv6: avoid overflow of offset in ip6_find_1stfragopt In some cases, offset can overflow and can cause an infinite loop in ip6_find_1stfragopt(). Make it unsigned int to prevent the overflow, and cap it at IPV6_MAXPLEN, since packets larger than that should be invalid. This problem has been here since before the begi...
Sabrina Dubroca
null
{'additions': 6, 'deletions': 2, 'total': 8}
[ { "additions": 6, "changes": 8, "deletions": 2, "patch": "@@ -78,14 +78,15 @@ EXPORT_SYMBOL(ipv6_select_ident);\n \n int ip6_find_1stfragopt(struct sk_buff *skb, u8 **nexthdr)\n {\n-\tu16 offset = sizeof(struct ipv6hdr);\n+\tunsigned int offset = sizeof(struct ipv6hdr);\n \tunsigned int packet_len =...
c
CWE-190
[ "net/ipv6/output_core.c" ]
net/ipv6/output_core.c
1
def _checkPolkitPrivilege(self, sender, conn, privilege): # bus, and it does not make sense to restrict operations here return info = SenderInfo(sender, conn) # get peer PID pid = info.connectionPid() # query PolicyKit self._initPolkit() try: ...
def _checkPolkitPrivilege(self, sender, conn, privilege): # bus, and it does not make sense to restrict operations here return # query PolicyKit self._initPolkit() try: # we don't need is_challenge return here, since we call with AllowUserInteraction ...
CVE-2017-7572
{'CWE-362'}
10
{'https://github.com/bit-team/backintime/commit/7f208dc547f569b689c888103e3b593a48cd1869'}
nvd
The _checkPolkitPrivilege function in serviceHelper.py in Back In Time (aka backintime) 1.1.18 and earlier uses a deprecated polkit authorization method (unix-process) that is subject to a race condition (time of check, time of use). With this authorization method, the owner of a process requesting a polkit operation i...
2017-04-06
1
https://github.com/bit-team/backintime
https://github.com/bit-team/backintime/commit/7f208dc547f569b689c888103e3b593a48cd1869
7f208dc547f569b689c888103e3b593a48cd1869
SINGLE
['7f208dc547f569b689c888103e3b593a48cd1869']
{'c689a4d815ce3ba2c212a42f777a1ca4727f473b'}
7f208dc547f569b689c888103e3b593a48cd1869
1
04/05/2017, 11:57:59
polkit CheckAuthorization: fix race condition in privilege authorization The unix-process authorization subject is deprecated: https://www.freedesktop.org/software/polkit/docs/latest/PolkitUnixProcess.html#polkit-unix-process-new as it is subject to a race condition. A client process requesting authorization can rep...
Matthias Gerstner
{'com_1': {'author': 'carnil', 'datetime': '04/07/2017, 10:33:47', 'body': '[CVE-2017-7572](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7572)'}}
{'additions': 1, 'deletions': 7, 'total': 8}
[ { "additions": 1, "changes": 8, "deletions": 7, "patch": "@@ -282,18 +282,12 @@ def _checkPolkitPrivilege(self, sender, conn, privilege):\n # bus, and it does not make sense to restrict operations here\n return\n \n- info = SenderInfo(sender, conn)\n-\n- # get p...
py
CWE-362
[ "qt/serviceHelper.py" ]
qt/serviceHelper.py
1
public function getTopTenData($count = PMF_NUMBER_RECORDS_TOPTEN, $categoryId = } $data['visits'] = (int)$row->visits; $data['question'] = $row->question; $data['date'] = $row->updated; $data['last_visit'] = $row->last_visit; public func...
public function getTopTenData($count = PMF_NUMBER_RECORDS_TOPTEN, $categoryId = } $data['visits'] = (int)$row->visits; $data['question'] = PMF_Filter::filterVar($row->question, FILTER_SANITIZE_STRING); $data['date'] = $row->updated; $data...
CVE-2017-7579
{'CWE-79'}
2.9
{'https://github.com/thorsten/phpMyFAQ/commit/a69f32175c28af1b34e5df83000f830e60f6bce9'}
nvd
inc/PMF/Faq.php in phpMyFAQ before 2.9.7 has XSS in the question field.
2017-04-07
1
https://github.com/thorsten/phpMyFAQ
https://github.com/thorsten/phpMyFAQ/commit/a69f32175c28af1b34e5df83000f830e60f6bce9
a69f32175c28af1b34e5df83000f830e60f6bce9
SINGLE
['a69f32175c28af1b34e5df83000f830e60f6bce9']
{'45a3847e22610828d756d76b00b3eba8a966380a'}
a69f32175c28af1b34e5df83000f830e60f6bce9
1
03/22/2017, 07:44:49
Added missing sanitizing
Thorsten Rinne
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -2137,7 +2137,7 @@ public function getTopTenData($count = PMF_NUMBER_RECORDS_TOPTEN, $categoryId =\n }\n \n $data['visits'] = (int)$row->visits;\n- $data['question'] = $row->question;\n+ ...
php
CWE-79
[ "phpmyfaq/inc/PMF/Faq.php" ]
phpmyfaq/inc/PMF/Faq.php
1
typedef struct unsigned bufferpos ; const FLAC__Frame *frame ; FLAC__bool bufferbackup ; unsigned compression ; } FLAC_PRIVATE ; typedef struct flac_buffer_copy (SF_PRIVATE *psf) if (pflac->ptr == NULL) { /* ** Not sure why this code is here and not elsewhere. ** Removing it causes valgrind errors. */ ...
typedef struct unsigned bufferpos ; const FLAC__Frame *frame ; unsigned compression ; } FLAC_PRIVATE ; typedef struct flac_buffer_copy (SF_PRIVATE *psf) if (pflac->ptr == NULL) { /* ** This pointer is reset to NULL each time the current frame has been ** decoded. Somehow its used during encoding and deco...
CVE-2017-7585
{'CWE-119'}
2.9
{'https://github.com/erikd/libsndfile/commit/60b234301adf258786d8b90be5c1d437fc8799e0'}
nvd
In libsndfile before 1.0.28, an error in the "flac_buffer_copy()" function (flac.c) can be exploited to cause a stack-based buffer overflow via a specially crafted FLAC file.
2017-04-07
1
https://github.com/erikd/libsndfile
https://github.com/erikd/libsndfile/commit/60b234301adf258786d8b90be5c1d437fc8799e0
60b234301adf258786d8b90be5c1d437fc8799e0
SINGLE
['60b234301adf258786d8b90be5c1d437fc8799e0']
{'febad4673f294801dfcaadf9657dedf255f0789d'}
60b234301adf258786d8b90be5c1d437fc8799e0
1
03/24/2017, 09:51:59
src/flac.c: Improve error handling Especially when dealing with corrupt or malicious files.
Erik de Castro Lopo
null
{'additions': 22, 'deletions': 6, 'total': 28}
[ { "additions": 22, "changes": 28, "deletions": 6, "patch": "@@ -68,9 +68,9 @@ typedef struct\n \tunsigned bufferpos ;\n \n \tconst FLAC__Frame *frame ;\n-\tFLAC__bool bufferbackup ;\n \n \tunsigned compression ;\n+\n } FLAC_PRIVATE ;\n \n typedef struct\n@@ -187,10 +187,9 @@ flac_buffer_copy (SF_PRI...
c
CWE-119
[ "src/flac.c" ]
src/flac.c
1
static __be32 map_new_errors(u32 vers, __be32 nfserr) return nfserr; } int nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) { nfsd_dispatch(struct svc_rqst *rqstp, __be32 *statp) rqstp->rq_vers, rqstp->rq_proc); proc = rqstp->rq_procinfo; /* * Give the xdr decoder a chance to change this if it wants *...
static __be32 map_new_errors(u32 vers, __be32 nfserr) return nfserr; } /* * A write procedure can have a large argument, and a read procedure can * have a large reply, but no NFSv2 or NFSv3 procedure has argument and * reply that can both be larger than a page. The xdr code has taken * advantage of this assumpt...
CVE-2017-7645
{'CWE-20'}
6.9
{'https://github.com/torvalds/linux/commit/e6838a29ecb484c97e4efef9429643b9851fba6e'}
nvd
The NFSv2/NFSv3 server in the nfsd subsystem in the Linux kernel through 4.10.11 allows remote attackers to cause a denial of service (system crash) via a long RPC reply, related to net/sunrpc/svc.c, fs/nfsd/nfs3xdr.c, and fs/nfsd/nfsxdr.c.
2017-04-18
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/e6838a29ecb484c97e4efef9429643b9851fba6e
e6838a29ecb484c97e4efef9429643b9851fba6e
SINGLE
['e6838a29ecb484c97e4efef9429643b9851fba6e']
{'5a7ad1146caa895ad718a534399e38bd2ba721b7'}
e6838a29ecb484c97e4efef9429643b9851fba6e
1
04/21/2017, 20:10:18
nfsd: check for oversized NFSv2/v3 arguments A client can append random data to the end of an NFSv2 or NFSv3 RPC call without our complaining; we'll just stop parsing at the end of the expected data and ignore the rest. Encoded arguments and replies are stored together in an array of pages, and if a call is too large...
J. Bruce Fields
null
{'additions': 36, 'deletions': 0, 'total': 36}
[ { "additions": 36, "changes": 36, "deletions": 0, "patch": "@@ -747,6 +747,37 @@ static __be32 map_new_errors(u32 vers, __be32 nfserr)\n \treturn nfserr;\n }\n \n+/*\n+ * A write procedure can have a large argument, and a read procedure can\n+ * have a large reply, but no NFSv2 or NFSv3 procedure ha...
c
CWE-20
[ "fs/nfsd/nfssvc.c" ]
fs/nfsd/nfssvc.c
1
class BigTreeStorage { var $AutoJPEG = false; var $DisabledFileError = false; var $DisabledExtensionRegEx = '/\\.(exe|com|bat|php|rb|py|cgi|pl|sh|asp|aspx)$/i'; var $Service = ""; var $Cloud = false; var $Settings;
class BigTreeStorage { var $AutoJPEG = false; var $DisabledFileError = false; var $DisabledExtensionRegEx = '/\\.(exe|com|bat|php|rb|py|cgi|pl|sh|asp|aspx)/i'; var $Service = ""; var $Cloud = false; var $Settings;
CVE-2017-7695
{'CWE-434'}
6.4
{'https://github.com/bigtreecms/BigTree-CMS/commit/8cf4212ea40e1b843e1aecf4b24681b0964ec04c'}
nvd
Unrestricted File Upload exists in BigTree CMS before 4.2.17: if an attacker uploads an 'xxx.php[space]' file, they could bypass a safety check and execute any code.
2017-04-11
1
https://github.com/bigtreecms/BigTree-CMS
https://github.com/bigtreecms/BigTree-CMS/commit/8cf4212ea40e1b843e1aecf4b24681b0964ec04c
8cf4212ea40e1b843e1aecf4b24681b0964ec04c
SINGLE
['8cf4212ea40e1b843e1aecf4b24681b0964ec04c']
{'4110a5bc56c85e62009933448d022bd8a8ffcc9d'}
8cf4212ea40e1b843e1aecf4b24681b0964ec04c
1
04/07/2017, 19:11:03
Fixing empty space at the end of a file name allowing dangerous files to be uploaded. Thank you to math1as from l-team for the disclosure and fix. https://github.com/bigtreecms/BigTree-CMS/issues/276
Tim Buckingham
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -8,7 +8,7 @@ class BigTreeStorage {\n \n \t\tvar $AutoJPEG = false;\n \t\tvar $DisabledFileError = false;\n-\t\tvar $DisabledExtensionRegEx = '/\\\\.(exe|com|bat|php|rb|py|cgi|pl|sh|asp|aspx)$/i';\n+\t\tvar $DisabledExtensionRegEx = '/\\\\...
php
CWE-434
[ "core/inc/bigtree/apis/storage.php" ]
core/inc/bigtree/apis/storage.php
1
static size_t consume_str (ut8 *buf, ut8 *max, size_t sz, char *out, ut32 *offse if (offset) *offset += sz; return sz; } static size_t consume_init_expr (ut8 *buf, ut8 *max, ut8 eoc, void *out, ut32 *offset) { ut32 i = 0; while (buf + i < max && buf[i] != eoc) { // TODO: calc the expresion with the bytcode (ESIL...
static size_t consume_str (ut8 *buf, ut8 *max, size_t sz, char *out, ut32 *offse if (offset) *offset += sz; return sz; } static size_t consume_init_expr (ut8 *buf, ut8 *max, ut8 eoc, void *out, ut32 *offset) { ut32 i = 0; while (buf + i < max && buf[i] != eoc) { // TODO: calc the expresion with the bytcode (ESI...
CVE-2017-7854
{'CWE-125'}
2.9
{'https://github.com/radare/radare2/commit/d2632f6483a3ceb5d8e0a5fb11142c51c43978b4'}
nvd
The consume_init_expr function in wasm.c in radare2 1.3.0 allows remote attackers to cause a denial of service (heap-based buffer over-read and application crash) via a crafted Web Assembly file.
2017-04-13
1
https://github.com/radare/radare2
https://github.com/radare/radare2/commit/d2632f6483a3ceb5d8e0a5fb11142c51c43978b4
d2632f6483a3ceb5d8e0a5fb11142c51c43978b4
SINGLE
['d2632f6483a3ceb5d8e0a5fb11142c51c43978b4']
{'395dc5c1e67f88d026ad980659c39c3be0889998'}
d2632f6483a3ceb5d8e0a5fb11142c51c43978b4
1
04/13/2017, 13:31:24
Fix crash in fuzzed wasm r2_hoobr_consume_init_expr
pancake
null
{'additions': 27, 'deletions': 38, 'total': 65}
[ { "additions": 27, "changes": 65, "deletions": 38, "patch": "@@ -67,11 +67,12 @@ static size_t consume_str (ut8 *buf, ut8 *max, size_t sz, char *out, ut32 *offse\n \tif (offset) *offset += sz;\n \treturn sz;\n }\n+\n static size_t consume_init_expr (ut8 *buf, ut8 *max, ut8 eoc, void *out, ut32 *offs...
c
CWE-125
[ "libr/bin/format/wasm/wasm.c" ]
libr/bin/format/wasm/wasm.c
1
static int decode_frame(AVCodecContext *avctx, if (av_image_check_size(s->width, s->height, 0, avctx) < 0) return -1; if (s->width != avctx->width && s->height != avctx->height) { ret = ff_set_dimensions(avctx, s->width, s->height); if (ret < 0) return ret;
static int decode_frame(AVCodecContext *avctx, if (av_image_check_size(s->width, s->height, 0, avctx) < 0) return -1; if (s->width != avctx->width || s->height != avctx->height) { ret = ff_set_dimensions(avctx, s->width, s->height); if (ret < 0) return ret;
CVE-2017-7862
{'CWE-787'}
6.4
{'https://github.com/FFmpeg/FFmpeg/commit/8c2ea3030af7b40a3c4275696fb5c76cdb80950a'}
nvd
FFmpeg before 2017-02-07 has an out-of-bounds write caused by a heap-based buffer overflow related to the decode_frame function in libavcodec/pictordec.c.
2017-04-14
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/8c2ea3030af7b40a3c4275696fb5c76cdb80950a
8c2ea3030af7b40a3c4275696fb5c76cdb80950a
SINGLE
['8c2ea3030af7b40a3c4275696fb5c76cdb80950a']
{'dface53497c3531da101b2872df301acca313142'}
8c2ea3030af7b40a3c4275696fb5c76cdb80950a
1
02/07/2017, 14:49:09
avcodec/pictordec: Fix logic error Fixes: 559/clusterfuzz-testcase-6424225917173760 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -142,7 +142,7 @@ static int decode_frame(AVCodecContext *avctx,\n \n if (av_image_check_size(s->width, s->height, 0, avctx) < 0)\n return -1;\n- if (s->width != avctx->width && s->height != avctx->height) {\n+ if (s->widt...
c
CWE-787
[ "libavcodec/pictordec.c" ]
libavcodec/pictordec.c
1
static int decode_trns_chunk(AVCodecContext *avctx, PNGDecContext *s, { int v, i; if (s->color_type == PNG_COLOR_TYPE_PALETTE) { if (length > 256 || !(s->state & PNG_PLTE)) return AVERROR_INVALIDDATA; static int decode_trns_chunk(AVCodecContext *avctx, PNGDecContext *s, } } els...
static int decode_trns_chunk(AVCodecContext *avctx, PNGDecContext *s, { int v, i; if (!(s->state & PNG_IHDR)) { av_log(avctx, AV_LOG_ERROR, "trns before IHDR\n"); return AVERROR_INVALIDDATA; } if (s->state & PNG_IDAT) { av_log(avctx, AV_LOG_ERROR, "trns after IDAT\n"); ...
CVE-2017-7863
{'CWE-787'}
6.4
{'https://github.com/FFmpeg/FFmpeg/commit/e477f09d0b3619f3d29173b2cd593e17e2d1978e'}
nvd
FFmpeg before 2017-02-04 has an out-of-bounds write caused by a heap-based buffer overflow related to the decode_frame_common function in libavcodec/pngdec.c.
2017-04-14
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/e477f09d0b3619f3d29173b2cd593e17e2d1978e
e477f09d0b3619f3d29173b2cd593e17e2d1978e
SINGLE
['e477f09d0b3619f3d29173b2cd593e17e2d1978e']
{'084f3addda7531a22d656b769120c6453e880226'}
e477f09d0b3619f3d29173b2cd593e17e2d1978e
1
02/04/2017, 11:24:14
avcodec/pngdec: Check trns more completely Fixes out of array access Fixes: 546/clusterfuzz-testcase-4809433909559296 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer
null
{'additions': 14, 'deletions': 1, 'total': 15}
[ { "additions": 14, "changes": 15, "deletions": 1, "patch": "@@ -772,6 +772,16 @@ static int decode_trns_chunk(AVCodecContext *avctx, PNGDecContext *s,\n {\n int v, i;\n \n+ if (!(s->state & PNG_IHDR)) {\n+ av_log(avctx, AV_LOG_ERROR, \"trns before IHDR\\n\");\n+ return AVERROR_I...
c
CWE-787
[ "libavcodec/pngdec.c" ]
libavcodec/pngdec.c
1
void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, w_align = 4; h_align = 4; } break; case AV_PIX_FMT_PAL8: case AV_PIX_FMT_BGR8: void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, w_align = 4; h_ali...
void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height, w_align = 4; h_align = 4; } if (s->codec_id == AV_CODEC_ID_INTERPLAY_VIDEO) { w_align = 8; h_align = 8; } break; case AV_PIX_FMT_PAL8: case AV_PIX_FMT_BGR8:...
CVE-2017-7865
{'CWE-787'}
6.4
{'https://github.com/FFmpeg/FFmpeg/commit/2080bc33717955a0e4268e738acf8c1eeddbf8cb'}
nvd
FFmpeg before 2017-01-24 has an out-of-bounds write caused by a heap-based buffer overflow related to the ipvideo_decode_block_opcode_0xA function in libavcodec/interplayvideo.c and the avcodec_align_dimensions2 function in libavcodec/utils.c.
2017-04-14
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/2080bc33717955a0e4268e738acf8c1eeddbf8cb
2080bc33717955a0e4268e738acf8c1eeddbf8cb
SINGLE
['2080bc33717955a0e4268e738acf8c1eeddbf8cb']
{'0b607228bf7260a13404ef98bf87bafeaeecbfa8'}
2080bc33717955a0e4268e738acf8c1eeddbf8cb
1
01/24/2017, 23:20:19
avcodec/utils: correct align value for interplay Fixes out of array access Fixes: 452/fuzz-1-ffmpeg_VIDEO_AV_CODEC_ID_INTERPLAY_VIDEO_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -376,6 +376,10 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,\n w_align = 4;\n h_align = 4;\n }\n+ if (s->codec_id == AV_CODEC_ID_INTERPLAY_VIDEO) {\n+ w_alig...
c
CWE-787
[ "libavcodec/utils.c" ]
libavcodec/utils.c
1
static int decode_zbuf(AVBPrint *bp, const uint8_t *data, av_bprint_init(bp, 0, -1); while (zstream.avail_in > 0) { av_bprint_get_buffer(bp, 1, &buf, &buf_size); if (!buf_size) { ret = AVERROR(ENOMEM); goto fail; } zstream.next_out = buf; zstrea...
static int decode_zbuf(AVBPrint *bp, const uint8_t *data, av_bprint_init(bp, 0, -1); while (zstream.avail_in > 0) { av_bprint_get_buffer(bp, 2, &buf, &buf_size); if (buf_size < 2) { ret = AVERROR(ENOMEM); goto fail; } zstream.next_out = buf; zst...
CVE-2017-7866
{'CWE-787'}
6.4
{'https://github.com/FFmpeg/FFmpeg/commit/e371f031b942d73e02c090170975561fabd5c264'}
nvd
FFmpeg before 2017-01-23 has an out-of-bounds write caused by a stack-based buffer overflow related to the decode_zbuf function in libavcodec/pngdec.c.
2017-04-14
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/e371f031b942d73e02c090170975561fabd5c264
e371f031b942d73e02c090170975561fabd5c264
SINGLE
['e371f031b942d73e02c090170975561fabd5c264']
{'a0341b4d74f4db289e15dac0d2988eaa2d18a1bb'}
e371f031b942d73e02c090170975561fabd5c264
1
01/23/2017, 00:25:27
avcodec/pngdec: Fix off by 1 size in decode_zbuf() Fixes out of array access Fixes: 444/fuzz-2-ffmpeg_VIDEO_AV_CODEC_ID_PNG_fuzzer Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Michael Niedermayer
null
{'additions': 3, 'deletions': 3, 'total': 6}
[ { "additions": 3, "changes": 6, "deletions": 3, "patch": "@@ -437,13 +437,13 @@ static int decode_zbuf(AVBPrint *bp, const uint8_t *data,\n av_bprint_init(bp, 0, -1);\n \n while (zstream.avail_in > 0) {\n- av_bprint_get_buffer(bp, 1, &buf, &buf_size);\n- if (!buf_size) {\n+ ...
c
CWE-787
[ "libavcodec/pngdec.c" ]
libavcodec/pngdec.c
1
char *enl_ipc_get(const char *msg_data) { static char *message = NULL; static unsigned short len = 0; char buff[13], *ret_msg = NULL; register unsigned char i; unsigned char blen;
char *enl_ipc_get(const char *msg_data) { static char *message = NULL; static size_t len = 0; char buff[13], *ret_msg = NULL; register unsigned char i; unsigned char blen;
CVE-2017-7875
{'CWE-787'}
6.4
{'https://github.com/derf/feh/commit/f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d'}
nvd
In wallpaper.c in feh before v2.18.3, if a malicious client pretends to be the E17 window manager, it is possible to trigger an out-of-boundary heap write while receiving an IPC message. An integer overflow leads to a buffer overflow and/or a double free.
2017-04-14
1
https://github.com/derf/feh
https://github.com/derf/feh/commit/f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d
f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d
SINGLE
['f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d']
{'a0072d60705b9764970d435ec59dfc5c53158748'}
f7a547b7ef8fc8ebdeaa4c28515c9d72e592fb6d
1
03/23/2017, 15:45:20
Fix double-free/OOB-write while receiving IPC data If a malicious client pretends to be the E17 window manager, it is possible to trigger an out of boundary heap write while receiving an IPC message. The length of the already received message is stored in an unsigned short, which overflows after receiving 64 KB of da...
Tobias Stoeckmann
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -795,7 +795,7 @@ char *enl_ipc_get(const char *msg_data)\n {\n \n \tstatic char *message = NULL;\n-\tstatic unsigned short len = 0;\n+\tstatic size_t len = 0;\n \tchar buff[13], *ret_msg = NULL;\n \tregister unsigned char i;\n \tunsigned c...
c
CWE-787
[ "src/wallpaper.c" ]
src/wallpaper.c
1
$t_block_css = $t_collapse_block ? 'collapsed' : ''; $t_block_icon = $t_collapse_block ? 'fa-chevron-down' : 'fa-chevron-up'; $t_url_page = $_SERVER["PHP_SELF"]; $t_url_params = $_GET; if( isset( $t_url_params['all'] ) ) { unset( $t_url_params['all'] );
$t_block_css = $t_collapse_block ? 'collapsed' : ''; $t_block_icon = $t_collapse_block ? 'fa-chevron-down' : 'fa-chevron-up'; $t_url_page = string_sanitize_url( basename( $_SERVER['SCRIPT_NAME'] ) ); $t_url_params = $_GET; if( isset( $t_url_params['all'] ) ) { unset( $t_url_params['all'] );
CVE-2017-7897
{'CWE-79'}
2.9
{'https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1'}
nvd
A cross-site scripting (XSS) vulnerability in the MantisBT (2.3.x before 2.3.2) Timeline include page, used in My View (my_view_page.php) and User Information (view_user_page.php) pages, allows remote attackers to inject arbitrary code (if CSP settings permit it) through crafted PATH_INFO in a URL, due to use of unsani...
2017-04-18
1
https://github.com/mantisbt/mantisbt
https://github.com/mantisbt/mantisbt/commit/a1c719313d61b07bbe8700005807b8195fdc32f1
a1c719313d61b07bbe8700005807b8195fdc32f1
SINGLE
['a1c719313d61b07bbe8700005807b8195fdc32f1']
{'27b5b292c9814a40fdd5715fa499a82e29f6f866'}
a1c719313d61b07bbe8700005807b8195fdc32f1
1
04/18/2017, 15:49:41
Fix XSS in timeline_inc.php Use of $_SERVER['PHP_SELF'] and outputting it as-is allows an attacker to inject arbitrary JavaScript as part of the URL. Using SCRIPT_NAME and passing it through string_sanitize_url() instead prevents the attack. Fixes #22742 Fixes https://github.com/mantisbt/mantisbt/pull/1094
Damien Regad
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -46,7 +46,7 @@\n $t_block_css = $t_collapse_block ? 'collapsed' : '';\n $t_block_icon = $t_collapse_block ? 'fa-chevron-down' : 'fa-chevron-up';\n \n-$t_url_page = $_SERVER[\"PHP_SELF\"];\n+$t_url_page = string_sanitize_url( basename( $_SE...
php
CWE-79
[ "core/timeline_inc.php" ]
core/timeline_inc.php
1
static int init_items(struct MACH0_(obj_t)* bin) { case LC_LOAD_WEAK_DYLIB: sdb_set (bin->kv, sdb_fmt (0, "mach0_cmd_%d.cmd", i), "load_dylib", 0); bin->nlibs++; if (!parse_dylib(bin, off)){ bprintf ("Cannot parse dylib\n"); bin->nlibs--; return false; static int init_items(struct MACH0_(obj_t)*...
static int init_items(struct MACH0_(obj_t)* bin) { case LC_LOAD_WEAK_DYLIB: sdb_set (bin->kv, sdb_fmt (0, "mach0_cmd_%d.cmd", i), "load_dylib", 0); bin->nlibs++; if (!parse_dylib (bin, off)){ bprintf ("Cannot parse dylib\n"); bin->nlibs--; return false; static int init_items(struct MACH0_(obj_t)...
CVE-2017-7946
{'CWE-416'}
2.9
{'https://github.com/radare/radare2/commit/d1e8ac62c6d978d4662f69116e30230d43033c92'}
nvd
The get_relocs_64 function in libr/bin/format/mach0/mach0.c in radare2 1.3.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted Mach0 file.
2017-04-18
1
https://github.com/radare/radare2
https://github.com/radare/radare2/commit/d1e8ac62c6d978d4662f69116e30230d43033c92
d1e8ac62c6d978d4662f69116e30230d43033c92
SINGLE
['d1e8ac62c6d978d4662f69116e30230d43033c92']
{'03f0ad4187a69d01451632d8ad0f1eb55cdd712b'}
d1e8ac62c6d978d4662f69116e30230d43033c92
1
04/18/2017, 11:37:33
Fix null deref and uaf in mach0 parser
pancake
{'com_1': {'author': 'alvarofe', 'datetime': '04/18/2017, 11:38:20', 'body': 'R_FREE?'}}
{'additions': 51, 'deletions': 41, 'total': 92}
[ { "additions": 51, "changes": 92, "deletions": 41, "patch": "@@ -1119,7 +1119,7 @@ static int init_items(struct MACH0_(obj_t)* bin) {\n \t\tcase LC_LOAD_WEAK_DYLIB:\n \t\t\tsdb_set (bin->kv, sdb_fmt (0, \"mach0_cmd_%d.cmd\", i), \"load_dylib\", 0);\n \t\t\tbin->nlibs++;\n-\t\t\tif (!parse_dylib(bin,...
c
CWE-416
[ "libr/bin/format/mach0/mach0.c" ]
libr/bin/format/mach0/mach0.c
1
static int iwgif_read_image(struct iwgifrcontext *rctx) rctx->image_width = (int)iw_get_ui16le(&rctx->rbuf[4]); rctx->image_height = (int)iw_get_ui16le(&rctx->rbuf[6]); rctx->interlaced = (int)((rctx->rbuf[8]>>6)&0x01);
static int iwgif_read_image(struct iwgifrcontext *rctx) rctx->image_width = (int)iw_get_ui16le(&rctx->rbuf[4]); rctx->image_height = (int)iw_get_ui16le(&rctx->rbuf[6]); if(rctx->image_width<1 || rctx->image_height<1) { iw_set_error(rctx->ctx, "Invalid image dimensions"); goto done; } rctx->interlaced = (int...
CVE-2017-7962
{'CWE-369'}
2.9
{'https://github.com/jsummers/imageworsener/commit/ca3356eb49fee03e2eaf6b6aff826988c1122d93'}
nvd
The iwgif_read_image function in imagew-gif.c in libimageworsener.a in ImageWorsener 1.3.0 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a crafted file.
2017-04-19
1
https://github.com/jsummers/imageworsener
https://github.com/jsummers/imageworsener/commit/ca3356eb49fee03e2eaf6b6aff826988c1122d93
ca3356eb49fee03e2eaf6b6aff826988c1122d93
SINGLE
['ca3356eb49fee03e2eaf6b6aff826988c1122d93']
{'86564051db45b466e5f667111ce00b5eeedc8fb6'}
ca3356eb49fee03e2eaf6b6aff826988c1122d93
1
04/14/2017, 15:30:33
Fixed a GIF decoding bug (divide by zero) Fixes issue #15
Jason Summers
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -614,6 +614,10 @@ static int iwgif_read_image(struct iwgifrcontext *rctx)\n \n \trctx->image_width = (int)iw_get_ui16le(&rctx->rbuf[4]);\n \trctx->image_height = (int)iw_get_ui16le(&rctx->rbuf[6]);\n+\tif(rctx->image_width<1 || rctx->image...
c
CWE-369
[ "src/imagew-gif.c" ]
src/imagew-gif.c
1
public function api() { $ar->send(); //FIXME this doesn't seem to work correctly in this scenario } else { $key = expUnserialize(base64_decode(urldecode($this->params['apikey']))); $cfg = new expConfig($key); $this->config = $cfg->config; if(empty($c...
public function api() { $ar->send(); //FIXME this doesn't seem to work correctly in this scenario } else { $key = expUnserialize(base64_decode(urldecode($this->params['apikey']))); preg_match('/[^a-zA-Z_][^a-zA-Z0-9_]*/', $key, $matches); $key = $matches[0]; ...
CVE-2017-7991
{'CWE-89'}
6.4
{'https://github.com/exponentcms/exponent-cms/commit/67a9c2f0229de120431f3eecb0f5017075517105'}
nvd
Exponent CMS 2.4.1 and earlier has SQL injection via a base64 serialized API key (apikey parameter) in the api function of framework/modules/eaas/controllers/eaasController.php.
2017-04-22
1
https://github.com/exponentcms/exponent-cms
https://github.com/exponentcms/exponent-cms/commit/67a9c2f0229de120431f3eecb0f5017075517105
67a9c2f0229de120431f3eecb0f5017075517105
SINGLE
['67a9c2f0229de120431f3eecb0f5017075517105']
{'ebdc39b4ae5402a939dfbfb210428cb4483056fe'}
67a9c2f0229de120431f3eecb0f5017075517105
1
04/27/2020, 20:34:18
fix sql injection issue
dleffler
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -80,6 +80,8 @@ public function api() {\n $ar->send(); //FIXME this doesn't seem to work correctly in this scenario\n } else {\n $key = expUnserialize(base64_decode(urldecode($this->params['apikey'])));\n+ ...
php
CWE-89
[ "framework/modules/eaas/controllers/eaasController.php" ]
framework/modules/eaas/controllers/eaasController.php
1
static int usb_cypress_writemem(struct usb_device *udev,u16 addr,u8 *data, u8 le int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type) { struct hexline *hx; u8 reset; int ret,pos=0; hx = kmalloc(sizeof(*hx), GFP_KERNEL); if (!hx) return -ENOMEM; /* stop the CPU */ reset...
static int usb_cypress_writemem(struct usb_device *udev,u16 addr,u8 *data, u8 le int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type) { struct hexline *hx; u8 *buf; int ret, pos = 0; u16 cpu_cs_register = cypress[type].cpu_cs_register; buf = kmalloc(sizeof(*hx), GFP_KERNEL)...
CVE-2017-8061
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/67b0503db9c29b04eadfeede6bebbfe5ddad94ef'}
nvd
drivers/media/usb/dvb-usb/dvb-usb-firmware.c in the Linux kernel 4.9.x and 4.10.x before 4.10.7 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one ...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/67b0503db9c29b04eadfeede6bebbfe5ddad94ef
67b0503db9c29b04eadfeede6bebbfe5ddad94ef
SINGLE
['67b0503db9c29b04eadfeede6bebbfe5ddad94ef']
{'8c71fff434e5ecf5ff27bd61db1bc9ac4c2b2a1b'}
67b0503db9c29b04eadfeede6bebbfe5ddad94ef
1
02/12/2017, 15:02:13
[media] dvb-usb-firmware: don't do DMA on stack The buffer allocation for the firmware data was changed in commit 43fab9793c1f ("[media] dvb-usb: don't use stack for firmware load") but the same applies for the reset value. Fixes: 43fab9793c1f ("[media] dvb-usb: don't use stack for firmware load") Cc: stable@vger.ker...
Stefan Brüns
null
{'additions': 12, 'deletions': 10, 'total': 22}
[ { "additions": 12, "changes": 22, "deletions": 10, "patch": "@@ -36,16 +36,18 @@ static int usb_cypress_writemem(struct usb_device *udev,u16 addr,u8 *data, u8 le\n int usb_cypress_load_firmware(struct usb_device *udev, const struct firmware *fw, int type)\n {\n \tstruct hexline *hx;\n-\tu8 reset;\n-...
c
CWE-119
[ "drivers/media/usb/dvb-usb/dvb-usb-firmware.c" ]
drivers/media/usb/dvb-usb/dvb-usb-firmware.c
1
struct dw2102_state { u8 initialized; u8 last_lock; struct i2c_client *i2c_client_demod; struct i2c_client *i2c_client_tuner; static int su3000_i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num) { struct dvb_usb_device *d = i2c_get_adapdata(adap); u8 obuf[0x40], ibuf[0x40]; if (!d) ...
struct dw2102_state { u8 initialized; u8 last_lock; u8 data[MAX_XFER_SIZE + 4]; struct i2c_client *i2c_client_demod; struct i2c_client *i2c_client_tuner; static int su3000_i2c_transfer(struct i2c_adapter *adap, struct i2c_msg msg[], int num) { struct dvb_usb_device *d = i2c_get_adapdata(adap); struct d...
CVE-2017-8062
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/606142af57dad981b78707234cfbd15f9f7b7125'}
nvd
drivers/media/usb/dvb-usb/dw2102.c in the Linux kernel 4.9.x and 4.10.x before 4.10.4 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual pa...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/606142af57dad981b78707234cfbd15f9f7b7125
606142af57dad981b78707234cfbd15f9f7b7125
SINGLE
['606142af57dad981b78707234cfbd15f9f7b7125']
{'5df62771c556e4ec9d7ecea1f070ff6da4bce151'}
606142af57dad981b78707234cfbd15f9f7b7125
1
02/15/2017, 20:29:15
[media] dw2102: don't do DMA on stack On Kernel 4.9, WARNINGs about doing DMA on stack are hit at the dw2102 driver: one in su3000_power_ctrl() and the other in tt_s2_4600_frontend_attach(). Both were due to the use of buffers on the stack as parameters to dvb_usb_generic_rw() and the resulting attempt to do DMA with...
Jonathan McDowell
null
{'additions': 145, 'deletions': 99, 'total': 244}
[ { "additions": 145, "changes": 244, "deletions": 99, "patch": "@@ -68,6 +68,7 @@\n struct dw2102_state {\n \tu8 initialized;\n \tu8 last_lock;\n+\tu8 data[MAX_XFER_SIZE + 4];\n \tstruct i2c_client *i2c_client_demod;\n \tstruct i2c_client *i2c_client_tuner;\n \n@@ -661,62 +662,72 @@ static int su3000...
c
CWE-119
[ "drivers/media/usb/dvb-usb/dw2102.c" ]
drivers/media/usb/dvb-usb/dw2102.c
1
static int cxusb_ctrl_msg(struct dvb_usb_device *d, u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) { struct cxusb_state *st = d->priv; int ret, wo; if (1 + wlen > MAX_XFER_SIZE) { warn("i2c wr: len=%d is too big!\n", wlen); return -EOPNOTSUPP; } wo = (rbuf == NULL || rlen == 0); /* write-only */ mut...
static int cxusb_ctrl_msg(struct dvb_usb_device *d, u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) { struct cxusb_state *st = d->priv; int ret; if (1 + wlen > MAX_XFER_SIZE) { warn("i2c wr: len=%d is too big!\n", wlen); return -EOPNOTSUPP; } if (rlen > MAX_XFER_SIZE) { warn("i2c rd: len=%d is too bi...
CVE-2017-8063
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/3f190e3aec212fc8c61e202c51400afa7384d4bc'}
nvd
drivers/media/usb/dvb-usb/cxusb.c in the Linux kernel 4.9.x and 4.10.x before 4.10.12 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash) or possibly have unspecified other impact by leveraging use of more than one virtual page for a DMA scatterl...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/3f190e3aec212fc8c61e202c51400afa7384d4bc
3f190e3aec212fc8c61e202c51400afa7384d4bc
SINGLE
['3f190e3aec212fc8c61e202c51400afa7384d4bc']
{'69d3973af1acd4c0989ec8218c05f12d303cd7cf'}
3f190e3aec212fc8c61e202c51400afa7384d4bc
1
02/05/2017, 14:57:59
[media] cxusb: Use a dma capable buffer also for reading Commit 17ce039b4e54 ("[media] cxusb: don't do DMA on stack") added a kmalloc'ed bounce buffer for writes, but missed to do the same for reads. As the read only happens after the write is finished, we can reuse the same buffer. As dvb_usb_generic_rw handles a re...
Stefan Brüns
null
{'additions': 8, 'deletions': 7, 'total': 15}
[ { "additions": 8, "changes": 15, "deletions": 7, "patch": "@@ -59,23 +59,24 @@ static int cxusb_ctrl_msg(struct dvb_usb_device *d,\n \t\t\t u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen)\n {\n \tstruct cxusb_state *st = d->priv;\n-\tint ret, wo;\n+\tint ret;\n \n \tif (1 + wlen > MAX_XFER_SIZE) {\...
c
CWE-119
[ "drivers/media/usb/dvb-usb/cxusb.c" ]
drivers/media/usb/dvb-usb/cxusb.c
1
EXPORT_SYMBOL(dvb_usbv2_probe); void dvb_usbv2_disconnect(struct usb_interface *intf) { struct dvb_usb_device *d = usb_get_intfdata(intf); const char *name = d->name; struct device dev = d->udev->dev; dev_dbg(&d->udev->dev, "%s: bInterfaceNumber=%d\n", __func__, intf->cur_altsetting->desc.bInterfaceNumber); vo...
EXPORT_SYMBOL(dvb_usbv2_probe); void dvb_usbv2_disconnect(struct usb_interface *intf) { struct dvb_usb_device *d = usb_get_intfdata(intf); const char *devname = kstrdup(dev_name(&d->udev->dev), GFP_KERNEL); const char *drvname = d->name; dev_dbg(&d->udev->dev, "%s: bInterfaceNumber=%d\n", __func__, intf->cur_a...
CVE-2017-8064
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/005145378c9ad7575a01b6ce1ba118fb427f583a'}
nvd
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c in the Linux kernel 4.9.x and 4.10.x before 4.10.12 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one ...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/005145378c9ad7575a01b6ce1ba118fb427f583a
005145378c9ad7575a01b6ce1ba118fb427f583a
SINGLE
['005145378c9ad7575a01b6ce1ba118fb427f583a']
{'430ae1261c511efe9fc6293fbf24b1f71ea8c4ea'}
005145378c9ad7575a01b6ce1ba118fb427f583a
1
02/02/2017, 14:36:01
[media] dvb-usb-v2: avoid use-after-free I ran into a stack frame size warning because of the on-stack copy of the USB device structure: drivers/media/usb/dvb-usb-v2/dvb_usb_core.c: In function 'dvb_usbv2_disconnect': drivers/media/usb/dvb-usb-v2/dvb_usb_core.c:1029:1: error: the frame size of 1104 bytes is larger th...
Arnd Bergmann
null
{'additions': 5, 'deletions': 4, 'total': 9}
[ { "additions": 5, "changes": 9, "deletions": 4, "patch": "@@ -1012,8 +1012,8 @@ EXPORT_SYMBOL(dvb_usbv2_probe);\n void dvb_usbv2_disconnect(struct usb_interface *intf)\n {\n \tstruct dvb_usb_device *d = usb_get_intfdata(intf);\n-\tconst char *name = d->name;\n-\tstruct device dev = d->udev->dev;\n+\...
c
CWE-119
[ "drivers/media/usb/dvb-usb-v2/dvb_usb_core.c" ]
drivers/media/usb/dvb-usb-v2/dvb_usb_core.c
1
struct crypto_rfc4309_req_ctx { struct crypto_ccm_req_priv_ctx { u8 odata[16]; u8 auth_tag[16]; u32 flags; struct scatterlist src[3]; static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, AHASH_REQUEST_ON_STACK(ahreq, ctx->mac); unsigned int assoclen = req->assoclen; struct scatterlis...
struct crypto_rfc4309_req_ctx { struct crypto_ccm_req_priv_ctx { u8 odata[16]; u8 idata[16]; u8 auth_tag[16]; u32 flags; struct scatterlist src[3]; static int crypto_ccm_auth(struct aead_request *req, struct scatterlist *plain, AHASH_REQUEST_ON_STACK(ahreq, ctx->mac); unsigned int assoclen = req->assoclen; st...
CVE-2017-8065
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/3b30460c5b0ed762be75a004e924ec3f8711e032'}
nvd
crypto/ccm.c in the Linux kernel 4.9.x and 4.10.x through 4.10.12 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page for a DMA scatter...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/3b30460c5b0ed762be75a004e924ec3f8711e032
3b30460c5b0ed762be75a004e924ec3f8711e032
SINGLE
['3b30460c5b0ed762be75a004e924ec3f8711e032']
{'89027579bc6c2febbcc9c2f9d5069adf71539e4b'}
3b30460c5b0ed762be75a004e924ec3f8711e032
1
02/27/2017, 15:30:56
crypto: ccm - move cbcmac input off the stack Commit f15f05b0a5de ("crypto: ccm - switch to separate cbcmac driver") refactored the CCM driver to allow separate implementations of the underlying MAC to be provided by a platform. However, in doing so, it moved some data from the linear region to the stack, which violat...
Ard Biesheuvel
null
{'additions': 3, 'deletions': 2, 'total': 5}
[ { "additions": 3, "changes": 5, "deletions": 2, "patch": "@@ -45,6 +45,7 @@ struct crypto_rfc4309_req_ctx {\n \n struct crypto_ccm_req_priv_ctx {\n \tu8 odata[16];\n+\tu8 idata[16];\n \tu8 auth_tag[16];\n \tu32 flags;\n \tstruct scatterlist src[3];\n@@ -183,8 +184,8 @@ static int crypto_ccm_auth(str...
c
CWE-119
[ "crypto/ccm.c" ]
crypto/ccm.c
1
static int gs_usb_probe(struct usb_interface *intf, struct gs_usb *dev; int rc = -ENOMEM; unsigned int icount, i; struct gs_host_config hconf = { .byte_order = 0x0000beef, }; struct gs_device_config dconf; /* send host config */ rc = usb_control_msg(interface_to_usbdev(intf), static int gs_usb_probe(struct ...
static int gs_usb_probe(struct usb_interface *intf, struct gs_usb *dev; int rc = -ENOMEM; unsigned int icount, i; struct gs_host_config *hconf; struct gs_device_config *dconf; hconf = kmalloc(sizeof(*hconf), GFP_KERNEL); if (!hconf) return -ENOMEM; hconf->byte_order = 0x0000beef; /* send host config */ ...
CVE-2017-8066
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/c919a3069c775c1c876bec55e00b2305d5125caa'}
nvd
drivers/net/can/usb/gs_usb.c in the Linux kernel 4.9.x and 4.10.x before 4.10.2 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page for...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/c919a3069c775c1c876bec55e00b2305d5125caa
c919a3069c775c1c876bec55e00b2305d5125caa
SINGLE
['c919a3069c775c1c876bec55e00b2305d5125caa']
{'9f674e48c13dcbc31ac903433727837795b81efe'}
c919a3069c775c1c876bec55e00b2305d5125caa
1
02/24/2017, 16:27:36
can: gs_usb: Don't use stack memory for USB transfers Fixes: 05ca5270005c can: gs_usb: add ethtool set_phys_id callback to locate physical device The gs_usb driver is performing USB transfers using buffers allocated on the stack. This causes the driver to not function with vmapped stacks. Instead, allocate memory for...
Ethan Zonca
null
{'additions': 29, 'deletions': 11, 'total': 40}
[ { "additions": 29, "changes": 40, "deletions": 11, "patch": "@@ -908,10 +908,14 @@ static int gs_usb_probe(struct usb_interface *intf,\n \tstruct gs_usb *dev;\n \tint rc = -ENOMEM;\n \tunsigned int icount, i;\n-\tstruct gs_host_config hconf = {\n-\t\t.byte_order = 0x0000beef,\n-\t};\n-\tstruct gs_de...
c
CWE-119
[ "drivers/net/can/usb/gs_usb.c" ]
drivers/net/can/usb/gs_usb.c
1
static int put_chars(u32 vtermno, const char *buf, int count) { struct port *port; struct scatterlist sg[1]; if (unlikely(early_put_chars)) return early_put_chars(vtermno, buf, count); static int put_chars(u32 vtermno, const char *buf, int count) if (!port) return -EPIPE; sg_init_one(sg, buf, count); retur...
static int put_chars(u32 vtermno, const char *buf, int count) { struct port *port; struct scatterlist sg[1]; void *data; int ret; if (unlikely(early_put_chars)) return early_put_chars(vtermno, buf, count); static int put_chars(u32 vtermno, const char *buf, int count) if (!port) return -EPIPE; data = kmemd...
CVE-2017-8067
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/c4baad50297d84bde1a7ad45e50c73adae4a2192'}
nvd
drivers/char/virtio_console.c in the Linux kernel 4.9.x and 4.10.x before 4.10.12 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page f...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/c4baad50297d84bde1a7ad45e50c73adae4a2192
c4baad50297d84bde1a7ad45e50c73adae4a2192
SINGLE
['c4baad50297d84bde1a7ad45e50c73adae4a2192']
{'f889491380582b4ba2981cf0b0d7d6a40fb30ab7'}
c4baad50297d84bde1a7ad45e50c73adae4a2192
1
02/01/2017, 08:02:27
virtio-console: avoid DMA from stack put_chars() stuffs the buffer it gets into an sg, but that buffer may be on the stack. This breaks with CONFIG_VMAP_STACK=y (for me, it manifested as printks getting turned into NUL bytes). Signed-off-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Michael S. Tsirkin <mst@redhat...
Omar Sandoval
null
{'additions': 10, 'deletions': 2, 'total': 12}
[ { "additions": 10, "changes": 12, "deletions": 2, "patch": "@@ -1136,6 +1136,8 @@ static int put_chars(u32 vtermno, const char *buf, int count)\n {\n \tstruct port *port;\n \tstruct scatterlist sg[1];\n+\tvoid *data;\n+\tint ret;\n \n \tif (unlikely(early_put_chars))\n \t\treturn early_put_chars(vte...
c
CWE-119
[ "drivers/char/virtio_console.c" ]
drivers/char/virtio_console.c
1
static void async_ctrl_callback(struct urb *urb) static int get_registers(pegasus_t *pegasus, __u16 indx, __u16 size, void *data) { int ret; ret = usb_control_msg(pegasus->usb, usb_rcvctrlpipe(pegasus->usb, 0), PEGASUS_REQ_GET_REGS, PEGASUS_REQT_READ, 0, indx, data, size, 1000); if (ret < 0) n...
static void async_ctrl_callback(struct urb *urb) static int get_registers(pegasus_t *pegasus, __u16 indx, __u16 size, void *data) { u8 *buf; int ret; buf = kmalloc(size, GFP_NOIO); if (!buf) return -ENOMEM; ret = usb_control_msg(pegasus->usb, usb_rcvctrlpipe(pegasus->usb, 0), PEGASUS_REQ_GET_REGS, P...
CVE-2017-8068
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/5593523f968bc86d42a035c6df47d5e0979b5ace'}
nvd
drivers/net/usb/pegasus.c in the Linux kernel 4.9.x before 4.9.11 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page for a DMA scatter...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/5593523f968bc86d42a035c6df47d5e0979b5ace
5593523f968bc86d42a035c6df47d5e0979b5ace
SINGLE
['5593523f968bc86d42a035c6df47d5e0979b5ace']
{'432d4f8ab03527958294ad5e539acaebfc4625e3'}
5593523f968bc86d42a035c6df47d5e0979b5ace
1
02/04/2017, 16:56:03
pegasus: Use heap buffers for all register access Allocating USB buffers on the stack is not portable, and no longer works on x86_64 (with VMAP_STACK enabled as per default). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") References: https://bugs.debian.org/852556 Reported-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@...
Ben Hutchings
null
{'additions': 25, 'deletions': 4, 'total': 29}
[ { "additions": 25, "changes": 29, "deletions": 4, "patch": "@@ -126,40 +126,61 @@ static void async_ctrl_callback(struct urb *urb)\n \n static int get_registers(pegasus_t *pegasus, __u16 indx, __u16 size, void *data)\n {\n+\tu8 *buf;\n \tint ret;\n \n+\tbuf = kmalloc(size, GFP_NOIO);\n+\tif (!buf)\n...
c
CWE-119
[ "drivers/net/usb/pegasus.c" ]
drivers/net/usb/pegasus.c
1
static const char driver_name [] = "rtl8150"; */ static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data) { return usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev, 0), RTL8150_REQ_GET_REGS, RTL8150_REQT_READ, indx, 0, data, size, 500); } static int set_registers(rtl8150_t * ...
static const char driver_name [] = "rtl8150"; */ static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data) { void *buf; int ret; buf = kmalloc(size, GFP_NOIO); if (!buf) return -ENOMEM; ret = usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev, 0), RTL8150_REQ_GET_REGS, RTL8150_REQT_...
CVE-2017-8069
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/7926aff5c57b577ab0f43364ff0c59d968f6a414'}
nvd
drivers/net/usb/rtl8150.c in the Linux kernel 4.9.x before 4.9.11 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page for a DMA scatter...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/7926aff5c57b577ab0f43364ff0c59d968f6a414
7926aff5c57b577ab0f43364ff0c59d968f6a414
SINGLE
['7926aff5c57b577ab0f43364ff0c59d968f6a414']
{'5593523f968bc86d42a035c6df47d5e0979b5ace'}
7926aff5c57b577ab0f43364ff0c59d968f6a414
1
02/04/2017, 16:56:32
rtl8150: Use heap buffers for all register access Allocating USB buffers on the stack is not portable, and no longer works on x86_64 (with VMAP_STACK enabled as per default). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net...
Ben Hutchings
null
{'additions': 27, 'deletions': 7, 'total': 34}
[ { "additions": 27, "changes": 34, "deletions": 7, "patch": "@@ -155,16 +155,36 @@ static const char driver_name [] = \"rtl8150\";\n */\n static int get_registers(rtl8150_t * dev, u16 indx, u16 size, void *data)\n {\n-\treturn usb_control_msg(dev->udev, usb_rcvctrlpipe(dev->udev, 0),\n-\t\t\t R...
c
CWE-119
[ "drivers/net/usb/rtl8150.c" ]
drivers/net/usb/rtl8150.c
1
static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id struct net_device *netdev; struct catc *catc; u8 broadcast[ETH_ALEN]; int i, pktsz, ret; if (usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 1)) { static int catc_probe(struct usb_interface *intf, const struct ...
static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id struct net_device *netdev; struct catc *catc; u8 broadcast[ETH_ALEN]; int pktsz, ret; if (usb_set_interface(usbdev, intf->altsetting->desc.bInterfaceNumber, 1)) { static int catc_probe(struct usb_interface *intf, const struct usb...
CVE-2017-8070
{'CWE-119'}
10
{'https://github.com/torvalds/linux/commit/2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478'}
nvd
drivers/net/usb/catc.c in the Linux kernel 4.9.x before 4.9.11 interacts incorrectly with the CONFIG_VMAP_STACK option, which allows local users to cause a denial of service (system crash or memory corruption) or possibly have unspecified other impact by leveraging use of more than one virtual page for a DMA scatterlis...
2017-04-23
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478
2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478
SINGLE
['2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478']
{'d41149145f98fe26dcd0bfd1d6cc095e6e041418'}
2d6a0e9de03ee658a9adc3bfb2f0ca55dff1e478
1
02/04/2017, 16:57:04
catc: Use heap buffer for memory size test Allocating USB buffers on the stack is not portable, and no longer works on x86_64 (with VMAP_STACK enabled as per default). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Signed-off-by: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Ben Hutchings
null
{'additions': 18, 'deletions': 7, 'total': 25}
[ { "additions": 18, "changes": 25, "deletions": 7, "patch": "@@ -776,7 +776,7 @@ static int catc_probe(struct usb_interface *intf, const struct usb_device_id *id\n \tstruct net_device *netdev;\n \tstruct catc *catc;\n \tu8 broadcast[ETH_ALEN];\n-\tint i, pktsz, ret;\n+\tint pktsz, ret;\n \n \tif (usb...
c
CWE-119
[ "drivers/net/usb/catc.c" ]
drivers/net/usb/catc.c
1
irc_ctcp_dcc_filename_without_quotes (const char *filename) int length; length = strlen (filename); if (length > 0) { if ((filename[0] == '\"') && (filename[length - 1] == '\"')) return weechat_strndup (filename + 1, length - 2);
irc_ctcp_dcc_filename_without_quotes (const char *filename) int length; length = strlen (filename); if (length > 1) { if ((filename[0] == '\"') && (filename[length - 1] == '\"')) return weechat_strndup (filename + 1, length - 2);
CVE-2017-8073
{'CWE-119'}
2.9
{'https://github.com/weechat/weechat/commit/2fb346f25f79e412cf0ed314fdf791763c19b70b'}
nvd
WeeChat before 1.7.1 allows a remote crash by sending a filename via DCC to the IRC plugin. This occurs in the irc_ctcp_dcc_filename_without_quotes function during quote removal, with a buffer overflow.
2017-04-23
1
https://github.com/weechat/weechat
https://github.com/weechat/weechat/commit/2fb346f25f79e412cf0ed314fdf791763c19b70b
2fb346f25f79e412cf0ed314fdf791763c19b70b
SINGLE
['2fb346f25f79e412cf0ed314fdf791763c19b70b']
{'628313a663ff20c41b54805399f604404c39caee'}
2fb346f25f79e412cf0ed314fdf791763c19b70b
1
04/22/2017, 13:10:53
irc: fix parsing of DCC filename
Tobias Stoeckmann
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -512,7 +512,7 @@ irc_ctcp_dcc_filename_without_quotes (const char *filename)\n int length;\n \n length = strlen (filename);\n- if (length > 0)\n+ if (length > 1)\n {\n if ((filename[0] == '\\\"') && (filename[leng...
c
CWE-119
[ "src/plugins/irc/irc-ctcp.c" ]
src/plugins/irc/irc-ctcp.c
1
function validName($name) ); //header('Access-Control-Allow-Origin: *'); $connector = new elFinderConnector(new elFinderExponent($opts), true); $connector->run();
function validName($name) ); //header('Access-Control-Allow-Origin: *'); $connector = new elFinderConnector(new elFinderExponent($opts)); $connector->run();
CVE-2017-8085
{'CWE-79'}
2.9
{'https://github.com/exponentcms/exponent-cms/commit/0b2241ff1c7d86376fa260c5d4c1714f6cef9c0f'}
nvd
In Exponent CMS before 2.4.1 Patch #5, XSS in elFinder is possible in framework/modules/file/connector/elfinder.php.
2017-04-24
1
https://github.com/exponentcms/exponent-cms
https://github.com/exponentcms/exponent-cms/commit/0b2241ff1c7d86376fa260c5d4c1714f6cef9c0f
0b2241ff1c7d86376fa260c5d4c1714f6cef9c0f
SINGLE
['0b2241ff1c7d86376fa260c5d4c1714f6cef9c0f']
{'0549d90eba10e3de2da1f7200144cfcc8d4cd811'}
0b2241ff1c7d86376fa260c5d4c1714f6cef9c0f
1
04/22/2017, 16:56:20
fix possible xss security issue with elFinder (thanks to chengable)
dleffler
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -509,5 +509,5 @@ function validName($name)\n );\n \n //header('Access-Control-Allow-Origin: *');\n-$connector = new elFinderConnector(new elFinderExponent($opts), true);\n+$connector = new elFinderConnector(new elFinderExponent($opts));\n ...
php
CWE-79
[ "framework/modules/file/connector/elfinder.php" ]
framework/modules/file/connector/elfinder.php
1
static target_ulong disas_insn(CPUX86State *env, DisasContext *s, s->vex_l = 0; s->vex_v = 0; next_byte: b = cpu_ldub_code(env, s->pc); s->pc++; /* Collect prefixes. */
static target_ulong disas_insn(CPUX86State *env, DisasContext *s, s->vex_l = 0; s->vex_v = 0; next_byte: /* x86 has an upper limit of 15 bytes for an instruction. Since we * do not want to decode and generate IR for an illegal * instruction, the following check limits the instruction size to ...
CVE-2017-8284
{'CWE-94'}
10
{'https://github.com/qemu/qemu/commit/30663fd26c0307e414622c7a8607fbc04f92ec14'}
nvd
** DISPUTED ** The disas_insn function in target/i386/translate.c in QEMU before 2.9.0, when TCG mode without hardware acceleration is used, does not limit the instruction size, which allows local users to gain privileges by creating a modified basic block that injects code into a setuid program, as demonstrated by pro...
2017-04-26
1
https://github.com/qemu/qemu
https://github.com/qemu/qemu/commit/30663fd26c0307e414622c7a8607fbc04f92ec14
30663fd26c0307e414622c7a8607fbc04f92ec14
SINGLE
['30663fd26c0307e414622c7a8607fbc04f92ec14']
{'71407786054cad26de7ef66718b2a57a4bcb49b5'}
30663fd26c0307e414622c7a8607fbc04f92ec14
1
03/23/2017, 17:58:51
tcg/i386: Check the size of instruction being translated This fixes the bug: 'user-to-root privesc inside VM via bad translation caching' reported by Jann Horn here: https://bugs.chromium.org/p/project-zero/issues/detail?id=1122 Reviewed-by: Richard Henderson <rth@twiddle.net> CC: Peter Maydell <peter.maydell@linaro....
Pranith Kumar
null
{'additions': 7, 'deletions': 0, 'total': 7}
[ { "additions": 7, "changes": 7, "deletions": 0, "patch": "@@ -4418,6 +4418,13 @@ static target_ulong disas_insn(CPUX86State *env, DisasContext *s,\n s->vex_l = 0;\n s->vex_v = 0;\n next_byte:\n+ /* x86 has an upper limit of 15 bytes for an instruction. Since we\n+ * do not want to de...
c
CWE-94
[ "target/i386/translate.c" ]
target/i386/translate.c
1
function _onVersionValidationChanged() { // temporarily disable them all enabledExtensions = []; for (let uuid in ExtensionUtils.extensions) reloadExtension(ExtensionUtils.extensions[uuid]); enabledExtensions = getEnabledExtensions(); if (Main.sessionMode.allowExtensions) { enabled...
function _onVersionValidationChanged() { // temporarily disable them all enabledExtensions = []; for (let uuid in ExtensionUtils.extensions) try { reloadExtension(ExtensionUtils.extensions[uuid]); } catch(e) { logExtensionError(uuid, e); } enabledExtensio...
CVE-2017-8288
{'CWE-20'}
6.4
{'https://github.com/GNOME/gnome-shell/commit/ff425d1db7082e2755d2a405af53861552acf2a1'}
nvd
gnome-shell 3.22 through 3.24.1 mishandles extensions that fail to reload, which can lead to leaving extensions enabled in the lock screen. With these extensions, a bystander could launch applications (but not interact with them), see information from the extensions (e.g., what applications you have opened or what musi...
2017-04-27
1
https://github.com/GNOME/gnome-shell
https://github.com/GNOME/gnome-shell/commit/ff425d1db7082e2755d2a405af53861552acf2a1
ff425d1db7082e2755d2a405af53861552acf2a1
SINGLE
['ff425d1db7082e2755d2a405af53861552acf2a1']
{'9a65f20d9187d16681325755beacf077f078ed74'}
ff425d1db7082e2755d2a405af53861552acf2a1
1
04/25/2017, 15:27:42
extensionSystem: handle reloading broken extensions Some extensions out there may fail to reload. When that happens, we need to catch any exceptions so that we don't leave things in a broken state that could lead to leaving extensions enabled in the screen shield. https://bugzilla.gnome.org/show_bug.cgi?id=781728
Emilio Pozuelo Monfort
null
{'additions': 10, 'deletions': 2, 'total': 12}
[ { "additions": 10, "changes": 12, "deletions": 2, "patch": "@@ -282,12 +282,20 @@ function _onVersionValidationChanged() {\n // temporarily disable them all\n enabledExtensions = [];\n for (let uuid in ExtensionUtils.extensions)\n- reloadExtension(ExtensionUtils.extensions[uuid]);...
js
CWE-20
[ "js/ui/extensionSystem.js" ]
js/ui/extensionSystem.js
1
vbf_stp_error(struct worker *wrk, struct busyobj *bo) l = ll; if (VFP_GetStorage(bo->vfc, &l, &ptr) != VFP_OK) break; memcpy(ptr, VSB_data(synth_body) + o, l); VFP_Extend(bo->vfc, l); ll -= l;
vbf_stp_error(struct worker *wrk, struct busyobj *bo) l = ll; if (VFP_GetStorage(bo->vfc, &l, &ptr) != VFP_OK) break; if (l > ll) l = ll; memcpy(ptr, VSB_data(synth_body) + o, l); VFP_Extend(bo->vfc, l); ll -= l;
CVE-2017-8807
{'CWE-119'}
4.9
{'https://github.com/varnishcache/varnish-cache/commit/176f8a075a963ffbfa56f1c460c15f6a1a6af5a7'}
nvd
vbf_stp_error in bin/varnishd/cache/cache_fetch.c in Varnish HTTP Cache 4.1.x before 4.1.9 and 5.x before 5.2.1 allows remote attackers to obtain sensitive information from process memory because a VFP_GetStorage buffer is larger than intended in certain circumstances involving -sfile Stevedore transient objects.
2017-11-16
1
https://github.com/varnishcache/varnish-cache
https://github.com/varnishcache/varnish-cache/commit/176f8a075a963ffbfa56f1c460c15f6a1a6af5a7
176f8a075a963ffbfa56f1c460c15f6a1a6af5a7
SINGLE
['176f8a075a963ffbfa56f1c460c15f6a1a6af5a7']
{'b5593e22805351a0121924626624eb33641847f6'}
176f8a075a963ffbfa56f1c460c15f6a1a6af5a7
1
09/18/2017, 14:04:53
Avoid buffer read overflow on vcl_error and -sfile The file stevedore may return a buffer larger than asked for when requesting storage. Due to lack of check for this condition, the code to copy the synthetic error memory buffer from vcl_error would overrun the buffer. Patch by @shamger Fixes: #2429
Martin Blix Grydeland
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -899,6 +899,8 @@ vbf_stp_error(struct worker *wrk, struct busyobj *bo)\n \t\tl = ll;\n \t\tif (VFP_GetStorage(bo->vfc, &l, &ptr) != VFP_OK)\n \t\t\tbreak;\n+\t\tif (l > ll)\n+\t\t\tl = ll;\n \t\tmemcpy(ptr, VSB_data(synth_body) + o, l);\n ...
c
CWE-119
[ "bin/varnishd/cache/cache_fetch.c" ]
bin/varnishd/cache/cache_fetch.c
1
static int mailimf_group_parse(const char * message, size_t length, struct mailimf_group * group; int r; int res; cur_token = * indx; static int mailimf_group_parse(const char * message, size_t length, res = r; goto free_display_name; } break; default: res = r;
static int mailimf_group_parse(const char * message, size_t length, struct mailimf_group * group; int r; int res; clist * list; cur_token = * indx; static int mailimf_group_parse(const char * message, size_t length, res = r; goto free_display_name; } list = clist_new(); if (list == ...
CVE-2017-8825
{'CWE-476'}
2.9
{'https://github.com/dinhviethoa/libetpan/commit/1fe8fbc032ccda1db9af66d93016b49c16c1f22d'}
nvd
A null dereference vulnerability has been found in the MIME handling component of LibEtPan before 1.8, as used in MailCore and MailCore 2. A crash can occur in low-level/imf/mailimf.c during a failed parse of a Cc header containing multiple e-mail addresses.
2017-05-08
1
https://github.com/dinhviethoa/libetpan
https://github.com/dinhviethoa/libetpan/commit/1fe8fbc032ccda1db9af66d93016b49c16c1f22d
1fe8fbc032ccda1db9af66d93016b49c16c1f22d
SINGLE
['1fe8fbc032ccda1db9af66d93016b49c16c1f22d']
{'d4244c326e392e7c581383d088e302b4fcb3d921'}
1fe8fbc032ccda1db9af66d93016b49c16c1f22d
1
05/07/2017, 22:58:41
Fixed crash #274
Viet Hoa Dinh
null
{'additions': 12, 'deletions': 0, 'total': 12}
[ { "additions": 12, "changes": 12, "deletions": 0, "patch": "@@ -3083,6 +3083,7 @@ static int mailimf_group_parse(const char * message, size_t length,\n struct mailimf_group * group;\n int r;\n int res;\n+ clist * list;\n \n cur_token = * indx;\n \n@@ -3110,6 +3111,17 @@ static int mailimf_g...
c
CWE-476
[ "src/low-level/imf/mailimf.c" ]
src/low-level/imf/mailimf.c
1
int saa7164_bus_get(struct saa7164_dev *dev, struct tmComResInfo* msg, msg_tmp.size = le16_to_cpu((__force __le16)msg_tmp.size); msg_tmp.command = le32_to_cpu((__force __le32)msg_tmp.command); msg_tmp.controlselector = le16_to_cpu((__force __le16)msg_tmp.controlselector); /* No need to update the read positions, ...
int saa7164_bus_get(struct saa7164_dev *dev, struct tmComResInfo* msg, msg_tmp.size = le16_to_cpu((__force __le16)msg_tmp.size); msg_tmp.command = le32_to_cpu((__force __le32)msg_tmp.command); msg_tmp.controlselector = le16_to_cpu((__force __le16)msg_tmp.controlselector); memcpy(msg, &msg_tmp, sizeof(*msg)); /* ...
CVE-2017-8831
{'CWE-125'}
10
{'https://github.com/stoth68000/media-tree/commit/354dd3924a2e43806774953de536257548b5002c'}
nvd
The saa7164_bus_get function in drivers/media/pci/saa7164/saa7164-bus.c in the Linux kernel through 4.11.5 allows local users to cause a denial of service (out-of-bounds array access) or possibly have unspecified other impact by changing a certain sequence-number value, aka a "double fetch" vulnerability.
2017-05-08
1
https://github.com/stoth68000/media-tree
https://github.com/stoth68000/media-tree/commit/354dd3924a2e43806774953de536257548b5002c
354dd3924a2e43806774953de536257548b5002c
SINGLE
['354dd3924a2e43806774953de536257548b5002c']
{'37404f91ef8b910e6117b7920c082d71aba27250'}
354dd3924a2e43806774953de536257548b5002c
1
06/06/2017, 12:30:27
[PATCH] saa7164: Bug - Double fetch PCIe access condition Avoid a double fetch by reusing the values from the prior transfer. Originally reported via https://bugzilla.kernel.org/show_bug.cgi?id=195559 Thanks to Pengfei Wang <wpengfeinudt@gmail.com> for reporting. Signed-off-by: Steven Toth <stoth@kernellabs.com>
Steven Toth
null
{'additions': 1, 'deletions': 12, 'total': 13}
[ { "additions": 1, "changes": 13, "deletions": 12, "patch": "@@ -389,11 +389,11 @@ int saa7164_bus_get(struct saa7164_dev *dev, struct tmComResInfo* msg,\n \tmsg_tmp.size = le16_to_cpu((__force __le16)msg_tmp.size);\n \tmsg_tmp.command = le32_to_cpu((__force __le32)msg_tmp.command);\n \tmsg_tmp.contr...
c
CWE-125
[ "drivers/media/pci/saa7164/saa7164-bus.c" ]
drivers/media/pci/saa7164/saa7164-bus.c
1
struct sock *inet_csk_clone_lock(const struct sock *sk, /* listeners have SOCK_RCU_FREE, not the children */ sock_reset_flag(newsk, SOCK_RCU_FREE); newsk->sk_mark = inet_rsk(req)->ir_mark; atomic64_set(&newsk->sk_cookie, atomic64_read(&inet_rsk(req)->ir_cookie));
struct sock *inet_csk_clone_lock(const struct sock *sk, /* listeners have SOCK_RCU_FREE, not the children */ sock_reset_flag(newsk, SOCK_RCU_FREE); inet_sk(newsk)->mc_list = NULL; newsk->sk_mark = inet_rsk(req)->ir_mark; atomic64_set(&newsk->sk_cookie, atomic64_read(&inet_rsk(req)->ir_cookie));
CVE-2017-8890
{'CWE-415'}
10
{'https://github.com/torvalds/linux/commit/657831ffc38e30092a2d5f03d385d710eb88b09a'}
nvd
The inet_csk_clone_lock function in net/ipv4/inet_connection_sock.c in the Linux kernel through 4.10.15 allows attackers to cause a denial of service (double free) or possibly have unspecified other impact by leveraging use of the accept system call.
2017-05-10
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/657831ffc38e30092a2d5f03d385d710eb88b09a
657831ffc38e30092a2d5f03d385d710eb88b09a
SINGLE
['657831ffc38e30092a2d5f03d385d710eb88b09a']
{'e735da5ec09526f197f3d8dd837d9a00e45e72aa'}
657831ffc38e30092a2d5f03d385d710eb88b09a
1
05/09/2017, 13:29:19
dccp/tcp: do not inherit mc_list from parent syzkaller found a way to trigger double frees from ip_mc_drop_socket() It turns out that leave a copy of parent mc_list at accept() time, which is very bad. Very similar to commit 8b485ce69876 ("tcp: do not inherit fastopen_req from parent") Initial report from Pray3r, c...
Eric Dumazet
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -794,6 +794,8 @@ struct sock *inet_csk_clone_lock(const struct sock *sk,\n \t\t/* listeners have SOCK_RCU_FREE, not the children */\n \t\tsock_reset_flag(newsk, SOCK_RCU_FREE);\n \n+\t\tinet_sk(newsk)->mc_list = NULL;\n+\n \t\tnewsk->sk_ma...
c
CWE-415
[ "net/ipv4/inet_connection_sock.c" ]
net/ipv4/inet_connection_sock.c
1
static int nsv_read_chunk(AVFormatContext *s, int fill_header) uint32_t vsize; uint16_t asize; uint16_t auxsize; if (nsv->ahead[0].data || nsv->ahead[1].data) return 0; //-1; /* hey! eat what you've in your plate first! */ static int nsv_read_chunk(AVFormatContext *s, int fill_header) if (...
static int nsv_read_chunk(AVFormatContext *s, int fill_header) uint32_t vsize; uint16_t asize; uint16_t auxsize; int ret; if (nsv->ahead[0].data || nsv->ahead[1].data) return 0; //-1; /* hey! eat what you've in your plate first! */ static int nsv_read_chunk(AVFormatContext *s, int fill_hea...
CVE-2017-9051
{'CWE-476'}
6.4
{'https://github.com/libav/libav/commit/fe6eea99efac66839052af547426518efd970b24'}
nvd
libav before 12.1 is vulnerable to an invalid read of size 1 due to NULL pointer dereferencing in the nsv_read_chunk function in libavformat/nsvdec.c.
2017-05-18
1
https://github.com/libav/libav
https://github.com/libav/libav/commit/fe6eea99efac66839052af547426518efd970b24
fe6eea99efac66839052af547426518efd970b24
SINGLE
['fe6eea99efac66839052af547426518efd970b24']
{'d4f3c26b700ae847433ba3c67dc99c32bc1fd4a1'}
fe6eea99efac66839052af547426518efd970b24
1
03/24/2017, 17:36:51
nsvdec: don't ignore the return value of av_get_packet() Fixes invalid reads with corrupted files. CC: libav-stable@libav.org Bug-Id: 1039
Sean McGovern
null
{'additions': 5, 'deletions': 2, 'total': 7}
[ { "additions": 5, "changes": 7, "deletions": 2, "patch": "@@ -520,6 +520,7 @@ static int nsv_read_chunk(AVFormatContext *s, int fill_header)\n uint32_t vsize;\n uint16_t asize;\n uint16_t auxsize;\n+ int ret;\n \n if (nsv->ahead[0].data || nsv->ahead[1].data)\n return 0; /...
c
CWE-476
[ "libavformat/nsvdec.c" ]
libavformat/nsvdec.c
1
static Image *ReadDDSImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Initialize image structure. */ if (ReadDDSInfo(image, &dds_info) != MagickTrue) { ThrowReaderException(CorruptImageError,"ImproperImageHeader"); } if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP) cubemap = MagickTrue;...
static Image *ReadDDSImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Initialize image structure. */ if (ReadDDSInfo(image, &dds_info) != MagickTrue) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if (dds_info.ddscaps2 & DDSCAPS2_CUBEMAP) cubemap = MagickTrue; if (...
CVE-2017-9141
{'CWE-20', 'CWE-617'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/0c5b1e430a83ef793a7334bbbee408cf3c628699'}
nvd
In ImageMagick 7.0.5-7 Q16, a crafted file could trigger an assertion failure in the ResetImageProfileIterator function in MagickCore/profile.c because of missing checks in the ReadDDSImage function in coders/dds.c.
2017-05-22
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/0c5b1e430a83ef793a7334bbbee408cf3c628699
0c5b1e430a83ef793a7334bbbee408cf3c628699
SINGLE
['0c5b1e430a83ef793a7334bbbee408cf3c628699']
{'e8fc3f1a4f56bccc7628ef39cda90a75223213d5'}
0c5b1e430a83ef793a7334bbbee408cf3c628699
1
05/15/2017, 19:10:09
Added check to prevent image being 0x0 (reported in #489).
Dirk Lemstra
null
{'additions': 8, 'deletions': 6, 'total': 14}
[ { "additions": 8, "changes": 14, "deletions": 6, "patch": "@@ -1677,16 +1677,15 @@ static Image *ReadDDSImage(const ImageInfo *image_info,ExceptionInfo *exception)\n /*\n Initialize image structure.\n */\n- if (ReadDDSInfo(image, &dds_info) != MagickTrue) {\n+ if (ReadDDSInfo(image, &dds_i...
c
CWE-20
[ "coders/dds.c" ]
coders/dds.c
1