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 * 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": [1558, 179], "buggy_code_start_loc": [1557, 179], "filenames": ["bundles/AdminBundle/Controller/Admin/SettingsController.php", "bundles/AdminBundle/Resources/public/js/pimcore/settings/videothumbnail/item.js"], "fixing_code_end_loc": [1558, 181], "fixing_code_start_loc": [1557, 180], "message": "...
436
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": [1558, 179], "buggy_code_start_loc": [1557, 179], "filenames": ["bundles/AdminBundle/Controller/Admin/SettingsController.php", "bundles/AdminBundle/Resources/public/js/pimcore/settings/videothumbnail/item.js"], "fixing_code_end_loc": [1558, 181], "fixing_code_start_loc": [1557, 180], "message": "...
436
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, 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": [1558, 179], "buggy_code_start_loc": [1557, 179], "filenames": ["bundles/AdminBundle/Controller/Admin/SettingsController.php", "bundles/AdminBundle/Resources/public/js/pimcore/settings/videothumbnail/item.js"], "fixing_code_end_loc": [1558, 181], "fixing_code_start_loc": [1557, 180], "message": "...
436
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": [1558, 179], "buggy_code_start_loc": [1557, 179], "filenames": ["bundles/AdminBundle/Controller/Admin/SettingsController.php", "bundles/AdminBundle/Resources/public/js/pimcore/settings/videothumbnail/item.js"], "fixing_code_end_loc": [1558, 181], "fixing_code_start_loc": [1557, 180], "message": "...
436
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 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": [604], "buggy_code_start_loc": [601], "filenames": ["install/install.php"], "fixing_code_end_loc": [612], "fixing_code_start_loc": [601], "message": "In GLPI before version 9.5.2, the `install/install.php` endpoint insecurely stores user input into the database as `url_base` and `url_base_api`. T...
437
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * ---------------------------------------------------------------------\n * GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2015-2020 Teclib' and contributors.\n *\n * http://glpi-project.org\n *\n * based on GLPI - Gestionnaire Libre de Parc Informatique\n * Copyright (C) 2003-2014 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": [604], "buggy_code_start_loc": [601], "filenames": ["install/install.php"], "fixing_code_end_loc": [612], "fixing_code_start_loc": [601], "message": "In GLPI before version 9.5.2, the `install/install.php` endpoint insecurely stores user input into the database as `url_base` and `url_base_api`. T...
437
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\AnnotationBundle\\Controller;", "use FOS\\RestBundle\\Controller\\FOSRestController;", "use Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\ParamConverter;", "use Symfony\\Component\\HttpFoundation\\JsonResponse;\nuse Symfony\\Component\\HttpFoundation\\Request;", "", ...
[ 1, 1, 1, 0, 1, 0, 1, 1, 0, 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, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\AnnotationBundle\\Controller;", "use FOS\\RestBundle\\Controller\\FOSRestController;", "", "use Symfony\\Component\\HttpFoundation\\JsonResponse;\nuse Symfony\\Component\\HttpFoundation\\Request;", "use Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException;", "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, 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": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\AnnotationBundle\\DataFixtures;", "use Doctrine\\Bundle\\FixturesBundle\\Fixture;\nuse Doctrine\\Common\\DataFixtures\\DependentFixtureInterface;\nuse Doctrine\\Persistence\\ObjectManager;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;\nuse Wallabag\\CoreBundle\\DataFixtures\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\AnnotationBundle\\DataFixtures;", "use Doctrine\\Bundle\\FixturesBundle\\Fixture;\nuse Doctrine\\Common\\DataFixtures\\DependentFixtureInterface;\nuse Doctrine\\Persistence\\ObjectManager;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;\nuse Wallabag\\CoreBundle\\DataFixtures\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\AnnotationBundle\\Repository;", "use Doctrine\\ORM\\EntityRepository;\nuse Doctrine\\ORM\\QueryBuilder;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;", "/**\n * AnnotationRepository.\n */\nclass AnnotationRepository extends EntityRepository\n{\n /**\n * Retrieves al...
[ 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\AnnotationBundle\\Repository;", "use Doctrine\\ORM\\EntityRepository;\nuse Doctrine\\ORM\\QueryBuilder;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;", "/**\n * AnnotationRepository.\n */\nclass AnnotationRepository extends EntityRepository\n{\n /**\n * Retrieves al...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\ApiBundle\\Controller;", "use Nelmio\\ApiDocBundle\\Annotation\\ApiDoc;", "use Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\ParamConverter;", "use Symfony\\Component\\HttpFoundation\\JsonResponse;\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Wallabag\\Annotati...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Wallabag\\ApiBundle\\Controller;", "use Nelmio\\ApiDocBundle\\Annotation\\ApiDoc;", "", "use Symfony\\Component\\HttpFoundation\\JsonResponse;\nuse Symfony\\Component\\HttpFoundation\\Request;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;\nuse Wallabag\\CoreBundle\\Entity\\Entry;"...
[ 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": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Tests\\Wallabag\\AnnotationBundle\\Controller;", "use Tests\\Wallabag\\AnnotationBundle\\WallabagAnnotationTestCase;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;\nuse Wallabag\\CoreBundle\\Entity\\Entry;", "class AnnotationControllerTest extends WallabagAnnotationTestCase\n{\n /...
[ 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 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, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Tests\\Wallabag\\AnnotationBundle\\Controller;", "use Tests\\Wallabag\\AnnotationBundle\\WallabagAnnotationTestCase;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;\nuse Wallabag\\CoreBundle\\Entity\\Entry;", "class AnnotationControllerTest extends WallabagAnnotationTestCase\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": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Tests\\Wallabag\\CoreBundle\\Controller;", "use Symfony\\Component\\HttpFoundation\\File\\UploadedFile;\nuse Tests\\Wallabag\\CoreBundle\\WallabagCoreTestCase;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;\nuse Wallabag\\CoreBundle\\Entity\\Config;\nuse Wallabag\\CoreBundle\\Entity\\E...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Tests\\Wallabag\\CoreBundle\\Controller;", "use Symfony\\Component\\HttpFoundation\\File\\UploadedFile;\nuse Tests\\Wallabag\\CoreBundle\\WallabagCoreTestCase;\nuse Wallabag\\AnnotationBundle\\Entity\\Annotation;\nuse Wallabag\\CoreBundle\\Entity\\Config;\nuse Wallabag\\CoreBundle\\Entity\\E...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [120, 36, 70, 94, 289, 1101], "buggy_code_start_loc": [6, 36, 44, 6, 25, 935], "filenames": ["src/Wallabag/AnnotationBundle/Controller/WallabagAnnotationController.php", "src/Wallabag/AnnotationBundle/DataFixtures/AnnotationFixtures.php", "src/Wallabag/AnnotationBundle/Repository/AnnotationReposi...
438
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, 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, 0, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [324, 94], "buggy_code_start_loc": [33, 94], "filenames": ["tensorflow/core/kernels/list_kernels.cc", "tensorflow/python/kernel_tests/data_structures/list_ops_test.py"], "fixing_code_end_loc": [332, 105], "fixing_code_start_loc": [34, 95], "message": "TensorFlow is an open source platform for mac...
439
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": [324, 94], "buggy_code_start_loc": [33, 94], "filenames": ["tensorflow/core/kernels/list_kernels.cc", "tensorflow/python/kernel_tests/data_structures/list_ops_test.py"], "fixing_code_end_loc": [332, 105], "fixing_code_start_loc": [34, 95], "message": "TensorFlow is an open source platform for mac...
439
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2018 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [324, 94], "buggy_code_start_loc": [33, 94], "filenames": ["tensorflow/core/kernels/list_kernels.cc", "tensorflow/python/kernel_tests/data_structures/list_ops_test.py"], "fixing_code_end_loc": [332, 105], "fixing_code_start_loc": [34, 95], "message": "TensorFlow is an open source platform for mac...
439
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2018 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [324, 94], "buggy_code_start_loc": [33, 94], "filenames": ["tensorflow/core/kernels/list_kernels.cc", "tensorflow/python/kernel_tests/data_structures/list_ops_test.py"], "fixing_code_end_loc": [332, 105], "fixing_code_start_loc": [34, 95], "message": "TensorFlow is an open source platform for mac...
439
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "define('MODX_CORE_PATH', dirname(dirname(__FILE__)).'/core/');", "define('MODX_CONFIG_KEY', 'config');", "?>" ]
[ 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [5, 285, 18], "buggy_code_start_loc": [2, 57, 17], "filenames": ["config.core.php", "core/components/analyticsdashboardwidget/elements/tpl/widget.analytics.tpl", "core/components/analyticsdashboardwidget/processors/data.php"], "fixing_code_end_loc": [4, 285, 19], "fixing_code_start_loc": [2, 57, ...
440
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "define('MODX_CORE_PATH', '/var/www/vhosts/modx2/corDvn78h87wvse/');", "define('MODX_CONFIG_KEY', 'config');", "" ]
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5, 285, 18], "buggy_code_start_loc": [2, 57, 17], "filenames": ["config.core.php", "core/components/analyticsdashboardwidget/elements/tpl/widget.analytics.tpl", "core/components/analyticsdashboardwidget/processors/data.php"], "fixing_code_end_loc": [4, 285, 19], "fixing_code_start_loc": [2, 57, ...
440
Determine whether the {function_name} code is vulnerable or not.
[ "<div id=\"analytics-panel-widget\">\n <div id=\"tab1\" class=\"x-hide-display\">\n <div id=\"tab1-holder\">\n <table class=\"classy\" style=\"width:100%\">\n \n <thead>\n <tr>\n <th>{$_langs.date}</th>\n <th>{$_langs.visits}</th>\n <th>{$_langs...
[ 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5, 285, 18], "buggy_code_start_loc": [2, 57, 17], "filenames": ["config.core.php", "core/components/analyticsdashboardwidget/elements/tpl/widget.analytics.tpl", "core/components/analyticsdashboardwidget/processors/data.php"], "fixing_code_end_loc": [4, 285, 19], "fixing_code_start_loc": [2, 57, ...
440
Determine whether the {function_name} code is vulnerable or not.
[ "<div id=\"analytics-panel-widget\">\n <div id=\"tab1\" class=\"x-hide-display\">\n <div id=\"tab1-holder\">\n <table class=\"classy\" style=\"width:100%\">\n \n <thead>\n <tr>\n <th>{$_langs.date}</th>\n <th>{$_langs.visits}</th>\n <th>{$_langs...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 285, 18], "buggy_code_start_loc": [2, 57, 17], "filenames": ["config.core.php", "core/components/analyticsdashboardwidget/elements/tpl/widget.analytics.tpl", "core/components/analyticsdashboardwidget/processors/data.php"], "fixing_code_end_loc": [4, 285, 19], "fixing_code_start_loc": [2, 57, ...
440
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @var modX $modx\n * @var array $scriptProperties\n */\n$setting = $modx->getObject('modSystemSetting', 'analyticsdashboardwidget.days');\n$days = $setting->get('value');\n$modx->getCacheManager();", "$analytics = $modx->cacheManager->get($days.'-analytics');", "$data = trim($_GET['data']);\n$for...
[ 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5, 285, 18], "buggy_code_start_loc": [2, 57, 17], "filenames": ["config.core.php", "core/components/analyticsdashboardwidget/elements/tpl/widget.analytics.tpl", "core/components/analyticsdashboardwidget/processors/data.php"], "fixing_code_end_loc": [4, 285, 19], "fixing_code_start_loc": [2, 57, ...
440
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * @var modX $modx\n * @var array $scriptProperties\n */\n$setting = $modx->getObject('modSystemSetting', 'analyticsdashboardwidget.days');\n$days = $setting->get('value');\n$modx->getCacheManager();", "$analytics = $modx->cacheManager->get($days.'-analytics');", "$data = trim($_GET['data']);\n$for...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5, 285, 18], "buggy_code_start_loc": [2, 57, 17], "filenames": ["config.core.php", "core/components/analyticsdashboardwidget/elements/tpl/widget.analytics.tpl", "core/components/analyticsdashboardwidget/processors/data.php"], "fixing_code_end_loc": [4, 285, 19], "fixing_code_start_loc": [2, 57, ...
440
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * This file is part of FacturaScripts\n * Copyright (C) 2017-2022 Carlos Garcia Gomez <carlos@facturascripts.com>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundatio...
[ 1, 1, 1, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [277], "buggy_code_start_loc": [26], "filenames": ["Core/Controller/EditPageOption.php"], "fixing_code_end_loc": [295], "fixing_code_start_loc": [27], "message": "Reflected Xss using url based payload in GitHub repository neorazorx/facturascripts prior to 2022.07. Xss can use to steal user's cook...
441
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * This file is part of FacturaScripts\n * Copyright (C) 2017-2022 Carlos Garcia Gomez <carlos@facturascripts.com>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundatio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [277], "buggy_code_start_loc": [26], "filenames": ["Core/Controller/EditPageOption.php"], "fixing_code_end_loc": [295], "fixing_code_start_loc": [27], "message": "Reflected Xss using url based payload in GitHub repository neorazorx/facturascripts prior to 2022.07. Xss can use to steal user's cook...
441
Determine whether the {function_name} code is vulnerable or not.
[ "SQLite format 3\u0000\u0004\u0000\u0001\u0001\u0000@ \u0000\u0000\u0000>\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u...
[ 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [33, 176], "buggy_code_start_loc": [1, 154], "filenames": ["machine.db", "machine.py"], "fixing_code_end_loc": [20, 175], "fixing_code_start_loc": [1, 154], "message": "A vulnerability was found in viakondratiuk cash-machine. It has been declared as critical. This vulnerability affects the functi...
442
Determine whether the {function_name} code is vulnerable or not.
[ "SQLite format 3\u0000\u0004\u0000\u0001\u0001\u0000@ \u0000\u0000\u0000\u0006\u0000\u0000\u0000\u0005\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0002\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [33, 176], "buggy_code_start_loc": [1, 154], "filenames": ["machine.db", "machine.py"], "fixing_code_end_loc": [20, 175], "fixing_code_start_loc": [1, 154], "message": "A vulnerability was found in viakondratiuk cash-machine. It has been declared as critical. This vulnerability affects the functi...
442
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- encoding: utf-8 -*-\nimport os\nimport logging\nimport sqlite3\nimport md5", "from pyramid.config import Configurator\nfrom pyramid.events import NewRequest\nfrom pyramid.events import subscriber\nfrom pyramid.events import ApplicationCreated\nfrom pyramid.httpexceptions import HTTPFound\nfrom pyramid.sess...
[ 1, 1, 1, 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, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [33, 176], "buggy_code_start_loc": [1, 154], "filenames": ["machine.db", "machine.py"], "fixing_code_end_loc": [20, 175], "fixing_code_start_loc": [1, 154], "message": "A vulnerability was found in viakondratiuk cash-machine. It has been declared as critical. This vulnerability affects the functi...
442
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- encoding: utf-8 -*-\nimport os\nimport logging\nimport sqlite3\nimport md5", "from pyramid.config import Configurator\nfrom pyramid.events import NewRequest\nfrom pyramid.events import subscriber\nfrom pyramid.events import ApplicationCreated\nfrom pyramid.httpexceptions import HTTPFound\nfrom pyramid.sess...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [33, 176], "buggy_code_start_loc": [1, 154], "filenames": ["machine.db", "machine.py"], "fixing_code_end_loc": [20, 175], "fixing_code_start_loc": [1, 154], "message": "A vulnerability was found in viakondratiuk cash-machine. It has been declared as critical. This vulnerability affects the functi...
442
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * (The MIT License)\n *\n * Copyright (c) 2008 - 2011:\n *\n * * {Aaron Patterson}[http://tenderlovemaking.com]\n * * {Mike Dalessio}[http://mike.daless.io]\n * * {Charles Nutter}[http://blog.headius.com]\n * * {Sergio Arbeo}[http://www.serabe.com]\n * * {Patrick Mahoney}[http://polycrystal.org]\n * * {Yoko ...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * (The MIT License)\n *\n * Copyright (c) 2008 - 2011:\n *\n * * {Aaron Patterson}[http://tenderlovemaking.com]\n * * {Mike Dalessio}[http://mike.daless.io]\n * * {Charles Nutter}[http://blog.headius.com]\n * * {Sergio Arbeo}[http://www.serabe.com]\n * * {Patrick Mahoney}[http://polycrystal.org]\n * * {Yoko ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * (The MIT License)\n *\n * Copyright (c) 2008 - 2011:\n *\n * * {Aaron Patterson}[http://tenderlovemaking.com]\n * * {Mike Dalessio}[http://mike.daless.io]\n * * {Charles Nutter}[http://blog.headius.com]\n * * {Sergio Arbeo}[http://www.serabe.com]\n * * {Patrick Mahoney}[http://polycrystal.org]\n * * {Yoko ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * (The MIT License)\n *\n * Copyright (c) 2008 - 2011:\n *\n * * {Aaron Patterson}[http://tenderlovemaking.com]\n * * {Mike Dalessio}[http://mike.daless.io]\n * * {Charles Nutter}[http://blog.headius.com]\n * * {Sergio Arbeo}[http://www.serabe.com]\n * * {Patrick Mahoney}[http://polycrystal.org]\n * * {Yoko ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "#include <xml_relax_ng.h>", "static void dealloc(xmlRelaxNGPtr schema)\n{\n NOKOGIRI_DEBUG_START(schema);\n xmlRelaxNGFree(schema);\n NOKOGIRI_DEBUG_END(schema);\n}", "/*\n * call-seq:\n * validate_document(document)\n *\n * Validate a Nokogiri::XML::Document against this RelaxNG schema.\n */\nstatic VALUE...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "#include <xml_relax_ng.h>", "static void dealloc(xmlRelaxNGPtr schema)\n{\n NOKOGIRI_DEBUG_START(schema);\n xmlRelaxNGFree(schema);\n NOKOGIRI_DEBUG_END(schema);\n}", "/*\n * call-seq:\n * validate_document(document)\n *\n * Validate a Nokogiri::XML::Document against this RelaxNG schema.\n */\nstatic VALUE...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "#include <xml_schema.h>", "static void dealloc(xmlSchemaPtr schema)\n{\n NOKOGIRI_DEBUG_START(schema);\n xmlSchemaFree(schema);\n NOKOGIRI_DEBUG_END(schema);\n}", "/*\n * call-seq:\n * validate_document(document)\n *\n * Validate a Nokogiri::XML::Document against this Schema.\n */\nstatic VALUE validate_do...
[ 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, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "#include <xml_schema.h>", "static void dealloc(xmlSchemaPtr schema)\n{\n NOKOGIRI_DEBUG_START(schema);\n xmlSchemaFree(schema);\n NOKOGIRI_DEBUG_END(schema);\n}", "/*\n * call-seq:\n * validate_document(document)\n *\n * Validate a Nokogiri::XML::Document against this Schema.\n */\nstatic VALUE validate_do...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nmodule Nokogiri\n module XML\n ###\n # Parse options for passing to Nokogiri.XML or Nokogiri.HTML\n #\n # == Building combinations of parse options\n # You can build your own combinations of these parse options by using any of the following methods:\n # *Note*: All...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nmodule Nokogiri\n module XML\n ###\n # Parse options for passing to Nokogiri.XML or Nokogiri.HTML\n #\n # == Building combinations of parse options\n # You can build your own combinations of these parse options by using any of the following methods:\n # *Note*: All...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nmodule Nokogiri\n module XML\n class << self\n ###\n # Create a new Nokogiri::XML::RelaxNG document from +string_or_io+.\n # See Nokogiri::XML::RelaxNG for an example.", " def RelaxNG string_or_io\n RelaxNG.new(string_or_io)", " end\n end", ...
[ 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nmodule Nokogiri\n module XML\n class << self\n ###\n # Create a new Nokogiri::XML::RelaxNG document from +string_or_io+.\n # See Nokogiri::XML::RelaxNG for an example.", " def RelaxNG(string_or_io, options = ParseOptions::DEFAULT_SCHEMA)\n RelaxNG.new...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nmodule Nokogiri\n module XML\n class << self\n ###\n # Create a new Nokogiri::XML::Schema object using a +string_or_io+\n # object.", " def Schema string_or_io\n Schema.new(string_or_io)", " end\n end", " ###\n # Nokogiri::XML::Schem...
[ 1, 0, 1, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nmodule Nokogiri\n module XML\n class << self\n ###\n # Create a new Nokogiri::XML::Schema object using a +string_or_io+\n # object.", " def Schema(string_or_io, options = ParseOptions::DEFAULT_SCHEMA)\n Schema.new(string_or_io, options)", " end...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "require \"helper\"", "module Nokogiri\n module XML\n class TestRelaxNG < Nokogiri::TestCase\n def setup\n assert @schema = Nokogiri::XML::RelaxNG(File.read(ADDRESS_SCHEMA_FILE))\n end", " def test_parse_with_memory\n assert_instance_of Nokogiri::XML::RelaxNG, @schema\n a...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "require \"helper\"", "module Nokogiri\n module XML\n class TestRelaxNG < Nokogiri::TestCase\n def setup\n assert @schema = Nokogiri::XML::RelaxNG(File.read(ADDRESS_SCHEMA_FILE))\n end", " def test_parse_with_memory\n assert_instance_of Nokogiri::XML::RelaxNG, @schema\n a...
[ 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": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "require \"helper\"", "module Nokogiri\n module XML\n class TestSchema < Nokogiri::TestCase\n def setup\n assert @xsd = Nokogiri::XML::Schema(File.read(PO_SCHEMA_FILE))\n end", " def test_issue_1985_segv_on_schema_parse\n skip(\"Pure Java version doesn't have this bug\") unless ...
[ 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": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "require \"helper\"", "module Nokogiri\n module XML\n class TestSchema < Nokogiri::TestCase\n def setup\n assert @xsd = Nokogiri::XML::Schema(File.read(PO_SCHEMA_FILE))\n end", " def test_issue_1985_segv_on_schema_parse\n skip(\"Pure Java version doesn't have this bug\") unless ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [86, 164, 161, 231, 75, 10, 39, 26, 111], "buggy_code_start_loc": [58, 109, 56, 96, 75, 8, 8, 26, 111], "filenames": ["ext/java/nokogiri/XmlRelaxng.java", "ext/java/nokogiri/XmlSchema.java", "ext/nokogiri/xml_relax_ng.c", "ext/nokogiri/xml_schema.c", "lib/nokogiri/xml/parse_options.rb", "lib/noko...
443
Determine whether the {function_name} code is vulnerable or not.
[ "<script lang=\"ts\">\n import type { EntryBaseAttributes } from \"../entries\";\n import { urlForAccount, urlForSource } from \"../helpers\";\n import { _ } from \"../i18n\";", " type ContextBalance = Record<string, string[]>;\n export let entry: EntryBaseAttributes;\n export let balances_before: ContextBa...
[ 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 110], "buggy_code_start_loc": [38, 109], "filenames": ["frontend/src/modals/EntryContext.svelte", "frontend/src/query/Query.svelte"], "fixing_code_end_loc": [62, 110], "fixing_code_start_loc": [38, 109], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava p...
444
Determine whether the {function_name} code is vulnerable or not.
[ "<script lang=\"ts\">\n import type { EntryBaseAttributes } from \"../entries\";\n import { urlForAccount, urlForSource } from \"../helpers\";\n import { _ } from \"../i18n\";", " type ContextBalance = Record<string, string[]>;\n export let entry: EntryBaseAttributes;\n export let balances_before: ContextBa...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 110], "buggy_code_start_loc": [38, 109], "filenames": ["frontend/src/modals/EntryContext.svelte", "frontend/src/query/Query.svelte"], "fixing_code_end_loc": [62, 110], "fixing_code_start_loc": [38, 109], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava p...
444
Determine whether the {function_name} code is vulnerable or not.
[ "<script lang=\"ts\">\n import { onMount, tick } from \"svelte\";", " import { get } from \"../api\";\n import type { ChartTypes } from \"../charts\";\n import Chart from \"../charts/Chart.svelte\";\n import { chartContext } from \"../charts/context\";\n import { parseQueryChart } from \"../charts/query-cha...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 110], "buggy_code_start_loc": [38, 109], "filenames": ["frontend/src/modals/EntryContext.svelte", "frontend/src/query/Query.svelte"], "fixing_code_end_loc": [62, 110], "fixing_code_start_loc": [38, 109], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava p...
444
Determine whether the {function_name} code is vulnerable or not.
[ "<script lang=\"ts\">\n import { onMount, tick } from \"svelte\";", " import { get } from \"../api\";\n import type { ChartTypes } from \"../charts\";\n import Chart from \"../charts/Chart.svelte\";\n import { chartContext } from \"../charts/context\";\n import { parseQueryChart } from \"../charts/query-cha...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56, 110], "buggy_code_start_loc": [38, 109], "filenames": ["frontend/src/modals/EntryContext.svelte", "frontend/src/query/Query.svelte"], "fixing_code_end_loc": [62, 110], "fixing_code_start_loc": [38, 109], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository beancount/fava p...
444
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * asn1.c: ASN.1 decoding functions (DER)\n *\n * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\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": [1473], "buggy_code_start_loc": [1472], "filenames": ["src/libopensc/asn1.c"], "fixing_code_end_loc": [1473], "fixing_code_start_loc": [1472], "message": "OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry in libopensc/asn1.c.", "other": {"cve": {"c...
445
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * asn1.c: ASN.1 decoding functions (DER)\n *\n * Copyright (C) 2001, 2002 Juha Yrjölä <juha.yrjola@iki.fi>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\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": [1473], "buggy_code_start_loc": [1472], "filenames": ["src/libopensc/asn1.c"], "fixing_code_end_loc": [1473], "fixing_code_start_loc": [1472], "message": "OpenSC before 0.20.0-rc1 has an out-of-bounds access of an ASN.1 Octet string in asn1_decode_entry in libopensc/asn1.c.", "other": {"cve": {"c...
445
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, 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, 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": [224], "buggy_code_start_loc": [26], "filenames": ["tensorflow/core/kernels/sparse_fill_empty_rows_op.cc"], "fixing_code_end_loc": [233], "fixing_code_start_loc": [27], "message": "TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseFillEm...
446
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, 1, 1, 1, 1, 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": [224], "buggy_code_start_loc": [26], "filenames": ["tensorflow/core/kernels/sparse_fill_empty_rows_op.cc"], "fixing_code_end_loc": [233], "fixing_code_start_loc": [27], "message": "TensorFlow is an open source platform for machine learning. In affected versions the implementation of `SparseFillEm...
446
Determine whether the {function_name} code is vulnerable or not.
[ "", "2014-10-11 15:02 Christos Zoulas <christos@zoulas.com>", "\t* fix autoconf glue for setlocale and locale_t; some OS's\n\t have locale_t in xlocale.h", "2014-10-10 15:01 Christos Zoulas <christos@zoulas.com>", "\t* release 5.20", "2014-08-17 10:01 Christos Zoulas <christos@zoulas.com>", "\t* ...
[ 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, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [0, 479], "buggy_code_start_loc": [0, 30], "filenames": ["ChangeLog", "src/readelf.c"], "fixing_code_end_loc": [5, 487], "fixing_code_start_loc": [1, 30], "message": "The donote function in readelf.c in file through 5.20, as used in the Fileinfo component in PHP 5.4.34, does not ensure that suffi...
447
Determine whether the {function_name} code is vulnerable or not.
[ "2014-10-17 11:48 Christos Zoulas <christos@zoulas.com>", "\t* fix bounds in note reading (Francisco Alonso / Red Hat)\n", "2014-10-11 15:02 Christos Zoulas <christos@zoulas.com>", "\t* fix autoconf glue for setlocale and locale_t; some OS's\n\t have locale_t in xlocale.h", "2014-10-10 15:01 Christos...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [0, 479], "buggy_code_start_loc": [0, 30], "filenames": ["ChangeLog", "src/readelf.c"], "fixing_code_end_loc": [5, 487], "fixing_code_start_loc": [1, 30], "message": "The donote function in readelf.c in file through 5.20, as used in the Fileinfo component in PHP 5.4.34, does not ensure that suffi...
447
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Christos Zoulas 2003.\n * All Rights Reserved.\n * \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * notice imm...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [0, 479], "buggy_code_start_loc": [0, 30], "filenames": ["ChangeLog", "src/readelf.c"], "fixing_code_end_loc": [5, 487], "fixing_code_start_loc": [1, 30], "message": "The donote function in readelf.c in file through 5.20, as used in the Fileinfo component in PHP 5.4.34, does not ensure that suffi...
447
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Christos Zoulas 2003.\n * All Rights Reserved.\n * \n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * notice imm...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [0, 479], "buggy_code_start_loc": [0, 30], "filenames": ["ChangeLog", "src/readelf.c"], "fixing_code_end_loc": [5, 487], "fixing_code_start_loc": [1, 30], "message": "The donote function in readelf.c in file through 5.20, as used in the Fileinfo component in PHP 5.4.34, does not ensure that suffi...
447
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n FUSE: Filesystem in Userspace\n Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>", " This program can be distributed under the terms of the GNU GPL.\n See the file COPYING.\n*/", "#include \"fuse_i.h\"", "#include <linux/pagemap.h>\n#include <linux/slab.h>\n#include <linux/kernel.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": [1860], "buggy_code_start_loc": [1665], "filenames": ["fs/fuse/file.c"], "fixing_code_end_loc": [1883], "fixing_code_start_loc": [1666], "message": "Buffer overflow in the fuse_do_ioctl function in fs/fuse/file.c in the Linux kernel before 2.6.37 allows local users to cause a denial of service or...
448
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n FUSE: Filesystem in Userspace\n Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>", " This program can be distributed under the terms of the GNU GPL.\n See the file COPYING.\n*/", "#include \"fuse_i.h\"", "#include <linux/pagemap.h>\n#include <linux/slab.h>\n#include <linux/kernel.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": [1860], "buggy_code_start_loc": [1665], "filenames": ["fs/fuse/file.c"], "fixing_code_end_loc": [1883], "fixing_code_start_loc": [1666], "message": "Buffer overflow in the fuse_do_ioctl function in fs/fuse/file.c in the Linux kernel before 2.6.37 allows local users to cause a denial of service or...
448
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"time\"", "\t\"github.com/grafana/grafana/pkg/api/dtos\"\n\t\"github.com/grafana/grafana/pkg/api/response\"\n\t\"github.com/grafana/grafana/pkg/bus\"\n\t\"github.com/grafana/grafana/pkg/components/simplejson\"\n\t\"github....
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [247, 296], "buggy_code_start_loc": [148, 292], "filenames": ["pkg/api/dashboard_snapshot.go", "pkg/macaron/router.go"], "fixing_code_end_loc": [257, 298], "fixing_code_start_loc": [149, 292], "message": "Grafana is an open source data visualization platform. In affected versions unauthenticated ...
449
Determine whether the {function_name} code is vulnerable or not.
[ "package api", "import (\n\t\"bytes\"\n\t\"encoding/json\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"time\"", "\t\"github.com/grafana/grafana/pkg/api/dtos\"\n\t\"github.com/grafana/grafana/pkg/api/response\"\n\t\"github.com/grafana/grafana/pkg/bus\"\n\t\"github.com/grafana/grafana/pkg/components/simplejson\"\n\t\"github....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [247, 296], "buggy_code_start_loc": [148, 292], "filenames": ["pkg/api/dashboard_snapshot.go", "pkg/macaron/router.go"], "fixing_code_end_loc": [257, 298], "fixing_code_start_loc": [149, 292], "message": "Grafana is an open source data visualization platform. In affected versions unauthenticated ...
449
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2014 The Macaron Authors\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\"): you may\n// not use this file except in compliance with the License. You may obtain\n// a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicab...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [247, 296], "buggy_code_start_loc": [148, 292], "filenames": ["pkg/api/dashboard_snapshot.go", "pkg/macaron/router.go"], "fixing_code_end_loc": [257, 298], "fixing_code_start_loc": [149, 292], "message": "Grafana is an open source data visualization platform. In affected versions unauthenticated ...
449
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2014 The Macaron Authors\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\"): you may\n// not use this file except in compliance with the License. You may obtain\n// a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applicab...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [247, 296], "buggy_code_start_loc": [148, 292], "filenames": ["pkg/api/dashboard_snapshot.go", "pkg/macaron/router.go"], "fixing_code_end_loc": [257, 298], "fixing_code_start_loc": [149, 292], "message": "Grafana is an open source data visualization platform. In affected versions unauthenticated ...
449
Determine whether the {function_name} code is vulnerable or not.
[ "// From Ext library\n/*global Ext*/\n// Defined in dashboard.html\n/*global AUTOCOMPLETE_DELAY CALENDAR_ICON CLOCK_ICON CONTEXT_FIELD_WIDTH FINDER_QUERY_DELAY*/\n/*global HELP_ICON NEW_DASHBOARD_REMOVE_GRAPHS REFRESH_ICON REMOVE_ICON RESIZE_ICON*/\n/*global SHARE_ICON UI_CONFIG initialState initialError permission...
[ 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, 1...
PreciseBugs
{"buggy_code_end_loc": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "// From Ext library\n/*global Ext*/\n// Defined in dashboard.html\n/*global AUTOCOMPLETE_DELAY CALENDAR_ICON CLOCK_ICON CONTEXT_FIELD_WIDTH FINDER_QUERY_DELAY*/\n/*global HELP_ICON NEW_DASHBOARD_REMOVE_GRAPHS REFRESH_ICON REMOVE_ICON RESIZE_ICON*/\n/*global SHARE_ICON UI_CONFIG initialState initialError permission...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "import re\nimport errno", "from os.path import getmtime\nfrom six.moves.urllib.parse import urlencode\nfrom six.moves.configparser import ConfigParser\nfrom django.shortcuts import render\nfrom django.http import QueryDict\nfrom django.conf import settings\nfrom django.contrib.auth import login, authenticate, lo...
[ 1, 1, 0, 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, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "import re\nimport errno", "from os.path import getmtime\nfrom six.moves.urllib.parse import urlencode\nfrom six.moves.configparser import ConfigParser\nfrom django.shortcuts import render\nfrom django.http import QueryDict\nfrom django.conf import settings\nfrom django.contrib.auth import login, authenticate, lo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "from django.http import HttpResponseBadRequest\nfrom graphite.logger import log", "", "", "class NormalizeEmptyResultError(Exception):\n # throw error for normalize() when empty\n pass", "\nclass InputParameterError(ValueError):", " def __init__(self, *args, **kwargs):\n super(InputParame...
[ 1, 0, 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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "from django.http import HttpResponseBadRequest\nfrom graphite.logger import log", "from graphite.util import htmlEscape, is_unsafe_str", "", "class NormalizeEmptyResultError(Exception):\n # throw error for normalize() when empty\n pass", "\nclass InputParameterError(ValueError):", " def __init__...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Copyright 2008 Orbitz WorldWide", "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 by applicable law or agreed...
[ 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, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Copyright 2008 Orbitz WorldWide", "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 by applicable law or agreed...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "from django.test import TestCase as OriginalTestCase\nfrom graphite.worker_pool.pool import stop_pools", "", "", "class TestCase(OriginalTestCase):\n def tearDown(self):\n stop_pools()", " # Assert that a response is unsanitized (for check XSS issues)\n def assertXSS(self, response, status_...
[ 1, 0, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "from django.test import TestCase as OriginalTestCase\nfrom graphite.worker_pool.pool import stop_pools", "", "def is_unsafe_str(s):\n for symbol in '<>':\n if s.find(symbol) > 0:\n return True\n return False", "", "class TestCase(OriginalTestCase):\n def tearDown(self):\n ...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "import copy\nimport errno\nimport mock\nimport os", "from . import TEST_CONF_DIR", "from django.conf import settings\ntry:\n from django.urls import reverse\nexcept ImportError: # Django < 1.10\n from django.core.urlresolvers import reverse\nfrom django.http import HttpResponse\nfrom .base import TestCa...
[ 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, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "import copy\nimport errno\nimport mock\nimport os", "from . import TEST_CONF_DIR", "from django.conf import settings\ntry:\n from django.urls import reverse\nexcept ImportError: # Django < 1.10\n from django.core.urlresolvers import reverse\nfrom django.http import HttpResponse\nfrom .base import TestCa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1298, 293, 115, 128, 20, 264], "buggy_code_start_loc": [163, 18, 2, 128, 2, 22], "filenames": ["webapp/content/js/dashboard.js", "webapp/graphite/dashboard/views.py", "webapp/graphite/errors.py", "webapp/graphite/util.py", "webapp/tests/base.py", "webapp/tests/test_dashboard.py"], "fixing_code_e...
450
Determine whether the {function_name} code is vulnerable or not.
[ "/*", " * Copyright (C) 2014-2018 Yubico AB - See COPYING", " */", "/* Define which PAM interfaces we provide */\n#define PAM_SM_AUTH", "/* Include PAM headers */\n#include <security/pam_appl.h>\n#include <security/pam_modules.h>", "#include <fcntl.h>\n#include <sys/types.h>\n#include <sys/stat.h>\n#incl...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [386, 215, 47], "buggy_code_start_loc": [2, 2, 2], "filenames": ["pam-u2f.c", "util.c", "util.h"], "fixing_code_end_loc": [402, 220, 49], "fixing_code_start_loc": [2, 2, 2], "message": "In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that f...
451
Determine whether the {function_name} code is vulnerable or not.
[ "/*", " * Copyright (C) 2014-2019 Yubico AB - See COPYING", " */", "/* Define which PAM interfaces we provide */\n#define PAM_SM_AUTH", "/* Include PAM headers */\n#include <security/pam_appl.h>\n#include <security/pam_modules.h>", "#include <fcntl.h>\n#include <sys/types.h>\n#include <sys/stat.h>\n#incl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [386, 215, 47], "buggy_code_start_loc": [2, 2, 2], "filenames": ["pam-u2f.c", "util.c", "util.h"], "fixing_code_end_loc": [402, 220, 49], "fixing_code_start_loc": [2, 2, 2], "message": "In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that f...
451
Determine whether the {function_name} code is vulnerable or not.
[ "/*", " * Copyright (C) 2014-2018 Yubico AB - See COPYING", " */", "#include \"util.h\"", "#include <u2f-server.h>\n#include <u2f-host.h>", "#include <stdlib.h>\n#include <fcntl.h>\n#include <sys/stat.h>\n#include <stdarg.h>\n#include <syslog.h>\n#include <pwd.h>\n#include <errno.h>\n#include <unistd.h>",...
[ 1, 0, 1, 1, 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, 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...
PreciseBugs
{"buggy_code_end_loc": [386, 215, 47], "buggy_code_start_loc": [2, 2, 2], "filenames": ["pam-u2f.c", "util.c", "util.h"], "fixing_code_end_loc": [402, 220, 49], "fixing_code_start_loc": [2, 2, 2], "message": "In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that f...
451
Determine whether the {function_name} code is vulnerable or not.
[ "/*", " * Copyright (C) 2014-2019 Yubico AB - See COPYING", " */", "#include \"util.h\"", "#include <u2f-server.h>\n#include <u2f-host.h>", "#include <stdlib.h>\n#include <fcntl.h>\n#include <sys/stat.h>\n#include <stdarg.h>\n#include <syslog.h>\n#include <pwd.h>\n#include <errno.h>\n#include <unistd.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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [386, 215, 47], "buggy_code_start_loc": [2, 2, 2], "filenames": ["pam-u2f.c", "util.c", "util.h"], "fixing_code_end_loc": [402, 220, 49], "fixing_code_start_loc": [2, 2, 2], "message": "In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that f...
451
Determine whether the {function_name} code is vulnerable or not.
[ "/*", " * Copyright (C) 2014-2018 Yubico AB - See COPYING", " */", "#ifndef UTIL_H\n#define UTIL_H", "#include <stdio.h>\n#include <security/pam_appl.h>", "#define BUFSIZE 1024\n#define MAX_DEVS 24\n#define PK_LEN 130 // Public key\n#define KH_LEN 86 // Key handle\n#define RD_LEN 40 // Rounding\n#define...
[ 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [386, 215, 47], "buggy_code_start_loc": [2, 2, 2], "filenames": ["pam-u2f.c", "util.c", "util.h"], "fixing_code_end_loc": [402, 220, 49], "fixing_code_start_loc": [2, 2, 2], "message": "In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that f...
451
Determine whether the {function_name} code is vulnerable or not.
[ "/*", " * Copyright (C) 2014-2019 Yubico AB - See COPYING", " */", "#ifndef UTIL_H\n#define UTIL_H", "#include <stdio.h>\n#include <security/pam_appl.h>", "#define BUFSIZE 1024\n#define MAX_DEVS 24\n#define PK_LEN 130 // Public key\n#define KH_LEN 86 // Key handle\n#define RD_LEN 40 // Rounding\n#define...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [386, 215, 47], "buggy_code_start_loc": [2, 2, 2], "filenames": ["pam-u2f.c", "util.c", "util.h"], "fixing_code_end_loc": [402, 220, 49], "fixing_code_start_loc": [2, 2, 2], "message": "In Yubico pam-u2f 1.0.7, when configured with debug and a custom debug log file is set using debug_file, that f...
451
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\n * Copyright 2019 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [290], "buggy_code_start_loc": [284], "filenames": ["asylo/platform/primitives/sgx/trusted_sgx.cc"], "fixing_code_end_loc": [291], "fixing_code_start_loc": [284], "message": "An attacker can modify the address to point to trusted memory to overwrite arbitrary trusted memory. It is recommended to ...
452
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\n * Copyright 2019 Asylo authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [290], "buggy_code_start_loc": [284], "filenames": ["asylo/platform/primitives/sgx/trusted_sgx.cc"], "fixing_code_end_loc": [291], "fixing_code_start_loc": [284], "message": "An attacker can modify the address to point to trusted memory to overwrite arbitrary trusted memory. It is recommended to ...
452
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** codegen.c - mruby code generator\n**\n** See Copyright Notice in mruby.h\n*/", "#include <mruby.h>\n#include <mruby/compile.h>\n#include <mruby/proc.h>\n#include <mruby/dump.h>\n#include <mruby/numeric.h>\n#include <mruby/string.h>\n#include <mruby/debug.h>\n#include <mruby/presym.h>\n#include \"node.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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1908], "buggy_code_start_loc": [1907], "filenames": ["mrbgems/mruby-compiler/core/codegen.c"], "fixing_code_end_loc": [1913], "fixing_code_start_loc": [1907], "message": "Out-of-bounds Read in GitHub repository mruby/mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd"...
453
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** codegen.c - mruby code generator\n**\n** See Copyright Notice in mruby.h\n*/", "#include <mruby.h>\n#include <mruby/compile.h>\n#include <mruby/proc.h>\n#include <mruby/dump.h>\n#include <mruby/numeric.h>\n#include <mruby/string.h>\n#include <mruby/debug.h>\n#include <mruby/presym.h>\n#include \"node.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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1908], "buggy_code_start_loc": [1907], "filenames": ["mrbgems/mruby-compiler/core/codegen.c"], "fixing_code_end_loc": [1913], "fixing_code_start_loc": [1907], "message": "Out-of-bounds Read in GitHub repository mruby/mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd"...
453
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n * ecran_securite.php\n * ------------------\n */\n", "define('_ECRAN_SECURITE', '1.3.10'); // 2019-02-12", "\n/*\n * Documentation : http://www.spip.net/fr_article4200.html\n */", "/*\n * Test utilisateur\n */\nif (isset($_GET['test_ecran_securite']))\n\t$ecran_securite_raison = 'test '._ECRA...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [495], "buggy_code_start_loc": [8], "filenames": ["config/ecran_securite.php"], "fixing_code_end_loc": [495], "fixing_code_start_loc": [8], "message": "SPIP 3.1 before 3.1.10 and 3.2 before 3.2.4 allows authenticated visitors to execute arbitrary code on the host server because var_memotri is mis...
454
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n * ecran_securite.php\n * ------------------\n */\n", "define('_ECRAN_SECURITE', '1.3.11'); // 2019-04-08", "\n/*\n * Documentation : http://www.spip.net/fr_article4200.html\n */", "/*\n * Test utilisateur\n */\nif (isset($_GET['test_ecran_securite']))\n\t$ecran_securite_raison = 'test '._ECRA...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [495], "buggy_code_start_loc": [8], "filenames": ["config/ecran_securite.php"], "fixing_code_end_loc": [495], "fixing_code_start_loc": [8], "message": "SPIP 3.1 before 3.1.10 and 3.2 before 3.2.4 allows authenticated visitors to execute arbitrary code on the host server because var_memotri is mis...
454
Determine whether the {function_name} code is vulnerable or not.
[ "import { Lokka } from 'lokka';\nimport { Transport } from './lokka-transport-http-retry';\nimport { propOr, replace, toUpper, pipe, toLower } from 'ramda';\nimport { createJWTWithoutUserId } from './jwt';\nimport { logger } from './local-logging';", "interface Project {\n slack: any;\n name: string;\n openshi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1460, 19, 49, 29, 21], "buggy_code_start_loc": [654, 19, 4, 0, 0], "filenames": ["node-packages/commons/src/api.ts", "node-packages/commons/src/gitlabApi.ts", "services/webhook-handler/src/extractWebhookData.ts", "services/webhooks2tasks/src/handlers/gitlabProjectDelete.ts", "services/webhooks2t...
455
Determine whether the {function_name} code is vulnerable or not.
[ "import { Lokka } from 'lokka';\nimport { Transport } from './lokka-transport-http-retry';\nimport { propOr, replace, toUpper, pipe, toLower } from 'ramda';\nimport { createJWTWithoutUserId } from './jwt';\nimport { logger } from './local-logging';", "interface Project {\n slack: any;\n name: string;\n openshi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1460, 19, 49, 29, 21], "buggy_code_start_loc": [654, 19, 4, 0, 0], "filenames": ["node-packages/commons/src/api.ts", "node-packages/commons/src/gitlabApi.ts", "services/webhook-handler/src/extractWebhookData.ts", "services/webhooks2tasks/src/handlers/gitlabProjectDelete.ts", "services/webhooks2t...
455
Determine whether the {function_name} code is vulnerable or not.
[ "import axios from 'axios';\nimport { pathOr, propOr } from 'ramda';", "const API_HOST = propOr('http://gitlab', 'GITLAB_API_HOST', process.env);\nconst API_TOKEN = propOr(\n 'personal access token',\n 'GITLAB_API_TOKEN',\n process.env\n);", "const options = {\n baseURL: `${API_HOST}/api/v4/`,\n timeout: 3...
[ 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": [1460, 19, 49, 29, 21], "buggy_code_start_loc": [654, 19, 4, 0, 0], "filenames": ["node-packages/commons/src/api.ts", "node-packages/commons/src/gitlabApi.ts", "services/webhook-handler/src/extractWebhookData.ts", "services/webhooks2tasks/src/handlers/gitlabProjectDelete.ts", "services/webhooks2t...
455
Determine whether the {function_name} code is vulnerable or not.
[ "import axios from 'axios';\nimport { pathOr, propOr } from 'ramda';", "const API_HOST = propOr('http://gitlab', 'GITLAB_API_HOST', process.env);\nconst API_TOKEN = propOr(\n 'personal access token',\n 'GITLAB_API_TOKEN',\n process.env\n);", "const options = {\n baseURL: `${API_HOST}/api/v4/`,\n timeout: 3...
[ 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": [1460, 19, 49, 29, 21], "buggy_code_start_loc": [654, 19, 4, 0, 0], "filenames": ["node-packages/commons/src/api.ts", "node-packages/commons/src/gitlabApi.ts", "services/webhook-handler/src/extractWebhookData.ts", "services/webhooks2tasks/src/handlers/gitlabProjectDelete.ts", "services/webhooks2t...
455
Determine whether the {function_name} code is vulnerable or not.
[ "import uuid4 from 'uuid4';\nimport url from 'url';\nimport R from 'ramda';\nimport { IncomingMessage } from 'http';", "", "\nimport type { RawData, WebhookRequestData } from './types';", "/**\n * This function will check request headers for\n * service specific data like github / gitlab / etc.\n * if the req...
[ 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1460, 19, 49, 29, 21], "buggy_code_start_loc": [654, 19, 4, 0, 0], "filenames": ["node-packages/commons/src/api.ts", "node-packages/commons/src/gitlabApi.ts", "services/webhook-handler/src/extractWebhookData.ts", "services/webhooks2tasks/src/handlers/gitlabProjectDelete.ts", "services/webhooks2t...
455
Determine whether the {function_name} code is vulnerable or not.
[ "import uuid4 from 'uuid4';\nimport url from 'url';\nimport R from 'ramda';\nimport { IncomingMessage } from 'http';", "import { secureGitlabSystemHooks } from '@lagoon/commons/dist/gitlabApi';", "\nimport type { RawData, WebhookRequestData } from './types';", "/**\n * This function will check request headers...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1460, 19, 49, 29, 21], "buggy_code_start_loc": [654, 19, 4, 0, 0], "filenames": ["node-packages/commons/src/api.ts", "node-packages/commons/src/gitlabApi.ts", "services/webhook-handler/src/extractWebhookData.ts", "services/webhooks2tasks/src/handlers/gitlabProjectDelete.ts", "services/webhooks2t...
455