prompt stringclasses 1
value | completions listlengths 1 63.8k | labels listlengths 1 63.8k | source stringclasses 1
value | other_info stringlengths 2.06k 101k | index int64 0 6.83k |
|---|---|---|---|---|---|
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n// PLUGIN INFORMATION\n$GLOBALS['plugins']['Bookmark'] = array( // Plugin Name\n\t'name' => 'Bookmark', // Plugin Name\n\t'author' => 'leet1994', // Who wrote the plugin\n\t'category' => 'Utilities', // One to Two Word Description\n\t'link' => '', // Link to plugin info\n\t'license' => 'personal,business', ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6478, 216, 220, 915], "buggy_code_start_loc": [1898, 215, 219, 572], "filenames": ["api/classes/organizr.class.php", "api/functions/log-functions.php", "api/functions/organizr-functions.php", "api/plugins/bookmark/plugin.php"], "fixing_code_end_loc": [6545, 216, 218, 929], "fixing_code_start_loc... | 1,129 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n// PLUGIN INFORMATION\n$GLOBALS['plugins']['Bookmark'] = array( // Plugin Name\n\t'name' => 'Bookmark', // Plugin Name\n\t'author' => 'leet1994', // Who wrote the plugin\n\t'category' => 'Utilities', // One to Two Word Description\n\t'link' => '', // Link to plugin info\n\t'license' => 'personal,business', ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [6478, 216, 220, 915], "buggy_code_start_loc": [1898, 215, 219, 572], "filenames": ["api/classes/organizr.class.php", "api/functions/log-functions.php", "api/functions/organizr-functions.php", "api/plugins/bookmark/plugin.php"], "fixing_code_end_loc": [6545, 216, 218, 929], "fixing_code_start_loc... | 1,129 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* \n\tpcd.c\t(c) 1997-8 Grant R. Guenther <grant@torque.net>\n\t\t Under the terms of the GNU General Public License.",
"\tThis is a high-level driver for parallel port ATAPI CD-ROM\n drives based on chips supported by the paride module.",
" By default, the driver will autoprobe for ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1034], "buggy_code_start_loc": [316], "filenames": ["drivers/block/paride/pcd.c"], "fixing_code_end_loc": [1047], "fixing_code_start_loc": [317], "message": "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 ... | 1,130 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* \n\tpcd.c\t(c) 1997-8 Grant R. Guenther <grant@torque.net>\n\t\t Under the terms of the GNU General Public License.",
"\tThis is a high-level driver for parallel port ATAPI CD-ROM\n drives based on chips supported by the paride module.",
" By default, the driver will autoprobe for ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1034], "buggy_code_start_loc": [316], "filenames": ["drivers/block/paride/pcd.c"], "fixing_code_end_loc": [1047], "fixing_code_start_loc": [317], "message": "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 ... | 1,130 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Pimcore\n *\n * This source file is available under two different licenses:\n * - GNU General Public License version 3 (GPLv3)\n * - Pimcore Commercial License (PCL)\n * Full copyright and license information is available in\n * LICENSE.md which is distributed with this source code.\n *\n * @copyright Cop... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1492, 142, 363, 369, 289, 171], "buggy_code_start_loc": [1479, 141, 119, 122, 128, 169], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/ClassificationstoreController.php", "bundles/AdminBundle/Resources/public/js/pimcore/helpers/generic-grid.js", "bundles/AdminBundle/Resources/pu... | 1,131 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2005-2022\n *\n * This file is part of GPAC / MPEG2-TS sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Pub... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [945], "buggy_code_start_loc": [945], "filenames": ["src/media_tools/mpegts.c"], "fixing_code_end_loc": [951], "fixing_code_start_loc": [946], "message": "Heap-based Buffer Overflow in GitHub repository gpac/gpac prior to v2.3.0-DEV.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nu... | 1,132 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2005-2022\n *\n * This file is part of GPAC / MPEG2-TS sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Pub... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [945], "buggy_code_start_loc": [945], "filenames": ["src/media_tools/mpegts.c"], "fixing_code_end_loc": [951], "fixing_code_start_loc": [946], "message": "Heap-based Buffer Overflow in GitHub repository gpac/gpac prior to v2.3.0-DEV.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": nu... | 1,132 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * pxa3xx-gcu.c - Linux kernel module for PXA3xx graphics controllers\n *\n * This driver needs a DirectFB counterpart in user space, communication\n * is handled via mmap()ed memory areas and an ioctl.\n *\n * Copyright (c) 2009 Daniel Mack <daniel@caiaq.de>\n... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [385], "buggy_code_start_loc": [384], "filenames": ["drivers/video/fbdev/pxa3xx-gcu.c"], "fixing_code_end_loc": [385], "fixing_code_start_loc": [384], "message": "** DISPUTED ** An issue was discovered in the Linux kernel before 5.19. In pxa3xx_gcu_write in drivers/video/fbdev/pxa3xx-gcu.c, the c... | 1,133 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * pxa3xx-gcu.c - Linux kernel module for PXA3xx graphics controllers\n *\n * This driver needs a DirectFB counterpart in user space, communication\n * is handled via mmap()ed memory areas and an ioctl.\n *\n * Copyright (c) 2009 Daniel Mack <daniel@caiaq.de>\n... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [385], "buggy_code_start_loc": [384], "filenames": ["drivers/video/fbdev/pxa3xx-gcu.c"], "fixing_code_end_loc": [385], "fixing_code_start_loc": [384], "message": "** DISPUTED ** An issue was discovered in the Linux kernel before 5.19. In pxa3xx_gcu_write in drivers/video/fbdev/pxa3xx-gcu.c, the c... | 1,133 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2017 Red Hat Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merg... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [154, 1361, 169], "buggy_code_start_loc": [137, 769, 159], "filenames": ["drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h"], "fixing_code_end_loc": [141, 1440, 169], "fixing_code_start_loc": [137, 770... | 1,134 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2017 Red Hat Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merg... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [154, 1361, 169], "buggy_code_start_loc": [137, 769, 159], "filenames": ["drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h"], "fixing_code_end_loc": [141, 1440, 169], "fixing_code_start_loc": [137, 770... | 1,134 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2017 Red Hat Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merg... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [154, 1361, 169], "buggy_code_start_loc": [137, 769, 159], "filenames": ["drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h"], "fixing_code_end_loc": [141, 1440, 169], "fixing_code_start_loc": [137, 770... | 1,134 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright 2017 Red Hat Inc.\n *\n * Permission is hereby granted, free of charge, to any person obtaining a\n * copy of this software and associated documentation files (the \"Software\"),\n * to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merg... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [154, 1361, 169], "buggy_code_start_loc": [137, 769, 159], "filenames": ["drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h"], "fixing_code_end_loc": [141, 1440, 169], "fixing_code_start_loc": [137, 770... | 1,134 |
Determine whether the {function_name} code is vulnerable or not. | [
"#ifndef __NVKM_VMM_H__\n#define __NVKM_VMM_H__\n#include \"priv.h\"\n#include <core/memory.h>\nenum nvkm_memory_target;",
"struct nvkm_vmm_pt {\n\t/* Some GPUs have a mapping level with a dual page tables to\n\t * support large and small pages in the same address-range.\n\t *\n\t * We track the state of both pag... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [154, 1361, 169], "buggy_code_start_loc": [137, 769, 159], "filenames": ["drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h"], "fixing_code_end_loc": [141, 1440, 169], "fixing_code_start_loc": [137, 770... | 1,134 |
Determine whether the {function_name} code is vulnerable or not. | [
"#ifndef __NVKM_VMM_H__\n#define __NVKM_VMM_H__\n#include \"priv.h\"\n#include <core/memory.h>\nenum nvkm_memory_target;",
"struct nvkm_vmm_pt {\n\t/* Some GPUs have a mapping level with a dual page tables to\n\t * support large and small pages in the same address-range.\n\t *\n\t * We track the state of both pag... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [154, 1361, 169], "buggy_code_start_loc": [137, 769, 159], "filenames": ["drivers/gpu/drm/nouveau/nvkm/subdev/mmu/uvmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c", "drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h"], "fixing_code_end_loc": [141, 1440, 169], "fixing_code_start_loc": [137, 770... | 1,134 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n* ModSecurity for Apache 2.x, http://www.modsecurity.org/\n* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)\n*\n* You may not use this file except in compliance with\n* the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n*... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [301], "buggy_code_start_loc": [300], "filenames": ["apache2/modsecurity.c"], "fixing_code_end_loc": [301], "fixing_code_start_loc": [300], "message": "apache2/modsecurity.c in ModSecurity before 2.7.6 allows remote attackers to bypass rules by using chunked transfer coding with a capitalized Chu... | 1,135 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n* ModSecurity for Apache 2.x, http://www.modsecurity.org/\n* Copyright (c) 2004-2013 Trustwave Holdings, Inc. (http://www.trustwave.com/)\n*\n* You may not use this file except in compliance with\n* the License. You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n*... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [301], "buggy_code_start_loc": [300], "filenames": ["apache2/modsecurity.c"], "fixing_code_end_loc": [301], "fixing_code_start_loc": [300], "message": "apache2/modsecurity.c in ModSecurity before 2.7.6 allows remote attackers to bypass rules by using chunked transfer coding with a capitalized Chu... | 1,135 |
Determine whether the {function_name} code is vulnerable or not. | [
"use nix::unistd;\nuse std::io::prelude::*;\nuse std::os::unix::net::UnixListener;\nuse std::{\n env, fs,\n path::Path,\n process::{exit, id, Command, Stdio},\n};\nuse sysinfo::{ProcessExt, System, SystemExt};",
"fn main() -> std::io::Result<()> {\n env::set_var(\"RUST_LOG\", \"swhks=trace\");\n en... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [16], "buggy_code_start_loc": [15], "filenames": ["src/server.rs"], "fixing_code_end_loc": [16], "fixing_code_start_loc": [15], "message": "SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.", "other": {"cve": {"cisaActionDue": null, "cisaExploit... | 1,136 |
Determine whether the {function_name} code is vulnerable or not. | [
"use nix::unistd;\nuse std::io::prelude::*;\nuse std::os::unix::net::UnixListener;\nuse std::{\n env, fs,\n path::Path,\n process::{exit, id, Command, Stdio},\n};\nuse sysinfo::{ProcessExt, System, SystemExt};",
"fn main() -> std::io::Result<()> {\n env::set_var(\"RUST_LOG\", \"swhks=trace\");\n en... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [16], "buggy_code_start_loc": [15], "filenames": ["src/server.rs"], "fixing_code_end_loc": [16], "fixing_code_start_loc": [15], "message": "SWHKD 1.1.5 unsafely uses the /tmp/swhks.pid pathname. There can be data loss or a denial of service.", "other": {"cve": {"cisaActionDue": null, "cisaExploit... | 1,136 |
Determine whether the {function_name} code is vulnerable or not. | [
"menu \"Boot options\"",
"menu \"Boot images\"",
"config ANDROID_BOOT_IMAGE\n\tbool \"Enable support for Android Boot Images\"\n\tdefault y if FASTBOOT\n\thelp\n\t This enables support for booting images which use the Android\n\t image format header.",
"config FIT\n\tbool \"Support Flattened Image Tree\"\n\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [170, 1582], "buggy_code_start_loc": [65, 1582], "filenames": ["common/Kconfig.boot", "common/image-fit.c"], "fixing_code_end_loc": [191, 1599], "fixing_code_start_loc": [66, 1583], "message": "The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.", "other": {"cve": {"cisaAc... | 1,137 |
Determine whether the {function_name} code is vulnerable or not. | [
"menu \"Boot options\"",
"menu \"Boot images\"",
"config ANDROID_BOOT_IMAGE\n\tbool \"Enable support for Android Boot Images\"\n\tdefault y if FASTBOOT\n\thelp\n\t This enables support for booting images which use the Android\n\t image format header.",
"config FIT\n\tbool \"Support Flattened Image Tree\"\n\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [170, 1582], "buggy_code_start_loc": [65, 1582], "filenames": ["common/Kconfig.boot", "common/image-fit.c"], "fixing_code_end_loc": [191, 1599], "fixing_code_start_loc": [66, 1583], "message": "The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.", "other": {"cve": {"cisaAc... | 1,137 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0+\n/*\n * Copyright (c) 2013, Google Inc.\n *\n * (C) Copyright 2008 Semihalf\n *\n * (C) Copyright 2000-2006\n * Wolfgang Denk, DENX Software Engineering, wd@denx.de.\n */",
"#define LOG_CATEGORY LOGC_BOOT",
"#ifdef USE_HOSTCC\n#include \"mkimage.h\"\n#include <time.h>\n#inc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [170, 1582], "buggy_code_start_loc": [65, 1582], "filenames": ["common/Kconfig.boot", "common/image-fit.c"], "fixing_code_end_loc": [191, 1599], "fixing_code_start_loc": [66, 1583], "message": "The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.", "other": {"cve": {"cisaAc... | 1,137 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-License-Identifier: GPL-2.0+\n/*\n * Copyright (c) 2013, Google Inc.\n *\n * (C) Copyright 2008 Semihalf\n *\n * (C) Copyright 2000-2006\n * Wolfgang Denk, DENX Software Engineering, wd@denx.de.\n */",
"#define LOG_CATEGORY LOGC_BOOT",
"#ifdef USE_HOSTCC\n#include \"mkimage.h\"\n#include <time.h>\n#inc... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [170, 1582], "buggy_code_start_loc": [65, 1582], "filenames": ["common/Kconfig.boot", "common/image-fit.c"], "fixing_code_end_loc": [191, 1599], "fixing_code_start_loc": [66, 1583], "message": "The boot loader in Das U-Boot before 2021.04-rc2 mishandles a modified FIT.", "other": {"cve": {"cisaAc... | 1,137 |
Determine whether the {function_name} code is vulnerable or not. | [
"class ConversationFinder\n attr_reader :current_user, :current_account, :params",
" DEFAULT_STATUS = 'open'.freeze",
" # assumptions\n # inbox_id if not given, take from all conversations, else specific to inbox\n # assignee_type if not given, take 'all'\n # conversation_status if not given, take 'open'"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [59, 29], "buggy_code_start_loc": [58, 8], "filenames": ["app/finders/conversation_finder.rb", "spec/finders/conversation_finder_spec.rb"], "fixing_code_end_loc": [59, 58], "fixing_code_start_loc": [58, 9], "message": "Improper Privilege Management in GitHub repository chatwoot/chatwoot prior to ... | 1,138 |
Determine whether the {function_name} code is vulnerable or not. | [
"class ConversationFinder\n attr_reader :current_user, :current_account, :params",
" DEFAULT_STATUS = 'open'.freeze",
" # assumptions\n # inbox_id if not given, take from all conversations, else specific to inbox\n # assignee_type if not given, take 'all'\n # conversation_status if not given, take 'open'"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [59, 29], "buggy_code_start_loc": [58, 8], "filenames": ["app/finders/conversation_finder.rb", "spec/finders/conversation_finder_spec.rb"], "fixing_code_end_loc": [59, 58], "fixing_code_start_loc": [58, 9], "message": "Improper Privilege Management in GitHub repository chatwoot/chatwoot prior to ... | 1,138 |
Determine whether the {function_name} code is vulnerable or not. | [
"require 'rails_helper'",
"describe ::ConversationFinder do\n subject(:conversation_finder) { described_class.new(user_1, params) }",
" let!(:account) { create(:account) }\n let!(:user_1) { create(:user, account: account) }\n let!(:user_2) { create(:user, account: account) }",
"",
" let!(:inbox) { crea... | [
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [59, 29], "buggy_code_start_loc": [58, 8], "filenames": ["app/finders/conversation_finder.rb", "spec/finders/conversation_finder_spec.rb"], "fixing_code_end_loc": [59, 58], "fixing_code_start_loc": [58, 9], "message": "Improper Privilege Management in GitHub repository chatwoot/chatwoot prior to ... | 1,138 |
Determine whether the {function_name} code is vulnerable or not. | [
"require 'rails_helper'",
"describe ::ConversationFinder do\n subject(:conversation_finder) { described_class.new(user_1, params) }",
" let!(:account) { create(:account) }\n let!(:user_1) { create(:user, account: account) }\n let!(:user_2) { create(:user, account: account) }",
" let!(:admin) { create(:us... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [59, 29], "buggy_code_start_loc": [58, 8], "filenames": ["app/finders/conversation_finder.rb", "spec/finders/conversation_finder_spec.rb"], "fixing_code_end_loc": [59, 58], "fixing_code_start_loc": [58, 9], "message": "Improper Privilege Management in GitHub repository chatwoot/chatwoot prior to ... | 1,138 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace App\\Http\\Controllers;",
"use App\\Helpers\\Helper;\nuse App\\Http\\Requests\\ImageUploadRequest;\nuse App\\Models\\AssetModel;\nuse Illuminate\\Support\\Facades\\Auth;\nuse Illuminate\\Support\\Facades\\Input;\nuse Illuminate\\Support\\Facades\\View;\nuse Redirect;\nuse Request;\nuse Storage;"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [273], "buggy_code_start_loc": [272], "filenames": ["app/Http/Controllers/AssetModelsController.php"], "fixing_code_end_loc": [273], "fixing_code_start_loc": [272], "message": "snipe-it is vulnerable to Improper Access Control", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "ci... | 1,139 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nnamespace App\\Http\\Controllers;",
"use App\\Helpers\\Helper;\nuse App\\Http\\Requests\\ImageUploadRequest;\nuse App\\Models\\AssetModel;\nuse Illuminate\\Support\\Facades\\Auth;\nuse Illuminate\\Support\\Facades\\Input;\nuse Illuminate\\Support\\Facades\\View;\nuse Redirect;\nuse Request;\nuse Storage;"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [273], "buggy_code_start_loc": [272], "filenames": ["app/Http/Controllers/AssetModelsController.php"], "fixing_code_end_loc": [273], "fixing_code_start_loc": [272], "message": "snipe-it is vulnerable to Improper Access Control", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "ci... | 1,139 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2001-2003 FhG Fokus\n *\n * This file is part of opensips, a free SIP server.\n *\n * opensips is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [249], "buggy_code_start_loc": [244], "filenames": ["parser/parse_content.c"], "fixing_code_end_loc": [252], "fixing_code_start_loc": [244], "message": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.9 and 3.2.6, a malformed SIP message containing a l... | 1,140 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2001-2003 FhG Fokus\n *\n * This file is part of opensips, a free SIP server.\n *\n * opensips is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either version 2 of the License, or\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [249], "buggy_code_start_loc": [244], "filenames": ["parser/parse_content.c"], "fixing_code_end_loc": [252], "fixing_code_start_loc": [244], "message": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.9 and 3.2.6, a malformed SIP message containing a l... | 1,140 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Application level Controller\n *\n * This file is application-wide controller file. You can put all\n * application-wide controller-related methods here.\n *\n * PHP 5\n *\n * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n * Copyright 2005-2012, Cake Software Foundation, Inc. (http... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [50, 2062], "buggy_code_start_loc": [49, 2061], "filenames": ["app/Controller/AppController.php", "app/webroot/js/misp.js"], "fixing_code_end_loc": [50, 2062], "fixing_code_start_loc": [49, 2061], "message": "In the sharingGroupPopulateOrganisations function in app/webroot/js/misp.js in MISP 2.4.... | 1,141 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Application level Controller\n *\n * This file is application-wide controller file. You can put all\n * application-wide controller-related methods here.\n *\n * PHP 5\n *\n * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n * Copyright 2005-2012, Cake Software Foundation, Inc. (http... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [50, 2062], "buggy_code_start_loc": [49, 2061], "filenames": ["app/Controller/AppController.php", "app/webroot/js/misp.js"], "fixing_code_end_loc": [50, 2062], "fixing_code_start_loc": [49, 2061], "message": "In the sharingGroupPopulateOrganisations function in app/webroot/js/misp.js in MISP 2.4.... | 1,141 |
Determine whether the {function_name} code is vulnerable or not. | [
"String.prototype.ucfirst = function() {\n\treturn this.charAt(0).toUpperCase() + this.slice(1);\n}",
"function deleteObject(type, action, id, event) {\n\tvar destination = 'attributes';\n\tvar alternateDestinations = ['shadow_attributes', 'template_elements', 'taxonomies', 'objects', 'object_references'];\n\tif ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [50, 2062], "buggy_code_start_loc": [49, 2061], "filenames": ["app/Controller/AppController.php", "app/webroot/js/misp.js"], "fixing_code_end_loc": [50, 2062], "fixing_code_start_loc": [49, 2061], "message": "In the sharingGroupPopulateOrganisations function in app/webroot/js/misp.js in MISP 2.4.... | 1,141 |
Determine whether the {function_name} code is vulnerable or not. | [
"String.prototype.ucfirst = function() {\n\treturn this.charAt(0).toUpperCase() + this.slice(1);\n}",
"function deleteObject(type, action, id, event) {\n\tvar destination = 'attributes';\n\tvar alternateDestinations = ['shadow_attributes', 'template_elements', 'taxonomies', 'objects', 'object_references'];\n\tif ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [50, 2062], "buggy_code_start_loc": [49, 2061], "filenames": ["app/Controller/AppController.php", "app/webroot/js/misp.js"], "fixing_code_end_loc": [50, 2062], "fixing_code_start_loc": [49, 2061], "message": "In the sharingGroupPopulateOrganisations function in app/webroot/js/misp.js in MISP 2.4.... | 1,141 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [156, 128], "buggy_code_start_loc": [155, 128], "filenames": ["tensorflow/core/grappler/optimizers/auto_parallel.cc", "tensorflow/core/grappler/optimizers/auto_parallel_test.cc"], "fixing_code_end_loc": [156, 153], "fixing_code_start_loc": [155, 129], "message": "TensorFlow is an open source plat... | 1,142 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [156, 128], "buggy_code_start_loc": [155, 128], "filenames": ["tensorflow/core/grappler/optimizers/auto_parallel.cc", "tensorflow/core/grappler/optimizers/auto_parallel_test.cc"], "fixing_code_end_loc": [156, 153], "fixing_code_start_loc": [155, 129], "message": "TensorFlow is an open source plat... | 1,142 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [156, 128], "buggy_code_start_loc": [155, 128], "filenames": ["tensorflow/core/grappler/optimizers/auto_parallel.cc", "tensorflow/core/grappler/optimizers/auto_parallel_test.cc"], "fixing_code_end_loc": [156, 153], "fixing_code_start_loc": [155, 129], "message": "TensorFlow is an open source plat... | 1,142 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [156, 128], "buggy_code_start_loc": [155, 128], "filenames": ["tensorflow/core/grappler/optimizers/auto_parallel.cc", "tensorflow/core/grappler/optimizers/auto_parallel_test.cc"], "fixing_code_end_loc": [156, 153], "fixing_code_start_loc": [155, 129], "message": "TensorFlow is an open source plat... | 1,142 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * RELIC is an Efficient LIbrary for Cryptography\n * Copyright (C) 2007-2020 RELIC Authors\n *\n * This file is part of RELIC. RELIC is legal property of its developers,\n * whose names are not listed here. Please refer to the COPYRIGHT file\n * for contact information.\n *\n * RELIC is free software; you can... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
0,
1,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [560], "buggy_code_start_loc": [132], "filenames": ["src/cp/relic_cp_rsa.c"], "fixing_code_end_loc": [560], "fixing_code_start_loc": [132], "message": "In RELIC before 2021-04-03, there is a buffer overflow in PKCS#1 v1.5 signature verification because garbage bytes can be present.", "other": {"c... | 1,143 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * RELIC is an Efficient LIbrary for Cryptography\n * Copyright (C) 2007-2020 RELIC Authors\n *\n * This file is part of RELIC. RELIC is legal property of its developers,\n * whose names are not listed here. Please refer to the COPYRIGHT file\n * for contact information.\n *\n * RELIC is free software; you can... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [560], "buggy_code_start_loc": [132], "filenames": ["src/cp/relic_cp_rsa.c"], "fixing_code_end_loc": [560], "fixing_code_start_loc": [132], "message": "In RELIC before 2021-04-03, there is a buffer overflow in PKCS#1 v1.5 signature verification because garbage bytes can be present.", "other": {"c... | 1,143 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * These functions can be replaced via plugins. If plugins do not redefine these\n * functions, then these will be used instead.\n *\n * @package WordPress\n */",
"if ( ! function_exists( 'wp_set_current_user' ) ) :\n\t/**\n\t * Changes the current user by ID or name.\n\t *\n\t * Set $id to null and ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1407, 17], "buggy_code_start_loc": [1407, 16], "filenames": ["wp-includes/pluggable.php", "wp-includes/version.php"], "fixing_code_end_loc": [1416, 17], "fixing_code_start_loc": [1408, 16], "message": "In WordPress before 5.2.3, validation and sanitization of a URL in wp_validate_redirect in wp-... | 1,144 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * These functions can be replaced via plugins. If plugins do not redefine these\n * functions, then these will be used instead.\n *\n * @package WordPress\n */",
"if ( ! function_exists( 'wp_set_current_user' ) ) :\n\t/**\n\t * Changes the current user by ID or name.\n\t *\n\t * Set $id to null and ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1407, 17], "buggy_code_start_loc": [1407, 16], "filenames": ["wp-includes/pluggable.php", "wp-includes/version.php"], "fixing_code_end_loc": [1416, 17], "fixing_code_start_loc": [1408, 16], "message": "In WordPress before 5.2.3, validation and sanitization of a URL in wp_validate_redirect in wp-... | 1,144 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * WordPress Version\n *\n * Contains version information for the current WordPress release.\n *\n * @package WordPress\n * @since 1.1.0\n */",
"/**\n * The WordPress version string\n *\n * @global string $wp_version\n */",
"$wp_version = '5.3-alpha-45964';",
"\n/**\n * Holds the WordPress DB rev... | [
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1407, 17], "buggy_code_start_loc": [1407, 16], "filenames": ["wp-includes/pluggable.php", "wp-includes/version.php"], "fixing_code_end_loc": [1416, 17], "fixing_code_start_loc": [1408, 16], "message": "In WordPress before 5.2.3, validation and sanitization of a URL in wp_validate_redirect in wp-... | 1,144 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * WordPress Version\n *\n * Contains version information for the current WordPress release.\n *\n * @package WordPress\n * @since 1.1.0\n */",
"/**\n * The WordPress version string\n *\n * @global string $wp_version\n */",
"$wp_version = '5.3-alpha-45971';",
"\n/**\n * Holds the WordPress DB rev... | [
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [1407, 17], "buggy_code_start_loc": [1407, 16], "filenames": ["wp-includes/pluggable.php", "wp-includes/version.php"], "fixing_code_end_loc": [1416, 17], "fixing_code_start_loc": [1408, 16], "message": "In WordPress before 5.2.3, validation and sanitization of a URL in wp_validate_redirect in wp-... | 1,144 |
Determine whether the {function_name} code is vulnerable or not. | [
"const idrErr = require('../../utils/error')",
"class OrgControllerError extends idrErr.IDRError {\n orgDneParam (shortname) { // org\n const err = {}\n err.error = 'ORG_DNE_PARAM'\n err.message = `The '${shortname}' organization designated by the shortname parameter does not exist.`\n return err\n ... | [
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [21, 503, 273], "buggy_code_start_loc": [21, 503, 273], "filenames": ["src/controller/org.controller/error.js", "src/controller/org.controller/org.controller.js", "test/unit-tests/user/userUpdateTest.js"], "fixing_code_end_loc": [29, 508, 322], "fixing_code_start_loc": [22, 504, 274], "message": ... | 1,145 |
Determine whether the {function_name} code is vulnerable or not. | [
"const idrErr = require('../../utils/error')",
"class OrgControllerError extends idrErr.IDRError {\n orgDneParam (shortname) { // org\n const err = {}\n err.error = 'ORG_DNE_PARAM'\n err.message = `The '${shortname}' organization designated by the shortname parameter does not exist.`\n return err\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [21, 503, 273], "buggy_code_start_loc": [21, 503, 273], "filenames": ["src/controller/org.controller/error.js", "src/controller/org.controller/org.controller.js", "test/unit-tests/user/userUpdateTest.js"], "fixing_code_end_loc": [29, 508, 322], "fixing_code_start_loc": [22, 504, 274], "message": ... | 1,145 |
Determine whether the {function_name} code is vulnerable or not. | [
"require('dotenv').config()\nconst User = require('../../model/user')\nconst Org = require('../../model/org')\nconst logger = require('../../middleware/logger')\nconst argon2 = require('argon2')\nconst CONSTANTS = require('../../constants')\nconst cryptoRandomString = require('crypto-random-string')\nconst uuid = r... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [21, 503, 273], "buggy_code_start_loc": [21, 503, 273], "filenames": ["src/controller/org.controller/error.js", "src/controller/org.controller/org.controller.js", "test/unit-tests/user/userUpdateTest.js"], "fixing_code_end_loc": [29, 508, 322], "fixing_code_start_loc": [22, 504, 274], "message": ... | 1,145 |
Determine whether the {function_name} code is vulnerable or not. | [
"require('dotenv').config()\nconst User = require('../../model/user')\nconst Org = require('../../model/org')\nconst logger = require('../../middleware/logger')\nconst argon2 = require('argon2')\nconst CONSTANTS = require('../../constants')\nconst cryptoRandomString = require('crypto-random-string')\nconst uuid = r... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [21, 503, 273], "buggy_code_start_loc": [21, 503, 273], "filenames": ["src/controller/org.controller/error.js", "src/controller/org.controller/org.controller.js", "test/unit-tests/user/userUpdateTest.js"], "fixing_code_end_loc": [29, 508, 322], "fixing_code_start_loc": [22, 504, 274], "message": ... | 1,145 |
Determine whether the {function_name} code is vulnerable or not. | [
"const express = require('express')\nconst app = express()\nconst chai = require('chai')\nconst expect = chai.expect\nchai.use(require('chai-http'))",
"// Body Parser Middleware\napp.use(express.json()) // Allows us to handle raw JSON data\napp.use(express.urlencoded({ extended: false })) // Allows us to handle u... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [21, 503, 273], "buggy_code_start_loc": [21, 503, 273], "filenames": ["src/controller/org.controller/error.js", "src/controller/org.controller/org.controller.js", "test/unit-tests/user/userUpdateTest.js"], "fixing_code_end_loc": [29, 508, 322], "fixing_code_start_loc": [22, 504, 274], "message": ... | 1,145 |
Determine whether the {function_name} code is vulnerable or not. | [
"const express = require('express')\nconst app = express()\nconst chai = require('chai')\nconst expect = chai.expect\nchai.use(require('chai-http'))",
"// Body Parser Middleware\napp.use(express.json()) // Allows us to handle raw JSON data\napp.use(express.urlencoded({ extended: false })) // Allows us to handle u... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [21, 503, 273], "buggy_code_start_loc": [21, 503, 273], "filenames": ["src/controller/org.controller/error.js", "src/controller/org.controller/org.controller.js", "test/unit-tests/user/userUpdateTest.js"], "fixing_code_end_loc": [29, 508, 322], "fixing_code_start_loc": [22, 504, 274], "message": ... | 1,145 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/local/bin/perl\n# A very simple perl web server used by Webmin",
"# Require basic libraries\npackage miniserv;\nuse Socket;\nuse POSIX;\nuse Time::Local;\neval \"use Time::HiRes;\";",
"@itoa64 = split(//, \"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\");",
"# Find and read config ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [6055], "buggy_code_start_loc": [1257], "filenames": ["miniserv.pl"], "fixing_code_end_loc": [6068], "fixing_code_start_loc": [1257], "message": "Multiple cross-site scripting vulnerabilities in Webmin versions prior to 1.830 allows remote attackers to inject arbitrary web script or HTML via unsp... | 1,146 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/local/bin/perl\n# A very simple perl web server used by Webmin",
"# Require basic libraries\npackage miniserv;\nuse Socket;\nuse POSIX;\nuse Time::Local;\neval \"use Time::HiRes;\";",
"@itoa64 = split(//, \"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz\");",
"# Find and read config ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [6055], "buggy_code_start_loc": [1257], "filenames": ["miniserv.pl"], "fixing_code_end_loc": [6068], "fixing_code_start_loc": [1257], "message": "Multiple cross-site scripting vulnerabilities in Webmin versions prior to 1.830 allows remote attackers to inject arbitrary web script or HTML via unsp... | 1,146 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / BIFS codec sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [488], "buggy_code_start_loc": [430], "filenames": ["src/bifs/field_decode.c"], "fixing_code_end_loc": [495], "fixing_code_start_loc": [430], "message": "Use After Free in GitHub repository gpac/gpac prior to 2.1-DEV.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequire... | 1,147 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2012\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / BIFS codec sub-project\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [488], "buggy_code_start_loc": [430], "filenames": ["src/bifs/field_decode.c"], "fixing_code_end_loc": [495], "fixing_code_start_loc": [430], "message": "Use After Free in GitHub repository gpac/gpac prior to 2.1-DEV.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequire... | 1,147 |
Determine whether the {function_name} code is vulnerable or not. | [
"package io.swagger.generator.online;",
"import com.fasterxml.jackson.databind.JsonNode;\nimport io.swagger.codegen.*;\nimport io.swagger.generator.exception.ApiException;\nimport io.swagger.generator.exception.BadRequestException;\nimport io.swagger.generator.model.GeneratorInput;\nimport io.swagger.generator.mo... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [179], "buggy_code_start_loc": [17], "filenames": ["modules/swagger-generator/src/main/java/io/swagger/generator/online/Generator.java"], "fixing_code_end_loc": [178], "fixing_code_start_loc": [18], "message": "swagger-codegen is an open-source project which contains a template-driven engine to g... | 1,148 |
Determine whether the {function_name} code is vulnerable or not. | [
"package io.swagger.generator.online;",
"import com.fasterxml.jackson.databind.JsonNode;\nimport io.swagger.codegen.*;\nimport io.swagger.generator.exception.ApiException;\nimport io.swagger.generator.exception.BadRequestException;\nimport io.swagger.generator.model.GeneratorInput;\nimport io.swagger.generator.mo... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [179], "buggy_code_start_loc": [17], "filenames": ["modules/swagger-generator/src/main/java/io/swagger/generator/online/Generator.java"], "fixing_code_end_loc": [178], "fixing_code_start_loc": [18], "message": "swagger-codegen is an open-source project which contains a template-driven engine to g... | 1,148 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n Copyright (c) 2009-2017 Dave Gamble and cJSON contributors",
" Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1794, 537], "buggy_code_start_loc": [1784, 127], "filenames": ["cJSON.c", "tests/misc_tests.c"], "fixing_code_end_loc": [1799, 562], "fixing_code_start_loc": [1784, 128], "message": "DaveGamble/cJSON cJSON 1.7.8 is affected by: Improper Check for Unusual or Exceptional Conditions. The impact is:... | 1,149 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n Copyright (c) 2009-2017 Dave Gamble and cJSON contributors",
" Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1794, 537], "buggy_code_start_loc": [1784, 127], "filenames": ["cJSON.c", "tests/misc_tests.c"], "fixing_code_end_loc": [1799, 562], "fixing_code_start_loc": [1784, 128], "message": "DaveGamble/cJSON cJSON 1.7.8 is affected by: Improper Check for Unusual or Exceptional Conditions. The impact is:... | 1,149 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n Copyright (c) 2009-2017 Dave Gamble and cJSON contributors",
" Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1794, 537], "buggy_code_start_loc": [1784, 127], "filenames": ["cJSON.c", "tests/misc_tests.c"], "fixing_code_end_loc": [1799, 562], "fixing_code_start_loc": [1784, 128], "message": "DaveGamble/cJSON cJSON 1.7.8 is affected by: Improper Check for Unusual or Exceptional Conditions. The impact is:... | 1,149 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n Copyright (c) 2009-2017 Dave Gamble and cJSON contributors",
" Permission is hereby granted, free of charge, to any person obtaining a copy\n of this software and associated documentation files (the \"Software\"), to deal\n in the Software without restriction, including without limitation the rights\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1794, 537], "buggy_code_start_loc": [1784, 127], "filenames": ["cJSON.c", "tests/misc_tests.c"], "fixing_code_end_loc": [1799, 562], "fixing_code_start_loc": [1784, 128], "message": "DaveGamble/cJSON cJSON 1.7.8 is affected by: Improper Check for Unusual or Exceptional Conditions. The impact is:... | 1,149 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * @file parser.c\n * @author Radek Krejci <rkrejci@cesnet.cz>\n * @brief common libyang parsers routines implementations\n *\n * Copyright (c) 2015-2017 CESNET, z.s.p.o.\n *\n * This source code is licensed under BSD 3-Clause License (the \"License\").\n * You may not use this file except in compliance with ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1025], "buggy_code_start_loc": [1023], "filenames": ["src/parser.c"], "fixing_code_end_loc": [1028], "fixing_code_start_loc": [1024], "message": "In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type \"iden... | 1,150 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * @file parser.c\n * @author Radek Krejci <rkrejci@cesnet.cz>\n * @brief common libyang parsers routines implementations\n *\n * Copyright (c) 2015-2017 CESNET, z.s.p.o.\n *\n * This source code is licensed under BSD 3-Clause License (the \"License\").\n * You may not use this file except in compliance with ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1025], "buggy_code_start_loc": [1023], "filenames": ["src/parser.c"], "fixing_code_end_loc": [1028], "fixing_code_start_loc": [1024], "message": "In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type \"iden... | 1,150 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [91], "buggy_code_start_loc": [90], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/mandatory/XWikiCommentsDocumentInitializer.java"], "fixing_code_end_loc": [91], "fixing_code_start_loc": [90], "message": "XWiki Platform is a generic wiki platform. ... | 1,151 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * See the NOTICE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [91], "buggy_code_start_loc": [90], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/internal/mandatory/XWikiCommentsDocumentInitializer.java"], "fixing_code_end_loc": [91], "fixing_code_start_loc": [90], "message": "XWiki Platform is a generic wiki platform. ... | 1,151 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * eval.c: Express... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [3880, 66, 751], "buggy_code_start_loc": [3874, 66, 751], "filenames": ["src/eval.c", "src/testdir/test_lambda.vim", "src/version.c"], "fixing_code_end_loc": [3882, 69, 754], "fixing_code_start_loc": [3874, 67, 752], "message": "vim is vulnerable to Heap-based Buffer Overflow", "other": {"cve": {... | 1,152 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"/*\n * eval.c: Express... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [3880, 66, 751], "buggy_code_start_loc": [3874, 66, 751], "filenames": ["src/eval.c", "src/testdir/test_lambda.vim", "src/version.c"], "fixing_code_end_loc": [3882, 69, 754], "fixing_code_start_loc": [3874, 67, 752], "message": "vim is vulnerable to Heap-based Buffer Overflow", "other": {"cve": {... | 1,152 |
Determine whether the {function_name} code is vulnerable or not. | [
"\" Test for lambda and closure",
"source check.vim",
"func Test_lambda_feature()\n call assert_equal(1, has('lambda'))\nendfunc",
"func Test_lambda_with_filter()\n let s:x = 2\n call assert_equal([2, 3], filter([1, 2, 3], {i, v -> v >= s:x}))\nendfunc",
"func Test_lambda_with_map()\n let s:x = 1\n cal... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [3880, 66, 751], "buggy_code_start_loc": [3874, 66, 751], "filenames": ["src/eval.c", "src/testdir/test_lambda.vim", "src/version.c"], "fixing_code_end_loc": [3882, 69, 754], "fixing_code_start_loc": [3874, 67, 752], "message": "vim is vulnerable to Heap-based Buffer Overflow", "other": {"cve": {... | 1,152 |
Determine whether the {function_name} code is vulnerable or not. | [
"\" Test for lambda and closure",
"source check.vim",
"func Test_lambda_feature()\n call assert_equal(1, has('lambda'))\nendfunc",
"func Test_lambda_with_filter()\n let s:x = 2\n call assert_equal([2, 3], filter([1, 2, 3], {i, v -> v >= s:x}))\nendfunc",
"func Test_lambda_with_map()\n let s:x = 1\n cal... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [3880, 66, 751], "buggy_code_start_loc": [3874, 66, 751], "filenames": ["src/eval.c", "src/testdir/test_lambda.vim", "src/version.c"], "fixing_code_end_loc": [3882, 69, 754], "fixing_code_start_loc": [3874, 67, 752], "message": "vim is vulnerable to Heap-based Buffer Overflow", "other": {"cve": {... | 1,152 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"#include \"vim.h\"",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [3880, 66, 751], "buggy_code_start_loc": [3874, 66, 751], "filenames": ["src/eval.c", "src/testdir/test_lambda.vim", "src/version.c"], "fixing_code_end_loc": [3882, 69, 754], "fixing_code_start_loc": [3874, 67, 752], "message": "vim is vulnerable to Heap-based Buffer Overflow", "other": {"cve": {... | 1,152 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */",
"#include \"vim.h\"",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [3880, 66, 751], "buggy_code_start_loc": [3874, 66, 751], "filenames": ["src/eval.c", "src/testdir/test_lambda.vim", "src/version.c"], "fixing_code_end_loc": [3882, 69, 754], "fixing_code_start_loc": [3874, 67, 752], "message": "vim is vulnerable to Heap-based Buffer Overflow", "other": {"cve": {... | 1,152 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * GRUB -- GRand Unified Bootloader\n * Copyright (C) 2002,2003,2004,2006,2007,2008,2009,2010 Free Software Foundation, Inc.\n *\n * GRUB is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, ei... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [454], "buggy_code_start_loc": [453], "filenames": ["shlr/grub/kern/disk.c"], "fixing_code_end_loc": [461], "fixing_code_start_loc": [453], "message": "The grub_memmove function in shlr/grub/kern/misc.c in radare2 1.5.0 allows remote attackers to cause a denial of service (heap-based buffer overf... | 1,153 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * GRUB -- GRand Unified Bootloader\n * Copyright (C) 2002,2003,2004,2006,2007,2008,2009,2010 Free Software Foundation, Inc.\n *\n * GRUB is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, ei... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [454], "buggy_code_start_loc": [453], "filenames": ["shlr/grub/kern/disk.c"], "fixing_code_end_loc": [461], "fixing_code_start_loc": [453], "message": "The grub_memmove function in shlr/grub/kern/misc.c in radare2 1.5.0 allows remote attackers to cause a denial of service (heap-based buffer overf... | 1,153 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2017-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2017-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2017-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2017-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2014-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2014-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2015-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2015-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2015-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"/******************************************************************************\n** Copyright (c) 2015-2018, Intel Corporation **\n** All rights reserved. **\n** ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"master-1.10-47"
] | [
0
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"master-1.10-48"
] | [
1
] | PreciseBugs | {"buggy_code_end_loc": [82, 66, 79, 209, 134, 2], "buggy_code_start_loc": [81, 65, 78, 120, 81, 1], "filenames": ["samples/edge/common_edge_proxy.h", "samples/edge/edge_proxy_common.c", "samples/pyfr/pyfr_driver_asp_reg.c", "src/generator_spgemm_csc_reader.c", "src/generator_spgemm_csr_reader.c", "version.txt"], "fixin... | 1,154 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n\t/**\n\t * @package toolkit\n\t */\n\t/**\n\t * The `AuthorManager` class is responsible for managing all Author objects\n\t * in Symphony. Unlike other Manager objects, Authors are stored in the\n\t * database in `tbl_authors` and not on the file system. CRUD methods are\n\t * implemented to allow Authors... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [105], "buggy_code_start_loc": [92], "filenames": ["symphony/lib/toolkit/class.authormanager.php"], "fixing_code_end_loc": [107], "fixing_code_start_loc": [93], "message": "SQL injection vulnerability in Symphony CMS before 2.3.2 allows remote authenticated users to execute arbitrary SQL commands... | 1,155 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n\t/**\n\t * @package toolkit\n\t */\n\t/**\n\t * The `AuthorManager` class is responsible for managing all Author objects\n\t * in Symphony. Unlike other Manager objects, Authors are stored in the\n\t * database in `tbl_authors` and not on the file system. CRUD methods are\n\t * implemented to allow Authors... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [105], "buggy_code_start_loc": [92], "filenames": ["symphony/lib/toolkit/class.authormanager.php"], "fixing_code_end_loc": [107], "fixing_code_start_loc": [93], "message": "SQL injection vulnerability in Symphony CMS before 2.3.2 allows remote authenticated users to execute arbitrary SQL commands... | 1,155 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vim: set expandtab sw=4 ts=4 sts=4: */",
"/**\n * @var RTE a JavaScript namespace containing the functionality\n * for Routines, Triggers and Events.\n *\n * This namespace is extended by the functionality required\n * to handle a specific item (a routine, tr... | [
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [322, 301], "buggy_code_start_loc": [321, 124], "filenames": ["js/rte/common.js", "libraries/rte/rte_list.lib.php"], "fixing_code_end_loc": [322, 301], "fixing_code_start_loc": [321, 124], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 3.5.x before 3.5.3 allow remot... | 1,156 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* vim: set expandtab sw=4 ts=4 sts=4: */",
"/**\n * @var RTE a JavaScript namespace containing the functionality\n * for Routines, Triggers and Events.\n *\n * This namespace is extended by the functionality required\n * to handle a specific item (a routine, tr... | [
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [322, 301], "buggy_code_start_loc": [321, 124], "filenames": ["js/rte/common.js", "libraries/rte/rte_list.lib.php"], "fixing_code_end_loc": [322, 301], "fixing_code_start_loc": [321, 124], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 3.5.x before 3.5.3 allow remot... | 1,156 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.