prior_version
stringlengths
69
33.8k
after_version
stringlengths
27
34.8k
vuln_id
stringlengths
13
19
cwe_id
stringclasses
137 values
score
float64
0
10
chain
stringlengths
78
111
dataset
stringclasses
2 values
summary
stringlengths
44
6.88k
published_date
stringdate
2009-05-11 00:00:00
2022-08-11 00:00:00
chain_len
int64
1
1
project
stringlengths
26
59
commit_href
stringlengths
74
107
commit_sha
stringlengths
40
40
patch
stringclasses
1 value
chain_ord
stringlengths
44
44
before_first_fix_commit
stringlengths
44
88
last_fix_commit
stringlengths
40
40
chain_ord_pos
int64
1
1
commit_datetime
stringlengths
20
20
message
stringlengths
2
8.66k
author
stringlengths
2
44
comments
stringclasses
155 values
stats
stringclasses
474 values
files
listlengths
1
1
file_extension
stringclasses
14 values
cwe
stringclasses
25 values
file_paths
listlengths
1
1
file_paths_str
stringlengths
4
162
num_files
int64
1
1
function prepareInputForAdd($input) { return false; } if (!isset($input["authtype"])) { $input["authtype"] = Auth::DB_GLPI; } function post_addItem() { function prepareInputForUpdate($input) { global $CFG_GLPI; //picture manually uploaded by user if (isset($in...
function prepareInputForAdd($input) { return false; } // avoid xss (picture field is autogenerated) if (isset($input['picture'])) { $input['picture'] = 'NULL'; } if (!isset($input["authtype"])) { $input["authtype"] = Auth::DB_GLPI; } function post_addIte...
CVE-2019-13239
{'CWE-79'}
2.9
{'https://github.com/glpi-project/glpi/commit/c2aa7a7cd6af28be3809acc7e7842d2d2008c0fb'}
nvd
inc/user.class.php in GLPI before 9.4.3 allows XSS via a user picture.
2019-07-04
1
https://github.com/glpi-project/glpi
https://github.com/glpi-project/glpi/commit/c2aa7a7cd6af28be3809acc7e7842d2d2008c0fb
c2aa7a7cd6af28be3809acc7e7842d2d2008c0fb
SINGLE
['c2aa7a7cd6af28be3809acc7e7842d2d2008c0fb']
{'6189eee1ec8b978f1d14686051448d6b141e4ed7'}
c2aa7a7cd6af28be3809acc7e7842d2d2008c0fb
1
06/20/2019, 08:40:41
avoid xss attack on user picture
Alexandre Delaunay
null
{'additions': 17, 'deletions': 0, 'total': 17}
[ { "additions": 17, "changes": 17, "deletions": 0, "patch": "@@ -550,6 +550,11 @@ function prepareInputForAdd($input) {\n return false;\n }\n \n+ // avoid xss (picture field is autogenerated)\n+ if (isset($input['picture'])) {\n+ $input['picture'] = 'NULL';\n+ }\...
php
CWE-79
[ "inc/user.class.php" ]
inc/user.class.php
1
public static function record() { $page_uri = self::sanitize_page_uri(); // Check if we have already been to this page today. $exist = $wpdb->get_row( "SELECT `page_id` FROM `" . DB::table( 'pages' ) . "` WHERE `date` = '" . TimeZone::getCurrentDate( 'Y-m-d' ) . "' " . ( array_key_exists( "search_query", $curre...
public static function record() { $page_uri = self::sanitize_page_uri(); // Check if we have already been to this page today. $exist = $wpdb->get_row( "SELECT `page_id` FROM `" . DB::table( 'pages' ) . "` WHERE `date` = '" . TimeZone::getCurrentDate( 'Y-m-d' ) . "' " . ( array_key_exists( "search_query", $curre...
CVE-2019-13275
{'CWE-89'}
6.4
{'https://github.com/wp-statistics/wp-statistics/commit/bd46721b97794a1b1520e24ff5023b6da738dd75'}
nvd
An issue was discovered in the VeronaLabs wp-statistics plugin before 12.6.7 for WordPress. The v1/hit endpoint of the API, when the non-default "use cache plugin" setting is enabled, is vulnerable to unauthenticated blind SQL Injection.
2019-07-04
1
https://github.com/wp-statistics/wp-statistics
https://github.com/wp-statistics/wp-statistics/commit/bd46721b97794a1b1520e24ff5023b6da738dd75
bd46721b97794a1b1520e24ff5023b6da738dd75
SINGLE
['bd46721b97794a1b1520e24ff5023b6da738dd75']
{'5ca68581d22fbf916536bdce921e13a1b45306e8'}
bd46721b97794a1b1520e24ff5023b6da738dd75
1
06/19/2019, 06:09:14
Check Prepare Parameter in CURD wpdb #286
Mehrshad Darzi
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -215,12 +215,12 @@ public static function record() {\n \t\t$page_uri = self::sanitize_page_uri();\n \n \t\t// Check if we have already been to this page today.\n-\t\t$exist = $wpdb->get_row( \"SELECT `page_id` FROM `\" . DB::table( 'pages'...
php
CWE-89
[ "includes/class-wp-statistics-pages.php" ]
includes/class-wp-statistics-pages.php
1
WandPrivate MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand, reconstruct_image=RemoveFirstImageFromList(&_images); /* FUTURE - produce Exception, rather than silent fail */ if (reconstruct_image == (Image *) NULL) break; metric=UndefinedErrorMetric; ...
WandPrivate MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand, reconstruct_image=RemoveFirstImageFromList(&_images); /* FUTURE - produce Exception, rather than silent fail */ if (reconstruct_image == (Image *) NULL) { image=DestroyImage(image); ...
CVE-2019-13296
{'CWE-401'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/ce08a3691a8ac29125e29fc41967b3737fa3f425'}
nvd
ImageMagick 7.0.8-50 Q16 has direct memory leaks in AcquireMagickMemory because of an error in CLIListOperatorImages in MagickWand/operation.c for a NULL value.
2019-07-05
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/ce08a3691a8ac29125e29fc41967b3737fa3f425
ce08a3691a8ac29125e29fc41967b3737fa3f425
SINGLE
['ce08a3691a8ac29125e29fc41967b3737fa3f425']
{'d29148fae06c01ef215940e084cf41853c117bab'}
ce08a3691a8ac29125e29fc41967b3737fa3f425
1
06/18/2019, 19:17:06
https://github.com/ImageMagick/ImageMagick/issues/1604
Cristy
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -3868,7 +3868,10 @@ WandPrivate MagickBooleanType CLIListOperatorImages(MagickCLI *cli_wand,\n reconstruct_image=RemoveFirstImageFromList(&_images);\n /* FUTURE - produce Exception, rather than silent fail */\n ...
c
CWE-401
[ "MagickWand/operation.c" ]
MagickWand/operation.c
1
MagickExport MagickBooleanType AnnotateImage(Image *image, number_lines++; textlist=AcquireQuantumMemory(number_lines+1,sizeof(*textlist)); if (textlist == (char **) NULL) return(MagickFalse); p=text; for (i=0; i < number_lines; i++) { MagickExport MagickBooleanType AnnotateImage(Image *image, ...
MagickExport MagickBooleanType AnnotateImage(Image *image, number_lines++; textlist=AcquireQuantumMemory(number_lines+1,sizeof(*textlist)); if (textlist == (char **) NULL) { annotate_info=DestroyDrawInfo(annotate_info); annotate=DestroyDrawInfo(annotate); return(MagickFalse); } p=...
CVE-2019-13301
{'CWE-401'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/f595a1985233c399a05c0c37cc41de16a90dd025'}
nvd
ImageMagick 7.0.8-50 Q16 has memory leaks in AcquireMagickMemory because of an AnnotateImage error.
2019-07-05
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/f595a1985233c399a05c0c37cc41de16a90dd025
f595a1985233c399a05c0c37cc41de16a90dd025
SINGLE
['f595a1985233c399a05c0c37cc41de16a90dd025']
{'d08250ec50eef2fd279f6fed859f50d051e58b53'}
f595a1985233c399a05c0c37cc41de16a90dd025
1
06/16/2019, 02:02:18
https://github.com/ImageMagick/ImageMagick/issues/1589
Cristy
null
{'additions': 11, 'deletions': 2, 'total': 13}
[ { "additions": 11, "changes": 13, "deletions": 2, "patch": "@@ -274,7 +274,11 @@ MagickExport MagickBooleanType AnnotateImage(Image *image,\n number_lines++;\n textlist=AcquireQuantumMemory(number_lines+1,sizeof(*textlist));\n if (textlist == (char **) NULL)\n- return(MagickFalse);\n+ ...
c
CWE-401
[ "MagickCore/annotate.c" ]
MagickCore/annotate.c
1
MagickExport Image *ComplexImages(const Image *images,const ComplexOperator op, MagickOffsetType progress; ssize_t y; MagickExport Image *ComplexImages(const Image *images,const ComplexOperator op, } Cr_image=complex_images; Ci_image=complex_images->next; Ar_view=AcquireVirtualCacheView(Ar_imag...
MagickExport Image *ComplexImages(const Image *images,const ComplexOperator op, MagickOffsetType progress; size_t number_channels; ssize_t y; MagickExport Image *ComplexImages(const Image *images,const ComplexOperator op, } Cr_image=complex_images; Ci_image=complex_images->next; number_c...
CVE-2019-13302
{'CWE-125'}
6.4
{'https://github.com/ImageMagick/ImageMagick/commit/d5089971bd792311aaab5cb73460326d7ef7f32d'}
nvd
ImageMagick 7.0.8-50 Q16 has a heap-based buffer over-read in MagickCore/fourier.c in ComplexImages.
2019-07-05
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/d5089971bd792311aaab5cb73460326d7ef7f32d
d5089971bd792311aaab5cb73460326d7ef7f32d
SINGLE
['d5089971bd792311aaab5cb73460326d7ef7f32d']
{'61135001a625364e29bdce83832f043eebde7b5a'}
d5089971bd792311aaab5cb73460326d7ef7f32d
1
06/17/2019, 13:13:34
https://github.com/ImageMagick/ImageMagick/issues/1597
Cristy
null
{'additions': 8, 'deletions': 1, 'total': 9}
[ { "additions": 8, "changes": 9, "deletions": 1, "patch": "@@ -164,6 +164,9 @@ MagickExport Image *ComplexImages(const Image *images,const ComplexOperator op,\n MagickOffsetType\n progress;\n \n+ size_t\n+ number_channels;\n+\n ssize_t\n y;\n \n@@ -216,6 +219,10 @@ MagickExport Image ...
c
CWE-125
[ "MagickCore/fourier.c" ]
MagickCore/fourier.c
1
MagickExport MagickBooleanType CompositeImage(Image *image, q+=GetPixelChannels(image); continue; } for (i=0; i < (ssize_t) GetPixelChannels(image); i++) { PixelChannel channel = GetPixelChannelChannel(image,i); PixelTrait traits = Get...
MagickExport MagickBooleanType CompositeImage(Image *image, q+=GetPixelChannels(image); continue; } for (i=0; i < (ssize_t) GetPixelChannels(source_image); i++) { PixelChannel channel = GetPixelChannelChannel(source_image,i); PixelTrai...
CVE-2019-13303
{'CWE-125'}
6.4
{'https://github.com/ImageMagick/ImageMagick/commit/d29148fae06c01ef215940e084cf41853c117bab'}
nvd
ImageMagick 7.0.8-50 Q16 has a heap-based buffer over-read in MagickCore/composite.c in CompositeImage.
2019-07-05
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/d29148fae06c01ef215940e084cf41853c117bab
d29148fae06c01ef215940e084cf41853c117bab
SINGLE
['d29148fae06c01ef215940e084cf41853c117bab']
{'6fe6a0e6c901b4c9a639c104cc3420239e387794'}
d29148fae06c01ef215940e084cf41853c117bab
1
06/18/2019, 18:13:42
https://github.com/ImageMagick/ImageMagick/issues/1603
Cristy
null
{'additions': 9, 'deletions': 8, 'total': 17}
[ { "additions": 9, "changes": 17, "deletions": 8, "patch": "@@ -654,18 +654,19 @@ MagickExport MagickBooleanType CompositeImage(Image *image,\n q+=GetPixelChannels(image);\n continue;\n }\n- for (i=0; i < (ssize_t) GetPixelChannels(image); i++)\n+ ...
c
CWE-125
[ "MagickCore/composite.c" ]
MagickCore/composite.c
1
function evf_search_entries( $args ) { ) ); // Check if form ID is valid for entries. if ( ! array_key_exists( $args['form_id'], evf_get_all_forms() ) ) { return array(); } $orderby = isset( $args['orderby'] ) ? sanitize_key( $args['orderby'] ) : 'entry_id'; $order = "ORDER BY {$orderby} " . ...
function evf_search_entries( $args ) { ) ); $statuses = array_keys( evf_get_entry_statuses() ); $valid_fields = array( 'date', 'form_id', 'title', 'status' ); // Check if form ID is valid for entries. if ( ! array_key_exists( $args['form_id'], evf_get_all_forms() ) ) { return array(); } $query = ar...
CVE-2019-13575
{'CWE-89'}
6.4
{'https://github.com/wpeverest/everest-forms/commit/755d095fe0d9a756a13800d1513cf98219e4a3f9'}
nvd
A SQL injection vulnerability exists in WPEverest Everest Forms plugin for WordPress through 1.4.9. Successful exploitation of this vulnerability would allow a remote attacker to execute arbitrary SQL commands on the affected system via includes/evf-entry-functions.php
2019-07-18
1
https://github.com/wpeverest/everest-forms
https://github.com/wpeverest/everest-forms/commit/755d095fe0d9a756a13800d1513cf98219e4a3f9
755d095fe0d9a756a13800d1513cf98219e4a3f9
SINGLE
['755d095fe0d9a756a13800d1513cf98219e4a3f9']
{'9f0c22eb3497712d7642e4c281ddfe9dc515e374'}
755d095fe0d9a756a13800d1513cf98219e4a3f9
1
07/12/2019, 05:54:21
Fix - Security issue reported by Tin Duong on entries SQL query
Shiva Poudel
null
{'additions': 28, 'deletions': 38, 'total': 66}
[ { "additions": 28, "changes": 66, "deletions": 38, "patch": "@@ -75,55 +75,45 @@ function evf_search_entries( $args ) {\n \t\t)\n \t);\n \n+\t$statuses = array_keys( evf_get_entry_statuses() );\n+\t$valid_fields = array( 'date', 'form_id', 'title', 'status' );\n+\n \t// Check if form ID is valid...
php
CWE-89
[ "includes/evf-entry-functions.php" ]
includes/evf-entry-functions.php
1
static int set_geometry(unsigned int cmd, struct floppy_struct *g, int cnt; /* sanity checking for parameters. */ if (g->sect <= 0 || g->head <= 0 || /* check for zero in F_SECT_PER_TRACK */ (unsigned char)((g->sect << 2) >> FD_SIZECODE(g)) == 0 || g->track <= 0 || g->track > UDP->tracks >> STR...
static int set_geometry(unsigned int cmd, struct floppy_struct *g, int cnt; /* sanity checking for parameters. */ if ((int)g->sect <= 0 || (int)g->head <= 0 || /* check for overflow in max_sector */ (int)(g->sect * g->head) <= 0 || /* check for zero in F_SECT_PER_TRACK */ (unsigned char)((...
CVE-2019-14283
{'CWE-190', 'CWE-125'}
6.4
{'https://github.com/torvalds/linux/commit/da99466ac243f15fbba65bd261bfc75ffa1532b6'}
nvd
In the Linux kernel before 5.2.3, set_geometry in drivers/block/floppy.c does not validate the sect and head fields, as demonstrated by an integer overflow and out-of-bounds read. It can be triggered by an unprivileged local user when a floppy disk has been inserted. NOTE: QEMU creates the floppy device by default.
2019-07-26
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/da99466ac243f15fbba65bd261bfc75ffa1532b6
da99466ac243f15fbba65bd261bfc75ffa1532b6
SINGLE
['da99466ac243f15fbba65bd261bfc75ffa1532b6']
{'9b04609b784027968348796a18f601aed9db3789'}
da99466ac243f15fbba65bd261bfc75ffa1532b6
1
07/12/2019, 18:55:23
floppy: fix out-of-bounds read in copy_buffer This fixes a global out-of-bounds read access in the copy_buffer function of the floppy driver. The FDDEFPRM ioctl allows one to set the geometry of a disk. The sect and head fields (unsigned int) of the floppy_drive structure are used to compute the max_sector (int) in ...
Denis Efremov
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -3233,8 +3233,10 @@ static int set_geometry(unsigned int cmd, struct floppy_struct *g,\n \tint cnt;\n \n \t/* sanity checking for parameters. */\n-\tif (g->sect <= 0 ||\n-\t g->head <= 0 ||\n+\tif ((int)g->sect <= 0 ||\n+\t (int)g->h...
c
CWE-125
[ "drivers/block/floppy.c" ]
drivers/block/floppy.c
1
static int set_geometry(unsigned int cmd, struct floppy_struct *g, int cnt; /* sanity checking for parameters. */ if (g->sect <= 0 || g->head <= 0 || /* check for zero in F_SECT_PER_TRACK */ (unsigned char)((g->sect << 2) >> FD_SIZECODE(g)) == 0 || g->track <= 0 || g->track > UDP->tracks >> STR...
static int set_geometry(unsigned int cmd, struct floppy_struct *g, int cnt; /* sanity checking for parameters. */ if ((int)g->sect <= 0 || (int)g->head <= 0 || /* check for overflow in max_sector */ (int)(g->sect * g->head) <= 0 || /* check for zero in F_SECT_PER_TRACK */ (unsigned char)((...
CVE-2019-14283
{'CWE-190', 'CWE-125'}
6.4
{'https://github.com/torvalds/linux/commit/da99466ac243f15fbba65bd261bfc75ffa1532b6'}
nvd
In the Linux kernel before 5.2.3, set_geometry in drivers/block/floppy.c does not validate the sect and head fields, as demonstrated by an integer overflow and out-of-bounds read. It can be triggered by an unprivileged local user when a floppy disk has been inserted. NOTE: QEMU creates the floppy device by default.
2019-07-26
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/da99466ac243f15fbba65bd261bfc75ffa1532b6
da99466ac243f15fbba65bd261bfc75ffa1532b6
SINGLE
['da99466ac243f15fbba65bd261bfc75ffa1532b6']
{'9b04609b784027968348796a18f601aed9db3789'}
da99466ac243f15fbba65bd261bfc75ffa1532b6
1
07/12/2019, 18:55:23
floppy: fix out-of-bounds read in copy_buffer This fixes a global out-of-bounds read access in the copy_buffer function of the floppy driver. The FDDEFPRM ioctl allows one to set the geometry of a disk. The sect and head fields (unsigned int) of the floppy_drive structure are used to compute the max_sector (int) in ...
Denis Efremov
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -3233,8 +3233,10 @@ static int set_geometry(unsigned int cmd, struct floppy_struct *g,\n \tint cnt;\n \n \t/* sanity checking for parameters. */\n-\tif (g->sect <= 0 ||\n-\t g->head <= 0 ||\n+\tif ((int)g->sect <= 0 ||\n+\t (int)g->h...
c
CWE-190
[ "drivers/block/floppy.c" ]
drivers/block/floppy.c
1
static void setup_format_params(int track) raw_cmd->kernel_data = floppy_track_buffer; raw_cmd->length = 4 * F_SECT_PER_TRACK; /* allow for about 30ms for data transport per track */ head_shift = (F_SECT_PER_TRACK + 5) / 6; static int set_geometry(unsigned int cmd, struct floppy_struct *g, /* sanity checking fo...
static void setup_format_params(int track) raw_cmd->kernel_data = floppy_track_buffer; raw_cmd->length = 4 * F_SECT_PER_TRACK; if (!F_SECT_PER_TRACK) return; /* allow for about 30ms for data transport per track */ head_shift = (F_SECT_PER_TRACK + 5) / 6; static int set_geometry(unsigned int cmd, struct flopp...
CVE-2019-14284
{'CWE-369'}
2.9
{'https://github.com/torvalds/linux/commit/f3554aeb991214cbfafd17d55e2bfddb50282e32'}
nvd
In the Linux kernel before 5.2.3, drivers/block/floppy.c allows a denial of service by setup_format_params division-by-zero. Two consecutive ioctls can trigger the bug: the first one should set the drive geometry with .sect and .rate values that make F_SECT_PER_TRACK be zero. Next, the floppy format operation should be...
2019-07-26
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f3554aeb991214cbfafd17d55e2bfddb50282e32
f3554aeb991214cbfafd17d55e2bfddb50282e32
SINGLE
['f3554aeb991214cbfafd17d55e2bfddb50282e32']
{'0ecfebd2b52404ae0c54a878c872bb93363ada36'}
f3554aeb991214cbfafd17d55e2bfddb50282e32
1
07/12/2019, 18:55:20
floppy: fix div-by-zero in setup_format_params This fixes a divide by zero error in the setup_format_params function of the floppy driver. Two consecutive ioctls can trigger the bug: The first one should set the drive geometry with such .sect and .rate values for the F_SECT_PER_TRACK to become zero. Next, the floppy...
Denis Efremov
null
{'additions': 5, 'deletions': 0, 'total': 5}
[ { "additions": 5, "changes": 5, "deletions": 0, "patch": "@@ -2120,6 +2120,9 @@ static void setup_format_params(int track)\n \traw_cmd->kernel_data = floppy_track_buffer;\n \traw_cmd->length = 4 * F_SECT_PER_TRACK;\n \n+\tif (!F_SECT_PER_TRACK)\n+\t\treturn;\n+\n \t/* allow for about 30ms for data t...
c
CWE-369
[ "drivers/block/floppy.c" ]
drivers/block/floppy.c
1
eventGraph.update_scope(); dataHandler.fetch_data_and_update(true, function() { var $select = $('#network-typeahead'); dataHandler.get_typeaheadData_search().forEach(function(element) { $select.append('<option value="' + element + '">' + element + '</option>'); }); $('#network-typeahead').chose...
eventGraph.update_scope(); dataHandler.fetch_data_and_update(true, function() { var $select = $('#network-typeahead'); dataHandler.get_typeaheadData_search().forEach(function(element) { var $option = $('<option></option>'); $option.text(element); $option.attr('value', $option.text()); ...
CVE-2019-14286
{'CWE-79'}
2.9
{'https://github.com/MISP/MISP/commit/26bedd8a68c32a2f14460a8eac2a9fb09923392b'}
nvd
In app/webroot/js/event-graph.js in MISP 2.4.111, a stored XSS vulnerability exists in the event-graph view when a user toggles the event graph view. A malicious MISP event must be crafted in order to trigger the vulnerability.
2019-07-27
1
https://github.com/MISP/MISP
https://github.com/MISP/MISP/commit/26bedd8a68c32a2f14460a8eac2a9fb09923392b
26bedd8a68c32a2f14460a8eac2a9fb09923392b
SINGLE
['26bedd8a68c32a2f14460a8eac2a9fb09923392b']
{'c951228ebcf4af50769fd3fca9ded3eaaa6574df'}
26bedd8a68c32a2f14460a8eac2a9fb09923392b
1
07/27/2019, 08:40:19
fix: [security] Fix to stored XSS - as reported by David Heise
mokaddem
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -2183,7 +2183,10 @@ eventGraph.update_scope();\n dataHandler.fetch_data_and_update(true, function() {\n var $select = $('#network-typeahead');\n dataHandler.get_typeaheadData_search().forEach(function(element) {\n- $select.a...
js
CWE-79
[ "app/webroot/js/event-graph.js" ]
app/webroot/js/event-graph.js
1
static void ssdp_recv(int sd) ssize_t len; struct sockaddr sa; socklen_t salen; char buf[MAX_PKT_SIZE]; memset(buf, 0, sizeof(buf)); len = recvfrom(sd, buf, sizeof(buf), MSG_DONTWAIT, &sa, &salen); if (len > 0) { buf[len] = 0; if (sa.sa_family != AF_INET) return;
static void ssdp_recv(int sd) ssize_t len; struct sockaddr sa; socklen_t salen; char buf[MAX_PKT_SIZE + 1]; memset(buf, 0, sizeof(buf)); len = recvfrom(sd, buf, sizeof(buf) - 1, MSG_DONTWAIT, &sa, &salen); if (len > 0) { if (sa.sa_family != AF_INET) return;
CVE-2019-14323
{'CWE-193', 'CWE-787'}
2.9
{'https://github.com/troglobit/ssdp-responder/commit/ce04b1f29a137198182f60bbb628d5ceb8171765'}
nvd
SSDP Responder 1.x through 1.5 mishandles incoming network messages, leading to a stack-based buffer overflow by 1 byte. This results in a crash of the server, but only when strict stack checking is enabled. This is caused by an off-by-one error in ssdp_recv in ssdpd.c.
2019-07-28
1
https://github.com/troglobit/ssdp-responder
https://github.com/troglobit/ssdp-responder/commit/ce04b1f29a137198182f60bbb628d5ceb8171765
ce04b1f29a137198182f60bbb628d5ceb8171765
SINGLE
['ce04b1f29a137198182f60bbb628d5ceb8171765']
{'8c22bef6a8cdf04aa4338825e0a74063a8f37e7b'}
ce04b1f29a137198182f60bbb628d5ceb8171765
1
07/24/2019, 05:35:23
Fix #1: Ensure recv buf is always NUL terminated Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
Joachim Nilsson
null
{'additions': 2, 'deletions': 4, 'total': 6}
[ { "additions": 2, "changes": 6, "deletions": 4, "patch": "@@ -432,13 +432,11 @@ static void ssdp_recv(int sd)\n \tssize_t len;\n \tstruct sockaddr sa;\n \tsocklen_t salen;\n-\tchar buf[MAX_PKT_SIZE];\n+\tchar buf[MAX_PKT_SIZE + 1];\n \n \tmemset(buf, 0, sizeof(buf));\n-\tlen = recvfrom(sd, buf, size...
c
CWE-787
[ "ssdpd.c" ]
ssdpd.c
1
int modbus_reply(modbus_t *ctx, const uint8_t *req, break; case MODBUS_FC_WRITE_MULTIPLE_COILS: { int nb = (req[offset + 3] << 8) + req[offset + 4]; int mapping_address = address - mb_mapping->start_bits; if (nb < 1 || MODBUS_MAX_WRITE_BITS < nb) { /* May be the indicat...
int modbus_reply(modbus_t *ctx, const uint8_t *req, break; case MODBUS_FC_WRITE_MULTIPLE_COILS: { int nb = (req[offset + 3] << 8) + req[offset + 4]; int nb_bits = req[offset + 5]; int mapping_address = address - mb_mapping->start_bits; if (nb < 1 || MODBUS_MAX_WRITE_BITS < ...
CVE-2019-14462
{'CWE-125'}
4.9
{'https://github.com/stephane/libmodbus/commit/5ccdf5ef79d742640355d1132fa9e2abc7fbaefc'}
nvd
An issue was discovered in libmodbus before 3.0.7 and 3.1.x before 3.1.5. There is an out-of-bounds read for the MODBUS_FC_WRITE_MULTIPLE_COILS case, aka VD-1302.
2019-07-31
1
https://github.com/stephane/libmodbus
https://github.com/stephane/libmodbus/commit/5ccdf5ef79d742640355d1132fa9e2abc7fbaefc
5ccdf5ef79d742640355d1132fa9e2abc7fbaefc
SINGLE
['5ccdf5ef79d742640355d1132fa9e2abc7fbaefc']
{'076992fb8612c4ac91e393c95b1791429875eae8'}
5ccdf5ef79d742640355d1132fa9e2abc7fbaefc
1
07/26/2019, 14:00:06
Fix VD-1301 and VD-1302 vulnerabilities This patch was contributed by Maor Vermucht and Or Peles from VDOO Connected Trust.
Stéphane Raimbault
{'com_1': {'author': 'karlp', 'datetime': '07/31/2019, 14:12:10', 'body': "That doesn't look right at all. I see what the test is for, and how it works on the write multiple coils, to validate that the bytes/coils counts are consistent, but write multiple registers has a count of registers and a byte count, so it shou...
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -839,9 +839,10 @@ int modbus_reply(modbus_t *ctx, const uint8_t *req,\n break;\n case MODBUS_FC_WRITE_MULTIPLE_COILS: {\n int nb = (req[offset + 3] << 8) + req[offset + 4];\n+ int nb_bits = req[offset + 5];\n ...
c
CWE-125
[ "src/modbus.c" ]
src/modbus.c
1
#define RETURN(xxx) { param->res = xxx; goto CLEANRET; } #define LINESIZE 2048 extern FILE *writable; FILE * confopen(); void * adminchild(struct clientparam* param) { char *sb; char *req = NULL; struct printparam pp; int contentlen = 0; int isform = 0; pp.inbuf = 0; void * adminchild(struct clientparam* par...
#define RETURN(xxx) { param->res = xxx; goto CLEANRET; } #define LINESIZE 65536 extern FILE *writable; FILE * confopen(); void * adminchild(struct clientparam* param) { char *sb; char *req = NULL; struct printparam pp; unsigned contentlen = 0; int isform = 0; pp.inbuf = 0; void * adminchild(struct clientpara...
CVE-2019-14495
{'CWE-787'}
6.4
{'https://github.com/z3APA3A/3proxy/commit/3b67dc844789dc0f00e934270c7b349bcb547865'}
nvd
webadmin.c in 3proxy before 0.8.13 has an out-of-bounds write in the admin interface.
2019-08-01
1
https://github.com/z3APA3A/3proxy
https://github.com/z3APA3A/3proxy/commit/3b67dc844789dc0f00e934270c7b349bcb547865
3b67dc844789dc0f00e934270c7b349bcb547865
SINGLE
['3b67dc844789dc0f00e934270c7b349bcb547865']
{'d07500687c1a42f73ec5d96a4e1e028af985892f'}
3b67dc844789dc0f00e934270c7b349bcb547865
1
08/01/2019, 13:46:22
Fix: out-of-bounds write and few more bugs in 'admin' configuration upload
z3APA3A
null
{'additions': 10, 'deletions': 10, 'total': 20}
[ { "additions": 10, "changes": 20, "deletions": 10, "patch": "@@ -10,7 +10,7 @@\n \n #define RETURN(xxx) { param->res = xxx; goto CLEANRET; }\n \n-#define LINESIZE 2048\n+#define LINESIZE 65536\n \n extern FILE *writable;\n FILE * confopen();\n@@ -341,7 +341,7 @@ void * adminchild(struct clientparam*...
c
CWE-787
[ "src/webadmin.c" ]
src/webadmin.c
1
public function create(Request $request, RuleGroup $ruleGroup = null) */ public function createFromBill(Request $request, Bill $bill) { $request->session()->flash('info', (string)trans('firefly.instructions_rule_from_bill', ['name' => $bill->name])); $this->createDefaultRuleGroup(); ...
public function create(Request $request, RuleGroup $ruleGroup = null) */ public function createFromBill(Request $request, Bill $bill) { $request->session()->flash('info', (string)trans('firefly.instructions_rule_from_bill', ['name' => e($bill->name)])); $this->createDefaultRuleGroup(); ...
CVE-2019-14670
{'CWE-79'}
2.9
{'https://github.com/firefly-iii/firefly-iii/commit/692b256f3f6d9eab992a72eb042844220b314054'}
nvd
Firefly III 4.7.17.3 is vulnerable to stored XSS due to the lack of filtration of user-supplied data in the bill name field. The JavaScript code is executed during rule-from-bill creation.
2019-08-05
1
https://github.com/firefly-iii/firefly-iii
https://github.com/firefly-iii/firefly-iii/commit/692b256f3f6d9eab992a72eb042844220b314054
692b256f3f6d9eab992a72eb042844220b314054
SINGLE
['692b256f3f6d9eab992a72eb042844220b314054']
{'3ad4e04e2ae50e60564b60b68dfac083e5684882'}
692b256f3f6d9eab992a72eb042844220b314054
1
08/02/2019, 14:44:48
Fix #2365
James Cole
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -124,7 +124,7 @@ public function create(Request $request, RuleGroup $ruleGroup = null)\n */\n public function createFromBill(Request $request, Bill $bill)\n {\n- $request->session()->flash('info', (string)trans('firefly...
php
CWE-79
[ "app/Http/Controllers/Rule/CreateController.php" ]
app/Http/Controllers/Rule/CreateController.php
1
protected function redirectToOriginalAccount(Account $account) /** @var Transaction $transaction */ $transaction = $account->transactions()->first(); if (null === $transaction) { app('session')->flash('error', trans('firefly.account_missing_transaction', ['name' => $account->name, '...
protected function redirectToOriginalAccount(Account $account) /** @var Transaction $transaction */ $transaction = $account->transactions()->first(); if (null === $transaction) { app('session')->flash('error', trans('firefly.account_missing_transaction', ['name' => e($account->name)...
CVE-2019-14672
{'CWE-79'}
2.9
{'https://github.com/firefly-iii/firefly-iii/commit/8717f469b10e9f7e1547c6f70f7d24e1359d28d4'}
nvd
Firefly III 4.7.17.5 is vulnerable to stored XSS due to the lack of filtration of user-supplied data in the liability name field. The JavaScript code is executed upon an error condition during a visit to the account show page.
2019-08-05
1
https://github.com/firefly-iii/firefly-iii
https://github.com/firefly-iii/firefly-iii/commit/8717f469b10e9f7e1547c6f70f7d24e1359d28d4
8717f469b10e9f7e1547c6f70f7d24e1359d28d4
SINGLE
['8717f469b10e9f7e1547c6f70f7d24e1359d28d4']
{'ece0c99dbb4fbd6437e98d842730339c8030f517'}
8717f469b10e9f7e1547c6f70f7d24e1359d28d4
1
08/03/2019, 03:08:20
Fix #2370
James Cole
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -124,7 +124,7 @@ protected function redirectToOriginalAccount(Account $account)\n /** @var Transaction $transaction */\n $transaction = $account->transactions()->first();\n if (null === $transaction) {\n- ...
php
CWE-79
[ "app/Support/Http/Controllers/UserNavigation.php" ]
app/Support/Http/Controllers/UserNavigation.php
1
static function _genUrlSignature($id, $key, $signature, $expires) { } function download($disposition=false, $expires=false) { $disposition = $disposition ?: 'inline'; $bk = $this->open(); if ($bk->sendRedirectUrl($disposition)) return; $ttl = ($expires) ? $expires -...
static function _genUrlSignature($id, $key, $signature, $expires) { } function download($disposition=false, $expires=false) { $disposition = ($disposition && strcasecmp($disposition, 'inline') == 0 && strpos($this->getType(), 'image/') !== false) ? 'inline' : 'attachment'; ...
CVE-2019-14748
{'CWE-79', 'CWE-434'}
2.9
{'https://github.com/osTicket/osTicket/commit/33ed106b1602f559a660a69f931a9d873685d1ba'}
nvd
An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. The Ticket creation form allows users to upload files along with queries. It was found that the file-upload functionality has fewer (or no) mitigations implemented for file content checks; also, the output is not handled properly, causing persi...
2019-08-07
1
https://github.com/osTicket/osTicket
https://github.com/osTicket/osTicket/commit/33ed106b1602f559a660a69f931a9d873685d1ba
33ed106b1602f559a660a69f931a9d873685d1ba
SINGLE
['33ed106b1602f559a660a69f931a9d873685d1ba']
{'9e5a476909932378d4e9ebd02e04cc692a7371d2'}
33ed106b1602f559a660a69f931a9d873685d1ba
1
07/23/2019, 20:11:43
security: HTML File Browser Execution (Windows: Firefox/IE) This addresses an issue reported by Aishwarya Iyer where attached HTML files are executed in the browser instead of forcing download in Firefox and IE for Windows specifically. This is caused by an incorrect `Content-Disposition` set in the `AttachmentFile::d...
JediKev
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -240,14 +240,16 @@ static function _genUrlSignature($id, $key, $signature, $expires) {\n }\n \n function download($disposition=false, $expires=false) {\n- $disposition = $disposition ?: 'inline';\n+ $disposition = ($d...
php
CWE-434
[ "include/class.file.php" ]
include/class.file.php
1
static function _genUrlSignature($id, $key, $signature, $expires) { } function download($disposition=false, $expires=false) { $disposition = $disposition ?: 'inline'; $bk = $this->open(); if ($bk->sendRedirectUrl($disposition)) return; $ttl = ($expires) ? $expires -...
static function _genUrlSignature($id, $key, $signature, $expires) { } function download($disposition=false, $expires=false) { $disposition = ($disposition && strcasecmp($disposition, 'inline') == 0 && strpos($this->getType(), 'image/') !== false) ? 'inline' : 'attachment'; ...
CVE-2019-14748
{'CWE-79', 'CWE-434'}
2.9
{'https://github.com/osTicket/osTicket/commit/33ed106b1602f559a660a69f931a9d873685d1ba'}
nvd
An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. The Ticket creation form allows users to upload files along with queries. It was found that the file-upload functionality has fewer (or no) mitigations implemented for file content checks; also, the output is not handled properly, causing persi...
2019-08-07
1
https://github.com/osTicket/osTicket
https://github.com/osTicket/osTicket/commit/33ed106b1602f559a660a69f931a9d873685d1ba
33ed106b1602f559a660a69f931a9d873685d1ba
SINGLE
['33ed106b1602f559a660a69f931a9d873685d1ba']
{'9e5a476909932378d4e9ebd02e04cc692a7371d2'}
33ed106b1602f559a660a69f931a9d873685d1ba
1
07/23/2019, 20:11:43
security: HTML File Browser Execution (Windows: Firefox/IE) This addresses an issue reported by Aishwarya Iyer where attached HTML files are executed in the browser instead of forcing download in Firefox and IE for Windows specifically. This is caused by an incorrect `Content-Disposition` set in the `AttachmentFile::d...
JediKev
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -240,14 +240,16 @@ static function _genUrlSignature($id, $key, $signature, $expires) {\n }\n \n function download($disposition=false, $expires=false) {\n- $disposition = $disposition ?: 'inline';\n+ $disposition = ($d...
php
CWE-79
[ "include/class.file.php" ]
include/class.file.php
1
function install($vars) { 'dept_id' => $dept_id, 'role_id' => $role_id, 'email' => $vars['admin_email'], 'firstname' => $vars['fname'], 'lastname' => $vars['lname'], 'username' => $vars['username'], )); $staff->updatePerms(array(
function install($vars) { 'dept_id' => $dept_id, 'role_id' => $role_id, 'email' => $vars['admin_email'], 'firstname' => Format::htmlchars($vars['fname']), 'lastname' => Format::htmlchars($vars['lname']), 'username' => $vars['username'], ))...
CVE-2019-14750
{'CWE-79'}
2.9
{'https://github.com/osTicket/osTicket/commit/c3ba5b78261e07a883ad8fac28c214486c854e12'}
nvd
An issue was discovered in osTicket before 1.10.7 and 1.12.x before 1.12.1. Stored XSS exists in setup/install.php. It was observed that no input sanitization was provided in the firstname and lastname fields of the application. The insertion of malicious queries in those fields leads to the execution of those queries....
2019-08-07
1
https://github.com/osTicket/osTicket
https://github.com/osTicket/osTicket/commit/c3ba5b78261e07a883ad8fac28c214486c854e12
c3ba5b78261e07a883ad8fac28c214486c854e12
SINGLE
['c3ba5b78261e07a883ad8fac28c214486c854e12']
{'bbfff1a2f8b9ed0057639f39787b2b797afb8912'}
c3ba5b78261e07a883ad8fac28c214486c854e12
1
06/19/2019, 20:24:25
xss: Install Form This addresses an issue reported by Aishwarya Iyer where inserting `<img src =x onerror = prompt(1)` into any text field on the install form will execute in the browser after the system is installed and you log in. This is due to us not sanitizing the content before it’s saved in the database. This a...
JediKev
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -188,8 +188,8 @@ function install($vars) {\n 'dept_id' => $dept_id,\n 'role_id' => $role_id,\n 'email' => $vars['admin_email'],\n- 'firstname' => $vars['fname'],\n- 'lastname' => $v...
php
CWE-79
[ "setup/inc/class.installer.php" ]
setup/inc/class.installer.php
1
namespace Exiv2 { } } long WebPImage::getHeaderOffset(byte *data, long data_size, byte *header, long header_size) { long pos = -1; for (long i=0; i < data_size - header_size; i++) { if (memcmp(header, &data[i], header_size) == 0) {
namespace Exiv2 { } } long WebPImage::getHeaderOffset(byte* data, long data_size, byte* header, long header_size) { if (data_size < header_size) { return -1; } long pos = -1; for (long i=0; i < data_size - header_size; i++) { if (memcmp(header, &data[i], header_...
CVE-2019-14982
{'CWE-190'}
2.9
{'https://github.com/Exiv2/exiv2/pull/962/commits/e925bc5addd881543fa503470c8a859e112cca62'}
nvd
In Exiv2 before v0.27.2, there is an integer overflow vulnerability in the WebPImage::getHeaderOffset function in webpimage.cpp. It can lead to a buffer overflow vulnerability and a crash.
2019-08-12
1
https://github.com/Exiv2/exiv2
https://github.com/Exiv2/exiv2/pull/962/commits/e925bc5addd881543fa503470c8a859e112cca62
e925bc5addd881543fa503470c8a859e112cca62
SINGLE
['e925bc5addd881543fa503470c8a859e112cca62']
{'a048325e18d5328fc00b80cd2f0bf70a8f35ad9b'}
e925bc5addd881543fa503470c8a859e112cca62
1
07/15/2019, 18:04:39
Fix integer overflow by checking size against header_size Note that the problem occurs when data_size is less than header_size what causes a buffer overflow in &data[i] Co-Authored-By: D4N <dan.cermak@cgc-instruments.com>
Luis Díaz Más
null
{'additions': 3, 'deletions': 2, 'total': 5}
[ { "additions": 3, "changes": 5, "deletions": 2, "patch": "@@ -827,8 +827,9 @@ namespace Exiv2 {\n }\n }\n \n- long WebPImage::getHeaderOffset(byte *data, long data_size,\n- byte *header, long header_size) {\n+ long WebPImage::getHeaderOffset(byte*...
cpp
CWE-190
[ "src/webpimage.cpp" ]
src/webpimage.cpp
1
static inline void get_conn_text(const conn *c, const int af, addr_text[0] = '\0'; const char *protoname = "?"; unsigned short port = 0; switch (af) { case AF_INET: static inline void get_conn_text(const conn *c, const int af, break; case AF_UNIX: strncpy(addr_...
static inline void get_conn_text(const conn *c, const int af, addr_text[0] = '\0'; const char *protoname = "?"; unsigned short port = 0; size_t pathlen = 0; switch (af) { case AF_INET: static inline void get_conn_text(const conn *c, const int af, break; case AF_UNIX: ...
CVE-2019-15026
{'CWE-125'}
2.9
{'https://github.com/memcached/memcached/commit/554b56687a19300a75ec24184746b5512580c819'}
nvd
memcached 1.5.16, when UNIX sockets are used, has a stack-based buffer over-read in conn_to_str in memcached.c.
2019-08-30
1
https://github.com/memcached/memcached
https://github.com/memcached/memcached/commit/554b56687a19300a75ec24184746b5512580c819
554b56687a19300a75ec24184746b5512580c819
SINGLE
['554b56687a19300a75ec24184746b5512580c819']
{'938154dfe060f7ab519f5fe88622b6ac1859faab'}
554b56687a19300a75ec24184746b5512580c819
1
08/29/2019, 21:10:44
fix strncpy call to avoid ASAN violation Ensure we're only reading to the size of the smallest buffer, since they're both on the stack and could potentially overlap. Overlapping is defined as ... undefined behavior. I've looked through all available implementations of strncpy and they still only copy from the first \0...
dormando
{'com_1': {'author': 'setharnold', 'datetime': '09/04/2019, 04:06:31', 'body': "unix(7) sockets have three different types of names:\r\n\r\n- names in the filesystem, normal nul termination\r\n- abstract names, the first byte is a nul\r\n- unnamed sockets, no name at all, and `sun_path` shouldn't be inspected at all\r\...
{'additions': 20, 'deletions': 2, 'total': 22}
[ { "additions": 20, "changes": 22, "deletions": 2, "patch": "@@ -3463,6 +3463,7 @@ static inline void get_conn_text(const conn *c, const int af,\n addr_text[0] = '\\0';\n const char *protoname = \"?\";\n unsigned short port = 0;\n+ size_t pathlen = 0;\n \n switch (af) {\n c...
c
CWE-125
[ "memcached.c" ]
memcached.c
1
public function html() { . sprintf( lang_get( $t_string ), prepare_user_name( $this->user_id ), $t_bug_link, $this->filename ) . '</div>'; $t_html .= $this->html_end();
public function html() { . sprintf( lang_get( $t_string ), prepare_user_name( $this->user_id ), $t_bug_link, string_html_specialchars( $this->filename ) ) . '</div>'; $t_html .= $this->html_end();
CVE-2019-15074
{'CWE-79'}
6.4
{'https://github.com/mantisbt/mantisbt/commit/9cee1971c498bbe0a72bca1c773fae50171d8c27'}
nvd
The Timeline feature in my_view_page.php in MantisBT through 2.21.1 has a stored cross-site scripting (XSS) vulnerability, allowing execution of arbitrary code (if CSP settings permit it) after uploading an attachment with a crafted filename. The code is executed for any user having visibility to the issue, whenever My...
2019-08-21
1
https://github.com/mantisbt/mantisbt
https://github.com/mantisbt/mantisbt/commit/9cee1971c498bbe0a72bca1c773fae50171d8c27
9cee1971c498bbe0a72bca1c773fae50171d8c27
SINGLE
['9cee1971c498bbe0a72bca1c773fae50171d8c27']
{'a6136137478a7c285648ff7bfd67e5b0f027c76a'}
9cee1971c498bbe0a72bca1c773fae50171d8c27
1
08/15/2019, 08:53:18
Fix XSS on timeline (CVE-2019-15074) Kamran Saifullah reported a stored cross-site scripting (XSS) vulnerability in Timeline, allowing execution of arbitrary code (if CSP settings permit it) after uploading an attachment with a crafted filename. The code is executed for any user having visibility to the issue, wheneve...
Damien Regad
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -73,7 +73,7 @@ public function html() {\n \t\t\t. sprintf( lang_get( $t_string ),\n \t\t\t\tprepare_user_name( $this->user_id ),\n \t\t\t\t$t_bug_link,\n-\t\t\t\t$this->filename\n+\t\t\t\tstring_html_specialchars( $this->filename )\n \t\t\...
php
CWE-79
[ "core/classes/IssueAttachmentTimelineEvent.class.php" ]
core/classes/IssueAttachmentTimelineEvent.class.php
1
qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, { va_list va; struct va_format vaf; char nfunc[32]; memset(nfunc, 0, sizeof(nfunc)); memcpy(nfunc, func, sizeof(nfunc) - 1); va_start(va, fmt); qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, if (likely(qedi) && likely(q...
qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, { va_list va; struct va_format vaf; va_start(va, fmt); qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line, if (likely(qedi) && likely(qedi->pdev)) pr_err("[%s]:[%s:%d]:%d: %pV", dev_name(&qedi->pdev->dev), func, line,...
CVE-2019-15090
{'CWE-125'}
6.4
{'https://github.com/torvalds/linux/commit/c09581a52765a85f19fc35340127396d5e3379cc'}
nvd
An issue was discovered in drivers/scsi/qedi/qedi_dbg.c in the Linux kernel before 5.1.12. In the qedi_dbg_* family of functions, there is an out-of-bounds read.
2019-08-16
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/c09581a52765a85f19fc35340127396d5e3379cc
c09581a52765a85f19fc35340127396d5e3379cc
SINGLE
['c09581a52765a85f19fc35340127396d5e3379cc']
{'5386a4e6c7fecd282d265a24d930a74ba3c5917b'}
c09581a52765a85f19fc35340127396d5e3379cc
1
04/20/2019, 04:05:54
scsi: qedi: remove memset/memcpy to nfunc and use func instead KASAN reports this: BUG: KASAN: global-out-of-bounds in qedi_dbg_err+0xda/0x330 [qedi] Read of size 31 at addr ffffffffc12b0ae0 by task syz-executor.0/2429 CPU: 0 PID: 2429 Comm: syz-executor.0 Not tainted 5.0.0-rc7+ #45 Hardware name: QEMU Standard PC (...
YueHaibing
null
{'additions': 8, 'deletions': 24, 'total': 32}
[ { "additions": 8, "changes": 32, "deletions": 24, "patch": "@@ -16,10 +16,6 @@ qedi_dbg_err(struct qedi_dbg_ctx *qedi, const char *func, u32 line,\n {\n \tva_list va;\n \tstruct va_format vaf;\n-\tchar nfunc[32];\n-\n-\tmemset(nfunc, 0, sizeof(nfunc));\n-\tmemcpy(nfunc, func, sizeof(nfunc) - 1);\n \...
c
CWE-125
[ "drivers/scsi/qedi/qedi_dbg.c" ]
drivers/scsi/qedi/qedi_dbg.c
1
static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowReaderException(CorruptImageError,"FileFormatVersionMismatch"); if (header.header_size < sz_XWDheader) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); switch (header.visual_class) { case StaticGray: s...
static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception) ThrowReaderException(CorruptImageError,"FileFormatVersionMismatch"); if (header.header_size < sz_XWDheader) ThrowReaderException(CorruptImageError,"ImproperImageHeader"); if ((MagickSizeType) header.xoffset >= GetBlobSize(imag...
CVE-2019-15139
{'CWE-125'}
2.9
{'https://github.com/ImageMagick/ImageMagick/commit/c78993d138bf480ab4652b5a48379d4ff75ba5f7'}
nvd
The XWD image (X Window System window dumping file) parsing component in ImageMagick 7.0.8-41 Q16 allows attackers to cause a denial-of-service (application crash resulting from an out-of-bounds Read) in ReadXWDImage in coders/xwd.c by crafting a corrupted XWD image file, a different vulnerability than CVE-2019-11472.
2019-08-18
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/c78993d138bf480ab4652b5a48379d4ff75ba5f7
c78993d138bf480ab4652b5a48379d4ff75ba5f7
SINGLE
['c78993d138bf480ab4652b5a48379d4ff75ba5f7']
{'112760b267f79cda5198f9e022dfb9fc5b029c7b'}
c78993d138bf480ab4652b5a48379d4ff75ba5f7
1
04/20/2019, 13:40:12
https://github.com/ImageMagick/ImageMagick/issues/1553
Cristy
null
{'additions': 8, 'deletions': 5, 'total': 13}
[ { "additions": 8, "changes": 13, "deletions": 5, "patch": "@@ -238,6 +238,8 @@ static Image *ReadXWDImage(const ImageInfo *image_info,ExceptionInfo *exception)\n ThrowReaderException(CorruptImageError,\"FileFormatVersionMismatch\");\n if (header.header_size < sz_XWDheader)\n ThrowReaderExc...
c
CWE-125
[ "coders/xwd.c" ]
coders/xwd.c
1
static Image *ReadMATImageV4(const ImageInfo *image_info,Image *image, Object parser loop. */ ldblk=ReadBlobLSBLong(image); if ((ldblk > 9999) || (ldblk < 0)) break; HDR.Type[3]=ldblk % 10; ldblk /= 10; /* T digit */ static Image *ReadMATImage(const ImageInfo *image_info,ExceptionInfo *exce...
static Image *ReadMATImageV4(const ImageInfo *image_info,Image *image, Object parser loop. */ ldblk=ReadBlobLSBLong(image); if(EOFBlob(image)) break; if ((ldblk > 9999) || (ldblk < 0)) break; HDR.Type[3]=ldblk % 10; ldblk /= 10; /* T digit */ static Image *ReadMATImage(const ImageInfo *...
CVE-2019-15140
{'CWE-416'}
6.4
{'https://github.com/ImageMagick/ImageMagick/commit/f7206618d27c2e69d977abf40e3035a33e5f6be0'}
nvd
coders/mat.c in ImageMagick 7.0.8-43 Q16 allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact by crafting a Matlab image file that is mishandled in ReadImage in MagickCore/constitute.c.
2019-08-18
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/f7206618d27c2e69d977abf40e3035a33e5f6be0
f7206618d27c2e69d977abf40e3035a33e5f6be0
SINGLE
['f7206618d27c2e69d977abf40e3035a33e5f6be0']
{'3183a88ae19674b4625e447d5a29da2a12d742c0'}
f7206618d27c2e69d977abf40e3035a33e5f6be0
1
04/27/2019, 12:32:23
https://github.com/ImageMagick/ImageMagick/issues/1554
Cristy
null
{'additions': 5, 'deletions': 3, 'total': 8}
[ { "additions": 5, "changes": 8, "deletions": 3, "patch": "@@ -641,6 +641,7 @@ static Image *ReadMATImageV4(const ImageInfo *image_info,Image *image,\n Object parser loop.\n */\n ldblk=ReadBlobLSBLong(image);\n+ if(EOFBlob(image)) break;\n if ((ldblk > 9999) || (ldblk < 0))\n ...
c
CWE-416
[ "coders/mat.c" ]
coders/mat.c
1
RestoreMSCWarning if (image->colorspace == LabColorspace) DecodeLabImage(image,&image->exception); DestroyTIFFInfo(&tiff_info); if (image->exception.severity > ErrorException) break; DisableMSCWarning(4127) if (0 && (image_info->verbose != MagickFalse)) RestoreMSCWarning TIFFPrintDire...
RestoreMSCWarning if (image->colorspace == LabColorspace) DecodeLabImage(image,&image->exception); DestroyTIFFInfo(&tiff_info); DisableMSCWarning(4127) if (0 && (image_info->verbose != MagickFalse)) RestoreMSCWarning TIFFPrintDirectory(tiff,stdout,MagickFalse); if (TIFFWriteDirectory(tiff) ...
CVE-2019-15141
{'CWE-125'}
2.9
{'https://github.com/ImageMagick/ImageMagick6/commit/3c53413eb544cc567309b4c86485eae43e956112'}
nvd
WriteTIFFImage in coders/tiff.c in ImageMagick 7.0.8-43 Q16 allows attackers to cause a denial-of-service (application crash resulting from a heap-based buffer over-read) via a crafted TIFF image file, related to TIFFRewriteDirectory, TIFFWriteDirectory, TIFFWriteDirectorySec, and TIFFWriteDirectoryTagColormap in tif_d...
2019-08-18
1
https://github.com/ImageMagick/ImageMagick6
https://github.com/ImageMagick/ImageMagick6/commit/3c53413eb544cc567309b4c86485eae43e956112
3c53413eb544cc567309b4c86485eae43e956112
SINGLE
['3c53413eb544cc567309b4c86485eae43e956112']
{'451d0e4aadb17f16d15006aed379b71714d04a5d'}
3c53413eb544cc567309b4c86485eae43e956112
1
04/28/2019, 13:26:45
https://github.com/ImageMagick/ImageMagick/issues/1560
Cristy
null
{'additions': 6, 'deletions': 4, 'total': 10}
[ { "additions": 6, "changes": 10, "deletions": 4, "patch": "@@ -4079,13 +4079,15 @@ RestoreMSCWarning\n if (image->colorspace == LabColorspace)\n DecodeLabImage(image,&image->exception);\n DestroyTIFFInfo(&tiff_info);\n- if (image->exception.severity > ErrorException)\n- break;\...
c
CWE-125
[ "coders/tiff.c" ]
coders/tiff.c
1
daemon_AuthUserPwd(char *username, char *password, char *errbuf) #ifdef HAVE_GETSPNAM struct spwd *usersp; #endif // This call is needed to get the uid if ((user = getpwnam(username)) == NULL) daemon_AuthUserPwd(char *username, char *password, char *errbuf) user_password = user->pw_passwd; #endif if (strcmp(use...
daemon_AuthUserPwd(char *username, char *password, char *errbuf) #ifdef HAVE_GETSPNAM struct spwd *usersp; #endif char *crypt_password; // This call is needed to get the uid if ((user = getpwnam(username)) == NULL) daemon_AuthUserPwd(char *username, char *password, char *errbuf) user_password = user->pw_passwd; ...
CVE-2019-15163
{'CWE-476'}
2.9
{'https://github.com/the-tcpdump-group/libpcap/commit/437b273761adedcbd880f714bfa44afeec186a31'}
nvd
rpcapd/daemon.c in libpcap before 1.9.1 allows attackers to cause a denial of service (NULL pointer dereference and daemon crash) if a crypt() call fails.
2019-10-03
1
https://github.com/the-tcpdump-group/libpcap
https://github.com/the-tcpdump-group/libpcap/commit/437b273761adedcbd880f714bfa44afeec186a31
437b273761adedcbd880f714bfa44afeec186a31
SINGLE
['437b273761adedcbd880f714bfa44afeec186a31']
{'bf4a63bda7e9eb142402693248a347a5705f9740'}
437b273761adedcbd880f714bfa44afeec186a31
1
08/06/2018, 02:04:38
Don't crash if crypt() fails. It can fail, so make sure it doesn't before comparing its result with the password. This addresses Include Security issue F12: [libpcap] Remote Packet Capture Daemon Null Pointer Dereference Denial of Service.
Guy Harris
null
{'additions': 8, 'deletions': 1, 'total': 9}
[ { "additions": 8, "changes": 9, "deletions": 1, "patch": "@@ -1222,6 +1222,7 @@ daemon_AuthUserPwd(char *username, char *password, char *errbuf)\n #ifdef HAVE_GETSPNAM\n \tstruct spwd *usersp;\n #endif\n+\tchar *crypt_password;\n \n \t// This call is needed to get the uid\n \tif ((user = getpwnam(us...
c
CWE-476
[ "rpcapd/daemon.c" ]
rpcapd/daemon.c
1
xfs_setattr_nonsize( out_cancel: xfs_trans_cancel(tp); out_dqrele: xfs_qm_dqrele(udqp); xfs_qm_dqrele(gdqp);
xfs_setattr_nonsize( out_cancel: xfs_trans_cancel(tp); xfs_iunlock(ip, XFS_ILOCK_EXCL); out_dqrele: xfs_qm_dqrele(udqp); xfs_qm_dqrele(gdqp);
CVE-2019-15538
{'CWE-400'}
6.9
{'https://github.com/torvalds/linux/commit/1fb254aa983bf190cfd685d40c64a480a9bafaee'}
nvd
An issue was discovered in xfs_setattr_nonsize in fs/xfs/xfs_iops.c in the Linux kernel through 5.2.9. XFS partially wedges when a chgrp fails on account of being out of disk quota. xfs_setattr_nonsize is failing to unlock the ILOCK after the xfs_qm_vop_chown_reserve call fails. This is primarily a local DoS attack vec...
2019-08-25
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/1fb254aa983bf190cfd685d40c64a480a9bafaee
1fb254aa983bf190cfd685d40c64a480a9bafaee
SINGLE
['1fb254aa983bf190cfd685d40c64a480a9bafaee']
{'b68271609c4f16a79eae8069933f64345afcf888'}
1fb254aa983bf190cfd685d40c64a480a9bafaee
1
08/23/2019, 03:55:54
xfs: fix missing ILOCK unlock when xfs_setattr_nonsize fails due to EDQUOT Benjamin Moody reported to Debian that XFS partially wedges when a chgrp fails on account of being out of disk quota. I ran his reproducer script: # adduser dummy # adduser dummy plugdev # dd if=/dev/zero bs=1M count=100 of=test.img # mkfs.x...
Darrick J. Wong
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -793,6 +793,7 @@ xfs_setattr_nonsize(\n \n out_cancel:\n \txfs_trans_cancel(tp);\n+\txfs_iunlock(ip, XFS_ILOCK_EXCL);\n out_dqrele:\n \txfs_qm_dqrele(udqp);\n \txfs_qm_dqrele(gdqp);", "path": "fs/xfs/xfs_iops.c", "raw_url": "https:...
c
CWE-400
[ "fs/xfs/xfs_iops.c" ]
fs/xfs/xfs_iops.c
1
$t_href = '<a href="file_download.php?file_id='.$v_id.'&amp;type=doc">'; echo $t_href; print_file_icon( $v_filename ); echo '</a>&#160;' . $t_href . file_get_display_name( $v_filename ) . '</a>'; ?> </td> </tr>
$t_href = '<a href="file_download.php?file_id='.$v_id.'&amp;type=doc">'; echo $t_href; print_file_icon( $v_filename ); echo '</a>&#160;' . $t_href . string_html_specialchars( file_get_display_name( $v_filename ) ) . '</a>'; ?> </td> </tr>
CVE-2019-15539
{'CWE-79'}
2.9
{'https://github.com/mantisbt/mantisbt/commit/bd094dede74ff6e313e286e949e2387233a96eea'}
nvd
The proj_doc_edit_page.php Project Documentation feature in MantisBT before 2.21.3 has a stored cross-site scripting (XSS) vulnerability, allowing execution of arbitrary code (if CSP settings permit it) after uploading an attachment with a crafted filename. The code is executed when editing the document's page.
2020-03-19
1
https://github.com/mantisbt/mantisbt
https://github.com/mantisbt/mantisbt/commit/bd094dede74ff6e313e286e949e2387233a96eea
bd094dede74ff6e313e286e949e2387233a96eea
SINGLE
['bd094dede74ff6e313e286e949e2387233a96eea']
{'b39d872035facb00918e61ca23b79bf7427b8358'}
bd094dede74ff6e313e286e949e2387233a96eea
1
08/25/2019, 09:52:41
Fix XSS on project documentation Vulnerability in deprecated project documentation functionality ($g_enable_project_documentation), allowing execution of arbitrary code (if CSP settings permit it) after uploading an attachment with a crafted filename. Prevent the attack by sanitizing the filename before display. Fix...
Roland Becker
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -122,7 +122,7 @@\n \t\t\t$t_href = '<a href=\"file_download.php?file_id='.$v_id.'&amp;type=doc\">';\n \t\t\techo $t_href;\n \t\t\tprint_file_icon( $v_filename );\n-\t\t\techo '</a>&#160;' . $t_href . file_get_display_name( $v_filename ) . ...
php
CWE-79
[ "proj_doc_edit_page.php" ]
proj_doc_edit_page.php
1
static enum XML_Error initializeEncoding(XML_Parser parser); static enum XML_Error doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, int tok, const char *next, const char **nextPtr, XML_Bool have...
static enum XML_Error initializeEncoding(XML_Parser parser); static enum XML_Error doProlog(XML_Parser parser, const ENCODING *enc, const char *s, const char *end, int tok, const char *next, const char **nextPtr, XML_Bool have...
CVE-2019-15903
{'CWE-776', 'CWE-125'}
2.9
{'https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43'}
nvd
In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber) then resulted in a heap-based buffer over-read.
2019-09-04
1
https://github.com/libexpat/libexpat
https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43
c20b758c332d9a13afbbb276d30db1d183a85d43
SINGLE
['c20b758c332d9a13afbbb276d30db1d183a85d43']
{'745de9a51906255cc4d4e3b0f01919de6957a9f7'}
c20b758c332d9a13afbbb276d30db1d183a85d43
1
08/27/2019, 22:24:59
xmlparse.c: Deny internal entities closing the doctype
Sebastian Pipping
null
{'additions': 13, 'deletions': 7, 'total': 20}
[ { "additions": 13, "changes": 20, "deletions": 7, "patch": "@@ -401,7 +401,7 @@ static enum XML_Error initializeEncoding(XML_Parser parser);\n static enum XML_Error doProlog(XML_Parser parser, const ENCODING *enc,\n const char *s, const char *end, int tok,\n ...
c
CWE-125
[ "expat/lib/xmlparse.c" ]
expat/lib/xmlparse.c
1
static int hci_uart_set_proto(struct hci_uart *hu, int id) return -EPROTONOSUPPORT; hu->proto = p; set_bit(HCI_UART_PROTO_READY, &hu->flags); err = hci_uart_register_dev(hu); if (err) { clear_bit(HCI_UART_PROTO_READY, &hu->flags); return err; } return 0; }
static int hci_uart_set_proto(struct hci_uart *hu, int id) return -EPROTONOSUPPORT; hu->proto = p; err = hci_uart_register_dev(hu); if (err) { return err; } set_bit(HCI_UART_PROTO_READY, &hu->flags); return 0; }
CVE-2019-15917
{'CWE-416'}
10
{'https://github.com/torvalds/linux/commit/56897b217a1d0a91c9920cb418d6b3fe922f590a'}
nvd
An issue was discovered in the Linux kernel before 5.0.5. There is a use-after-free issue when hci_uart_register_dev() fails in hci_uart_set_proto() in drivers/bluetooth/hci_ldisc.c.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/56897b217a1d0a91c9920cb418d6b3fe922f590a
56897b217a1d0a91c9920cb418d6b3fe922f590a
SINGLE
['56897b217a1d0a91c9920cb418d6b3fe922f590a']
{'4a67e5d4adbf3b419f17924322f468ac5cb8c14f'}
56897b217a1d0a91c9920cb418d6b3fe922f590a
1
02/23/2019, 04:33:27
Bluetooth: hci_ldisc: Postpone HCI_UART_PROTO_READY bit set in hci_uart_set_proto() task A: task B: hci_uart_set_proto flush_to_ldisc - p->open(hu) -> h5_open //alloc h5 - receive_buf - set_bit HCI_UART_PROTO_READY - tty_port_default_receive_buf - hci_uar...
Kefeng Wang
null
{'additions': 1, 'deletions': 2, 'total': 3}
[ { "additions": 1, "changes": 3, "deletions": 2, "patch": "@@ -696,14 +696,13 @@ static int hci_uart_set_proto(struct hci_uart *hu, int id)\n \t\treturn -EPROTONOSUPPORT;\n \n \thu->proto = p;\n-\tset_bit(HCI_UART_PROTO_READY, &hu->flags);\n \n \terr = hci_uart_register_dev(hu);\n \tif (err) {\n-\t\t...
c
CWE-416
[ "drivers/bluetooth/hci_ldisc.c" ]
drivers/bluetooth/hci_ldisc.c
1
SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses) } else if (rsp->DialectRevision == cpu_to_le16(SMB21_PROT_ID)) { /* ops set to 3.0 by default for default so update */ ses->server->ops = &smb21_operations; } else if (rsp->DialectRevision == cpu_to_le16(SMB311_PROT_ID)) ses->server->ops = &smb3...
SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses) } else if (rsp->DialectRevision == cpu_to_le16(SMB21_PROT_ID)) { /* ops set to 3.0 by default for default so update */ ses->server->ops = &smb21_operations; ses->server->vals = &smb21_values; } else if (rsp->DialectRevision == cpu_to_le16(SMB311...
CVE-2019-15918
{'CWE-125'}
10
{'https://github.com/torvalds/linux/commit/b57a55e2200ede754e4dc9cce4ba9402544b9365'}
nvd
An issue was discovered in the Linux kernel before 5.0.10. SMB2_negotiate in fs/cifs/smb2pdu.c has an out-of-bounds read because data structures are incompletely updated after a change from smb30 to smb21.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/b57a55e2200ede754e4dc9cce4ba9402544b9365
b57a55e2200ede754e4dc9cce4ba9402544b9365
SINGLE
['b57a55e2200ede754e4dc9cce4ba9402544b9365']
{'088aaf17aa79300cab14dbee2569c58cfafd7d6e'}
b57a55e2200ede754e4dc9cce4ba9402544b9365
1
04/06/2019, 07:30:38
cifs: Fix lease buffer length error There is a KASAN slab-out-of-bounds: BUG: KASAN: slab-out-of-bounds in _copy_from_iter_full+0x783/0xaa0 Read of size 80 at addr ffff88810c35e180 by task mount.cifs/539 CPU: 1 PID: 539 Comm: mount.cifs Not tainted 4.19 #10 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS ...
ZhangXiaoxu
null
{'additions': 4, 'deletions': 1, 'total': 5}
[ { "additions": 4, "changes": 5, "deletions": 1, "patch": "@@ -832,8 +832,11 @@ SMB2_negotiate(const unsigned int xid, struct cifs_ses *ses)\n \t\t} else if (rsp->DialectRevision == cpu_to_le16(SMB21_PROT_ID)) {\n \t\t\t/* ops set to 3.0 by default for default so update */\n \t\t\tses->server->ops = ...
c
CWE-125
[ "fs/cifs/smb2pdu.c" ]
fs/cifs/smb2pdu.c
1
SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms, rc = cifs_send_recv(xid, io_parms->tcon->ses, &rqst, &resp_buftype, flags, &rsp_iov); cifs_small_buf_release(req); rsp = (struct smb2_write_rsp *)rsp_iov.iov_base; if (rc) { SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms...
SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms, rc = cifs_send_recv(xid, io_parms->tcon->ses, &rqst, &resp_buftype, flags, &rsp_iov); rsp = (struct smb2_write_rsp *)rsp_iov.iov_base; if (rc) { SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms, io_parms->offset, *...
CVE-2019-15919
{'CWE-416'}
2.9
{'https://github.com/torvalds/linux/commit/6a3eb3360667170988f8a6477f6686242061488a'}
nvd
An issue was discovered in the Linux kernel before 5.0.10. SMB2_write in fs/cifs/smb2pdu.c has a use-after-free.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/6a3eb3360667170988f8a6477f6686242061488a
6a3eb3360667170988f8a6477f6686242061488a
SINGLE
['6a3eb3360667170988f8a6477f6686242061488a']
{'618d919cae2fcaadc752f27ddac8b939da8b441a'}
6a3eb3360667170988f8a6477f6686242061488a
1
04/06/2019, 07:47:38
cifs: Fix use-after-free in SMB2_write There is a KASAN use-after-free: BUG: KASAN: use-after-free in SMB2_write+0x1342/0x1580 Read of size 8 at addr ffff8880b6a8e450 by task ln/4196 Should not release the 'req' because it will use in the trace. Fixes: eccb4422cf97 ("smb3: Add ftrace tracepoints for improved SMB3 de...
ZhangXiaoxu
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -3769,7 +3769,6 @@ SMB2_write(const unsigned int xid, struct cifs_io_parms *io_parms,\n \n \trc = cifs_send_recv(xid, io_parms->tcon->ses, &rqst,\n \t\t\t &resp_buftype, flags, &rsp_iov);\n-\tcifs_small_buf_release(req);\n \trsp = (stru...
c
CWE-416
[ "fs/cifs/smb2pdu.c" ]
fs/cifs/smb2pdu.c
1
SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, rqst.rq_nvec = 1; rc = cifs_send_recv(xid, ses, &rqst, &resp_buftype, flags, &rsp_iov); cifs_small_buf_release(req); rsp = (struct smb2_read_rsp *)rsp_iov.iov_base; if (rc) { SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, ...
SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, rqst.rq_nvec = 1; rc = cifs_send_recv(xid, ses, &rqst, &resp_buftype, flags, &rsp_iov); rsp = (struct smb2_read_rsp *)rsp_iov.iov_base; if (rc) { SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms, io_parms->tcon->tid, ses->S...
CVE-2019-15920
{'CWE-416'}
2.9
{'https://github.com/torvalds/linux/commit/088aaf17aa79300cab14dbee2569c58cfafd7d6e'}
nvd
An issue was discovered in the Linux kernel before 5.0.10. SMB2_read in fs/cifs/smb2pdu.c has a use-after-free. NOTE: this was not fixed correctly in 5.0.10; see the 5.0.11 ChangeLog, which documents a memory leak.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/088aaf17aa79300cab14dbee2569c58cfafd7d6e
088aaf17aa79300cab14dbee2569c58cfafd7d6e
SINGLE
['088aaf17aa79300cab14dbee2569c58cfafd7d6e']
{'6a3eb3360667170988f8a6477f6686242061488a'}
088aaf17aa79300cab14dbee2569c58cfafd7d6e
1
04/06/2019, 07:47:39
cifs: Fix use-after-free in SMB2_read There is a KASAN use-after-free: BUG: KASAN: use-after-free in SMB2_read+0x1136/0x1190 Read of size 8 at addr ffff8880b4e45e50 by task ln/1009 Should not release the 'req' because it will use in the trace. Fixes: eccb4422cf97 ("smb3: Add ftrace tracepoints for improved SMB3 debu...
ZhangXiaoxu
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -3448,8 +3448,6 @@ SMB2_read(const unsigned int xid, struct cifs_io_parms *io_parms,\n \trqst.rq_nvec = 1;\n \n \trc = cifs_send_recv(xid, ses, &rqst, &resp_buftype, flags, &rsp_iov);\n-\tcifs_small_buf_release(req);\n-\n \trsp = (struct s...
c
CWE-416
[ "fs/cifs/smb2pdu.c" ]
fs/cifs/smb2pdu.c
1
int genl_register_family(struct genl_family *family) start, end + 1, GFP_KERNEL); if (family->id < 0) { err = family->id; goto errout_locked; } err = genl_validate_assign_mc_groups(family); int genl_register_family(struct genl_family *family) errout_remove: idr_remove(&genl_fam_idr, family->id); k...
int genl_register_family(struct genl_family *family) start, end + 1, GFP_KERNEL); if (family->id < 0) { err = family->id; goto errout_free; } err = genl_validate_assign_mc_groups(family); int genl_register_family(struct genl_family *family) errout_remove: idr_remove(&genl_fam_idr, family->id); erro...
CVE-2019-15921
{'CWE-401'}
6.9
{'https://github.com/torvalds/linux/commit/ceabee6c59943bdd5e1da1a6a20dc7ee5f8113a2'}
nvd
An issue was discovered in the Linux kernel before 5.0.6. There is a memory leak issue when idr_alloc() fails in genl_register_family() in net/netlink/genetlink.c.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/ceabee6c59943bdd5e1da1a6a20dc7ee5f8113a2
ceabee6c59943bdd5e1da1a6a20dc7ee5f8113a2
SINGLE
['ceabee6c59943bdd5e1da1a6a20dc7ee5f8113a2']
{'33872d79f5d1cbedaaab79669cc38f16097a9450'}
ceabee6c59943bdd5e1da1a6a20dc7ee5f8113a2
1
03/21/2019, 07:02:50
genetlink: Fix a memory leak on error path In genl_register_family(), when idr_alloc() fails, we forget to free the memory we possibly allocate for family->attrbuf. Reported-by: Hulk Robot <hulkci@huawei.com> Fixes: 2ae0f17df1cd ("genetlink: use idr to track families") Signed-off-by: YueHaibing <yuehaibing@huawei.com...
YueHaibing
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -366,7 +366,7 @@ int genl_register_family(struct genl_family *family)\n \t\t\t start, end + 1, GFP_KERNEL);\n \tif (family->id < 0) {\n \t\terr = family->id;\n-\t\tgoto errout_locked;\n+\t\tgoto errout_free;\n \t}\n \n \terr = genl_v...
c
CWE-401
[ "net/netlink/genetlink.c" ]
net/netlink/genetlink.c
1
static int pf_detect(void) printk("%s: No ATAPI disk detected\n", name); for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { blk_cleanup_queue(pf->disk->queue); pf->disk->queue = NULL; blk_mq_free_tag_set(&pf->tag_set); static int __init pf_init(void) pf_busy = 0; if (register_blkdev(major, name)) ...
static int pf_detect(void) printk("%s: No ATAPI disk detected\n", name); for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { if (!pf->disk) continue; blk_cleanup_queue(pf->disk->queue); pf->disk->queue = NULL; blk_mq_free_tag_set(&pf->tag_set); static int __init pf_init(void) pf_busy = 0; if (...
CVE-2019-15922
{'CWE-476'}
6.9
{'https://github.com/torvalds/linux/commit/58ccd2d31e502c37e108b285bf3d343eb00c235b'}
nvd
An issue was discovered in the Linux kernel before 5.0.9. There is a NULL pointer dereference for a pf data structure if alloc_disk fails in drivers/block/paride/pf.c.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/58ccd2d31e502c37e108b285bf3d343eb00c235b
58ccd2d31e502c37e108b285bf3d343eb00c235b
SINGLE
['58ccd2d31e502c37e108b285bf3d343eb00c235b']
{'25adf50fe25d506d3fc12070a5ff4be858a1ac1b'}
58ccd2d31e502c37e108b285bf3d343eb00c235b
1
04/03/2019, 03:37:07
paride/pf: Fix potential NULL pointer dereference Syzkaller report this: pf: pf version 1.04, major 47, cluster 64, nice 0 pf: No ATAPI disk detected kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN PTI CPU: 0 PID: 9887...
YueHaibing
{'com_1': {'author': 'shaheena2020', 'datetime': '10/14/2019, 14:27:20', 'body': "[pfdotc.txt](https://github.com/torvalds/linux/files/3724844/pfdotc.txt)\r\nHi,\r\n\r\nI have the below error while modifying the source code.\r\n++++++++++++++++++++\r\ndrivers/block/paride/pf.c: In function ‘pf_init’:\r\ndrivers/block/p...
{'additions': 11, 'deletions': 1, 'total': 12}
[ { "additions": 11, "changes": 12, "deletions": 1, "patch": "@@ -762,6 +762,8 @@ static int pf_detect(void)\n \n \tprintk(\"%s: No ATAPI disk detected\\n\", name);\n \tfor (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) {\n+\t\tif (!pf->disk)\n+\t\t\tcontinue;\n \t\tblk_cleanup_queue(pf->disk->...
c
CWE-476
[ "drivers/block/paride/pf.c" ]
drivers/block/paride/pf.c
1
static void pcd_init_units(void) disk->queue = blk_mq_init_sq_queue(&cd->tag_set, &pcd_mq_ops, 1, BLK_MQ_F_SHOULD_MERGE); if (IS_ERR(disk->queue)) { disk->queue = NULL; continue; } static int pcd_detect(void) printk("%s: No CD-ROM drive found\n", name); for (unit = 0, cd = pcd; unit < PCD_UNITS...
static void pcd_init_units(void) disk->queue = blk_mq_init_sq_queue(&cd->tag_set, &pcd_mq_ops, 1, BLK_MQ_F_SHOULD_MERGE); if (IS_ERR(disk->queue)) { put_disk(disk); disk->queue = NULL; continue; } static int pcd_detect(void) printk("%s: No CD-ROM drive found\n", name); for (unit = 0, cd = pc...
CVE-2019-15923
{'CWE-476'}
6.9
{'https://github.com/torvalds/linux/commit/f0d1762554014ce0ae347b9f0d088f2c157c8c72'}
nvd
An issue was discovered in the Linux kernel before 5.0.9. There is a NULL pointer dereference for a cd data structure if alloc_disk fails in drivers/block/paride/pf.c.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/f0d1762554014ce0ae347b9f0d088f2c157c8c72
f0d1762554014ce0ae347b9f0d088f2c157c8c72
SINGLE
['f0d1762554014ce0ae347b9f0d088f2c157c8c72']
{'bcc816dfe51ab86ca94663c7b225f2d6eb0fddb9'}
f0d1762554014ce0ae347b9f0d088f2c157c8c72
1
04/05/2019, 02:14:58
paride/pcd: Fix potential NULL pointer dereference and mem leak Syzkaller report this: pcd: pcd version 1.07, major 46, nice 0 pcd0: Autoprobe failed pcd: No CD-ROM drive found kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP...
YueHaibing
null
{'additions': 13, 'deletions': 1, 'total': 14}
[ { "additions": 13, "changes": 14, "deletions": 1, "patch": "@@ -314,6 +314,7 @@ static void pcd_init_units(void)\n \t\tdisk->queue = blk_mq_init_sq_queue(&cd->tag_set, &pcd_mq_ops,\n \t\t\t\t\t\t 1, BLK_MQ_F_SHOULD_MERGE);\n \t\tif (IS_ERR(disk->queue)) {\n+\t\t\tput_disk(disk);\n \t\t\tdisk->queu...
c
CWE-476
[ "drivers/block/paride/pcd.c" ]
drivers/block/paride/pcd.c
1
static int __init fm10k_init_module(void) /* create driver workqueue */ fm10k_workqueue = alloc_workqueue("%s", WQ_MEM_RECLAIM, 0, fm10k_driver_name); fm10k_dbg_init();
static int __init fm10k_init_module(void) /* create driver workqueue */ fm10k_workqueue = alloc_workqueue("%s", WQ_MEM_RECLAIM, 0, fm10k_driver_name); if (!fm10k_workqueue) return -ENOMEM; fm10k_dbg_init();
CVE-2019-15924
{'CWE-476'}
6.9
{'https://github.com/torvalds/linux/commit/01ca667133d019edc9f0a1f70a272447c84ec41f'}
nvd
An issue was discovered in the Linux kernel before 5.0.11. fm10k_init_module in drivers/net/ethernet/intel/fm10k/fm10k_main.c has a NULL pointer dereference because there is no -ENOMEM upon an alloc_workqueue failure.
2019-09-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/01ca667133d019edc9f0a1f70a272447c84ec41f
01ca667133d019edc9f0a1f70a272447c84ec41f
SINGLE
['01ca667133d019edc9f0a1f70a272447c84ec41f']
{'f669d24f3dd00beab452c0fc9257f6a942ffca9b'}
01ca667133d019edc9f0a1f70a272447c84ec41f
1
03/21/2019, 14:42:23
fm10k: Fix a potential NULL pointer dereference Syzkaller report this: kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] SMP KASAN PTI CPU: 0 PID: 4378 Comm: syz-executor.0 Tainted: G C 5.0.0+ #5 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),...
Yue Haibing
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -41,6 +41,8 @@ static int __init fm10k_init_module(void)\n \t/* create driver workqueue */\n \tfm10k_workqueue = alloc_workqueue(\"%s\", WQ_MEM_RECLAIM, 0,\n \t\t\t\t\t fm10k_driver_name);\n+\tif (!fm10k_workqueue)\n+\t\treturn -ENOMEM;\n...
c
CWE-476
[ "drivers/net/ethernet/intel/fm10k/fm10k_main.c" ]
drivers/net/ethernet/intel/fm10k/fm10k_main.c
1
static int decode_bit_string(const u8 * inbuf, size_t inlen, void *outbuf, { const u8 *in = inbuf; u8 *out = (u8 *) outbuf; int zero_bits = *in & 0x07; size_t octets_left = inlen - 1; int i, count = 0; memset(outbuf, 0, outlen); in++; if (outlen < octets_left) return SC_ERROR_BUFFER_TOO_SMALL; if (inlen < ...
static int decode_bit_string(const u8 * inbuf, size_t inlen, void *outbuf, { const u8 *in = inbuf; u8 *out = (u8 *) outbuf; int i, count = 0; int zero_bits; size_t octets_left; if (outlen < octets_left) return SC_ERROR_BUFFER_TOO_SMALL; if (inlen < 1) return SC_ERROR_INVALID_ASN1_OBJECT; zero_bits = *in ...
CVE-2019-15945
{'CWE-119'}
6.4
{'https://github.com/OpenSC/OpenSC/commit/412a6142c27a5973c61ba540e33cdc22d5608e68'}
nvd
OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Bitstring in decode_bit_string in libopensc/asn1.c.
2019-09-05
1
https://github.com/OpenSC/OpenSC
https://github.com/OpenSC/OpenSC/commit/412a6142c27a5973c61ba540e33cdc22d5608e68
412a6142c27a5973c61ba540e33cdc22d5608e68
SINGLE
['412a6142c27a5973c61ba540e33cdc22d5608e68']
{'2bfd022180972d865d049ddad9e122470bfbc213'}
412a6142c27a5973c61ba540e33cdc22d5608e68
1
08/27/2019, 13:17:17
fixed out of bounds access of ASN.1 Bitstring Credit to OSS-Fuzz
Frank Morgner
null
{'additions': 8, 'deletions': 4, 'total': 12}
[ { "additions": 8, "changes": 12, "deletions": 4, "patch": "@@ -570,16 +570,20 @@ static int decode_bit_string(const u8 * inbuf, size_t inlen, void *outbuf,\n {\n \tconst u8 *in = inbuf;\n \tu8 *out = (u8 *) outbuf;\n-\tint zero_bits = *in & 0x07;\n-\tsize_t octets_left = inlen - 1;\n \tint i, count ...
c
CWE-119
[ "src/libopensc/asn1.c" ]
src/libopensc/asn1.c
1
static int asn1_decode_entry(sc_context_t *ctx,struct sc_asn1_entry *entry, /* Strip off padding zero */ if ((entry->flags & SC_ASN1_UNSIGNED) && obj[0] == 0x00 && objlen > 1) { objlen--; obj++; }
static int asn1_decode_entry(sc_context_t *ctx,struct sc_asn1_entry *entry, /* Strip off padding zero */ if ((entry->flags & SC_ASN1_UNSIGNED) && objlen > 1 && obj[0] == 0x00) { objlen--; obj++; }
CVE-2019-15946
{'CWE-119'}
6.4
{'https://github.com/OpenSC/OpenSC/commit/a3fc7693f3a035a8a7921cffb98432944bb42740'}
nvd
OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry in libopensc/asn1.c.
2019-09-05
1
https://github.com/OpenSC/OpenSC
https://github.com/OpenSC/OpenSC/commit/a3fc7693f3a035a8a7921cffb98432944bb42740
a3fc7693f3a035a8a7921cffb98432944bb42740
SINGLE
['a3fc7693f3a035a8a7921cffb98432944bb42740']
{'412a6142c27a5973c61ba540e33cdc22d5608e68'}
a3fc7693f3a035a8a7921cffb98432944bb42740
1
08/27/2019, 13:21:46
Fixed out of bounds access in ASN.1 Octet string Credit to OSS-Fuzz
Frank Morgner
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1469,7 +1469,7 @@ static int asn1_decode_entry(sc_context_t *ctx,struct sc_asn1_entry *entry,\n \n \t\t\t/* Strip off padding zero */\n \t\t\tif ((entry->flags & SC_ASN1_UNSIGNED)\n-\t\t\t && obj[0] == 0x00 && objlen > 1) {\n+\t\t\t\t\t&&...
c
CWE-119
[ "src/libopensc/asn1.c" ]
src/libopensc/asn1.c
1
#include <openssl/crypto.h> #include <libp11.h> #include <regex.h> /* openssl deprecated API emulation */ #ifndef HAVE_EVP_MD_CTX_NEW static int key_verify(pam_handle_t *pamh, int flags, PKCS11_KEY *authkey) { int ok = 0; unsigned char challenge[30]; unsigned char signature[256]; unsigned int siglen = sizeof sign...
#include <openssl/crypto.h> #include <libp11.h> #include <regex.h> #include <stdlib.h> /* openssl deprecated API emulation */ #ifndef HAVE_EVP_MD_CTX_NEW static int key_verify(pam_handle_t *pamh, int flags, PKCS11_KEY *authkey) { int ok = 0; unsigned char challenge[30]; unsigned char *signature = NULL; unsigned i...
CVE-2019-16058
{'CWE-119'}
2.9
{'https://github.com/OpenSC/pam_p11/commit/d150b60e1e14c261b113f55681419ad1dfa8a76c'}
nvd
An issue was discovered in the pam_p11 component 0.2.0 and 0.3.0 for OpenSC. If a smart card creates a signature with a length longer than 256 bytes, this triggers a buffer overflow. This may be the case for RSA keys with 4096 bits depending on the signature scheme.
2019-09-06
1
https://github.com/OpenSC/pam_p11
https://github.com/OpenSC/pam_p11/commit/d150b60e1e14c261b113f55681419ad1dfa8a76c
d150b60e1e14c261b113f55681419ad1dfa8a76c
SINGLE
['d150b60e1e14c261b113f55681419ad1dfa8a76c']
{'26e329f1a5ec3c2651211a101191ec2d7d5176d3'}
d150b60e1e14c261b113f55681419ad1dfa8a76c
1
08/26/2019, 11:54:09
Use EVP_PKEY_size() to allocate correct size of signature buffer. (#18) Do not use fixed buffer size for signature, EVP_SignFinal() requires buffer for signature at least EVP_PKEY_size(pkey) bytes in size. Fixes crash when using 4K RSA signatures (https://github.com/OpenSC/pam_p11/issues/16, https://github.com/Op...
Peter Popovec
null
{'additions': 13, 'deletions': 2, 'total': 15}
[ { "additions": 13, "changes": 15, "deletions": 2, "patch": "@@ -31,6 +31,7 @@\n #include <openssl/crypto.h>\n #include <libp11.h>\n #include <regex.h>\n+#include <stdlib.h>\n \n /* openssl deprecated API emulation */\n #ifndef HAVE_EVP_MD_CTX_NEW\n@@ -634,13 +635,22 @@ static int key_verify(pam_hand...
c
CWE-119
[ "src/pam_p11.c" ]
src/pam_p11.c
1
public function delete($id) // if AJAX request (triggered by deletion via admin grid view), we should not redirect the browser if (!isset($_GET['ajax'])) { Yii::app()->setFlashMessage(sprintf(gT("The survey group '%s' was deleted."), $sGroupTitle), 'success'); $...
public function delete($id) // if AJAX request (triggered by deletion via admin grid view), we should not redirect the browser if (!isset($_GET['ajax'])) { Yii::app()->setFlashMessage(sprintf(gT("The survey group '%s' was deleted."), CHtml::encode($sGroupTitle)), 'success'); ...
CVE-2019-16172
{'CWE-79'}
2.9
{'https://github.com/LimeSurvey/LimeSurvey/commit/32d6a5224327b246ee3a2a08500544e4f80f9a9a'}
nvd
LimeSurvey before v3.17.14 allows stored XSS for escalating privileges from a low-privileged account to, for example, SuperAdmin. The attack uses a survey group in which the title contains JavaScript that is mishandled upon group deletion.
2019-09-09
1
https://github.com/LimeSurvey/LimeSurvey
https://github.com/LimeSurvey/LimeSurvey/commit/32d6a5224327b246ee3a2a08500544e4f80f9a9a
32d6a5224327b246ee3a2a08500544e4f80f9a9a
SINGLE
['32d6a5224327b246ee3a2a08500544e4f80f9a9a']
{'f1c1ad2d24eb262363511fcca2e96ce737064006'}
32d6a5224327b246ee3a2a08500544e4f80f9a9a
1
09/01/2019, 14:27:10
Fixed issue: [security] #15204: Stored XSS vulnerabilities - Thanks to J. Greil from the SEC Consult Vulnerability Lab (https://www.sec-consult.com) Dev: encode group name in alert deleted
Denis Chenu
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -130,7 +130,7 @@ public function delete($id)\n \n // if AJAX request (triggered by deletion via admin grid view), we should not redirect the browser\n if (!isset($_GET['ajax'])) {\n- Yii::app()->setFl...
php
CWE-79
[ "application/controllers/admin/SurveysGroupsController.php" ]
application/controllers/admin/SurveysGroupsController.php
1
private function _addPseudoParams($params) 'id' => 'iId', 'gid' => 'iGroupId', 'qid' => 'iQuestionId', /* Unsure we set 'iSurveyId', 'iSurveyID','surveyid' to same final survey id */ /* priority is surveyid,surveyId,sid : surveyId=1&sid=2 set sid surveyid to ...
private function _addPseudoParams($params) 'id' => 'iId', 'gid' => 'iGroupId', 'qid' => 'iQuestionId', /* priority is surveyid,surveyId,sid : surveyId=1&sid=2 set iSurveyId to 1 */ 'sid' => array('iSurveyId', 'iSurveyID', 'surveyid'), // Old link use sid ...
CVE-2019-16173
{'CWE-79'}
2.9
{'https://github.com/LimeSurvey/LimeSurvey/commit/f1c1ad2d24eb262363511fcca2e96ce737064006'}
nvd
LimeSurvey before v3.17.14 allows reflected XSS for escalating privileges from a low-privileged account to, for example, SuperAdmin. This occurs in application/core/Survey_Common_Action.php,
2019-09-09
1
https://github.com/LimeSurvey/LimeSurvey
https://github.com/LimeSurvey/LimeSurvey/commit/f1c1ad2d24eb262363511fcca2e96ce737064006
f1c1ad2d24eb262363511fcca2e96ce737064006
SINGLE
['f1c1ad2d24eb262363511fcca2e96ce737064006']
{'68e3ed25b18ad00d3ee8a10da0944928e2114fe4'}
f1c1ad2d24eb262363511fcca2e96ce737064006
1
09/01/2019, 14:23:09
Fixed issue: [security] #15204: Reflected XSS vulnerabilities - thanks to J. Greil from the SEC Consult Vulnerability Lab Dev: disable pseudo params for same param to be different : throw a 403
Denis Chenu
{'com_1': {'author': 'olleharstedt', 'datetime': '09/17/2019, 09:09:37', 'body': '"Check if"?'}, 'com_2': {'author': 'Shnoulle', 'datetime': '09/17/2019, 09:21:12', 'body': "Yep, but code (and coment) are updated : \r\n- https://github.com/LimeSurvey/LimeSurvey/commit/de7707d700d1304110eca1e12fd22b3aa1d011b7#diff-2f82f...
{'additions': 5, 'deletions': 4, 'total': 9}
[ { "additions": 5, "changes": 9, "deletions": 4, "patch": "@@ -106,8 +106,7 @@ private function _addPseudoParams($params)\n 'id' => 'iId',\n 'gid' => 'iGroupId',\n 'qid' => 'iQuestionId',\n- /* Unsure we set 'iSurveyId', 'iSurveyID','surveyid' to same fi...
php
CWE-79
[ "application/core/Survey_Common_Action.php" ]
application/core/Survey_Common_Action.php
1
def get_link_re() -> str: # [text](url) or [text](<url>) or [text](url "title") LINK_RE = NOIMG + BRK + \ r'''\(\s*(<.*?>|((?:(?:\(.*?\))|[^\(\)]))*?)\s*((['"])(.*?)\12\s*)?\)''' return normal_compile(LINK_RE) def prepare_realm_pattern(source: str) -> str:
def get_link_re() -> str: # [text](url) or [text](<url>) or [text](url "title") LINK_RE = NOIMG + BRK + \ r'''\(\s*(<(?:[^<>\\]|\\.)*>|(\([^()]*\)|[^()])*?)\s*(('(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*")\s*)?\)''' return normal_compile(LINK_RE) def prepare_realm_pattern(source: str) -> str:
CVE-2019-16215
{'CWE-400'}
2.9
{'https://github.com/zulip/zulip/commit/5797f013b3be450c146a4141514bda525f2f1b51'}
nvd
The Markdown parser in Zulip server before 2.0.5 used a regular expression vulnerable to exponential backtracking. A user who is logged into the server could send a crafted message causing the server to spend an effectively arbitrary amount of CPU time and stall the processing of future messages.
2019-09-18
1
https://github.com/zulip/zulip
https://github.com/zulip/zulip/commit/5797f013b3be450c146a4141514bda525f2f1b51
5797f013b3be450c146a4141514bda525f2f1b51
SINGLE
['5797f013b3be450c146a4141514bda525f2f1b51']
{'1195841dfb9aa26b3b0dabc6f05d72e4af25be3e'}
5797f013b3be450c146a4141514bda525f2f1b51
1
04/05/2019, 00:31:57
CVE-2019-16215: Fix DoS vulnerability in Markdown LINK_RE. Any regex including a match-everything subpattern (.*, .*?, .+, or .+?) is almost automatically wrong because it fails to disambiguate when one subpattern should end and another should begin. Among other bugs, these kind of regexes tend to be especially prone...
Anders Kaseorg
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1484,7 +1484,7 @@ def get_link_re() -> str:\n \n # [text](url) or [text](<url>) or [text](url \"title\")\n LINK_RE = NOIMG + BRK + \\\n- r'''\\(\\s*(<.*?>|((?:(?:\\(.*?\\))|[^\\(\\)]))*?)\\s*((['\"])(.*?)\\12\\s*)?\\)'''\n+...
py
CWE-400
[ "zerver/lib/bugdown/__init__.py" ]
zerver/lib/bugdown/__init__.py
1
public function correctPath() $this->setFilename($this->getFilename() . '.txt'); } if (Asset\Service::pathExists($this->getRealFullPath())) { $duplicate = Asset::getByPath($this->getRealFullPath()); if ($duplicate instanceof Asset and $duplicate->getId() != $this->g...
public function correctPath() $this->setFilename($this->getFilename() . '.txt'); } if(mb_strlen($this->getFilename()) > 255) { throw new \Exception('Filenames longer than 255 characters are not allowed'); } if (Asset\Service::pathExists($this->getRealFullPath()...
CVE-2019-16318
{'CWE-434'}
6.4
{'https://github.com/pimcore/pimcore/commit/732f1647cc6e0a29b5b1f5d904b4d726b5e9455f'}
nvd
In Pimcore before 5.7.1, an attacker with limited privileges can bypass file-extension restrictions via a 256-character filename, as demonstrated by the failure of automatic renaming of .php to .php.txt for long filenames, a different vulnerability than CVE-2019-10867 and CVE-2019-16317.
2019-09-14
1
https://github.com/pimcore/pimcore
https://github.com/pimcore/pimcore/commit/732f1647cc6e0a29b5b1f5d904b4d726b5e9455f
732f1647cc6e0a29b5b1f5d904b4d726b5e9455f
SINGLE
['732f1647cc6e0a29b5b1f5d904b4d726b5e9455f']
{'d27f659bf72f2862adaacd1f2c8270349331ff91'}
732f1647cc6e0a29b5b1f5d904b4d726b5e9455f
1
03/19/2019, 13:56:35
[Asset] do not allow filenames longer than 255 characters
Bernhard Rusch
null
{'additions': 4, 'deletions': 0, 'total': 4}
[ { "additions": 4, "changes": 4, "deletions": 0, "patch": "@@ -623,6 +623,10 @@ public function correctPath()\n $this->setFilename($this->getFilename() . '.txt');\n }\n \n+ if(mb_strlen($this->getFilename()) > 255) {\n+ throw new \\Exception('Filenames longer tha...
php
CWE-434
[ "models/Asset.php" ]
models/Asset.php
1
*/ //TFM version define('VERSION', '2.3.8'); //Application Title define('APP_TITLE', 'Tiny File Manager'); function get_file_path () { } $err = false; if (!$url) { $success = false; } else if ($use_curl) { class="edit-file"><i class="fa fa-pencil-square-o"></i> <?php ech...
*/ //TFM version define('VERSION', '2.3.9'); //Application Title define('APP_TITLE', 'Tiny File Manager'); function get_file_path () { } $err = false; if(!fm_is_file_allowed($fileinfo->name)) { $err = array("message" => "File extension is not allowed"); event_callbac...
CVE-2019-16790
{'CWE-434'}
6.4
{'https://github.com/prasathmani/tinyfilemanager/commit/9a499734c5084e3c2eb505f100d50baac1793bd8'}
nvd
In Tiny File Manager before 2.3.9, there is a remote code execution via Upload from URL and Edit/Rename files. Only authenticated users are impacted.
2019-12-30
1
https://github.com/prasathmani/tinyfilemanager
https://github.com/prasathmani/tinyfilemanager/commit/9a499734c5084e3c2eb505f100d50baac1793bd8
9a499734c5084e3c2eb505f100d50baac1793bd8
SINGLE
['9a499734c5084e3c2eb505f100d50baac1793bd8']
{'1eac82f55ac077849cb7f276c66e1f4f9ff4e996'}
9a499734c5084e3c2eb505f100d50baac1793bd8
1
12/28/2019, 13:53:47
Merge pull request from GHSA-w72h-v37j-rrwr * Fix the RCE vuln via Upload from URL This commit attemps to fix the Remote Code Execution (authenticated) via Upload from URL. Some notes about the proposed solution: * A new function (fm_is_file_allowed) has been created to validate if the filename is allowed. This func...
Prasath Mani
null
{'additions': 30, 'deletions': 2, 'total': 32}
[ { "additions": 30, "changes": 32, "deletions": 2, "patch": "@@ -9,7 +9,7 @@\n */\n \n //TFM version\n-define('VERSION', '2.3.8');\n+define('VERSION', '2.3.9');\n \n //Application Title\n define('APP_TITLE', 'Tiny File Manager');\n@@ -480,6 +480,12 @@ function get_file_path () {\n }\n \n ...
php
CWE-434
[ "tinyfilemanager.php" ]
tinyfilemanager.php
1
if (!empty($mac)) { $_POST['delmac'] = $mac['mac']; } else { echo gettext("No entry exists for this username:") . " " . $_POST['username'] . "\n"; } } write_config(); echo gettext("The entry was successfully deleted") . "\n"; } else { echo gettext("No entry exists for this mac addres...
if (!empty($mac)) { $_POST['delmac'] = $mac['mac']; } else { echo gettext("No entry exists for this username:") . " " . htmlspecialchars($_POST['username']) . "\n"; } } write_config(); echo gettext("The entry was successfully deleted") . "\n"; } else { echo gettext("No entry exists f...
CVE-2019-16914
{'CWE-79'}
2.9
{'https://github.com/pfsense/pfsense/commit/d31362b69d5d52dc196dc72f66e830cd1e6e9a4f'}
nvd
An XSS issue was discovered in pfSense through 2.4.4-p3. In services_captiveportal_mac.php, the username and delmac parameters are displayed without sanitization.
2019-09-26
1
https://github.com/pfsense/pfsense
https://github.com/pfsense/pfsense/commit/d31362b69d5d52dc196dc72f66e830cd1e6e9a4f
d31362b69d5d52dc196dc72f66e830cd1e6e9a4f
SINGLE
['d31362b69d5d52dc196dc72f66e830cd1e6e9a4f']
{'bb1692e4ed8833704dec470fa90677d4fdbabbb0'}
d31362b69d5d52dc196dc72f66e830cd1e6e9a4f
1
07/01/2019, 18:37:12
Encode error output in services_captiveportal_mac.php. Fixes #9609
jim-p
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -89,7 +89,7 @@\n \t\t\tif (!empty($mac)) {\n \t\t\t\t$_POST['delmac'] = $mac['mac'];\n \t\t\t} else {\n-\t\t\t\techo gettext(\"No entry exists for this username:\") . \" \" . $_POST['username'] . \"\\n\";\n+\t\t\t\techo gettext(\"No entry ...
php
CWE-79
[ "src/usr/local/www/services_captiveportal_mac.php" ]
src/usr/local/www/services_captiveportal_mac.php
1
if ($_GET['getpic']=="true") { $pic_type_s = explode(".", $user_settings['widgets'][$_GET['widgetkey']]['picturewidget_filename']); $pic_type = $pic_type_s[1]; if ($user_settings['widgets'][$_GET['widgetkey']]['picturewidget']) { if (file_exists("/conf/widget_image." . $_GET['widgetkey'])) { $data = file_ge...
if ($_GET['getpic']=="true") { $wk = basename($_GET['widgetkey']); $image_filename = "/conf/widget_image.{$wk}"; if (empty($wk) || !isset($user_settings['widgets'][$wk]) || !is_array($user_settings['widgets'][$wk]) || !file_exists($image_filename)) { echo null; exit; } /* Do not rely on file...
CVE-2019-16915
{'CWE-22'}
6.4
{'https://github.com/pfsense/pfsense/commit/2c544ac61ce98f716d50b8e5961d7dfba66804b5'}
nvd
An issue was discovered in pfSense through 2.4.4-p3. widgets/widgets/picture.widget.php uses the widgetkey parameter directly without sanitization (e.g., a basename call) for a pathname to file_get_contents or file_put_contents.
2019-09-26
1
https://github.com/pfsense/pfsense
https://github.com/pfsense/pfsense/commit/2c544ac61ce98f716d50b8e5961d7dfba66804b5
2c544ac61ce98f716d50b8e5961d7dfba66804b5
SINGLE
['2c544ac61ce98f716d50b8e5961d7dfba66804b5']
{'d31362b69d5d52dc196dc72f66e830cd1e6e9a4f'}
2c544ac61ce98f716d50b8e5961d7dfba66804b5
1
07/01/2019, 19:58:16
Picture widget corrections. Fixes #9610 * Sanitize user input before using as path/filenames * Use a more accurate method of determining image type on read * More sanity checks before reading images.
jim-p
null
{'additions': 34, 'deletions': 9, 'total': 43}
[ { "additions": 34, "changes": 43, "deletions": 9, "patch": "@@ -25,25 +25,50 @@\n \n \n if ($_GET['getpic']==\"true\") {\n-\t$pic_type_s = explode(\".\", $user_settings['widgets'][$_GET['widgetkey']]['picturewidget_filename']);\n-\t$pic_type = $pic_type_s[1];\n+\t$wk = basename($_GET['widgetkey']);\...
php
CWE-22
[ "src/usr/local/www/widgets/widgets/picture.widget.php" ]
src/usr/local/www/widgets/widgets/picture.widget.php
1
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ include "root.php"; require_once "resources/require....
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ //includes include "root.php"; require_once "reso...
CVE-2019-16964
{'CWE-78'}
10
{'https://github.com/fusionpbx/fusionpbx/commit/2f9e591a4034c3aea70185dcab837946096449bf'}
nvd
app/call_centers/cmd.php in the Call Center Queue Module in FusionPBX up to 4.5.7 suffers from a command injection vulnerability due to a lack of input validation, which allows authenticated attackers (with at least the permission call_center_queue_add or call_center_queue_edit) to execute any commands on the host as w...
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/2f9e591a4034c3aea70185dcab837946096449bf
2f9e591a4034c3aea70185dcab837946096449bf
SINGLE
['2f9e591a4034c3aea70185dcab837946096449bf']
{'c5c9e2ef31c638e0940defacfd8fd54f33142eb1'}
2f9e591a4034c3aea70185dcab837946096449bf
1
08/15/2019, 09:33:21
Update cmd.php
FusionPBX
null
{'additions': 54, 'deletions': 30, 'total': 84}
[ { "additions": 54, "changes": 84, "deletions": 30, "patch": "@@ -17,42 +17,66 @@\n \n \tThe Initial Developer of the Original Code is\n \tMark J Crane <markjcrane@fusionpbx.com>\n-\tPortions created by the Initial Developer are Copyright (C) 2008-2012\n+\tPortions created by the Initial Developer ar...
php
CWE-78
[ "app/call_centers/cmd.php" ]
app/call_centers/cmd.php
1
<?php /* FusionPBX Version: MPL 1.1 The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.mozilla.org/MPL/ Software distributed under the License is di...
\ No newline at end of file
CVE-2019-16965
{'CWE-78'}
10
{'https://github.com/fusionpbx/fusionpbx/commit/6baad9af1bc55c80b793af3bd1ac35b39c20b173'}
nvd
resources/cmd.php in FusionPBX up to 4.5.7 suffers from a command injection vulnerability due to a lack of input validation, which allows authenticated administrative attackers to execute any commands on the host as www-data.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/6baad9af1bc55c80b793af3bd1ac35b39c20b173
6baad9af1bc55c80b793af3bd1ac35b39c20b173
SINGLE
['6baad9af1bc55c80b793af3bd1ac35b39c20b173']
{'4ee13ad9072ca6f48756fef2cf2f16a0cec993db'}
6baad9af1bc55c80b793af3bd1ac35b39c20b173
1
08/15/2019, 08:44:17
Delete cmd.php
FusionPBX
null
{'additions': 0, 'deletions': 53, 'total': 53}
[ { "additions": 0, "changes": 53, "deletions": 53, "patch": "@@ -1,53 +0,0 @@\n-<?php\n-/*\n-\tFusionPBX\n-\tVersion: MPL 1.1\n-\n-\tThe contents of this file are subject to the Mozilla Public License Version\n-\t1.1 (the \"License\"); you may not use this file except in compliance with\n-\tthe Licen...
php
CWE-78
[ "resources/cmd.php" ]
resources/cmd.php
1
public function myShowPage() { break; case "showgroup": case "addgroup": if ($action == "showgroup" && !empty((int) $_REQUEST['group'])) { $group = $this->getGroupByID((int) $_REQUEST['group']); $entries = $this->getEntriesByGroupID((int) $_REQUEST['group']); } public function myShowPage() {...
public function myShowPage() { break; case "showgroup": case "addgroup": if ($action == "showgroup" && !empty($_REQUEST['group'])) { $group = $this->getGroupByID((int) $_REQUEST['group']); $entries = $this->getEntriesByGroupID((int) $_REQUEST['group']); } public function myShowPage() { br...
CVE-2019-16966
{'CWE-79'}
2.9
{'https://github.com/FreePBX/contactmanager/commit/99e5aa0050224289cfe64c9036f38ce2531bf633'}
nvd
An issue was discovered in Contactmanager 13.x before 13.0.45.3, 14.x before 14.0.5.12, and 15.x before 15.0.8.21 for FreePBX 14.0.10.3. In the Contactmanager class (html\admin\modules\contactmanager\Contactmanager.class.php), an unsanitized group variable coming from the URL is reflected in HTML on 2 occasions, leadin...
2019-10-21
1
https://github.com/FreePBX/contactmanager
https://github.com/FreePBX/contactmanager/commit/99e5aa0050224289cfe64c9036f38ce2531bf633
99e5aa0050224289cfe64c9036f38ce2531bf633
SINGLE
['99e5aa0050224289cfe64c9036f38ce2531bf633']
{'d6eb72990e4867c9f0993c3bf721397fa431ef5a'}
99e5aa0050224289cfe64c9036f38ce2531bf633
1
09/03/2019, 14:13:03
fix int options
Franck Danard
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -975,7 +975,7 @@ public function myShowPage() {\n \t\t\tbreak;\n \t\t\tcase \"showgroup\":\n \t\t\tcase \"addgroup\":\n-\t\t\t\tif ($action == \"showgroup\" && !empty((int) $_REQUEST['group'])) {\n+\t\t\t\tif ($action == \"showgroup\" && !...
php
CWE-79
[ "Contactmanager.class.php" ]
Contactmanager.class.php
1
echo th_order_by('control_enabled', $text['label-control_enabled'], $order_by, $order); echo "<td class='list_control_icons'>"; if (permission_exists('conference_control_detail_add')) { echo "<a href='conference_control_detail_edit.php?conference_control_uuid=".$_GET['id']."' alt='".$text['button-add']."'>$v_link...
echo th_order_by('control_enabled', $text['label-control_enabled'], $order_by, $order); echo "<td class='list_control_icons'>"; if (permission_exists('conference_control_detail_add')) { echo "<a href='conference_control_detail_edit.php?conference_control_uuid=".escape($_GET['id'])."' alt='".$text['button-add']."'...
CVE-2019-16968
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/02378c54722d89f875c66ddb00ff06468dabbc6d'}
nvd
An issue was discovered in FusionPBX up to 4.5.7. In the file app\conference_controls\conference_control_details.php, an unsanitized id variable coming from the URL is reflected in HTML on 2 occasions, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/02378c54722d89f875c66ddb00ff06468dabbc6d
02378c54722d89f875c66ddb00ff06468dabbc6d
SINGLE
['02378c54722d89f875c66ddb00ff06468dabbc6d']
{'7fed9bf48f37c369777647ffecb8bc407cc79d6a'}
02378c54722d89f875c66ddb00ff06468dabbc6d
1
08/08/2019, 06:00:22
Update conference_control_details.php
FusionPBX
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -92,7 +92,7 @@\n \techo th_order_by('control_enabled', $text['label-control_enabled'], $order_by, $order);\n \techo \"<td class='list_control_icons'>\";\n \tif (permission_exists('conference_control_detail_add')) {\n-\t\techo \"<a href='co...
php
CWE-79
[ "app/conference_controls/conference_control_details.php" ]
app/conference_controls/conference_control_details.php
1
Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ include "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; if (permission_exists('active_queue_view')) { //access granted } else { echo "access denied"; exit; } //add multi-lingual support $language = new text; $...
Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ //includes include "root.php"; require_once "resources/require.php"; require_once "resources/check_auth.php"; //check permissions if (permission_exists('active_queue_view')) { //access granted } else { echo "access denied"; exit; } //add mult...
CVE-2019-16969
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/d3679bbeface57a21f6623cbc193b04a7fc0a885'}
nvd
In FusionPBX up to 4.5.7, the file app\fifo_list\fifo_interactive.php uses an unsanitized "c" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/d3679bbeface57a21f6623cbc193b04a7fc0a885
d3679bbeface57a21f6623cbc193b04a7fc0a885
SINGLE
['d3679bbeface57a21f6623cbc193b04a7fc0a885']
{'1f162cd95fa1da353d3bc747f31477d31a6471d3'}
d3679bbeface57a21f6623cbc193b04a7fc0a885
1
08/21/2019, 06:55:38
Update fifo_interactive.php
FusionPBX
null
{'additions': 16, 'deletions': 11, 'total': 27}
[ { "additions": 16, "changes": 27, "deletions": 11, "patch": "@@ -23,23 +23,27 @@\n \tContributor(s):\n \tMark J Crane <markjcrane@fusionpbx.com>\n */\n-include \"root.php\";\n-require_once \"resources/require.php\";\n-require_once \"resources/check_auth.php\";\n-if (permission_exists('active_queue_v...
php
CWE-79
[ "app/fifo_list/fifo_interactive.php" ]
app/fifo_list/fifo_interactive.php
1
$row_style["0"] = "row_style0"; $row_style["1"] = "row_style1"; if ($_GET['a'] == "download") { if ($_GET['t'] == "cdrcsv") { $tmp = $_SESSION['switch']['log']['dir'].'/cdr-csv/'; $filename = 'Master.csv'; } if ($_GET['t'] == "backup") { $tmp = $backup_dir.'/'; $filename = 'backup.tgz'; if (!is_dir($ba...
$row_style["0"] = "row_style0"; $row_style["1"] = "row_style1"; //show the content require_once "resources/header.php"; $document['title'] = $text['title-sip-status'];
CVE-2019-16970
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/a55f1cd5d8edd655058152e9acf212680d5b75f3'}
nvd
In FusionPBX up to 4.5.7, the file app\sip_status\sip_status.php uses an unsanitized "savemsg" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/a55f1cd5d8edd655058152e9acf212680d5b75f3
a55f1cd5d8edd655058152e9acf212680d5b75f3
SINGLE
['a55f1cd5d8edd655058152e9acf212680d5b75f3']
{'5660e9c751469756cfa82d586f1fe6d84bfa0442'}
a55f1cd5d8edd655058152e9acf212680d5b75f3
1
08/21/2019, 06:17:57
Update sip_status.php
FusionPBX
null
{'additions': 0, 'deletions': 24, 'total': 24}
[ { "additions": 0, "changes": 24, "deletions": 24, "patch": "@@ -49,30 +49,6 @@\n \t$row_style[\"0\"] = \"row_style0\";\n \t$row_style[\"1\"] = \"row_style1\";\n \n-if ($_GET['a'] == \"download\") {\n-\tif ($_GET['t'] == \"cdrcsv\") {\n-\t\t$tmp = $_SESSION['switch']['log']['dir'].'/cdr-csv/';\n-\t\t...
php
CWE-79
[ "app/sip_status/sip_status.php" ]
app/sip_status/sip_status.php
1
//get number of messages to load $number = preg_replace('{[\D]}', '', $_GET['number']); $contact_uuid = $_GET['contact_uuid']; //set refresh flag $refresh = $_GET['refresh'] == 'true' ? true : false; } } ?>\ No newline at end of file
//get number of messages to load $number = preg_replace('{[\D]}', '', $_GET['number']); $contact_uuid = (is_uuid($_GET['contact_uuid'])) ? $_GET['contact_uuid'] : null; //set refresh flag $refresh = $_GET['refresh'] == 'true' ? true : false; } } \ No newline at end of file ?>
CVE-2019-16971
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/c48a160af53352ad1a43518b7d0faab16b8dfbcc'}
nvd
In FusionPBX up to 4.5.7, the file app\messages\messages_thread.php uses an unsanitized "contact_uuid" variable coming from the URL, which is reflected on 3 occasions in HTML, leading to XSS.
2019-10-22
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/c48a160af53352ad1a43518b7d0faab16b8dfbcc
c48a160af53352ad1a43518b7d0faab16b8dfbcc
SINGLE
['c48a160af53352ad1a43518b7d0faab16b8dfbcc']
{'d3679bbeface57a21f6623cbc193b04a7fc0a885'}
c48a160af53352ad1a43518b7d0faab16b8dfbcc
1
08/21/2019, 07:09:07
Update messages_thread.php
FusionPBX
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -41,7 +41,7 @@\n \n //get number of messages to load\n \t$number = preg_replace('{[\\D]}', '', $_GET['number']);\n-\t$contact_uuid = $_GET['contact_uuid'];\n+\t$contact_uuid = (is_uuid($_GET['contact_uuid'])) ? $_GET['contact_uuid'] : null...
php
CWE-79
[ "app/messages/messages_thread.php" ]
app/messages/messages_thread.php
1
exit; } //show the content echo "<table width='100%' border='0'>\n"; echo "<tr>\n"; echo "</tr>\n"; echo "</table>\n"; //get the contact list $sql = "select * from v_contact_addresses "; $sql .= "where domain_uuid = :domain_uuid "; $sql .= "and contact_uuid = :contact_uuid "; $sql .= "order by addres...
exit; } //set the uuid if (is_uuid($_GET['id'])) { $contact_uuid = $_GET['id']; } //show the content echo "<table width='100%' border='0'>\n"; echo "<tr>\n"; echo "</tr>\n"; echo "</table>\n"; //get the contact list $sql = "select * from v_contact_addresses "; $sql .= "where domain_uuid = :domain_uuid ...
CVE-2019-16972
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/913ad234cf145a55e5f2faaab08d776d83c1699b'}
nvd
In FusionPBX up to 4.5.7, the file app\contacts\contact_addresses.php uses an unsanitized "id" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-22
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/913ad234cf145a55e5f2faaab08d776d83c1699b
913ad234cf145a55e5f2faaab08d776d83c1699b
SINGLE
['913ad234cf145a55e5f2faaab08d776d83c1699b']
{'63da47f86e324922ce42836e522e4443c20de5ff'}
913ad234cf145a55e5f2faaab08d776d83c1699b
1
08/13/2019, 02:04:05
Update contact_addresses.php
FusionPBX
null
{'additions': 18, 'deletions': 11, 'total': 29}
[ { "additions": 18, "changes": 29, "deletions": 11, "patch": "@@ -38,6 +38,11 @@\n \t\texit;\n \t}\n \n+//set the uuid\n+\tif (is_uuid($_GET['id'])) {\n+\t\t$contact_uuid = $_GET['id'];\n+\t}\n+\n //show the content\n \techo \"<table width='100%' border='0'>\\n\";\n \techo \"<tr>\\n\";\n@@ -46,21 +51...
php
CWE-79
[ "app/contacts/contact_addresses.php" ]
app/contacts/contact_addresses.php
1
} echo "</b></td>\n"; echo "<td valign='top' width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='contacts.php?".$_GET["query_string"]."'\" value='".$text['button-back']."'>\n"; if ($action == "update") { if (permission_exists('...
} echo "</b></td>\n"; echo "<td valign='top' width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='contacts.php'\" value='".$text['button-back']."'>\n"; if ($action == "update") { if (permission_exists('contact_time_add')) { /...
CVE-2019-16973
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/cc820b2eb12a3b7070afdcb7f977f70a1d49ce49'}
nvd
In FusionPBX up to 4.5.7, the file app\contacts\contact_edit.php uses an unsanitized "query_string" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-22
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/cc820b2eb12a3b7070afdcb7f977f70a1d49ce49
cc820b2eb12a3b7070afdcb7f977f70a1d49ce49
SINGLE
['cc820b2eb12a3b7070afdcb7f977f70a1d49ce49']
{'913ad234cf145a55e5f2faaab08d776d83c1699b'}
cc820b2eb12a3b7070afdcb7f977f70a1d49ce49
1
08/13/2019, 02:12:55
Update contact_edit.php
FusionPBX
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -346,7 +346,7 @@\n \t}\n \techo \"</b></td>\\n\";\n \techo \"<td valign='top' width='70%' align='right'>\\n\";\n-\techo \"\t<input type='button' class='btn' name='' alt='\".$text['button-back'].\"' onclick=\\\"window.location='contacts.php...
php
CWE-79
[ "app/contacts/contact_edit.php" ]
app/contacts/contact_edit.php
1
exit; } //get the contact list $sql = "select ct.*, u.username, u.domain_uuid as user_domain_uuid "; $sql .= "from v_contact_times as ct, v_users as u "; echo "<td class='list_control_icons' nowrap>"; echo img_spacer('25px', '1px'); if (permission_exists('contact_time_add')) { echo "<a href='contact_time_e...
exit; } //set the uuid if (is_uuid($_GET['id'])) { $contact_uuid = $_GET['id']; } //get the contact list $sql = "select ct.*, u.username, u.domain_uuid as user_domain_uuid "; $sql .= "from v_contact_times as ct, v_users as u "; echo "<td class='list_control_icons' nowrap>"; echo img_spacer('25px', '1px')...
CVE-2019-16974
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/bcc75d63aa5b721f699a2b416425943ad7707825'}
nvd
In FusionPBX up to 4.5.7, the file app\contacts\contact_times.php uses an unsanitized "id" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/bcc75d63aa5b721f699a2b416425943ad7707825
bcc75d63aa5b721f699a2b416425943ad7707825
SINGLE
['bcc75d63aa5b721f699a2b416425943ad7707825']
{'80f2ce087ab1343f1ff3bf8a058eed9b5027eb8c'}
bcc75d63aa5b721f699a2b416425943ad7707825
1
08/13/2019, 02:25:21
Update contact_times.php
FusionPBX
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -38,6 +38,11 @@\n \t\texit;\n \t}\n \n+//set the uuid\n+\tif (is_uuid($_GET['id'])) {\n+\t\t$contact_uuid = $_GET['id'];\n+\t}\n+\n //get the contact list\n \t$sql = \"select ct.*, u.username, u.domain_uuid as user_domain_uuid \";\n \t$sql...
php
CWE-79
[ "app/contacts/contact_times.php" ]
app/contacts/contact_times.php
1
exit; } //show the content echo "<table width='100%' border='0'>\n"; echo "<tr>\n"; echo "<th style='text-align: right;'>".$text['label-note_user']."</th>\n"; echo "<td class='list_control_icons'>"; if (permission_exists('contact_note_add')) { echo "<a href='contact_note_edit.php?contact_uuid=".$_GET['id']....
exit; } //set the uuid if (is_uuid($_GET['id'])) { $contact_uuid = $_GET['id']; } //show the content echo "<table width='100%' border='0'>\n"; echo "<tr>\n"; echo "<th style='text-align: right;'>".$text['label-note_user']."</th>\n"; echo "<td class='list_control_icons'>"; if (permission_exists('contact_n...
CVE-2019-16975
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/80f2ce087ab1343f1ff3bf8a058eed9b5027eb8c'}
nvd
In FusionPBX up to 4.5.7, the file app\contacts\contact_notes.php uses an unsanitized "id" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-23
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/80f2ce087ab1343f1ff3bf8a058eed9b5027eb8c
80f2ce087ab1343f1ff3bf8a058eed9b5027eb8c
SINGLE
['80f2ce087ab1343f1ff3bf8a058eed9b5027eb8c']
{'ccdb27536d3549b5c0c317e3665fff231631ec77'}
80f2ce087ab1343f1ff3bf8a058eed9b5027eb8c
1
08/13/2019, 02:21:57
Update contact_notes.php
FusionPBX
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -38,6 +38,11 @@\n \t\texit;\n \t}\n \n+//set the uuid\n+\tif (is_uuid($_GET['id'])) {\n+\t\t$contact_uuid = $_GET['id'];\n+\t}\n+\n //show the content\n \techo \"<table width='100%' border='0'>\\n\";\n \techo \"<tr>\\n\";\n@@ -70,7 +75,7 @...
php
CWE-79
[ "app/contacts/contact_notes.php" ]
app/contacts/contact_notes.php
1
function get_parent($schema,$table_name) { echo "<tr>\n"; echo "<td align='left' width='30%' nowrap='nowrap'><b>".$text['header-destinations_import']."</b></td>\n"; echo "<td width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.locat...
function get_parent($schema,$table_name) { echo "<tr>\n"; echo "<td align='left' width='30%' nowrap='nowrap'><b>".$text['header-destinations_import']."</b></td>\n"; echo "<td width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.locat...
CVE-2019-16976
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/d6ea02d896b2c57dec491ee3b36ec102639270be'}
nvd
In FusionPBX up to 4.5.7, the file app\destinations\destination_imports.php uses an unsanitized "query_string" variable coming from the URL, which is reflected on 2 occasions in HTML, leading to XSS.
2019-10-23
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/d6ea02d896b2c57dec491ee3b36ec102639270be
d6ea02d896b2c57dec491ee3b36ec102639270be
SINGLE
['d6ea02d896b2c57dec491ee3b36ec102639270be']
{'2b44f9e3e8c6a737b1abad784a2e66d179e1cfff'}
d6ea02d896b2c57dec491ee3b36ec102639270be
1
08/13/2019, 06:07:29
Update destination_imports.php
FusionPBX
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -467,7 +467,7 @@ function get_parent($schema,$table_name) {\n \t\t\techo \"<tr>\\n\";\r\n \t\t\techo \"<td align='left' width='30%' nowrap='nowrap'><b>\".$text['header-destinations_import'].\"</b></td>\\n\";\r\n \t\t\techo \"<td width='70%...
php
CWE-79
[ "app/destinations/destination_imports.php" ]
app/destinations/destination_imports.php
1
function get_parent($schema,$table_name) { echo " ".$text['description-import']."\n"; echo " </td>\n"; echo " <td valign='top' width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='extensions.php?".$_GET["query_string"]."'\" value...
function get_parent($schema,$table_name) { echo " ".$text['description-import']."\n"; echo " </td>\n"; echo " <td valign='top' width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='extensions.php'\" value='".$text['button-back']."...
CVE-2019-16977
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/fc8e4e2d278ce6bffff21b04248d469a59eb8cd4'}
nvd
In FusionPBX up to 4.5.7, the file app\extensions\extension_imports.php uses an unsanitized "query_string" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-23
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/fc8e4e2d278ce6bffff21b04248d469a59eb8cd4
fc8e4e2d278ce6bffff21b04248d469a59eb8cd4
SINGLE
['fc8e4e2d278ce6bffff21b04248d469a59eb8cd4']
{'2ce613f1e9fe8ffab7a4cb9d1384444622285335'}
fc8e4e2d278ce6bffff21b04248d469a59eb8cd4
1
08/13/2019, 06:11:31
Update extension_imports.php
FusionPBX
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -358,7 +358,7 @@ function get_parent($schema,$table_name) {\n \techo \"\t\t\".$text['description-import'].\"\\n\";\r\n \techo \"\t</td>\\n\";\r\n \techo \"\t<td valign='top' width='70%' align='right'>\\n\";\r\n-\techo \"\t\t<input type='bu...
php
CWE-79
[ "app/extensions/extension_imports.php" ]
app/extensions/extension_imports.php
1
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ require_once "root.php"; require_once "resources/req...
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> */ //includes require_once "root.php"; require_once ...
CVE-2019-16978
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/83622c4ee1d9dd1913e9fb01ce8f060b46a5768a'}
nvd
In FusionPBX up to v4.5.7, the file app\devices\device_settings.php uses an unsanitized "id" variable coming from the URL, which is reflected on 2 occasions in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/83622c4ee1d9dd1913e9fb01ce8f060b46a5768a
83622c4ee1d9dd1913e9fb01ce8f060b46a5768a
SINGLE
['83622c4ee1d9dd1913e9fb01ce8f060b46a5768a']
{'fc8e4e2d278ce6bffff21b04248d469a59eb8cd4'}
83622c4ee1d9dd1913e9fb01ce8f060b46a5768a
1
08/13/2019, 06:16:39
Update device_settings.php
FusionPBX
null
{'additions': 25, 'deletions': 16, 'total': 41}
[ { "additions": 25, "changes": 41, "deletions": 16, "patch": "@@ -17,34 +17,43 @@\n \n The Initial Developer of the Original Code is\n Mark J Crane <markjcrane@fusionpbx.com>\n- Portions created by the Initial Developer are Copyright (C) 2008-2012\n+ Portions created by the Initial Developer are Co...
php
CWE-79
[ "app/devices/device_settings.php" ]
app/devices/device_settings.php
1
exit; } //show the content echo "<table width='100%' border='0'>\n"; echo "<tr>\n"; echo "<th>".$text['label-url_description']."</th>\n"; echo "<td class='list_control_icons'>"; if (permission_exists('contact_url_add')) { echo "<a href='contact_url_edit.php?contact_uuid=".$_GET['id']."' alt='".$text['button...
exit; } //set the uuid if (is_uuid($_GET['id'])) { $contact_uuid = $_GET['id']; } //show the content echo "<table width='100%' border='0'>\n"; echo "<tr>\n"; echo "<th>".$text['label-url_description']."</th>\n"; echo "<td class='list_control_icons'>"; if (permission_exists('contact_url_add')) { echo "<...
CVE-2019-16979
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/a76d9637e31a70060ecc38786246a8b1c9178322'}
nvd
In FusionPBX up to v4.5.7, the file app\contacts\contact_urls.php uses an unsanitized "id" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/a76d9637e31a70060ecc38786246a8b1c9178322
a76d9637e31a70060ecc38786246a8b1c9178322
SINGLE
['a76d9637e31a70060ecc38786246a8b1c9178322']
{'bcc75d63aa5b721f699a2b416425943ad7707825'}
a76d9637e31a70060ecc38786246a8b1c9178322
1
08/13/2019, 02:30:28
Update contact_urls.php
FusionPBX
null
{'additions': 6, 'deletions': 1, 'total': 7}
[ { "additions": 6, "changes": 7, "deletions": 1, "patch": "@@ -38,6 +38,11 @@\n \t\texit;\n \t}\n \n+//set the uuid\n+\tif (is_uuid($_GET['id'])) {\n+\t\t$contact_uuid = $_GET['id'];\n+\t}\n+\n //show the content\n \techo \"<table width='100%' border='0'>\\n\";\n \techo \"<tr>\\n\";\n@@ -69,7 +74,7 @...
php
CWE-79
[ "app/contacts/contact_urls.php" ]
app/contacts/contact_urls.php
1
echo th_order_by('profile_param_description', $text['label-profile_param_description'], $order_by, $order); echo "<td class='list_control_icons'>"; if (permission_exists('conference_profile_param_add')) { echo "<a href='conference_profile_param_edit.php?conference_profile_uuid=".$_GET['id']."' alt='".$text['butto...
echo th_order_by('profile_param_description', $text['label-profile_param_description'], $order_by, $order); echo "<td class='list_control_icons'>"; if (permission_exists('conference_profile_param_add')) { echo "<a href='conference_profile_param_edit.php?conference_profile_uuid=".escape($_GET['id'])."' alt='".$tex...
CVE-2019-16981
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/021ff8f8e51cd1254d19e88e7aedc4b795067f8d'}
nvd
In FusionPBX up to v4.5.7, the file app\conference_profiles\conference_profile_params.php uses an unsanitized "id" variable coming from the URL, which is reflected on 2 occasions in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/021ff8f8e51cd1254d19e88e7aedc4b795067f8d
021ff8f8e51cd1254d19e88e7aedc4b795067f8d
SINGLE
['021ff8f8e51cd1254d19e88e7aedc4b795067f8d']
{'cd4632b46c62855f7e1c1c93d20ffd64edcb476e'}
021ff8f8e51cd1254d19e88e7aedc4b795067f8d
1
08/10/2019, 15:30:59
Update conference_profile_params.php
FusionPBX
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -73,7 +73,7 @@\n \techo th_order_by('profile_param_description', $text['label-profile_param_description'], $order_by, $order);\n \techo \"<td class='list_control_icons'>\";\n \tif (permission_exists('conference_profile_param_add')) {\n-\t\...
php
CWE-79
[ "app/conference_profiles/conference_profile_params.php" ]
app/conference_profiles/conference_profile_params.php
1
The Original Code is FusionPBX The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2018 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> //check permissions if (!per...
The Original Code is FusionPBX The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> //check permissions if (!per...
CVE-2019-16982
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/c9f87dc16def2135930ebbfd667651cc3f6de2ff'}
nvd
In FusionPBX up to v4.5.7, the file app\access_controls\access_control_nodes.php uses an unsanitized "id" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/c9f87dc16def2135930ebbfd667651cc3f6de2ff
c9f87dc16def2135930ebbfd667651cc3f6de2ff
SINGLE
['c9f87dc16def2135930ebbfd667651cc3f6de2ff']
{'d0714d439e208a3d0d5551954b1ea7ae0eb02ab9'}
c9f87dc16def2135930ebbfd667651cc3f6de2ff
1
09/07/2019, 00:27:51
Update access_control_nodes.php
FusionPBX
null
{'additions': 8, 'deletions': 7, 'total': 15}
[ { "additions": 8, "changes": 15, "deletions": 7, "patch": "@@ -13,7 +13,7 @@\n \tThe Original Code is FusionPBX\n \tThe Initial Developer of the Original Code is\n \tMark J Crane <markjcrane@fusionpbx.com>\n-\tPortions created by the Initial Developer are Copyright (C) 2018\n+\tPortions created by t...
php
CWE-79
[ "app/access_controls/access_control_nodes.php" ]
app/access_controls/access_control_nodes.php
1
function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count $page_number = 0; } //get the offset $offset = ($page_number - 1) * $rows_per_page; function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count $language = new text; $text = $language->get(); // print the lin...
function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count $page_number = 0; } //sanitize the parameters $sanitized_parameters = ''; if (isset($param) && strlen($param) > 0) { $param_array = explode("&", $param); if (is_array($param_array)) { foreach($param_array as $row) { $para...
CVE-2019-16983
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/23581e56e9a4d1685ddf1c7d67137417d654e134'}
nvd
In FusionPBX up to v4.5.7, the file resources\paging.php has a paging function (called by several pages of the interface), which uses an unsanitized "param" variable constructed partially from the URL args and reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/23581e56e9a4d1685ddf1c7d67137417d654e134
23581e56e9a4d1685ddf1c7d67137417d654e134
SINGLE
['23581e56e9a4d1685ddf1c7d67137417d654e134']
{'f2023bd53a4f49efc32f5dcb6a7f5ace8909f387'}
23581e56e9a4d1685ddf1c7d67137417d654e134
1
08/10/2019, 20:34:18
Update paging.php
FusionPBX
null
{'additions': 44, 'deletions': 10, 'total': 54}
[ { "additions": 44, "changes": 54, "deletions": 10, "patch": "@@ -39,6 +39,40 @@ function paging($num_rows, $param, $rows_per_page, $mini = false, $result_count\n \t\t$page_number = 0;\n \t}\n \n+\t//sanitize the parameters\n+\t$sanitized_parameters = '';\n+\tif (isset($param) && strlen($param) > 0) ...
php
CWE-79
[ "resources/paging.php" ]
resources/paging.php
1
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2016 the Initial Developer. All Rights Reserved. Contributor(s): echo "access denied"; exit; } $filename = $_GET['filename']; $type = $_GET['type']; //m...
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): echo "access denied"; exit; } //get the variables $filename = $_GET['filename']; $type =...
CVE-2019-16984
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/11f2dd2254dbeb1c41bf19b8c38e8fa9bc948efb'}
nvd
In FusionPBX up to v4.5.7, the file app\recordings\recording_play.php uses an unsanitized "filename" variable coming from the URL, which is base64 decoded and reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/11f2dd2254dbeb1c41bf19b8c38e8fa9bc948efb
11f2dd2254dbeb1c41bf19b8c38e8fa9bc948efb
SINGLE
['11f2dd2254dbeb1c41bf19b8c38e8fa9bc948efb']
{'618547f3141c4d3dc9a21c8e4fd63769aecbf3ca'}
11f2dd2254dbeb1c41bf19b8c38e8fa9bc948efb
1
09/07/2019, 06:49:39
Update recording_play.php
FusionPBX
null
{'additions': 5, 'deletions': 4, 'total': 9}
[ { "additions": 5, "changes": 9, "deletions": 4, "patch": "@@ -17,7 +17,7 @@\n \n \tThe Initial Developer of the Original Code is\n \tMark J Crane <markjcrane@fusionpbx.com>\n-\tPortions created by the Initial Developer are Copyright (C) 2008-2016\n+\tPortions created by the Initial Developer are Cop...
php
CWE-79
[ "app/recordings/recording_play.php" ]
app/recordings/recording_play.php
1
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Copyright (C) 2008-2012 All Rights Reserved. Contributor(s): //get posted values, if any if (sizeof($_REQUEST) > 0) { $xml_cdr_uuids = $_REQUEST["id"]; $recording_file_path = $_REQUEST["rec"]; if (sizeof($xml_cdr_uuids...
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Copyright (C) 2008-2019 All Rights Reserved. Contributor(s): //get posted values, if any if (sizeof($_REQUEST) > 0) { $xml_cdr_uuids = $_REQUEST["id"]; if (sizeof($xml_cdr_uuids) > 0) { foreach ($xml_cdr_uuids as $inde...
CVE-2019-16985
{'CWE-22'}
9.2
{'https://github.com/fusionpbx/fusionpbx/commit/284b0a91968f126fd6be0a486a84e065926905ca'}
nvd
In FusionPBX up to v4.5.7, the file app\xml_cdr\xml_cdr_delete.php uses an unsanitized "rec" variable coming from the URL, which is base64 decoded and allows deletion of any file of the system.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/284b0a91968f126fd6be0a486a84e065926905ca
284b0a91968f126fd6be0a486a84e065926905ca
SINGLE
['284b0a91968f126fd6be0a486a84e065926905ca']
{'83622c4ee1d9dd1913e9fb01ce8f060b46a5768a'}
284b0a91968f126fd6be0a486a84e065926905ca
1
08/13/2019, 06:55:13
Update xml_cdr_delete.php
FusionPBX
null
{'additions': 33, 'deletions': 19, 'total': 52}
[ { "additions": 33, "changes": 52, "deletions": 19, "patch": "@@ -17,7 +17,7 @@\n \n \tThe Initial Developer of the Original Code is\n \tMark J Crane <markjcrane@fusionpbx.com>\n-\tCopyright (C) 2008-2012\n+\tCopyright (C) 2008-2019\n \tAll Rights Reserved.\n \n \tContributor(s):\n@@ -45,33 +45,47 @@...
php
CWE-22
[ "app/xml_cdr/xml_cdr_delete.php" ]
app/xml_cdr/xml_cdr_delete.php
1
function get_parent($schema,$table_name) { echo "<tr>\n"; echo "<td align='left' width='30%' nowrap='nowrap'><b>".$text['header-contacts_import']."</b></td>\n"; echo "<td width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location=...
function get_parent($schema,$table_name) { echo "<tr>\n"; echo "<td align='left' width='30%' nowrap='nowrap'><b>".$text['header-contacts_import']."</b></td>\n"; echo "<td width='70%' align='right'>\n"; echo " <input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location=...
CVE-2019-16987
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/ccdb27536d3549b5c0c317e3665fff231631ec77'}
nvd
In FusionPBX up to v4.5.7, the file app\contacts\contact_import.php uses an unsanitized "query_string" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/ccdb27536d3549b5c0c317e3665fff231631ec77
ccdb27536d3549b5c0c317e3665fff231631ec77
SINGLE
['ccdb27536d3549b5c0c317e3665fff231631ec77']
{'cc820b2eb12a3b7070afdcb7f977f70a1d49ce49'}
ccdb27536d3549b5c0c317e3665fff231631ec77
1
08/13/2019, 02:17:58
Update contact_import.php
FusionPBX
null
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -379,7 +379,7 @@ function get_parent($schema,$table_name) {\n \t\t\techo \"<tr>\\n\";\n \t\t\techo \"<td align='left' width='30%' nowrap='nowrap'><b>\".$text['header-contacts_import'].\"</b></td>\\n\";\n \t\t\techo \"<td width='70%' align=...
php
CWE-79
[ "app/contacts/contact_import.php" ]
app/contacts/contact_import.php
1
if (permission_exists('operator_panel_eavesdrop')) { echo " <td valign='top' nowrap='nowrap'>"; if (sizeof($_SESSION['user']['extensions']) > 1) { echo " <input type='hidden' id='eavesdrop_dest' value=\"".(($_REQUEST['eavesdrop_dest'] == '') ? $_SESSION['user']['extension'][0]['destination'] : $_REQUEST['eav...
if (permission_exists('operator_panel_eavesdrop')) { echo " <td valign='top' nowrap='nowrap'>"; if (sizeof($_SESSION['user']['extensions']) > 1) { echo " <input type='hidden' id='eavesdrop_dest' value=\"".(($_REQUEST['eavesdrop_dest'] == '') ? $_SESSION['user']['extension'][0]['destination'] : escape($_REQUE...
CVE-2019-16988
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/7fec1014ff0d08e36be6a3f7664edb3a9df7b4ac'}
nvd
In FusionPBX up to v4.5.7, the file app\basic_operator_panel\resources\content.php uses an unsanitized "eavesdrop_dest" variable coming from the URL, which is reflected on 3 occasions in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/7fec1014ff0d08e36be6a3f7664edb3a9df7b4ac
7fec1014ff0d08e36be6a3f7664edb3a9df7b4ac
SINGLE
['7fec1014ff0d08e36be6a3f7664edb3a9df7b4ac']
{'021ff8f8e51cd1254d19e88e7aedc4b795067f8d'}
7fec1014ff0d08e36be6a3f7664edb3a9df7b4ac
1
08/10/2019, 15:56:11
Update content.php
FusionPBX
null
{'additions': 36, 'deletions': 36, 'total': 72}
[ { "additions": 36, "changes": 72, "deletions": 36, "patch": "@@ -114,38 +114,38 @@\n if (permission_exists('operator_panel_eavesdrop')) {\n \techo \"\t\t\t\t<td valign='top' nowrap='nowrap'>\";\n \tif (sizeof($_SESSION['user']['extensions']) > 1) {\n-\t\techo \"\t\t\t\t<input type='hidden' id='eaves...
php
CWE-79
[ "app/basic_operator_panel/resources/content.php" ]
app/basic_operator_panel/resources/content.php
1
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2012 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> James Rose <james.o.rose@gmail.com> */ include "root.p...
The Initial Developer of the Original Code is Mark J Crane <markjcrane@fusionpbx.com> Portions created by the Initial Developer are Copyright (C) 2008-2019 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane <markjcrane@fusionpbx.com> James Rose <james.o.rose@gmail.com> */ //includes in...
CVE-2019-16989
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/83123e314a2e4c2dd0815446f89bcad97278d98d'}
nvd
In FusionPBX up to v4.5.7, the file app\conferences_active\conference_interactive.php uses an unsanitized "c" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/83123e314a2e4c2dd0815446f89bcad97278d98d
83123e314a2e4c2dd0815446f89bcad97278d98d
SINGLE
['83123e314a2e4c2dd0815446f89bcad97278d98d']
{'0199f3756b7cb1799b2dcc39ccf179f720b09dee'}
83123e314a2e4c2dd0815446f89bcad97278d98d
1
08/10/2019, 17:14:01
Update conference_interactive.php
FusionPBX
null
{'additions': 17, 'deletions': 13, 'total': 30}
[ { "additions": 17, "changes": 30, "deletions": 13, "patch": "@@ -17,23 +17,27 @@\n \n \tThe Initial Developer of the Original Code is\n \tMark J Crane <markjcrane@fusionpbx.com>\n-\tPortions created by the Initial Developer are Copyright (C) 2008-2012\n+\tPortions created by the Initial Developer ar...
php
CWE-79
[ "app/conferences_active/conference_interactive.php" ]
app/conferences_active/conference_interactive.php
1
$stream_file = base64_decode($_GET['file']); $stream_full_path = path_join($stream_path, $stream_file); //dowload the file session_cache_limiter('public'); if (file_exists($stream_full_path)) { } } //check permissions if (($stream_domain_uuid == '' && permission_exists('music_on_hold_domain...
$stream_file = base64_decode($_GET['file']); $stream_full_path = path_join($stream_path, $stream_file); //sanitize path $stream_full_path = str_replace('../', '', $stream_full_path); //dowload the file session_cache_limiter('public'); if (file_exists($stream_full_path)) { } } //replace t...
CVE-2019-16990
{'CWE-22'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/95ed18aa9d781f232f5686a9027bb6f677c9b8da'}
nvd
In FusionPBX up to v4.5.7, the file app/music_on_hold/music_on_hold.php uses an unsanitized "file" variable coming from the URL, which takes any pathname (base64 encoded) and allows a download of it.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/95ed18aa9d781f232f5686a9027bb6f677c9b8da
95ed18aa9d781f232f5686a9027bb6f677c9b8da
SINGLE
['95ed18aa9d781f232f5686a9027bb6f677c9b8da']
{'33aad114a272225a1be4f6681e462f609bed3b36'}
95ed18aa9d781f232f5686a9027bb6f677c9b8da
1
08/19/2019, 13:18:24
Update music_on_hold.php
Nate
null
{'additions': 12, 'deletions': 1, 'total': 13}
[ { "additions": 12, "changes": 13, "deletions": 1, "patch": "@@ -86,6 +86,9 @@\n \t\t\t$stream_file = base64_decode($_GET['file']);\n \t\t\t$stream_full_path = path_join($stream_path, $stream_file);\n \n+\t\t//sanitize path\n+\t\t\t$stream_full_path = str_replace('../', '', $stream_full_path);\n+\n \...
php
CWE-22
[ "app/music_on_hold/music_on_hold.php" ]
app/music_on_hold/music_on_hold.php
1
echo " <td>".$text['label-path']."</td>"; echo " </tr>"; echo " <tr>"; echo " <td>".$folder."</td>"; echo " </tr>"; echo " </table>"; echo " <br />"; echo " <td>".$text['label-file-name']."</td>"; echo " </tr>"; echo " <tr>"; echo " <td><input type='text' name='file' value...
echo " <td>".$text['label-path']."</td>"; echo " </tr>"; echo " <tr>"; echo " <td>".escape($folder)."</td>"; echo " </tr>"; echo " </table>"; echo " <br />"; echo " <td>".$text['label-file-name']."</td>"; echo " </tr>"; echo " <tr>"; echo " <td><input type='text' name='fil...
CVE-2019-16991
{'CWE-79'}
2.9
{'https://github.com/fusionpbx/fusionpbx/commit/cd4632b46c62855f7e1c1c93d20ffd64edcb476e'}
nvd
In FusionPBX up to v4.5.7, the file app\edit\filedelete.php uses an unsanitized "file" variable coming from the URL, which is reflected in HTML, leading to XSS.
2019-10-21
1
https://github.com/fusionpbx/fusionpbx
https://github.com/fusionpbx/fusionpbx/commit/cd4632b46c62855f7e1c1c93d20ffd64edcb476e
cd4632b46c62855f7e1c1c93d20ffd64edcb476e
SINGLE
['cd4632b46c62855f7e1c1c93d20ffd64edcb476e']
{'50850bbc53e1ed8ce5c3a0ab1354a6bbbd0a23a8'}
cd4632b46c62855f7e1c1c93d20ffd64edcb476e
1
08/10/2019, 15:25:15
Update filedelete.php
FusionPBX
null
{'additions': 3, 'deletions': 4, 'total': 7}
[ { "additions": 3, "changes": 7, "deletions": 4, "patch": "@@ -81,7 +81,7 @@\n \t\techo \"\t\t\t\t<td>\".$text['label-path'].\"</td>\";\n \t\techo \"\t\t\t</tr>\";\n \t\techo \"\t\t\t<tr>\";\n-\t\techo \"\t\t\t\t<td>\".$folder.\"</td>\";\n+\t\techo \"\t\t\t\t<td>\".escape($folder).\"</td>\";\n \t\tec...
php
CWE-79
[ "app/edit/filedelete.php" ]
app/edit/filedelete.php
1
function main($id, $mode) // Set up general vars $action = request_var('action', ''); $bbcode_id = request_var('bbcode', 0); $this->tpl_name = 'acp_bbcodes'; $this->page_title = 'ACP_BBCODES'; $form_key = 'acp_bbcodes'; add_form_key($form_key); // Set up mode-specific vars switch ($action) {
function main($id, $mode) // Set up general vars $action = request_var('action', ''); $bbcode_id = request_var('bbcode', 0); $submit = $request->is_set_post('submit'); $this->tpl_name = 'acp_bbcodes'; $this->page_title = 'ACP_BBCODES'; $form_key = 'acp_bbcodes'; add_form_key($form_key); if ($submi...
CVE-2019-16993
{'CWE-352'}
6.4
{'https://github.com/phpbb/phpbb/commit/18abef716ecf42a35416444f3f84f5459d573789'}
nvd
In phpBB before 3.1.7-PL1, includes/acp/acp_bbcodes.php has improper verification of a CSRF token on the BBCode page in the Administration Control Panel. An actual CSRF attack is possible if an attacker also manages to retrieve the session id of a reauthenticated administrator prior to targeting them.
2019-09-30
1
https://github.com/phpbb/phpbb
https://github.com/phpbb/phpbb/commit/18abef716ecf42a35416444f3f84f5459d573789
18abef716ecf42a35416444f3f84f5459d573789
SINGLE
['18abef716ecf42a35416444f3f84f5459d573789']
{'db3782e4912e2945a546309dab38a4c00bd0f5c5'}
18abef716ecf42a35416444f3f84f5459d573789
1
12/23/2015, 16:31:43
[ticket/security-188] Check form key in acp_bbcodes SECURITY-188
Marc Alexander
{'com_1': {'author': '3D-I', 'datetime': '01/29/2016, 11:06:31', 'body': 'I do not know if is the case to apply this fix also to phpBB 3.0.14.?\nOr is it definitely a no no..'}, 'com_2': {'author': 'Nicofuma', 'datetime': '01/29/2016, 11:44:21', 'body': 'phpBB 3.0 is not supported anymore for both bug and security fixe...
{'additions': 6, 'deletions': 0, 'total': 6}
[ { "additions": 6, "changes": 6, "deletions": 0, "patch": "@@ -33,13 +33,19 @@ function main($id, $mode)\n \t\t// Set up general vars\n \t\t$action\t= request_var('action', '');\n \t\t$bbcode_id = request_var('bbcode', 0);\n+\t\t$submit = $request->is_set_post('submit');\n \n \t\t$this->tpl_name = 'a...
php
CWE-352
[ "phpBB/includes/acp/acp_bbcodes.php" ]
phpBB/includes/acp/acp_bbcodes.php
1
static int __net_init sit_init_net(struct net *net) err_reg_dev: ipip6_dev_free(sitn->fb_tunnel_dev); err_alloc_dev: return err; }
static int __net_init sit_init_net(struct net *net) err_reg_dev: ipip6_dev_free(sitn->fb_tunnel_dev); free_netdev(sitn->fb_tunnel_dev); err_alloc_dev: return err; }
CVE-2019-16994
{'CWE-401'}
6.9
{'https://github.com/torvalds/linux/commit/07f12b26e21ab359261bf75cfcb424fdc7daeb6d'}
nvd
In the Linux kernel before 5.0, a memory leak exists in sit_init_net() in net/ipv6/sit.c when register_netdev() fails to register sitn->fb_tunnel_dev, which may cause denial of service, aka CID-07f12b26e21a.
2019-09-30
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/07f12b26e21ab359261bf75cfcb424fdc7daeb6d
07f12b26e21ab359261bf75cfcb424fdc7daeb6d
SINGLE
['07f12b26e21ab359261bf75cfcb424fdc7daeb6d']
{'a6da21bb0eae459a375d5bd48baed821d14301d0'}
07f12b26e21ab359261bf75cfcb424fdc7daeb6d
1
03/01/2019, 15:06:40
net: sit: fix memory leak in sit_init_net() If register_netdev() is failed to register sitn->fb_tunnel_dev, it will go to err_reg_dev and forget to free netdev(sitn->fb_tunnel_dev). BUG: memory leak unreferenced object 0xffff888378daad00 (size 512): comm "syz-executor.1", pid 4006, jiffies 4295121142 (age 16.115s) ...
Mao Wenan
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -1873,6 +1873,7 @@ static int __net_init sit_init_net(struct net *net)\n \n err_reg_dev:\n \tipip6_dev_free(sitn->fb_tunnel_dev);\n+\tfree_netdev(sitn->fb_tunnel_dev);\n err_alloc_dev:\n \treturn err;\n }", "path": "net/ipv6/sit.c", ...
c
CWE-401
[ "net/ipv6/sit.c" ]
net/ipv6/sit.c
1
LIBOPENMPT_MODPLUG_API unsigned int ModPlug_NumChannels(ModPlugFile* file) LIBOPENMPT_MODPLUG_API unsigned int ModPlug_SampleName(ModPlugFile* file, unsigned int qual, char* buff) { const char* str; unsigned int retval; size_t tmpretval; if(!file) return 0; str = openmpt_module_get_sample_name(file->mod,qual-1); ...
LIBOPENMPT_MODPLUG_API unsigned int ModPlug_NumChannels(ModPlugFile* file) LIBOPENMPT_MODPLUG_API unsigned int ModPlug_SampleName(ModPlugFile* file, unsigned int qual, char* buff) { const char* str; char buf[32]; if(!file) return 0; str = openmpt_module_get_sample_name(file->mod,qual-1); memset(buf,0,32); if(str...
CVE-2019-17113
{'CWE-120'}
6.4
{'https://github.com/OpenMPT/openmpt/commit/927688ddab43c2b203569de79407a899e734fabe'}
nvd
In libopenmpt before 0.3.19 and 0.4.x before 0.4.9, ModPlug_InstrumentName and ModPlug_SampleName in libopenmpt_modplug.c do not restrict the lengths of libmodplug output-buffer strings in the C API, leading to a buffer overflow.
2019-10-04
1
https://github.com/OpenMPT/openmpt
https://github.com/OpenMPT/openmpt/commit/927688ddab43c2b203569de79407a899e734fabe
927688ddab43c2b203569de79407a899e734fabe
SINGLE
['927688ddab43c2b203569de79407a899e734fabe']
{'47a3b0663202d3e8b3f2f6231052a344cd8134e3'}
927688ddab43c2b203569de79407a899e734fabe
1
10/02/2019, 13:37:46
[Fix] libmodplug: C API: Limit the length of strings copied to the output buffer of ModPlug_InstrumentName() and ModPlug_SampleName() to 32 bytes (including terminating null) as is done by original libmodplug. This avoids potential buffer overflows in software relying on this limit instead of querying the required buff...
Jörn Heusipp
null
{'additions': 14, 'deletions': 32, 'total': 46}
[ { "additions": 14, "changes": 46, "deletions": 32, "patch": "@@ -478,53 +478,35 @@ LIBOPENMPT_MODPLUG_API unsigned int ModPlug_NumChannels(ModPlugFile* file)\n LIBOPENMPT_MODPLUG_API unsigned int ModPlug_SampleName(ModPlugFile* file, unsigned int qual, char* buff)\n {\n \tconst char* str;\n-\tunsign...
c
CWE-120
[ "libopenmpt/libopenmpt_modplug.c" ]
libopenmpt/libopenmpt_modplug.c
1
function sanitize_cdef($cdef) { */ function sanitize_unserialize_selected_items($items) { if ($items != '') { $items = unserialize(stripslashes($items)); if (is_array($items)) { foreach ($items as $item) { if (is_array($item)) { return false; } elseif (!is_numeric($item) && ($item != '')) { ...
function sanitize_cdef($cdef) { */ function sanitize_unserialize_selected_items($items) { if ($items != '') { $unstripped = stripslashes($items); // validate that sanitized string is correctly formatted if (preg_match('/^a:[0-9]+:{/', $unstripped) && !preg_match('/(^|;|{|})O:\+?[0-9]+:"/', $unstripped)) { ...
CVE-2019-17358
{'CWE-787', 'CWE-502'}
4.9
{'https://github.com/Cacti/cacti/commit/adf221344359f5b02b8aed43dfb6b33ae5d708c8'}
nvd
Cacti through 1.2.7 is affected by multiple instances of lib/functions.php unsafe deserialization of user-controlled data to populate arrays. An authenticated attacker could use this to influence object data values and control actions taken by Cacti or potentially cause memory corruption in the PHP module.
2019-12-12
1
https://github.com/Cacti/cacti
https://github.com/Cacti/cacti/commit/adf221344359f5b02b8aed43dfb6b33ae5d708c8
adf221344359f5b02b8aed43dfb6b33ae5d708c8
SINGLE
['adf221344359f5b02b8aed43dfb6b33ae5d708c8']
{'82b665bb2c9371879b8c1bed581ef3cfb3fe1cdc'}
adf221344359f5b02b8aed43dfb6b33ae5d708c8
1
10/12/2019, 19:56:43
Resoving Issue #3026 Unsafe deserialization in of selected objects in Cacti
cigamit
null
{'additions': 15, 'deletions': 8, 'total': 23}
[ { "additions": 15, "changes": 23, "deletions": 8, "patch": "@@ -3100,15 +3100,22 @@ function sanitize_cdef($cdef) {\n */\n function sanitize_unserialize_selected_items($items) {\n \tif ($items != '') {\n-\t\t$items = unserialize(stripslashes($items));\n-\n-\t\tif (is_array($items)) {\n-\t\t\tforeac...
php
CWE-787
[ "lib/functions.php" ]
lib/functions.php
1
_libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data, size_t datalen, int macstate) { int rc = 0; char *message = NULL; char *language = NULL; size_t message_len = 0; size_t language_len = 0; LIBSSH2_CHANNEL *channelp = NULL; _libssh2_packet_add(LIBSSH2_SESSION...
_libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data, size_t datalen, int macstate) { int rc = 0; unsigned char *message = NULL; unsigned char *language = NULL; size_t message_len = 0; size_t language_len = 0; LIBSSH2_CHANNEL *channelp = NULL; _libssh2_packet_a...
CVE-2019-17498
{'CWE-190'}
4.9
{'https://github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9c'}
nvd
In libssh2 v1.9.0 and earlier versions, the SSH_MSG_DISCONNECT logic in packet.c has an integer overflow in a bounds check, enabling an attacker to specify an arbitrary (out-of-bounds) offset for a subsequent memory read. A crafted SSH server may be able to disclose sensitive information or cause a denial of service co...
2019-10-21
1
https://github.com/libssh2/libssh2
https://github.com/libssh2/libssh2/commit/dedcbd106f8e52d5586b0205bc7677e4c9868f9c
dedcbd106f8e52d5586b0205bc7677e4c9868f9c
SINGLE
['dedcbd106f8e52d5586b0205bc7677e4c9868f9c']
{'e5732992b1d2cf238dab636852aade4c52caff99'}
dedcbd106f8e52d5586b0205bc7677e4c9868f9c
1
08/30/2019, 16:57:38
packet.c: improve message parsing (#402) * packet.c: improve parsing of packets file: packet.c notes: Use _libssh2_get_string API in SSH_MSG_DEBUG/SSH_MSG_DISCONNECT. Additional uint32 bounds check in SSH_MSG_GLOBAL_REQUEST.
Will Cosgrove
{'com_1': {'author': 'kloczek', 'datetime': '12/07/2019, 20:16:54', 'body': 'Looks like only after that commit it would be good to make new release (1.9.1?)\r\n\r\nIf may I ask on that ocation consider change tagging convention to use in tag only version because github automatically generatet tar balls are using `<repo...
{'additions': 29, 'deletions': 39, 'total': 68}
[ { "additions": 29, "changes": 68, "deletions": 39, "patch": "@@ -419,8 +419,8 @@ _libssh2_packet_add(LIBSSH2_SESSION * session, unsigned char *data,\n size_t datalen, int macstate)\n {\n int rc = 0;\n- char *message = NULL;\n- char *language = NULL;\n+ unsigned char ...
c
CWE-190
[ "src/packet.c" ]
src/packet.c
1
Mat_VarReadNextInfo4(mat_t *mat) if ( tmp != readresult ) { Mat_VarFree(matvar); return NULL; } matvar->internal->datapos = ftell((FILE*)mat->fp);
Mat_VarReadNextInfo4(mat_t *mat) if ( tmp != readresult ) { Mat_VarFree(matvar); return NULL; } else { matvar->name[tmp - 1] = '\0'; } matvar->internal->datapos = ftell((FILE*)mat->fp);
CVE-2019-17533
{'CWE-908', 'CWE-125'}
4.9
{'https://github.com/tbeu/matio/commit/651a8e28099edb5fbb9e4e1d4d3238848f446c9a'}
nvd
Mat_VarReadNextInfo4 in mat4.c in MATIO 1.5.17 omits a certain '\0' character, leading to a heap-based buffer over-read in strdup_vprintf when uninitialized memory is accessed.
2019-10-13
1
https://github.com/tbeu/matio
https://github.com/tbeu/matio/commit/651a8e28099edb5fbb9e4e1d4d3238848f446c9a
651a8e28099edb5fbb9e4e1d4d3238848f446c9a
SINGLE
['651a8e28099edb5fbb9e4e1d4d3238848f446c9a']
{'69f7141f5d47eae33ecdd8e88ca0b50e25ce883a'}
651a8e28099edb5fbb9e4e1d4d3238848f446c9a
1
08/30/2019, 07:21:26
Avoid uninitialized memory As reported by https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16856
tbeu
null
{'additions': 2, 'deletions': 0, 'total': 2}
[ { "additions": 2, "changes": 2, "deletions": 0, "patch": "@@ -917,6 +917,8 @@ Mat_VarReadNextInfo4(mat_t *mat)\n if ( tmp != readresult ) {\n Mat_VarFree(matvar);\n return NULL;\n+ } else {\n+ matvar->name[tmp - 1] = '\\0';\n }\n \n matvar->internal->datapos = f...
c
CWE-125
[ "src/mat4.c" ]
src/mat4.c
1
vips_foreign_load_gif_scan_image( VipsForeignLoadGif *gif ) { VipsObjectClass *class = VIPS_OBJECT_GET_CLASS( gif ); GifFileType *file = gif->file; ColorMapObject *map = file->Image.ColorMap ? file->Image.ColorMap : file->SColorMap; GifByteType *extension; if( DGifGetImageDesc( gif->file ) == GIF_ERROR ) { vi...
vips_foreign_load_gif_scan_image( VipsForeignLoadGif *gif ) { VipsObjectClass *class = VIPS_OBJECT_GET_CLASS( gif ); GifFileType *file = gif->file; ColorMapObject *map; GifByteType *extension; if( DGifGetImageDesc( gif->file ) == GIF_ERROR ) { vips_foreign_load_gif_scan_image( VipsForeignLoadGif *gif ) /* Tes...
CVE-2019-17534
{'CWE-416'}
6.4
{'https://github.com/libvips/libvips/commit/ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d'}
nvd
vips_foreign_load_gif_scan_image in foreign/gifload.c in libvips before 8.8.2 tries to access a color map before a DGifGetImageDesc call, leading to a use-after-free.
2019-10-13
1
https://github.com/libvips/libvips
https://github.com/libvips/libvips/commit/ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d
ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d
SINGLE
['ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d']
{'25e457736173369dcb0f7c09d07af68aedbdc175'}
ce684dd008532ea0bf9d4a1d89bacb35f4a83f4d
1
08/27/2019, 11:50:52
fetch map after DGifGetImageDesc() Earlier refactoring broke GIF map fetch.
John Cupitt
{'com_1': {'author': 'Rushi-0', 'datetime': '10/13/2019, 14:18:39', 'body': 'how to use itt men plz tell me , or it can use in metasploit..?'}, 'com_2': {'author': 'carnil', 'datetime': '12/29/2019, 21:23:35', 'body': '@jcupitt Is it correct that the issue (which got assigned CVE-2019-17534, cf https://bugs.chromium.or...
{'additions': 2, 'deletions': 2, 'total': 4}
[ { "additions": 2, "changes": 4, "deletions": 2, "patch": "@@ -408,9 +408,8 @@ vips_foreign_load_gif_scan_image( VipsForeignLoadGif *gif )\n {\n \tVipsObjectClass *class = VIPS_OBJECT_GET_CLASS( gif );\n \tGifFileType *file = gif->file;\n-\tColorMapObject *map = file->Image.ColorMap ?\n-\t\tfile->Ima...
c
CWE-416
[ "libvips/foreign/gifload.c" ]
libvips/foreign/gifload.c
1
FF_ENABLE_DEPRECATION_WARNINGS return ret; free_and_end: if (avctx->codec && (codec_init_ok || (avctx->codec->caps_internal & FF_CODEC_CAP_INIT_CLEANUP))) avctx->codec->close(avctx);
FF_ENABLE_DEPRECATION_WARNINGS return ret; free_and_end: if (avctx->codec && avctx->codec->close && (codec_init_ok || (avctx->codec->caps_internal & FF_CODEC_CAP_INIT_CLEANUP))) avctx->codec->close(avctx);
CVE-2019-17539
{'CWE-476'}
6.4
{'https://github.com/FFmpeg/FFmpeg/commit/8df6884832ec413cf032dfaa45c23b1c7876670c'}
nvd
In FFmpeg before 4.2, avcodec_open2 in libavcodec/utils.c allows a NULL pointer dereference and possibly unspecified other impact when there is no valid close function pointer.
2019-10-14
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/8df6884832ec413cf032dfaa45c23b1c7876670c
8df6884832ec413cf032dfaa45c23b1c7876670c
SINGLE
['8df6884832ec413cf032dfaa45c23b1c7876670c']
{'508ce5839e0bf78ce8813eb1b38cce0d416a408e'}
8df6884832ec413cf032dfaa45c23b1c7876670c
1
07/20/2019, 22:08:55
avcodec/utils: Check close before calling it Fixes: NULL pointer dereference Fixes: 15733/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_IDF_fuzzer-5658616977162240 Reviewed-by: Paul B Mahol <onemda@gmail.com> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signe...
Michael Niedermayer
null
{'additions': 1, 'deletions': 1, 'total': 2}
[ { "additions": 1, "changes": 2, "deletions": 1, "patch": "@@ -1024,7 +1024,7 @@ FF_ENABLE_DEPRECATION_WARNINGS\n \n return ret;\n free_and_end:\n- if (avctx->codec &&\n+ if (avctx->codec && avctx->codec->close &&\n (codec_init_ok ||\n (avctx->codec->caps_internal & FF_CODE...
c
CWE-476
[ "libavcodec/utils.c" ]
libavcodec/utils.c
1
static av_cold int vqa_decode_init(AVCodecContext *avctx) } s->width = AV_RL16(&s->avctx->extradata[6]); s->height = AV_RL16(&s->avctx->extradata[8]); if ((ret = av_image_check_size(s->width, s->height, 0, avctx)) < 0) { s->width= s->height= 0; return ret; }
static av_cold int vqa_decode_init(AVCodecContext *avctx) } s->width = AV_RL16(&s->avctx->extradata[6]); s->height = AV_RL16(&s->avctx->extradata[8]); if ((ret = ff_set_dimensions(avctx, s->width, s->height)) < 0) { s->width= s->height= 0; return ret; }
CVE-2019-17542
{'CWE-787'}
6.4
{'https://github.com/FFmpeg/FFmpeg/commit/02f909dc24b1f05cfbba75077c7707b905e63cd2'}
nvd
FFmpeg before 4.2 has a heap-based buffer overflow in vqa_decode_chunk because of an out-of-array access in vqa_decode_init in libavcodec/vqavideo.c.
2019-10-14
1
https://github.com/FFmpeg/FFmpeg
https://github.com/FFmpeg/FFmpeg/commit/02f909dc24b1f05cfbba75077c7707b905e63cd2
02f909dc24b1f05cfbba75077c7707b905e63cd2
SINGLE
['02f909dc24b1f05cfbba75077c7707b905e63cd2']
{'172a43ce36e671fdab63afe1c06876bba91445b3'}
02f909dc24b1f05cfbba75077c7707b905e63cd2
1
07/25/2019, 22:35:32
avcodec/vqavideo: Set video size Fixes: out of array access Fixes: 15919/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VQA_fuzzer-5657368257363968 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/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": "@@ -147,7 +147,7 @@ static av_cold int vqa_decode_init(AVCodecContext *avctx)\n }\n s->width = AV_RL16(&s->avctx->extradata[6]);\n s->height = AV_RL16(&s->avctx->extradata[8]);\n- if ((ret = av_image_check_size(s->width, s->hei...
c
CWE-787
[ "libavcodec/vqavideo.c" ]
libavcodec/vqavideo.c
1
static void* OGRExpatRealloc( void *ptr, size_t size ) if( CanAlloc(size) ) return realloc(ptr, size); free(ptr); return nullptr; }
static void* OGRExpatRealloc( void *ptr, size_t size ) if( CanAlloc(size) ) return realloc(ptr, size); return nullptr; }
CVE-2019-17545
{'CWE-415'}
6.4
{'https://github.com/OSGeo/gdal/commit/148115fcc40f1651a5d15fa34c9a8c528e7147bb'}
nvd
GDAL through 3.0.1 has a poolDestroy double free in OGRExpatRealloc in ogr/ogr_expat.cpp when the 10MB threshold is exceeded.
2019-10-14
1
https://github.com/OSGeo/gdal
https://github.com/OSGeo/gdal/commit/148115fcc40f1651a5d15fa34c9a8c528e7147bb
148115fcc40f1651a5d15fa34c9a8c528e7147bb
SINGLE
['148115fcc40f1651a5d15fa34c9a8c528e7147bb']
{'79f9a619942cf25abf8592b7df37f87c16a04303'}
148115fcc40f1651a5d15fa34c9a8c528e7147bb
1
08/04/2019, 19:00:33
OGRExpatRealloc(): fix double-free when size to allocate is above the default 10MB threshold. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16178. Credit to OSS Fuzz
Even Rouault
null
{'additions': 0, 'deletions': 1, 'total': 1}
[ { "additions": 0, "changes": 1, "deletions": 1, "patch": "@@ -89,7 +89,6 @@ static void* OGRExpatRealloc( void *ptr, size_t size )\n if( CanAlloc(size) )\n return realloc(ptr, size);\n \n- free(ptr);\n return nullptr;\n }", "path": "gdal/ogr/ogr_expat.cpp", "raw_url": "htt...
cpp
CWE-415
[ "gdal/ogr/ogr_expat.cpp" ]
gdal/ogr/ogr_expat.cpp
1
gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) fromskew = (w < imagewidth ? imagewidth - w : 0); for (row = 0; row < h; row += nrow) { rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; nrow = (row + rowstoread > h ? h - row : rowstoread); nrowsub = nrow; if ((nrowsub...
gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) fromskew = (w < imagewidth ? imagewidth - w : 0); for (row = 0; row < h; row += nrow) { uint32 temp; rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; nrow = (row + rowstoread > h ? h - row : rowstoread); nrowsub = nrow;...
CVE-2019-17546
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/OSGeo/gdal/commit/21674033ee246f698887604c7af7ba1962a40ddf'}
nvd
tif_getimage.c in LibTIFF through 4.0.10, as used in GDAL through 3.0.1 and other products, has an integer overflow that potentially causes a heap-based buffer overflow via a crafted RGBA image, related to a "Negative-size-param" condition.
2019-10-14
1
https://github.com/OSGeo/gdal
https://github.com/OSGeo/gdal/commit/21674033ee246f698887604c7af7ba1962a40ddf
21674033ee246f698887604c7af7ba1962a40ddf
SINGLE
['21674033ee246f698887604c7af7ba1962a40ddf']
{'e63e2edef8bdf3734884204bbc31f1314c852ac9'}
21674033ee246f698887604c7af7ba1962a40ddf
1
08/15/2019, 13:04:58
Internal libtiff: fix integer overflow potentially causing write heap buffer overflow, especially on 32 bit builds. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16443. Credit to OSS Fuzz
Even Rouault
null
{'additions': 20, 'deletions': 6, 'total': 26}
[ { "additions": 20, "changes": 26, "deletions": 6, "patch": "@@ -949,16 +949,23 @@ gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h)\n \tfromskew = (w < imagewidth ? imagewidth - w : 0);\n \tfor (row = 0; row < h; row += nrow)\n \t{\n+\t\tuint32 temp;\n \t\trowstoread = rowsperstr...
c
CWE-787
[ "gdal/frmts/gtiff/libtiff/tif_getimage.c" ]
gdal/frmts/gtiff/libtiff/tif_getimage.c
1
gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) fromskew = (w < imagewidth ? imagewidth - w : 0); for (row = 0; row < h; row += nrow) { rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; nrow = (row + rowstoread > h ? h - row : rowstoread); nrowsub = nrow; if ((nrowsub...
gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h) fromskew = (w < imagewidth ? imagewidth - w : 0); for (row = 0; row < h; row += nrow) { uint32 temp; rowstoread = rowsperstrip - (row + img->row_offset) % rowsperstrip; nrow = (row + rowstoread > h ? h - row : rowstoread); nrowsub = nrow;...
CVE-2019-17546
{'CWE-190', 'CWE-787'}
6.4
{'https://github.com/OSGeo/gdal/commit/21674033ee246f698887604c7af7ba1962a40ddf'}
nvd
tif_getimage.c in LibTIFF through 4.0.10, as used in GDAL through 3.0.1 and other products, has an integer overflow that potentially causes a heap-based buffer overflow via a crafted RGBA image, related to a "Negative-size-param" condition.
2019-10-14
1
https://github.com/OSGeo/gdal
https://github.com/OSGeo/gdal/commit/21674033ee246f698887604c7af7ba1962a40ddf
21674033ee246f698887604c7af7ba1962a40ddf
SINGLE
['21674033ee246f698887604c7af7ba1962a40ddf']
{'e63e2edef8bdf3734884204bbc31f1314c852ac9'}
21674033ee246f698887604c7af7ba1962a40ddf
1
08/15/2019, 13:04:58
Internal libtiff: fix integer overflow potentially causing write heap buffer overflow, especially on 32 bit builds. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=16443. Credit to OSS Fuzz
Even Rouault
null
{'additions': 20, 'deletions': 6, 'total': 26}
[ { "additions": 20, "changes": 26, "deletions": 6, "patch": "@@ -949,16 +949,23 @@ gtStripContig(TIFFRGBAImage* img, uint32* raster, uint32 w, uint32 h)\n \tfromskew = (w < imagewidth ? imagewidth - w : 0);\n \tfor (row = 0; row < h; row += nrow)\n \t{\n+\t\tuint32 temp;\n \t\trowstoread = rowsperstr...
c
CWE-190
[ "gdal/frmts/gtiff/libtiff/tif_getimage.c" ]
gdal/frmts/gtiff/libtiff/tif_getimage.c
1
static MagickBooleanType TraceBezier(MVGInfo *mvg_info, quantum=(size_t) alpha; } } quantum=MagickMin(quantum/number_coordinates,BezierQuantum); primitive_info=(*mvg_info->primitive_info)+mvg_info->offset; coefficients=(double *) AcquireQuantumMemory(number_coordinates, sizeof(*coefficients)); ...
static MagickBooleanType TraceBezier(MVGInfo *mvg_info, quantum=(size_t) alpha; } } primitive_info=(*mvg_info->primitive_info)+mvg_info->offset; quantum=MagickMin(quantum/number_coordinates,BezierQuantum); coefficients=(double *) AcquireQuantumMemory(number_coordinates, sizeof(*coefficients)); ...
CVE-2019-17547
{'CWE-416'}
6.4
{'https://github.com/ImageMagick/ImageMagick/commit/ecf7c6b288e11e7e7f75387c5e9e93e423b98397'}
nvd
In ImageMagick before 7.0.8-62, TraceBezier in MagickCore/draw.c has a use-after-free.
2019-10-14
1
https://github.com/ImageMagick/ImageMagick
https://github.com/ImageMagick/ImageMagick/commit/ecf7c6b288e11e7e7f75387c5e9e93e423b98397
ecf7c6b288e11e7e7f75387c5e9e93e423b98397
SINGLE
['ecf7c6b288e11e7e7f75387c5e9e93e423b98397']
{'492b1e98b1d9b5b4172802f45b288060f1805f98'}
ecf7c6b288e11e7e7f75387c5e9e93e423b98397
1
08/18/2019, 12:33:19
...
Cristy
{'com_1': {'author': 'jck1961', 'datetime': '09/30/2020, 17:49:27', 'body': 'The addition of "primitive_info=(*mvg_info->primitive_info)+mvg_info->offset;" picks up a change in mvg_info->primitive_info that might happen in CheckPrimitiveExtent() if it needs to be resized.'}}
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -6159,8 +6159,8 @@ static MagickBooleanType TraceBezier(MVGInfo *mvg_info,\n quantum=(size_t) alpha;\n }\n }\n- quantum=MagickMin(quantum/number_coordinates,BezierQuantum);\n primitive_info=(*mvg_info->primitive_info)+mvg_...
c
CWE-416
[ "MagickCore/draw.c" ]
MagickCore/draw.c
1
<h2 data-l10n-id="pad.share.emebdcode"></h2> <% e.begin_block("scripts"); %> <script type="text/javascript"> // @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt (function() { // Display errors on page load to the user <h2 dat...
<h2 data-l10n-id="pad.share.emebdcode"></h2> <% e.begin_block("scripts"); %> <script type="text/javascript"> var padutils = require('../static/js/pad_utils').padutils; // @license magnet:?xt=urn:btih:8e4f440f4c65981c5bf93c76d35135ba5064d8b7&dn=apache-2.0.txt (funct...
CVE-2019-18209
{'CWE-79'}
2.9
{'https://github.com/ether/etherpad-lite/commit/5879037ddca4ab9a4002adf90fc7ce6c9f82f01b'}
nvd
templates/pad.html in Etherpad-Lite 1.7.5 has XSS when the browser does not encode the path of the URL, as demonstrated by Internet Explorer.
2019-10-19
1
https://github.com/ether/etherpad-lite
https://github.com/ether/etherpad-lite/commit/5879037ddca4ab9a4002adf90fc7ce6c9f82f01b
5879037ddca4ab9a4002adf90fc7ce6c9f82f01b
SINGLE
['5879037ddca4ab9a4002adf90fc7ce6c9f82f01b']
{'c65c5f17aa26c9179ce591f44721861ba6f6bec4'}
5879037ddca4ab9a4002adf90fc7ce6c9f82f01b
1
10/18/2019, 20:00:11
security: support for clean & safe error handling on IE 11 Added pad_utils sanitization for clean and safe error handling on browsers that do not encode the path of the URL. Edited by muxator based on https://github.com/ether/etherpad-lite/pull/3647, to be able to apply the patch on develop (the PR was for master), a...
aaron-costello
{'com_1': {'author': 'muxator', 'datetime': '11/24/2019, 23:14:12', 'body': 'This code calls `require()` when it\'s still not defined. It will be loaded in the next `<script>` block, via:\r\n\r\n```html\r\n<script type="text/javascript" src="../static/js/require-kernel.js"></script>\r\n```\r\n\r\nThis ended up in 1.8.0...
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -361,6 +361,8 @@ <h2 data-l10n-id=\"pad.share.emebdcode\"></h2>\n \n <% e.begin_block(\"scripts\"); %>\n <script type=\"text/javascript\">\n+ var padutils = require('../static/js/pad_utils').padutils;\n+\n ...
html
CWE-79
[ "src/templates/pad.html" ]
src/templates/pad.html
1
idn2_to_ascii_4i (const uint32_t * input, size_t inlen, char * output, int flags * char * out output zero terminated string that must have room for at * least 63 characters plus the terminating zero. */ if (output) strcpy (output, (const char *) output_u8); free(output_u8); } ...
idn2_to_ascii_4i (const uint32_t * input, size_t inlen, char * output, int flags * char * out output zero terminated string that must have room for at * least 63 characters plus the terminating zero. */ size_t len = strlen ((char *) output_u8); if (len > 63) { free (output...
CVE-2019-18224
{'CWE-787'}
6.4
{'https://github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c'}
nvd
idn2_to_ascii_4i in lib/lookup.c in GNU libidn2 before 2.1.1 has a heap-based buffer overflow via a long domain string.
2019-10-21
1
https://github.com/libidn/libidn2
https://github.com/libidn/libidn2/commit/e4d1558aa2c1c04a05066ee8600f37603890ba8c
e4d1558aa2c1c04a05066ee8600f37603890ba8c
SINGLE
['e4d1558aa2c1c04a05066ee8600f37603890ba8c']
{'0965b23044e5b55a3beb01d6a6c62eb2b9a7b0c9'}
e4d1558aa2c1c04a05066ee8600f37603890ba8c
1
01/09/2019, 13:36:16
idn2_to_ascii_4i(): Restrict output length to 63
Tim Rühsen
null
{'additions': 10, 'deletions': 2, 'total': 12}
[ { "additions": 10, "changes": 12, "deletions": 2, "patch": "@@ -617,10 +617,18 @@ idn2_to_ascii_4i (const uint32_t * input, size_t inlen, char * output, int flags\n * char * out output zero terminated string that must have room for at\n * least 63 characters plus the terminating zero....
c
CWE-787
[ "lib/lookup.c" ]
lib/lookup.c
1
fribidi_get_par_embedding_levels_ex ( } RL_LEVEL (pp) = level; RL_ISOLATE_LEVEL (pp) = isolate_level++; base_level_per_iso_level[isolate_level] = new_level; if (!FRIBIDI_IS_NEUTRAL (override))
fribidi_get_par_embedding_levels_ex ( } RL_LEVEL (pp) = level; RL_ISOLATE_LEVEL (pp) = isolate_level; if (isolate_level < FRIBIDI_BIDI_MAX_EXPLICIT_LEVEL-1) isolate_level++; base_level_per_iso_level[isolate_level] = new_level; if (!FRIBIDI_IS_NEUTRAL (ove...
CVE-2019-18397
{'CWE-120'}
6.4
{'https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568'}
nvd
A buffer overflow in the fribidi_get_par_embedding_levels_ex() function in lib/fribidi-bidi.c of GNU FriBidi through 1.0.7 allows an attacker to cause a denial of service or possibly execute arbitrary code by delivering crafted text content to a user, when this content is then rendered by an application that uses FriBi...
2019-11-13
1
https://github.com/fribidi/fribidi
https://github.com/fribidi/fribidi/commit/034c6e9a1d296286305f4cfd1e0072b879f52568
034c6e9a1d296286305f4cfd1e0072b879f52568
SINGLE
['034c6e9a1d296286305f4cfd1e0072b879f52568']
{'deb5884e9cb33913250079e863ff7a50800c77d4'}
034c6e9a1d296286305f4cfd1e0072b879f52568
1
10/24/2019, 06:37:29
Truncate isolate_level to FRIBIDI_BIDI_MAX_EXPLICIT_LEVEL
Dov Grobgeld
{'com_1': {'author': 'kloczek', 'datetime': '12/11/2019, 14:48:21', 'body': 'Any plans to make new release?\r\n\r\nThis seems is like or actually is CVE.'}, 'com_2': {'author': 'dov', 'datetime': '12/13/2019, 09:00:45', 'body': "Done. I actually deprecated the whole `base_level_per_iso_level` which wasn't even needed f...
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -747,7 +747,9 @@ fribidi_get_par_embedding_levels_ex (\n }\n \n \t RL_LEVEL (pp) = level;\n- RL_ISOLATE_LEVEL (pp) = isolate_level++;\n+ RL_ISOLATE_LEVEL (pp) = isolate_level;\n+ if (isolate_level < ...
c
CWE-120
[ "lib/fribidi-bidi.c" ]
lib/fribidi-bidi.c
1
archive_read_format_rar_read_data(struct archive_read *a, const void **buff, case COMPRESS_METHOD_GOOD: case COMPRESS_METHOD_BEST: ret = read_data_compressed(a, buff, size, offset); if (ret != ARCHIVE_OK && ret != ARCHIVE_WARN) __archive_ppmd7_functions.Ppmd7_Free(&rar->ppmd7_context); break; ...
archive_read_format_rar_read_data(struct archive_read *a, const void **buff, case COMPRESS_METHOD_GOOD: case COMPRESS_METHOD_BEST: ret = read_data_compressed(a, buff, size, offset); if (ret != ARCHIVE_OK && ret != ARCHIVE_WARN) { __archive_ppmd7_functions.Ppmd7_Free(&rar->ppmd7_context); rar->s...
CVE-2019-18408
{'CWE-416'}
2.9
{'https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60'}
nvd
archive_read_format_rar_read_data in archive_read_support_format_rar.c in libarchive before 3.4.0 has a use-after-free in a certain ARCHIVE_FAILED situation, related to Ppmd7_DecodeSymbol.
2019-10-24
1
https://github.com/libarchive/libarchive
https://github.com/libarchive/libarchive/commit/b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60
b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60
SINGLE
['b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60']
{'313fa21fd3d2a540958b2f6aa186c6dd2e261c9b'}
b8592ecba2f9e451e1f5cb7ab6dcee8b8e7b3f60
1
05/11/2019, 00:36:53
RAR reader: fix use after free If read_data_compressed() returns ARCHIVE_FAILED, the caller is allowed to continue with next archive headers. We need to set rar->start_new_table after the ppmd7_context got freed, otherwise it won't be allocated again. Reported by: OSS-Fuzz issue 2582
Martin Matuska
{'com_1': {'author': 'skyvast404', 'datetime': '11/08/2019, 04:17:17', 'body': 'CVE-2019-18408'}}
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -1024,8 +1024,10 @@ archive_read_format_rar_read_data(struct archive_read *a, const void **buff,\n case COMPRESS_METHOD_GOOD:\n case COMPRESS_METHOD_BEST:\n ret = read_data_compressed(a, buff, size, offset);\n- if (ret != ARCHIV...
c
CWE-416
[ "libarchive/archive_read_support_format_rar.c" ]
libarchive/archive_read_support_format_rar.c
1
int amqp_handle_input(amqp_connection_state_t state, amqp_bytes_t received_data, case CONNECTION_STATE_HEADER: { amqp_channel_t channel; amqp_pool_t *channel_pool; /* frame length is 3 bytes in */ channel = amqp_d16(amqp_offset(raw_frame, 1)); state->target_size = amqp_d32(...
int amqp_handle_input(amqp_connection_state_t state, amqp_bytes_t received_data, case CONNECTION_STATE_HEADER: { amqp_channel_t channel; amqp_pool_t *channel_pool; uint32_t frame_size; channel = amqp_d16(amqp_offset(raw_frame, 1)); /* frame length is 3 bytes in */ frame_size =...
CVE-2019-18609
{'CWE-787'}
6.4
{'https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a'}
nvd
An issue was discovered in amqp_handle_input in amqp_connection.c in rabbitmq-c 0.9.0. There is an integer overflow that leads to heap memory corruption in the handling of CONNECTION_STATE_HEADER. A rogue server could return a malicious frame header that leads to a smaller target_size value than needed. This condition ...
2019-12-01
1
https://github.com/alanxz/rabbitmq-c
https://github.com/alanxz/rabbitmq-c/commit/fc85be7123050b91b054e45b91c78d3241a5047a
fc85be7123050b91b054e45b91c78d3241a5047a
SINGLE
['fc85be7123050b91b054e45b91c78d3241a5047a']
{'60adf5f8817f32b25a99aa54ba186a29208c7942'}
fc85be7123050b91b054e45b91c78d3241a5047a
1
11/04/2019, 07:50:07
lib: check frame_size is >= INT32_MAX When parsing a frame header, validate that the frame_size is less than or equal to INT32_MAX. Given frame_max is limited between 0 and INT32_MAX in amqp_login and friends, this does not change the API. This prevents a potential buffer overflow when a malicious client sends a fram...
Alan Antonuk
null
{'additions': 12, 'deletions': 3, 'total': 15}
[ { "additions": 12, "changes": 15, "deletions": 3, "patch": "@@ -287,12 +287,21 @@ int amqp_handle_input(amqp_connection_state_t state, amqp_bytes_t received_data,\n case CONNECTION_STATE_HEADER: {\n amqp_channel_t channel;\n amqp_pool_t *channel_pool;\n- /* frame length is 3 byt...
c
CWE-787
[ "librabbitmq/amqp_connection.c" ]
librabbitmq/amqp_connection.c
1
pimcore.settings.translations = Class.create({ dataIndex: "_" + languages[i], filter: 'string', getEditor: this.getCellEditor.bind(this, languages[i]), id: "translation_column_" + this.translationType + "_" + languages[i].toLowerCase() }; ...
pimcore.settings.translations = Class.create({ dataIndex: "_" + languages[i], filter: 'string', getEditor: this.getCellEditor.bind(this, languages[i]), renderer: function (text) { return replace_html_event_attributes(strip_tags(text, '...
CVE-2019-18656
{'CWE-79'}
2.9
{'https://github.com/pimcore/pimcore/commit/ca036e9f86bb5cdb3dac0930ec131e5f35e26c5f'}
nvd
Pimcore 6.2.3 has XSS in the translations grid because bundles/AdminBundle/Resources/public/js/pimcore/settings/translations.js mishandles certain HTML elements.
2019-10-31
1
https://github.com/pimcore/pimcore
https://github.com/pimcore/pimcore/commit/ca036e9f86bb5cdb3dac0930ec131e5f35e26c5f
ca036e9f86bb5cdb3dac0930ec131e5f35e26c5f
SINGLE
['ca036e9f86bb5cdb3dac0930ec131e5f35e26c5f']
{'6fc6119747e234918b5500dafd67a95c8a1af487'}
ca036e9f86bb5cdb3dac0930ec131e5f35e26c5f
1
10/30/2019, 13:15:00
Fixed possible XSS in the translations grid
Bernhard Rusch
null
{'additions': 3, 'deletions': 0, 'total': 3}
[ { "additions": 3, "changes": 3, "deletions": 0, "patch": "@@ -102,6 +102,9 @@ pimcore.settings.translations = Class.create({\n dataIndex: \"_\" + languages[i],\n filter: 'string',\n getEditor: this.getCellEditor.bind(this, languages[i]),\n+ ...
js
CWE-79
[ "bundles/AdminBundle/Resources/public/js/pimcore/settings/translations.js" ]
bundles/AdminBundle/Resources/public/js/pimcore/settings/translations.js
1
static msg_failure_t msg_failure; static msg_debug_link_get_state_t msg_debug_link_get_state; #endif /* Tiny messages */ static bool msg_tiny_flag = false; static CONFIDENTIAL uint8_t msg_tiny[MSG_TINY_BFR_SZ]; static uint16_t msg_tiny_id = MSG_TINY_TYPE_ERROR; /* Default to error type */ /* Allow mapped messages to...
static msg_failure_t msg_failure; static msg_debug_link_get_state_t msg_debug_link_get_state; #endif /* Allow mapped messages to reset message stack. This variable by itself doesn't * do much but messages down the line can use it to determine for to gracefully * exit from a message should the message stack been re...
CVE-2019-18671
{'CWE-787'}
10
{'https://github.com/keepkey/keepkey-firmware/commit/b222c66cdd7c3203d917c80ba615082d309d80c3'}
nvd
Insufficient checks in the USB packet handling of the ShapeShift KeepKey hardware wallet before firmware 6.2.2 allow out-of-bounds writes in the .bss segment via crafted messages. The vulnerability could allow code execution or other forms of impact. It can be triggered by unauthenticated attackers and the interface is...
2019-12-06
1
https://github.com/keepkey/keepkey-firmware
https://github.com/keepkey/keepkey-firmware/commit/b222c66cdd7c3203d917c80ba615082d309d80c3
b222c66cdd7c3203d917c80ba615082d309d80c3
SINGLE
['b222c66cdd7c3203d917c80ba615082d309d80c3']
{'80165ee701198c5b9900406e009acbffd73114d0'}
b222c66cdd7c3203d917c80ba615082d309d80c3
1
09/11/2019, 19:20:00
board: factor out tiny_dispatch And add stronger checks on what tiny_msg's are allowed to be decoded.
keepkeyjon
null
{'additions': 85, 'deletions': 71, 'total': 156}
[ { "additions": 85, "changes": 156, "deletions": 71, "patch": "@@ -37,11 +37,6 @@ static msg_failure_t msg_failure;\n static msg_debug_link_get_state_t msg_debug_link_get_state;\n #endif\n \n-/* Tiny messages */\n-static bool msg_tiny_flag = false;\n-static CONFIDENTIAL uint8_t msg_tiny[MSG_TINY_BFR_...
c
CWE-787
[ "lib/board/messages.c" ]
lib/board/messages.c
1
static void rds_tcp_kill_sock(struct net *net) } spin_unlock_irq(&rds_tcp_conn_lock); list_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) { sk = tc->t_sock->sk; sk->sk_prot->disconnect(sk, 0); tcp_done(sk); if (tc->conn->c_passive) rds_conn_destroy(tc->conn->c_passive); rds_conn_destroy(tc->conn);
static void rds_tcp_kill_sock(struct net *net) } spin_unlock_irq(&rds_tcp_conn_lock); list_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) { if (tc->t_sock) { sk = tc->t_sock->sk; sk->sk_prot->disconnect(sk, 0); tcp_done(sk); } if (tc->conn->c_passive) rds_conn_destroy(tc->conn->c_passive); ...
CVE-2019-18680
{'CWE-476'}
6.9
{'https://github.com/torvalds/linux/commit/91573ae4aed0a49660abdad4d42f2a0db995ee5e'}
nvd
An issue was discovered in the Linux kernel 4.4.x before 4.4.195. There is a NULL pointer dereference in rds_tcp_kill_sock() in net/rds/tcp.c that will cause denial of service, aka CID-91573ae4aed0.
2019-11-04
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/91573ae4aed0a49660abdad4d42f2a0db995ee5e
91573ae4aed0a49660abdad4d42f2a0db995ee5e
SINGLE
['91573ae4aed0a49660abdad4d42f2a0db995ee5e']
{'b19b5a895ad3162663e597680b94a1d9f706c9cb'}
91573ae4aed0a49660abdad4d42f2a0db995ee5e
1
09/18/2019, 08:37:33
net: rds: Fix NULL ptr use in rds_tcp_kill_sock After the commit c4e97b06cfdc ("net: rds: force to destroy connection if t_sock is NULL in rds_tcp_kill_sock()."), it introduced null-ptr-deref in rds_tcp_kill_sock as below: BUG: KASAN: null-ptr-deref on address 0000000000000020 Read of size 8 by task kworker/u16:10/91...
Mao Wenan
null
{'additions': 5, 'deletions': 3, 'total': 8}
[ { "additions": 5, "changes": 8, "deletions": 3, "patch": "@@ -352,9 +352,11 @@ static void rds_tcp_kill_sock(struct net *net)\n \t}\n \tspin_unlock_irq(&rds_tcp_conn_lock);\n \tlist_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) {\n-\t\tsk = tc->t_sock->sk;\n-\t\tsk->sk_prot->disconnect(sk, 0);...
c
CWE-476
[ "net/rds/tcp.c" ]
net/rds/tcp.c
1
ccp_run_sha_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) LSB_ITEM_SIZE); break; default: ret = -EINVAL; goto e_ctx; } memset(&hmac_cmd, 0, sizeof(hmac_cmd));
ccp_run_sha_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd) LSB_ITEM_SIZE); break; default: kfree(hmac_buf); ret = -EINVAL; goto e_data; } memset(&hmac_cmd, 0, sizeof(hmac_cmd));
CVE-2019-18808
{'CWE-401'}
2.9
{'https://github.com/torvalds/linux/commit/128c66429247add5128c03dc1e144ca56f05a4e2'}
nvd
A memory leak in the ccp_run_sha_cmd() function in drivers/crypto/ccp/ccp-ops.c in the Linux kernel through 5.3.9 allows attackers to cause a denial of service (memory consumption), aka CID-128c66429247.
2019-11-07
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/128c66429247add5128c03dc1e144ca56f05a4e2
128c66429247add5128c03dc1e144ca56f05a4e2
SINGLE
['128c66429247add5128c03dc1e144ca56f05a4e2']
{'a7174f978563e112fcd8601c9f8b4a9ddef3388d'}
128c66429247add5128c03dc1e144ca56f05a4e2
1
09/19/2019, 16:04:48
crypto: ccp - Release all allocated memory if sha type is invalid Release all allocated memory if sha type is invalid: In ccp_run_sha_cmd, if the type of sha is invalid, the allocated hmac_buf should be released. v2: fix the goto. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Acked-by: Gary R Hook <gary...
Navid Emamdoost
null
{'additions': 2, 'deletions': 1, 'total': 3}
[ { "additions": 2, "changes": 3, "deletions": 1, "patch": "@@ -1777,8 +1777,9 @@ ccp_run_sha_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd)\n \t\t\t LSB_ITEM_SIZE);\n \t\t\tbreak;\n \t\tdefault:\n+\t\t\tkfree(hmac_buf);\n \t\t\tret = -EINVAL;\n-\t\t\tgoto e_ctx;\n+\t\t\tgoto e_data;\n \t...
c
CWE-401
[ "drivers/crypto/ccp/ccp-ops.c" ]
drivers/crypto/ccp/ccp-ops.c
1
static int af9005_identify_state(struct usb_device *udev, else if (reply == 0x02) *cold = 0; else return -EIO; deb_info("Identify state cold = %d\n", *cold); err: kfree(buf);
static int af9005_identify_state(struct usb_device *udev, else if (reply == 0x02) *cold = 0; else ret = -EIO; if (!ret) deb_info("Identify state cold = %d\n", *cold); err: kfree(buf);
CVE-2019-18809
{'CWE-401'}
6.9
{'https://github.com/torvalds/linux/commit/2289adbfa559050d2a38bcd9caac1c18b800e928'}
nvd
A memory leak in the af9005_identify_state() function in drivers/media/usb/dvb-usb/af9005.c in the Linux kernel through 5.3.9 allows attackers to cause a denial of service (memory consumption), aka CID-2289adbfa559.
2019-11-07
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/2289adbfa559050d2a38bcd9caac1c18b800e928
2289adbfa559050d2a38bcd9caac1c18b800e928
SINGLE
['2289adbfa559050d2a38bcd9caac1c18b800e928']
{'69e3235d58260d3d03570271da314829f9486237'}
2289adbfa559050d2a38bcd9caac1c18b800e928
1
10/09/2019, 15:01:47
media: usb: fix memory leak in af9005_identify_state In af9005_identify_state when returning -EIO the allocated buffer should be released. Replace the "return -EIO" with assignment into ret and move deb_info() under a check. Fixes: af4e067e1dcf ("V4L/DVB (5625): Add support for the AF9005 demodulator from Afatech") S...
Navid Emamdoost
null
{'additions': 3, 'deletions': 2, 'total': 5}
[ { "additions": 3, "changes": 5, "deletions": 2, "patch": "@@ -976,8 +976,9 @@ static int af9005_identify_state(struct usb_device *udev,\n \telse if (reply == 0x02)\n \t\t*cold = 0;\n \telse\n-\t\treturn -EIO;\n-\tdeb_info(\"Identify state cold = %d\\n\", *cold);\n+\t\tret = -EIO;\n+\tif (!ret)\n+\t\...
c
CWE-401
[ "drivers/media/usb/dvb-usb/af9005.c" ]
drivers/media/usb/dvb-usb/af9005.c
1
static int sof_set_get_large_ctrl_data(struct snd_sof_dev *sdev, else err = sof_get_ctrl_copy_params(cdata->type, partdata, cdata, sparams); if (err < 0) return err; msg_bytes = sparams->msg_bytes; pl_size = sparams->pl_size;
static int sof_set_get_large_ctrl_data(struct snd_sof_dev *sdev, else err = sof_get_ctrl_copy_params(cdata->type, partdata, cdata, sparams); if (err < 0) { kfree(partdata); return err; } msg_bytes = sparams->msg_bytes; pl_size = sparams->pl_size;
CVE-2019-18811
{'CWE-401'}
6.9
{'https://github.com/torvalds/linux/commit/45c1380358b12bf2d1db20a5874e9544f56b34ab'}
nvd
A memory leak in the sof_set_get_large_ctrl_data() function in sound/soc/sof/ipc.c in the Linux kernel through 5.3.9 allows attackers to cause a denial of service (memory consumption) by triggering sof_get_ctrl_copy_params() failures, aka CID-45c1380358b1.
2019-11-07
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/45c1380358b12bf2d1db20a5874e9544f56b34ab
45c1380358b12bf2d1db20a5874e9544f56b34ab
SINGLE
['45c1380358b12bf2d1db20a5874e9544f56b34ab']
{'c0a333d842ef67ac04adc72ff79dc1ccc3dca4ed'}
45c1380358b12bf2d1db20a5874e9544f56b34ab
1
10/27/2019, 21:53:24
ASoC: SOF: ipc: Fix memory leak in sof_set_get_large_ctrl_data In the implementation of sof_set_get_large_ctrl_data() there is a memory leak in case an error. Release partdata if sof_get_ctrl_copy_params() fails. Fixes: 54d198d5019d ("ASoC: SOF: Propagate sof_get_ctrl_copy_params() error properly") Signed-off-by: Nav...
Navid Emamdoost
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -572,8 +572,10 @@ static int sof_set_get_large_ctrl_data(struct snd_sof_dev *sdev,\n \telse\n \t\terr = sof_get_ctrl_copy_params(cdata->type, partdata, cdata,\n \t\t\t\t\t sparams);\n-\tif (err < 0)\n+\tif (err < 0) {\n+\t\tkfree(par...
c
CWE-401
[ "sound/soc/sof/ipc.c" ]
sound/soc/sof/ipc.c
1
static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer, */ dentry = file->f_path.dentry; if (strcmp(dentry->d_name.name, "ipc_flood_count") && strcmp(dentry->d_name.name, "ipc_flood_duration_ms")) return -EINVAL; if (!strcmp(dentry->d_name.name, "ipc_flood_duration_ms")) flood_du...
static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer, */ dentry = file->f_path.dentry; if (strcmp(dentry->d_name.name, "ipc_flood_count") && strcmp(dentry->d_name.name, "ipc_flood_duration_ms")) { ret = -EINVAL; goto out; } if (!strcmp(dentry->d_name.name, "ipc_flood_duration_...
CVE-2019-18812
{'CWE-401'}
6.9
{'https://github.com/torvalds/linux/commit/c0a333d842ef67ac04adc72ff79dc1ccc3dca4ed'}
nvd
A memory leak in the sof_dfsentry_write() function in sound/soc/sof/debug.c in the Linux kernel through 5.3.9 allows attackers to cause a denial of service (memory consumption), aka CID-c0a333d842ef.
2019-11-07
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/c0a333d842ef67ac04adc72ff79dc1ccc3dca4ed
c0a333d842ef67ac04adc72ff79dc1ccc3dca4ed
SINGLE
['c0a333d842ef67ac04adc72ff79dc1ccc3dca4ed']
{'f792bd173a6fd51d1a4dde04263085ce67486aa3'}
c0a333d842ef67ac04adc72ff79dc1ccc3dca4ed
1
10/27/2019, 19:48:47
ASoC: SOF: Fix memory leak in sof_dfsentry_write In the implementation of sof_dfsentry_write() memory allocated for string is leaked in case of an error. Go to error handling path if the d_name.name is not valid. Fixes: 091c12e1f50c ("ASoC: SOF: debug: add new debugfs entries for IPC flood test") Signed-off-by: Navid...
Navid Emamdoost
null
{'additions': 4, 'deletions': 2, 'total': 6}
[ { "additions": 4, "changes": 6, "deletions": 2, "patch": "@@ -152,8 +152,10 @@ static ssize_t sof_dfsentry_write(struct file *file, const char __user *buffer,\n \t */\n \tdentry = file->f_path.dentry;\n \tif (strcmp(dentry->d_name.name, \"ipc_flood_count\") &&\n-\t strcmp(dentry->d_name.name, \"i...
c
CWE-401
[ "sound/soc/sof/debug.c" ]
sound/soc/sof/debug.c
1
public function showEmailLogAction(Request $request, ?Profiler $profiler) return new Response('<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style>body{background-color:#fff;}</style></head><body><pre>' . $templatingEnginePhp->escape($emailLog->getTextLog()) . '</pre></...
public function showEmailLogAction(Request $request, ?Profiler $profiler) return new Response('<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style>body{background-color:#fff;}</style></head><body><pre>' . $templatingEnginePhp->escape($emailLog->getTextLog()) . '</pre></...
CVE-2019-18982
{'CWE-79'}
2.9
{'https://github.com/pimcore/pimcore/commit/e0b48faf7d29ce43a98825a0b230e88350ebcf78'}
nvd
bundles/AdminBundle/Controller/Admin/EmailController.php in Pimcore before 6.3.0 allows script execution in the Email Log preview window because of the lack of a Content-Security-Policy header.
2019-11-15
1
https://github.com/pimcore/pimcore
https://github.com/pimcore/pimcore/commit/e0b48faf7d29ce43a98825a0b230e88350ebcf78
e0b48faf7d29ce43a98825a0b230e88350ebcf78
SINGLE
['e0b48faf7d29ce43a98825a0b230e88350ebcf78']
{'30a9111003a099e7a71ef0a2115ebdd446525c8a'}
e0b48faf7d29ce43a98825a0b230e88350ebcf78
1
10/30/2019, 16:00:19
[Email] Email log: do not allow script/iframe execution in preview window
Bernhard Rusch
null
{'additions': 3, 'deletions': 1, 'total': 4}
[ { "additions": 3, "changes": 4, "deletions": 1, "patch": "@@ -133,7 +133,9 @@ public function showEmailLogAction(Request $request, ?Profiler $profiler)\n \n return new Response('<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /><style>body{background-co...
php
CWE-79
[ "bundles/AdminBundle/Controller/Admin/EmailController.php" ]
bundles/AdminBundle/Controller/Admin/EmailController.php
1
static int i40e_setup_macvlans(struct i40e_vsi *vsi, u16 macvlan_cnt, u16 qcnt, ch->num_queue_pairs = qcnt; if (!i40e_setup_channel(pf, vsi, ch)) { ret = -EINVAL; goto err_free; } ch->parent_vsi = vsi;
static int i40e_setup_macvlans(struct i40e_vsi *vsi, u16 macvlan_cnt, u16 qcnt, ch->num_queue_pairs = qcnt; if (!i40e_setup_channel(pf, vsi, ch)) { ret = -EINVAL; kfree(ch); goto err_free; } ch->parent_vsi = vsi;
CVE-2019-19043
{'CWE-401'}
6.9
{'https://github.com/torvalds/linux/commit/27d461333459d282ffa4a2bdb6b215a59d493a8f'}
nvd
A memory leak in the i40e_setup_macvlans() function in drivers/net/ethernet/intel/i40e/i40e_main.c in the Linux kernel through 5.3.11 allows attackers to cause a denial of service (memory consumption) by triggering i40e_setup_channel() failures, aka CID-27d461333459.
2019-11-18
1
https://github.com/torvalds/linux
https://github.com/torvalds/linux/commit/27d461333459d282ffa4a2bdb6b215a59d493a8f
27d461333459d282ffa4a2bdb6b215a59d493a8f
SINGLE
['27d461333459d282ffa4a2bdb6b215a59d493a8f']
{'621650cabee54886291c4fa59544b9e30b016f92'}
27d461333459d282ffa4a2bdb6b215a59d493a8f
1
09/25/2019, 15:48:30
i40e: prevent memory leak in i40e_setup_macvlans In i40e_setup_macvlans if i40e_setup_channel fails the allocated memory for ch should be released. Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Navid Emamdoost
null
{'additions': 1, 'deletions': 0, 'total': 1}
[ { "additions": 1, "changes": 1, "deletions": 0, "patch": "@@ -7187,6 +7187,7 @@ static int i40e_setup_macvlans(struct i40e_vsi *vsi, u16 macvlan_cnt, u16 qcnt,\n \t\tch->num_queue_pairs = qcnt;\n \t\tif (!i40e_setup_channel(pf, vsi, ch)) {\n \t\t\tret = -EINVAL;\n+\t\t\tkfree(ch);\n \t\t\tgoto err_f...
c
CWE-401
[ "drivers/net/ethernet/intel/i40e/i40e_main.c" ]
drivers/net/ethernet/intel/i40e/i40e_main.c
1