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.
[ "/*\n* ECC Domain Parameters\n*\n* (C) 2007 Falko Strenzke, FlexSecure GmbH\n* 2008-2010 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*/", "#ifndef BOTAN_ECC_DOMAIN_PARAMETERS_H_\n#define BOTAN_ECC_DOMAIN_PARAMETERS_H_", "#include <botan/point_gfp.h>\n#include <bota...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 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...
PreciseBugs
{"buggy_code_end_loc": [19, 202, 482, 209, 237], "buggy_code_start_loc": [19, 77, 86, 206, 54], "filenames": ["doc/security.rst", "src/lib/pubkey/dsa/dsa.cpp", "src/lib/pubkey/ec_group/ec_group.cpp", "src/lib/pubkey/ec_group/ec_group.h", "src/lib/pubkey/ecdsa/ecdsa.cpp"], "fixing_code_end_loc": [28, 220, 503, 220, 252]...
20
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n* ECC Domain Parameters\n*\n* (C) 2007 Falko Strenzke, FlexSecure GmbH\n* 2008-2010 Jack Lloyd\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*/", "#ifndef BOTAN_ECC_DOMAIN_PARAMETERS_H_\n#define BOTAN_ECC_DOMAIN_PARAMETERS_H_", "#include <botan/point_gfp.h>\n#include <bota...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [19, 202, 482, 209, 237], "buggy_code_start_loc": [19, 77, 86, 206, 54], "filenames": ["doc/security.rst", "src/lib/pubkey/dsa/dsa.cpp", "src/lib/pubkey/ec_group/ec_group.cpp", "src/lib/pubkey/ec_group/ec_group.h", "src/lib/pubkey/ecdsa/ecdsa.cpp"], "fixing_code_end_loc": [28, 220, 503, 220, 252]...
20
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n* ECDSA implemenation\n* (C) 2007 Manuel Hartl, FlexSecure GmbH\n* 2007 Falko Strenzke, FlexSecure GmbH\n* 2008-2010,2015,2016,2018 Jack Lloyd\n* 2016 René Korthaus\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*/", "#include <botan/ecdsa.h>\n#include <botan/internal...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [19, 202, 482, 209, 237], "buggy_code_start_loc": [19, 77, 86, 206, 54], "filenames": ["doc/security.rst", "src/lib/pubkey/dsa/dsa.cpp", "src/lib/pubkey/ec_group/ec_group.cpp", "src/lib/pubkey/ec_group/ec_group.h", "src/lib/pubkey/ecdsa/ecdsa.cpp"], "fixing_code_end_loc": [28, 220, 503, 220, 252]...
20
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n* ECDSA implemenation\n* (C) 2007 Manuel Hartl, FlexSecure GmbH\n* 2007 Falko Strenzke, FlexSecure GmbH\n* 2008-2010,2015,2016,2018 Jack Lloyd\n* 2016 René Korthaus\n*\n* Botan is released under the Simplified BSD License (see license.txt)\n*/", "#include <botan/ecdsa.h>\n#include <botan/internal...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [19, 202, 482, 209, 237], "buggy_code_start_loc": [19, 77, 86, 206, 54], "filenames": ["doc/security.rst", "src/lib/pubkey/dsa/dsa.cpp", "src/lib/pubkey/ec_group/ec_group.cpp", "src/lib/pubkey/ec_group/ec_group.h", "src/lib/pubkey/ecdsa/ecdsa.cpp"], "fixing_code_end_loc": [28, 220, 503, 220, 252]...
20
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: BSD-2-Clause\n/*\n * Copyright (c) 2015-2016, Linaro Limited\n * Copyright (c) 2014, STMicroelectronics International N.V.\n */", "#include <assert.h>\n#include <bench.h>\n#include <compiler.h>\n#include <initcall.h>\n#include <io.h>\n#include <kernel/linker.h>\n#include <kernel/msg_p...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [111], "buggy_code_start_loc": [103], "filenames": ["core/arch/arm/tee/entry_std.c"], "fixing_code_end_loc": [121], "fixing_code_start_loc": [104], "message": "Linaro/OP-TEE OP-TEE Prior to version v3.4.0 is affected by: Boundary checks. The impact is: This could lead to corruption of any memory ...
21
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: BSD-2-Clause\n/*\n * Copyright (c) 2015-2016, Linaro Limited\n * Copyright (c) 2014, STMicroelectronics International N.V.\n */", "#include <assert.h>\n#include <bench.h>\n#include <compiler.h>\n#include <initcall.h>\n#include <io.h>\n#include <kernel/linker.h>\n#include <kernel/msg_p...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [111], "buggy_code_start_loc": [103], "filenames": ["core/arch/arm/tee/entry_std.c"], "fixing_code_end_loc": [121], "fixing_code_start_loc": [104], "message": "Linaro/OP-TEE OP-TEE Prior to version v3.4.0 is affected by: Boundary checks. The impact is: This could lead to corruption of any memory ...
21
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, 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, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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, 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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 * @category Pim...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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 * @category Pim...
[ 1, 1, 1, 1, 1, 1, 1, 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": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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, 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": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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, 0, 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, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
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 ]
PreciseBugs
{"buggy_code_end_loc": [969, 357, 187, 142, 95, 202, 27], "buggy_code_start_loc": [35, 34, 86, 141, 18, 18, 27], "filenames": ["bundles/AdminBundle/Controller/Admin/Asset/AssetHelperController.php", "bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/j...
22
Determine whether the {function_name} code is vulnerable or not.
[ "using System.IO;\nusing System.Linq;\nusing System.Net.Http;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing Markdig;\nusing Microsoft.AspNetCore.Hosting;\nusing Microsoft.AspNetCore.Mvc;\nusing Ombi.Attributes;", "namespace Ombi.Controllers.V2\n{\n [Admin]\n public class SystemController : ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [65], "buggy_code_start_loc": [47], "filenames": ["src/Ombi/Controllers/V2/SystemController.cs"], "fixing_code_end_loc": [74], "fixing_code_start_loc": [47], "message": "Ombi is an open source application which allows users to request specific media from popular self-hosted streaming servers. Ver...
23
Determine whether the {function_name} code is vulnerable or not.
[ "using System.IO;\nusing System.Linq;\nusing System.Net.Http;\nusing System.Threading;\nusing System.Threading.Tasks;\nusing Markdig;\nusing Microsoft.AspNetCore.Hosting;\nusing Microsoft.AspNetCore.Mvc;\nusing Ombi.Attributes;", "namespace Ombi.Controllers.V2\n{\n [Admin]\n public class SystemController : ...
[ 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": [65], "buggy_code_start_loc": [47], "filenames": ["src/Ombi/Controllers/V2/SystemController.cs"], "fixing_code_end_loc": [74], "fixing_code_start_loc": [47], "message": "Ombi is an open source application which allows users to request specific media from popular self-hosted streaming servers. Ver...
23
Determine whether the {function_name} code is vulnerable or not.
[ "![Rdiffweb Banner](https://gitlab.com/ikus-soft/rdiffweb/-/raw/master/doc/_static/banner.png)", "<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [135, 159, 210], "buggy_code_start_loc": [135, 90, 85], "filenames": ["README.md", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_general.py"], "fixing_code_end_loc": [137, 171, 231], "fixing_code_start_loc": [136, 91, 85], "message": "Weak Password Require...
24
Determine whether the {function_name} code is vulnerable or not.
[ "![Rdiffweb Banner](https://gitlab.com/ikus-soft/rdiffweb/-/raw/master/doc/_static/banner.png)", "<p align=\"center\">\n<strong>\n<a href=\"https://www.rdiffweb.org\">website</a>\n• <a href=\"https://www.ikus-soft.com/archive/rdiffweb/doc/latest/html/\">docs</a>\n• <a href=\"https://groups.google.com/d/forum/rdif...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [135, 159, 210], "buggy_code_start_loc": [135, 90, 85], "filenames": ["README.md", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_general.py"], "fixing_code_end_loc": [137, 171, 231], "fixing_code_start_loc": [136, 91, 85], "message": "Weak Password Require...
24
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program 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, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [135, 159, 210], "buggy_code_start_loc": [135, 90, 85], "filenames": ["README.md", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_general.py"], "fixing_code_end_loc": [137, 171, 231], "fixing_code_start_loc": [136, 91, 85], "message": "Weak Password Require...
24
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program 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, eith...
[ 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": [135, 159, 210], "buggy_code_start_loc": [135, 90, 85], "filenames": ["README.md", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_general.py"], "fixing_code_end_loc": [137, 171, 231], "fixing_code_start_loc": [136, 91, 85], "message": "Weak Password Require...
24
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program 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, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [135, 159, 210], "buggy_code_start_loc": [135, 90, 85], "filenames": ["README.md", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_general.py"], "fixing_code_end_loc": [137, 171, 231], "fixing_code_start_loc": [136, 91, 85], "message": "Weak Password Require...
24
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n# rdiffweb, A web interface to rdiff-backup repositories\n# Copyright (C) 2012-2021 rdiffweb contributors\n#\n# This program 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, eith...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [135, 159, 210], "buggy_code_start_loc": [135, 90, 85], "filenames": ["README.md", "rdiffweb/controller/page_pref_general.py", "rdiffweb/controller/tests/test_page_prefs_general.py"], "fixing_code_end_loc": [137, 171, 231], "fixing_code_start_loc": [136, 91, 85], "message": "Weak Password Require...
24
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * C_Document.class.php\n *\n * @package OpenEMR\n * @link https://www.open-emr.org\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2019 Brady Miller <brady.g.miller@gmail.com>\n * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU Gener...
[ 1, 1, 1, 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, 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...
PreciseBugs
{"buggy_code_end_loc": [303], "buggy_code_start_loc": [277], "filenames": ["controllers/C_Document.class.php"], "fixing_code_end_loc": [311], "fixing_code_start_loc": [276], "message": "Unrestricted Upload of File with Dangerous Type in GitHub repository openemr/openemr prior to 7.0.0.2.", "other": {"cve": {"cisaAction...
25
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * C_Document.class.php\n *\n * @package OpenEMR\n * @link https://www.open-emr.org\n * @author Brady Miller <brady.g.miller@gmail.com>\n * @copyright Copyright (c) 2019 Brady Miller <brady.g.miller@gmail.com>\n * @license https://github.com/openemr/openemr/blob/master/LICENSE GNU Gener...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [303], "buggy_code_start_loc": [277], "filenames": ["controllers/C_Document.class.php"], "fixing_code_end_loc": [311], "fixing_code_start_loc": [276], "message": "Unrestricted Upload of File with Dangerous Type in GitHub repository openemr/openemr prior to 7.0.0.2.", "other": {"cve": {"cisaAction...
25
Determine whether the {function_name} code is vulnerable or not.
[ "# Additional MIME types that you'd like nginx to handle go in here\ntypes {\n text/csv csv;\n application/wasm wasm;\n}", "upstream discourse {\n server unix:/var/www/discourse/tmp/sockets/nginx.http.sock;\n server unix:/var/www/discourse/tmp/sockets/nginx.https.sock;\n}", "# inactive means we keep stu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [251], "buggy_code_start_loc": [250], "filenames": ["config/nginx.sample.conf"], "fixing_code_end_loc": [249], "fixing_code_start_loc": [249], "message": "Discourse is the an open source discussion platform. In affected versions a maliciously crafted request for static assets could cause error re...
26
Determine whether the {function_name} code is vulnerable or not.
[ "# Additional MIME types that you'd like nginx to handle go in here\ntypes {\n text/csv csv;\n application/wasm wasm;\n}", "upstream discourse {\n server unix:/var/www/discourse/tmp/sockets/nginx.http.sock;\n server unix:/var/www/discourse/tmp/sockets/nginx.https.sock;\n}", "# inactive means we keep stu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [251], "buggy_code_start_loc": [250], "filenames": ["config/nginx.sample.conf"], "fixing_code_end_loc": [249], "fixing_code_start_loc": [249], "message": "Discourse is the an open source discussion platform. In affected versions a maliciously crafted request for static assets could cause error re...
26
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,\n * Brian Westrich, Erik Ramfelt, Ertan Deniz, Jean-Baptiste Quenot,\n * Luca Domenico Milanesio, R. Tyler Ballance, Stephen Connolly, Tom Huybrechts,\n * id:cactusman, Yahoo! Inc., Andrew Bayer, Manufacture Francai...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1943, 133], "buggy_code_start_loc": [1942, 25], "filenames": ["core/src/main/java/hudson/model/AbstractProject.java", "test/src/test/java/hudson/tasks/BuildTriggerTest.java"], "fixing_code_end_loc": [1950, 178], "fixing_code_start_loc": [1942, 26], "message": "BuildTrigger in Jenkins before 1.55...
27
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2011, Sun Microsystems, Inc., Kohsuke Kawaguchi,\n * Brian Westrich, Erik Ramfelt, Ertan Deniz, Jean-Baptiste Quenot,\n * Luca Domenico Milanesio, R. Tyler Ballance, Stephen Connolly, Tom Huybrechts,\n * id:cactusman, Yahoo! Inc., Andrew Bayer, Manufacture Francai...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1943, 133], "buggy_code_start_loc": [1942, 25], "filenames": ["core/src/main/java/hudson/model/AbstractProject.java", "test/src/test/java/hudson/tasks/BuildTriggerTest.java"], "fixing_code_end_loc": [1950, 178], "fixing_code_start_loc": [1942, 26], "message": "BuildTrigger in Jenkins before 1.55...
27
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n *\n * Copyright (c) 2004-2009, Sun Microsystems, Inc., Alan Harder\n *\n * 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 wit...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1943, 133], "buggy_code_start_loc": [1942, 25], "filenames": ["core/src/main/java/hudson/model/AbstractProject.java", "test/src/test/java/hudson/tasks/BuildTriggerTest.java"], "fixing_code_end_loc": [1950, 178], "fixing_code_start_loc": [1942, 26], "message": "BuildTrigger in Jenkins before 1.55...
27
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n *\n * Copyright (c) 2004-2009, Sun Microsystems, Inc., Alan Harder\n *\n * 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 wit...
[ 1, 1, 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": [1943, 133], "buggy_code_start_loc": [1942, 25], "filenames": ["core/src/main/java/hudson/model/AbstractProject.java", "test/src/test/java/hudson/tasks/BuildTriggerTest.java"], "fixing_code_end_loc": [1950, 178], "fixing_code_start_loc": [1942, 26], "message": "BuildTrigger in Jenkins before 1.55...
27
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2018 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, 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...
PreciseBugs
{"buggy_code_end_loc": [442], "buggy_code_start_loc": [441], "filenames": ["tensorflow/lite/kernels/internal/types.h"], "fixing_code_end_loc": [442], "fixing_code_start_loc": [441], "message": "In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two te...
28
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2018 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, 1, 1, 1, 1, 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": [442], "buggy_code_start_loc": [441], "filenames": ["tensorflow/lite/kernels/internal/types.h"], "fixing_code_end_loc": [442], "fixing_code_start_loc": [441], "message": "In tensorflow-lite before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, when determining the common dimension size of two te...
28
Determine whether the {function_name} code is vulnerable or not.
[ "# PrivateAddressCheck", "[![Build Status](https://travis-ci.org/jtdowney/private_address_check.svg?branch=master)](https://travis-ci.org/jtdowney/private_address_check)\n[![Code Climate](https://codeclimate.com/github/jtdowney/private_address_check/badges/gpa.svg)](https://codeclimate.com/github/jtdowney/private...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [69, 23, 10], "buggy_code_start_loc": [63, 17, 5], "filenames": ["README.md", "lib/private_address_check/tcpsocket_ext.rb", "test/private_address_check/tcpsocket_ext_test.rb"], "fixing_code_end_loc": [78, 21, 15], "fixing_code_start_loc": [64, 17, 6], "message": "private_address_check ruby gem be...
29
Determine whether the {function_name} code is vulnerable or not.
[ "# PrivateAddressCheck", "[![Build Status](https://travis-ci.org/jtdowney/private_address_check.svg?branch=master)](https://travis-ci.org/jtdowney/private_address_check)\n[![Code Climate](https://codeclimate.com/github/jtdowney/private_address_check/badges/gpa.svg)](https://codeclimate.com/github/jtdowney/private...
[ 1, 1, 1, 1, 1, 1, 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": [69, 23, 10], "buggy_code_start_loc": [63, 17, 5], "filenames": ["README.md", "lib/private_address_check/tcpsocket_ext.rb", "test/private_address_check/tcpsocket_ext_test.rb"], "fixing_code_end_loc": [78, 21, 15], "fixing_code_start_loc": [64, 17, 6], "message": "private_address_check ruby gem be...
29
Determine whether the {function_name} code is vulnerable or not.
[ "module PrivateAddressCheck\n PrivateConnectionAttemptedError = Class.new(StandardError)", " module_function", " def only_public_connections\n Thread.current[:private_address_check] = true\n yield\n ensure\n Thread.current[:private_address_check] = false\n end\nend", "TCPSocket.class_eval do\n ...
[ 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [69, 23, 10], "buggy_code_start_loc": [63, 17, 5], "filenames": ["README.md", "lib/private_address_check/tcpsocket_ext.rb", "test/private_address_check/tcpsocket_ext_test.rb"], "fixing_code_end_loc": [78, 21, 15], "fixing_code_start_loc": [64, 17, 6], "message": "private_address_check ruby gem be...
29
Determine whether the {function_name} code is vulnerable or not.
[ "module PrivateAddressCheck\n PrivateConnectionAttemptedError = Class.new(StandardError)", " module_function", " def only_public_connections\n Thread.current[:private_address_check] = true\n yield\n ensure\n Thread.current[:private_address_check] = false\n end\nend", "TCPSocket.class_eval do\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [69, 23, 10], "buggy_code_start_loc": [63, 17, 5], "filenames": ["README.md", "lib/private_address_check/tcpsocket_ext.rb", "test/private_address_check/tcpsocket_ext_test.rb"], "fixing_code_end_loc": [78, 21, 15], "fixing_code_start_loc": [64, 17, 6], "message": "private_address_check ruby gem be...
29
Determine whether the {function_name} code is vulnerable or not.
[ "require 'test_helper'\nrequire 'private_address_check/tcpsocket_ext'", "class TCPSocketExtTest < Minitest::Test\n def test_private_address", "", " assert_raises PrivateAddressCheck::PrivateConnectionAttemptedError do\n PrivateAddressCheck.only_public_connections do", " TCPSocket.new(\"local...
[ 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [69, 23, 10], "buggy_code_start_loc": [63, 17, 5], "filenames": ["README.md", "lib/private_address_check/tcpsocket_ext.rb", "test/private_address_check/tcpsocket_ext_test.rb"], "fixing_code_end_loc": [78, 21, 15], "fixing_code_start_loc": [64, 17, 6], "message": "private_address_check ruby gem be...
29
Determine whether the {function_name} code is vulnerable or not.
[ "require 'test_helper'\nrequire 'private_address_check/tcpsocket_ext'", "class TCPSocketExtTest < Minitest::Test\n def test_private_address", " server = TCPServer.new(63453)\n thread = Thread.start { server.accept }", " assert_raises PrivateAddressCheck::PrivateConnectionAttemptedError do\n Pri...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [69, 23, 10], "buggy_code_start_loc": [63, 17, 5], "filenames": ["README.md", "lib/private_address_check/tcpsocket_ext.rb", "test/private_address_check/tcpsocket_ext_test.rb"], "fixing_code_end_loc": [78, 21, 15], "fixing_code_start_loc": [64, 17, 6], "message": "private_address_check ruby gem be...
29
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\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": [2904], "buggy_code_start_loc": [1912], "filenames": ["coders/pdf.c"], "fixing_code_end_loc": [2913], "fixing_code_start_loc": [1913], "message": "In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.", "other": {"cve": {"ci...
30
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\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": [2904], "buggy_code_start_loc": [1912], "filenames": ["coders/pdf.c"], "fixing_code_end_loc": [2913], "fixing_code_start_loc": [1913], "message": "In ImageMagick before 7.0.8-25 and GraphicsMagick through 1.3.31, several memory leaks exist in WritePDFImage in coders/pdf.c.", "other": {"cve": {"ci...
30
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007 Oracle. All rights reserved.\n *\n * This software is available to you under a choice of one of two\n * licenses. You may choose to be licensed under the terms of the GNU\n * General Public License (GPL) Version 2, available from the file\n * COPYING in the main directory of this source...
[ 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, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [187], "buggy_code_start_loc": [186], "filenames": ["net/rds/rdma.c"], "fixing_code_end_loc": [187], "fixing_code_start_loc": [186], "message": "A NULL pointer dereference was found in the net/rds/rdma.c __rds_rdma_map() function in the Linux kernel before 4.14.7 allowing local attackers to cause...
31
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007 Oracle. All rights reserved.\n *\n * This software is available to you under a choice of one of two\n * licenses. You may choose to be licensed under the terms of the GNU\n * General Public License (GPL) Version 2, available from the file\n * COPYING in the main directory of this source...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [187], "buggy_code_start_loc": [186], "filenames": ["net/rds/rdma.c"], "fixing_code_end_loc": [187], "fixing_code_start_loc": [186], "message": "A NULL pointer dereference was found in the net/rds/rdma.c __rds_rdma_map() function in the Linux kernel before 4.14.7 allowing local attackers to cause...
31
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/drivers/block/floppy.c\n *\n * Copyright (C) 1991, 1992 Linus Torvalds\n * Copyright (C) 1993, 1994 Alain Knaff\n * Copyright (C) 1998 Alan Cox\n */", "/*\n * 02.12.91 - Changed to static variables to indicate need for reset\n * and recalibrate. This makes some things easier (output_byte reset...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3071], "buggy_code_start_loc": [3070], "filenames": ["drivers/block/floppy.c"], "fixing_code_end_loc": [3074], "fixing_code_start_loc": [3070], "message": "The raw_cmd_copyout function in drivers/block/floppy.c in the Linux kernel through 3.14.3 does not properly restrict access to certain point...
32
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/drivers/block/floppy.c\n *\n * Copyright (C) 1991, 1992 Linus Torvalds\n * Copyright (C) 1993, 1994 Alain Knaff\n * Copyright (C) 1998 Alan Cox\n */", "/*\n * 02.12.91 - Changed to static variables to indicate need for reset\n * and recalibrate. This makes some things easier (output_byte reset...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3071], "buggy_code_start_loc": [3070], "filenames": ["drivers/block/floppy.c"], "fixing_code_end_loc": [3074], "fixing_code_start_loc": [3070], "message": "The raw_cmd_copyout function in drivers/block/floppy.c in the Linux kernel through 3.14.3 does not properly restrict access to certain point...
32
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com\n * Written by Alex Tomas <alex@clusterfs.com>\n *\n * Architecture independence:\n * Copyright (c) 2005, Bull S.A.\n * Written by Pierre Peiffer <pierre.peiffer@bull.net>\n *\n * This program is free software; you can redistribute i...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3656], "buggy_code_start_loc": [53], "filenames": ["fs/ext4/extents.c"], "fixing_code_end_loc": [3691], "fixing_code_start_loc": [54], "message": "Race condition in fs/ext4/extents.c in the Linux kernel before 3.4.16 allows local users to obtain sensitive information from a deleted file by readi...
33
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com\n * Written by Alex Tomas <alex@clusterfs.com>\n *\n * Architecture independence:\n * Copyright (c) 2005, Bull S.A.\n * Written by Pierre Peiffer <pierre.peiffer@bull.net>\n *\n * This program is free software; you can redistribute i...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [3656], "buggy_code_start_loc": [53], "filenames": ["fs/ext4/extents.c"], "fixing_code_end_loc": [3691], "fixing_code_start_loc": [54], "message": "Race condition in fs/ext4/extents.c in the Linux kernel before 3.4.16 allows local users to obtain sensitive information from a deleted file by readi...
33
Determine whether the {function_name} code is vulnerable or not.
[ "<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/onlineusers','GEO detection configuration');?></h1>", "<?php if (isset($errors)) : ?>\n\t<?php include(erLhcoreClassDesign::designtpl('lhkernel/validation_error.tpl.php'));?>\n<?php endif; ?>", "<?php if (isset($updated) && $up...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "<h1><?php echo erTranslationClassLhTranslation::getInstance()->getTranslation('chat/onlineusers','GEO detection configuration');?></h1>", "<?php if (isset($errors)) : ?>\n\t<?php include(erLhcoreClassDesign::designtpl('lhkernel/validation_error.tpl.php'));?>\n<?php endif; ?>", "<?php if (isset($updated) && $up...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.\n * @license http://ez.no/licenses/new_bsd New BSD License\n * @version 1.8\n * @filesource\n * @package Base\n */", "/**\n * Provides a selection of static independent methods to provide functionality\n * for file and file sys...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @copyright Copyright (C) 2005-2009 eZ Systems AS. All rights reserved.\n * @license http://ez.no/licenses/new_bsd New BSD License\n * @version 1.8\n * @filesource\n * @package Base\n */", "/**\n * Provides a selection of static independent methods to provide functionality\n * for file and file sys...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * File containing the ezcConsoleOption class.\n *\n * @package ConsoleTools\n * @version 1.6.1\n * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.\n * @license http://ez.no/licenses/new_bsd New BSD License\n * @filesource\n */", "/**\n * Objects of this class store data about ...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * File containing the ezcConsoleOption class.\n *\n * @package ConsoleTools\n * @version 1.6.1\n * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.\n * @license http://ez.no/licenses/new_bsd New BSD License\n * @filesource\n */", "/**\n * Objects of this class store data about ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "$response = erLhcoreClassChatEventDispatcher::getInstance()->dispatch('chat.geoconfiguration', array());", "$tpl = erLhcoreClassTemplate::getInstance( 'lhchat/geoconfiguration.tpl.php');", "$geoData = erLhcoreClassModelChatConfig::fetch('geo_data');\n$data = (array)$geoData->data;", "$geoLocationD...
[ 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, 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 ]
PreciseBugs
{"buggy_code_end_loc": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "$response = erLhcoreClassChatEventDispatcher::getInstance()->dispatch('chat.geoconfiguration', array());", "$tpl = erLhcoreClassTemplate::getInstance( 'lhchat/geoconfiguration.tpl.php');", "$geoData = erLhcoreClassModelChatConfig::fetch('geo_data');\n$data = (array)$geoData->data;", "$geoLocationD...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [133, 114, 152, 210], "buggy_code_start_loc": [131, 113, 150, 112], "filenames": ["lhc_web/design/defaulttheme/tpl/lhchat/geoconfiguration.tpl.php", "lhc_web/ezcomponents/Base/src/file.php", "lhc_web/ezcomponents/ConsoleTools/src/input/option.php", "lhc_web/modules/lhchat/geoconfiguration.php"], ...
34
Determine whether the {function_name} code is vulnerable or not.
[ "[package]\nname = \"base64\"\nversion = \"0.13.0\"\nauthors = [\"Alice Maz <alice@alicemaz.com>\", \"Marshall Pierce <marshall@mpierce.org>\"]\ndescription = \"encodes and decodes base64 as bytes or utf8\"\nrepository = \"https://github.com/marshallpierce/rust-base64\"\ndocumentation = \"https://docs.rs/base64\"\n...
[ 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "[package]\nname = \"base64\"\nversion = \"0.13.0\"\nauthors = [\"Alice Maz <alice@alicemaz.com>\", \"Marshall Pierce <marshall@mpierce.org>\"]\ndescription = \"encodes and decodes base64 as bytes or utf8\"\nrepository = \"https://github.com/marshallpierce/rust-base64\"\ndocumentation = \"https://docs.rs/base64\"\n...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "use crate::{tables, Config, PAD_BYTE};", "#[cfg(any(feature = \"alloc\", feature = \"std\", test))]\nuse crate::STANDARD;\n#[cfg(any(feature = \"alloc\", feature = \"std\", test))]\nuse alloc::vec::Vec;\nuse core::fmt;\n#[cfg(any(feature = \"std\", test))]\nuse std::error;", "// decode logic operates on chunks...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "use crate::{tables, Config, PAD_BYTE};", "#[cfg(any(feature = \"alloc\", feature = \"std\", test))]\nuse crate::STANDARD;\n#[cfg(any(feature = \"alloc\", feature = \"std\", test))]\nuse alloc::vec::Vec;\nuse core::fmt;\n#[cfg(any(feature = \"std\", test))]\nuse std::error;", "// decode logic operates on chunks...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "//! # Configs\n//!\n//! There isn't just one type of Base64; that would be too simple. You need to choose a character\n//! set (standard, URL-safe, etc) and padding suffix (yes/no).\n//! The `Config` struct encapsulates this info. There are some common configs included: `STANDARD`,\n//! `URL_SAFE`, etc. You can al...
[ 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": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "//! # Configs\n//!\n//! There isn't just one type of Base64; that would be too simple. You need to choose a character\n//! set (standard, URL-safe, etc) and padding suffix (yes/no).\n//! The `Config` struct encapsulates this info. There are some common configs included: `STANDARD`,\n//! `URL_SAFE`, etc. You can al...
[ 1, 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": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "", "pub const INVALID_VALUE: u8 = 255;\n#[rustfmt::skip]\npub const STANDARD_ENCODE: &[u8; 64] = &[\n 65, // input 0 (0x0) => 'A' (0x41)\n 66, // input 1 (0x1) => 'B' (0x42)\n 67, // input 2 (0x2) => 'C' (0x43)\n 68, // input 3 (0x3) => 'D' (0x44)\n 69, // input 4 (0x4) => 'E' (0x45)\n 70, // i...
[ 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "//#[repr(align(64))]\n//pub struct StructStandardEncode { pub data: [u8; 64] }\n#[repr(align(64))]\npub struct StructStandardDecode { pub data: [u8; 256] }\n//#[repr(align(64))]\n//pub struct StructUrlSafeEncode { pub data: [u8; 64] }\n#[repr(align(64))]\npub struct StructUrlSafeDecode { pub data: [u8; 256] }\n//#...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27, 526, 147, 1957], "buggy_code_start_loc": [27, 446, 141, 0], "filenames": ["Cargo.toml", "src/decode.rs", "src/lib.rs", "src/tables.rs"], "fixing_code_end_loc": [29, 563, 147, 2006], "fixing_code_start_loc": [28, 447, 141, 1], "message": "In Apache Teaclave Rust SGX SDK 1.1.3, a side-channel ...
35
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (c) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (c) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2012 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>\n * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-to...
[ 1, 1, 1, 1, 1, 1, 0, 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, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2003 Xavier Dutoit <doli@sydesy.com>\n * Copyright (C) 2004-2015 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-to...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2001-2007\tRodolphe Quiedeville\t<rodolphe@quiedeville.org>\n * Copyright (C) 2004-2016\tLaurent Destailleur\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2005\t\tEric Seigne\t\t\t\t<eric.seigne@ryxeo.com>\n * Copyright (C) 2005-2015\tRegis Houssin\t\t\t<regis.houssin@capnetworks.com>\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, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2001-2007\tRodolphe Quiedeville\t<rodolphe@quiedeville.org>\n * Copyright (C) 2004-2016\tLaurent Destailleur\t\t<eldy@users.sourceforge.net>\n * Copyright (C) 2005\t\tEric Seigne\t\t\t\t<eric.seigne@ryxeo.com>\n * Copyright (C) 2005-2015\tRegis Houssin\t\t\t<regis.houssin@capnetworks.com>\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": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>\n * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>\n * Copyright (C) 2007-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>\n * Copyright (C) 2005-2012 Regis Houssin <regis.houssin@capnetworks.com>\n * Copyright (C) 2007-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it...
[ 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": [1065, 1563, 1727, 91], "buggy_code_start_loc": [1047, 75, 292, 90], "filenames": ["htdocs/core/class/html.form.class.php", "htdocs/main.inc.php", "htdocs/product/card.php", "htdocs/societe/ajax/company.php"], "fixing_code_end_loc": [1069, 1566, 1727, 91], "fixing_code_start_loc": [1047, 75, 292,...
36
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.sla.php", " SLA\n Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Released under the GNU General Public License WITHOUT ANY WARRANTY.\n See LICENSE.TXT ...
[ 1, 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [210], "buggy_code_start_loc": [109], "filenames": ["include/class.sla.php"], "fixing_code_end_loc": [212], "fixing_code_start_loc": [109], "message": "include/class.sla.php in osTicket before 1.14.2 allows XSS via the SLA Name.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "...
37
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*********************************************************************\n class.sla.php", " SLA\n Peter Rotich <peter@osticket.com>\n Copyright (c) 2006-2013 osTicket\n http://www.osticket.com", " Released under the GNU General Public License WITHOUT ANY WARRANTY.\n See LICENSE.TXT ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [210], "buggy_code_start_loc": [109], "filenames": ["include/class.sla.php"], "fixing_code_end_loc": [212], "fixing_code_start_loc": [109], "message": "include/class.sla.php in osTicket before 1.14.2 allows XSS via the SLA Name.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "...
37
Determine whether the {function_name} code is vulnerable or not.
[ "This file shows the changes in recent releases of MODX. The most current release is usually the\ndevelopment release, and is only shown to give an idea of what's currently in the pipeline.", "MODX Revolution 2.7.0-pl (TBD)\n====================================", "", "- Update phpThumb to 1.7.15-201806071234 ...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6, 321], "buggy_code_start_loc": [6, 2], "filenames": ["core/docs/changelog.txt", "core/model/phpthumb/modphpthumb.class.php"], "fixing_code_end_loc": [8, 345], "fixing_code_start_loc": [7, 2], "message": "MODX Revolution version <=2.6.4 contains a Incorrect Access Control vulnerability in Filte...
38
Determine whether the {function_name} code is vulnerable or not.
[ "This file shows the changes in recent releases of MODX. The most current release is usually the\ndevelopment release, and is only shown to give an idea of what's currently in the pipeline.", "MODX Revolution 2.7.0-pl (TBD)\n====================================", "- Filtering user parameters before passing them...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6, 321], "buggy_code_start_loc": [6, 2], "filenames": ["core/docs/changelog.txt", "core/model/phpthumb/modphpthumb.class.php"], "fixing_code_end_loc": [8, 345], "fixing_code_start_loc": [7, 2], "message": "MODX Revolution version <=2.6.4 contains a Incorrect Access Control vulnerability in Filte...
38
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * @package modx\n * @subpackage phpthumb\n */\nrequire_once MODX_CORE_PATH.'model/phpthumb/phpthumb.class.php';", "/**\n * Helper class to extend phpThumb and simplify thumbnail generation process\n * since phpThumb class is overly convoluted and doesn't do enough.\n *\n * @package modx\n * @sub...
[ 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [6, 321], "buggy_code_start_loc": [6, 2], "filenames": ["core/docs/changelog.txt", "core/model/phpthumb/modphpthumb.class.php"], "fixing_code_end_loc": [8, 345], "fixing_code_start_loc": [7, 2], "message": "MODX Revolution version <=2.6.4 contains a Incorrect Access Control vulnerability in Filte...
38
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "\nrequire_once MODX_CORE_PATH . 'model/phpthumb/phpthumb.class.php';\n", "/**\n * Helper class to extend phpThumb and simplify thumbnail generation process\n * since phpThumb class is overly convoluted and doesn't do enough.\n *\n * @package modx\n * @subpackage phpthumb\n */", "class modPhpThumb ex...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6, 321], "buggy_code_start_loc": [6, 2], "filenames": ["core/docs/changelog.txt", "core/model/phpthumb/modphpthumb.class.php"], "fixing_code_end_loc": [8, 345], "fixing_code_start_loc": [7, 2], "message": "MODX Revolution version <=2.6.4 contains a Incorrect Access Control vulnerability in Filte...
38
Determine whether the {function_name} code is vulnerable or not.
[ "========================\n0.0.43\n========================", "- improved `flowinstance.newmessage(data)` method", "", "\n========================\n0.0.42\n========================", "- added support for JSON schemas\n- added Total Messaging Service\n- added `jsonschemas` directory\n- added `schema.jsonsche...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5, 5563], "buggy_code_start_loc": [5, 5206], "filenames": ["changelog.txt", "utils.js"], "fixing_code_end_loc": [10, 5418], "fixing_code_start_loc": [6, 5205], "message": "The package total4 before 0.0.43 are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.", "other"...
39
Determine whether the {function_name} code is vulnerable or not.
[ "========================\n0.0.43\n========================", "- improved `flowinstance.newmessage(data)` method", "- removed method `U.set()`\n- removed method `U.get()`\n- removed method `U.sync()` and `global.sync()`\n- removed method `U.sync2()` and `global.sync2()`", "\n========================\n0.0.42\n...
[ 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": [5, 5563], "buggy_code_start_loc": [5, 5206], "filenames": ["changelog.txt", "utils.js"], "fixing_code_end_loc": [10, 5418], "fixing_code_start_loc": [6, 5205], "message": "The package total4 before 0.0.43 are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.", "other"...
39
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const Dns = require('dns');\nconst Url = require('url');\nconst Http = require('http');\nconst Https = require('https');\nconst Path = require('path');\nconst Fs = require('fs');\nconst Crypto = require('crypto');\nconst Zlib = require('zlib');\nconst Tls = require('tls');\nconst Net = require('...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [5, 5563], "buggy_code_start_loc": [5, 5206], "filenames": ["changelog.txt", "utils.js"], "fixing_code_end_loc": [10, 5418], "fixing_code_start_loc": [6, 5205], "message": "The package total4 before 0.0.43 are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.", "other"...
39
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const Dns = require('dns');\nconst Url = require('url');\nconst Http = require('http');\nconst Https = require('https');\nconst Path = require('path');\nconst Fs = require('fs');\nconst Crypto = require('crypto');\nconst Zlib = require('zlib');\nconst Tls = require('tls');\nconst Net = require('...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [5, 5563], "buggy_code_start_loc": [5, 5206], "filenames": ["changelog.txt", "utils.js"], "fixing_code_end_loc": [10, 5418], "fixing_code_start_loc": [6, 5205], "message": "The package total4 before 0.0.43 are vulnerable to Arbitrary Code Execution via the U.set() and U.get() functions.", "other"...
39
Determine whether the {function_name} code is vulnerable or not.
[ "import { logger, SlpTransactionDetails, SlpTransactionType } from \"../index\";\nimport { Slp, SlpValidator } from \"./slp\";", "import BigNumber from \"bignumber.js\";\nimport { BITBOX } from \"bitbox-sdk\";\nimport * as Bitcore from \"bitcore-lib-cash\";", "import { Crypto } from \"./crypto\";", "export in...
[ 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, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [349], "buggy_code_start_loc": [285], "filenames": ["lib/localvalidator.ts"], "fixing_code_end_loc": [353], "fixing_code_start_loc": [285], "message": "SLPJS (npm package slpjs) before version 0.27.2, has a vulnerability where users could experience false-negative validation outcomes for MINT tra...
40
Determine whether the {function_name} code is vulnerable or not.
[ "import { logger, SlpTransactionDetails, SlpTransactionType } from \"../index\";\nimport { Slp, SlpValidator } from \"./slp\";", "import BigNumber from \"bignumber.js\";\nimport { BITBOX } from \"bitbox-sdk\";\nimport * as Bitcore from \"bitcore-lib-cash\";", "import { Crypto } from \"./crypto\";", "export in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [349], "buggy_code_start_loc": [285], "filenames": ["lib/localvalidator.ts"], "fixing_code_end_loc": [353], "fixing_code_start_loc": [285], "message": "SLPJS (npm package slpjs) before version 0.27.2, has a vulnerability where users could experience false-negative validation outcomes for MINT tra...
40
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '../models/Location_History.php';", "", "", "// range of dates\nif ($dateFilter[0]) {", "\t$query .= \" AND start_date >= STR_TO_DATE('\" . htmlspecialchars($dateFilter[0]) . \"', '%m/%d/%Y')\";", "}", "if ($dateFilter[1]) {", "\t$query .= \" AND start_date <= STR_TO_DATE('\" ...
[ 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '../models/Location_History.php';", "", "", "// range of dates\nif ($dateFilter[0]) {", "\t$query .= \" AND start_date >= STR_TO_DATE('\" . $db->mysqli()->real_escape_string($dateFilter[0]) . \"', '%m/%d/%Y')\";", "}", "if ($dateFilter[1]) {", "\t$query .= \" AND start_date <=...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '../models/Location_History.php';", "\n// limit number of results\n$limit = null;\nif ($_POST['limit']) {", "\t$limit = $_POST['limit'];", "}", "\n// select only a certain range of dates\n$dayFilter = null;\nif (isset($_POST['dayFilter'])) {", "\t$dayFilter = implode(',', $_POST['...
[ 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '../models/Location_History.php';", "\n// limit number of results\n$limit = null;\nif ($_POST['limit']) {", "\t$limit = $db->mysqli()->real_escape_string($_POST['limit']);", "}", "\n// select only a certain range of dates\n$dayFilter = null;\nif (isset($_POST['dayFilter'])) {", "\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';", "", "\n// visits\n$query = \"SELECT\n\tCOUNT(gp.id) AS num, SUM(gp.duration) AS duration\n\tFROM grouped_point gp\n\tWHERE 1 = 1\";", "\n// CONSTRUCT WHERE CLAUSE\ninclude '__build_query.php';\n", "$visits = $db->rawQuery($query, null, false);", "", "\n// ...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';", "", "\n// visits\n$query = \"SELECT\n\tCOUNT(gp.id) AS num, SUM(gp.duration) AS duration\n\tFROM grouped_point gp\n\tWHERE 1 = 1\";", "\n// CONSTRUCT WHERE CLAUSE\ninclude '__build_query.php';\n", "$visits = $db->rawQuery($query, null);", "", "\n// trips\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';", "", "// this cannot return meaningful results with a location id\nif (!$_POST['location_id']) {\n\treturn;\n}\n", "$location_id = $_POST['location_id'];", "", "\n// visits for location\n$query = \"SELECT\n\tDATE(start_date) AS date, SUM(duration) AS duration...
[ 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';", "", "// this cannot return meaningful results with a location id\nif (!$_POST['location_id']) {\n\treturn;\n}\n", "", "\n// visits for location\n$query = \"SELECT\n\tDATE(start_date) AS date, SUM(duration) AS duration\n\tFROM grouped_point gp", "\tWHERE loca...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';", "", "\n// this query also counts the grouped_points that contribute to each location, and gets the duration dynamically by summing the duration values from the grouped_points, which means this can respond to any filters specified by the user\n$query = \"SELECT\n\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';", "", "\n// this query also counts the grouped_points that contribute to each location, and gets the duration dynamically by summing the duration values from the grouped_points, which means this can respond to any filters specified by the user\n$query = \"SELECT\n\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';\ninclude_once '../models/Circular.php';", "\n// this cannot return meaningful results without a location id\nif (!$_POST['location_id']) {\n\treturn;\n}\n", "$location_id = htmlspecialchars($_POST['location_id']);", "", "", "", "/* trips starting at location...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 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": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "include_once '__parse_query.php';\ninclude_once '../models/Circular.php';", "\n// this cannot return meaningful results without a location id\nif (!$_POST['location_id']) {\n\treturn;\n}\n", "$location_id = $db->mysqli()->real_escape_string($_POST['location_id']);", "", "", "", "/* trips sta...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [20, 21, 33, 30, 33, 113, 48, 210], "buggy_code_start_loc": [6, 9, 18, 12, 27, 12, 12, 210], "filenames": ["location_history/controllers/__build_query.php", "location_history/controllers/__parse_query.php", "location_history/controllers/global.php", "location_history/controllers/graph.php", "loca...
41