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.
[ "test_cases:\n - user_agent_string: 'Luminary/1.0'\n family: 'Luminary'\n major: '1'\n minor: '0'\n patch:", " - user_agent_string: 'Luminary/70 CFNetwork/978.0.7 Darwin/18.5.0'\n family: 'Luminary'\n major: '70'\n minor:\n patch:", " - user_agent_string: 'Luminary/70 CFNetwork/975.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, 1...
PreciseBugs
{"buggy_code_end_loc": [5543, 88, 8332], "buggy_code_start_loc": [44, 45, 7648], "filenames": ["regexes.yaml", "tests/regexes.js", "tests/test_ua.yaml"], "fixing_code_end_loc": [5538, 320, 8332], "fixing_code_start_loc": [44, 45, 7648], "message": "uap-core in an open-source npm package which contains the core of Brows...
1,694
Determine whether the {function_name} code is vulnerable or not.
[ "test_cases:\n - user_agent_string: 'Luminary/1.0'\n family: 'Luminary'\n major: '1'\n minor: '0'\n patch:", " - user_agent_string: 'Luminary/70 CFNetwork/978.0.7 Darwin/18.5.0'\n family: 'Luminary'\n major: '70'\n minor:\n patch:", " - user_agent_string: 'Luminary/70 CFNetwork/975.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, 1...
PreciseBugs
{"buggy_code_end_loc": [5543, 88, 8332], "buggy_code_start_loc": [44, 45, 7648], "filenames": ["regexes.yaml", "tests/regexes.js", "tests/test_ua.yaml"], "fixing_code_end_loc": [5538, 320, 8332], "fixing_code_start_loc": [44, 45, 7648], "message": "uap-core in an open-source npm package which contains the core of Brows...
1,694
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * baserCMS : Based Website Development Project <https://basercms.net>\n * Copyright (c) baserCMS Users Community <https://basercms.net/community/>\n *\n * @copyright\t\tCopyright (c) baserCMS Users Community\n * @link\t\t\thttps://basercms.net baserCMS Project\n * @package\t\t\tBaser.View\n * @since\...
[ 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [123, 56], "buggy_code_start_loc": [42, 50], "filenames": ["app/webroot/theme/admin-third/Elements/admin/toolbar.php", "lib/Baser/View/Elements/admin/toolbar.php"], "fixing_code_end_loc": [127, 56], "fixing_code_start_loc": [42, 50], "message": "baserCMS 4.3.6 and earlier is affected by Cross Sit...
1,695
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * baserCMS : Based Website Development Project <https://basercms.net>\n * Copyright (c) baserCMS Users Community <https://basercms.net/community/>\n *\n * @copyright\t\tCopyright (c) baserCMS Users Community\n * @link\t\t\thttps://basercms.net baserCMS Project\n * @package\t\t\tBaser.View\n * @since\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [123, 56], "buggy_code_start_loc": [42, 50], "filenames": ["app/webroot/theme/admin-third/Elements/admin/toolbar.php", "lib/Baser/View/Elements/admin/toolbar.php"], "fixing_code_end_loc": [127, 56], "fixing_code_start_loc": [42, 50], "message": "baserCMS 4.3.6 and earlier is affected by Cross Sit...
1,695
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * baserCMS : Based Website Development Project <http://basercms.net>\n * Copyright (c) baserCMS Users Community <http://basercms.net/community/>\n *\n * @copyright\t\tCopyright (c) baserCMS Users Community\n * @link\t\t\thttp://basercms.net baserCMS Project\n * @package\t\t\tBaser.View\n * @since\t\t...
[ 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [123, 56], "buggy_code_start_loc": [42, 50], "filenames": ["app/webroot/theme/admin-third/Elements/admin/toolbar.php", "lib/Baser/View/Elements/admin/toolbar.php"], "fixing_code_end_loc": [127, 56], "fixing_code_start_loc": [42, 50], "message": "baserCMS 4.3.6 and earlier is affected by Cross Sit...
1,695
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * baserCMS : Based Website Development Project <http://basercms.net>\n * Copyright (c) baserCMS Users Community <http://basercms.net/community/>\n *\n * @copyright\t\tCopyright (c) baserCMS Users Community\n * @link\t\t\thttp://basercms.net baserCMS Project\n * @package\t\t\tBaser.View\n * @since\t\t...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [123, 56], "buggy_code_start_loc": [42, 50], "filenames": ["app/webroot/theme/admin-third/Elements/admin/toolbar.php", "lib/Baser/View/Elements/admin/toolbar.php"], "fixing_code_end_loc": [127, 56], "fixing_code_start_loc": [42, 50], "message": "baserCMS 4.3.6 and earlier is affected by Cross Sit...
1,695
Determine whether the {function_name} code is vulnerable or not.
[ "import getopt\nfrom subprocess import Popen, PIPE", "", "import Bcfg2.Server.Admin", "class Viz(Bcfg2.Server.Admin.MetadataCore):\n __shorthelp__ = \"Produce graphviz diagrams of metadata structures\"\n __longhelp__ = (__shorthelp__ + \"\\n\\nbcfg2-admin viz [--includehosts] \"\n ...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "import getopt\nfrom subprocess import Popen, PIPE", "import pipes", "import Bcfg2.Server.Admin", "class Viz(Bcfg2.Server.Admin.MetadataCore):\n __shorthelp__ = \"Produce graphviz diagrams of metadata structures\"\n __longhelp__ = (__shorthelp__ + \"\\n\\nbcfg2-admin viz [--includehosts] \"\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"This module implements a config file repository.\"\"\"\n__revision__ = '$Revision$'", "import binascii\nimport logging\nimport lxml\nimport os\nimport re\nimport tempfile", "", "\nimport Bcfg2.Server.Plugin", "logger = logging.getLogger('Bcfg2.Plugins.Cfg')", "def process_delta(data, delta):\n i...
[ 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"This module implements a config file repository.\"\"\"\n__revision__ = '$Revision$'", "import binascii\nimport logging\nimport lxml\nimport os\nimport re\nimport tempfile", "from subprocess import Popen, PIPE", "\nimport Bcfg2.Server.Plugin", "logger = logging.getLogger('Bcfg2.Plugins.Cfg')", "def ...
[ 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": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "import os\nfrom mercurial import ui, hg", "from subprocess import Popen, PIPE", "import Bcfg2.Server.Plugin", "# for debugging output only\nimport logging\nlogger = logging.getLogger('Bcfg2.Plugins.Mercurial')", "class Hg(Bcfg2.Server.Plugin.Plugin,\n Bcfg2.Server.Plugin.Version):\n \"\"\"Me...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "import os\nfrom mercurial import ui, hg", "", "import Bcfg2.Server.Plugin", "# for debugging output only\nimport logging\nlogger = logging.getLogger('Bcfg2.Plugins.Mercurial')", "class Hg(Bcfg2.Server.Plugin.Plugin,\n Bcfg2.Server.Plugin.Version):\n \"\"\"Mercurial is a version plugin for de...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "'''This module manages ssh key files for bcfg2'''\n__revision__ = '$Revision$'", "import binascii\nimport os", "", "import socket\nimport shutil\nimport tempfile\nfrom subprocess import Popen, PIPE\nimport Bcfg2.Server.Plugin", "\nclass SSHbase(Bcfg2.Server.Plugin.Plugin,\n Bcfg2.Server.Plugin...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "'''This module manages ssh key files for bcfg2'''\n__revision__ = '$Revision$'", "import binascii\nimport os", "import sys", "import socket\nimport shutil\nimport tempfile\nfrom subprocess import Popen, PIPE\nimport Bcfg2.Server.Plugin", "\nclass SSHbase(Bcfg2.Server.Plugin.Plugin,\n Bcfg2.Ser...
[ 1, 1, 1, 1, 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": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "import os", "", "from subprocess import Popen, PIPE\nimport Bcfg2.Server.Plugin", "# for debugging output only\nimport logging\nlogger = logging.getLogger('Bcfg2.Plugins.Svn')", "\nclass Svn(Bcfg2.Server.Plugin.Plugin,\n Bcfg2.Server.Plugin.Version):\n \"\"\"Svn is a version plugin for dealing ...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "import os", "import pipes", "from subprocess import Popen, PIPE\nimport Bcfg2.Server.Plugin", "# for debugging output only\nimport logging\nlogger = logging.getLogger('Bcfg2.Plugins.Svn')", "\nclass Svn(Bcfg2.Server.Plugin.Plugin,\n Bcfg2.Server.Plugin.Version):\n \"\"\"Svn is a version plugin ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 46, 4, 268, 39], "buggy_code_start_loc": [2, 9, 3, 5, 1], "filenames": ["src/lib/Server/Admin/Viz.py", "src/lib/Server/Plugins/Cfg.py", "src/lib/Server/Plugins/Hg.py", "src/lib/Server/Plugins/SSHbase.py", "src/lib/Server/Plugins/Svn.py"], "fixing_code_end_loc": [93, 46, 2, 275, 40], "fixing_...
1,696
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC 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, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [499], "buggy_code_start_loc": [499], "filenames": ["src/isomedia/isom_intern.c"], "fixing_code_end_loc": [501], "fixing_code_start_loc": [500], "message": "Memory leak in the def_parent_box_new function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.", "other": {"cve"...
1,697
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [499], "buggy_code_start_loc": [499], "filenames": ["src/isomedia/isom_intern.c"], "fixing_code_end_loc": [501], "fixing_code_start_loc": [500], "message": "Memory leak in the def_parent_box_new function in MP4Box in GPAC 1.0.1 allows attackers to read memory via a crafted file.", "other": {"cve"...
1,697
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\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 *...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [139, 221, 55], "buggy_code_start_loc": [121, 141, 54], "filenames": ["authorize_helper.go", "authorize_helper_test.go", "helper_test.go"], "fixing_code_end_loc": [149, 245, 55], "fixing_code_start_loc": [121, 140, 54], "message": "ORY Fosite is a security first OAuth2 & OpenID Connect framework ...
1,698
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\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 *...
[ 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": [139, 221, 55], "buggy_code_start_loc": [121, 141, 54], "filenames": ["authorize_helper.go", "authorize_helper_test.go", "helper_test.go"], "fixing_code_end_loc": [149, 245, 55], "fixing_code_start_loc": [121, 140, 54], "message": "ORY Fosite is a security first OAuth2 & OpenID Connect framework ...
1,698
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\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 *...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [139, 221, 55], "buggy_code_start_loc": [121, 141, 54], "filenames": ["authorize_helper.go", "authorize_helper_test.go", "helper_test.go"], "fixing_code_end_loc": [149, 245, 55], "fixing_code_start_loc": [121, 140, 54], "message": "ORY Fosite is a security first OAuth2 & OpenID Connect framework ...
1,698
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\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 *...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [139, 221, 55], "buggy_code_start_loc": [121, 141, 54], "filenames": ["authorize_helper.go", "authorize_helper_test.go", "helper_test.go"], "fixing_code_end_loc": [149, 245, 55], "fixing_code_start_loc": [121, 140, 54], "message": "ORY Fosite is a security first OAuth2 & OpenID Connect framework ...
1,698
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\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 *...
[ 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [139, 221, 55], "buggy_code_start_loc": [121, 141, 54], "filenames": ["authorize_helper.go", "authorize_helper_test.go", "helper_test.go"], "fixing_code_end_loc": [149, 245, 55], "fixing_code_start_loc": [121, 140, 54], "message": "ORY Fosite is a security first OAuth2 & OpenID Connect framework ...
1,698
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2015-2018 Aeneas Rekkas <aeneas+oss@aeneas.io>\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 *...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [139, 221, 55], "buggy_code_start_loc": [121, 141, 54], "filenames": ["authorize_helper.go", "authorize_helper_test.go", "helper_test.go"], "fixing_code_end_loc": [149, 245, 55], "fixing_code_start_loc": [121, 140, 54], "message": "ORY Fosite is a security first OAuth2 & OpenID Connect framework ...
1,698
Determine whether the {function_name} code is vulnerable or not.
[ "package io.gitlab.arturbosch.detekt.core.baseline", "import org.xml.sax.SAXParseException\nimport java.nio.file.Files\nimport java.nio.file.Path", "", "import javax.xml.parsers.SAXParserFactory\nimport javax.xml.stream.XMLStreamException\nimport javax.xml.stream.XMLStreamWriter", "internal class BaselineFo...
[ 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [21], "buggy_code_start_loc": [5], "filenames": ["detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/baseline/BaselineFormat.kt"], "fixing_code_end_loc": [26], "fixing_code_start_loc": [6], "message": "Improper Restriction of XML External Entity Reference in GitHub repository detekt/det...
1,699
Determine whether the {function_name} code is vulnerable or not.
[ "package io.gitlab.arturbosch.detekt.core.baseline", "import org.xml.sax.SAXParseException\nimport java.nio.file.Files\nimport java.nio.file.Path", "import javax.xml.XMLConstants", "import javax.xml.parsers.SAXParserFactory\nimport javax.xml.stream.XMLStreamException\nimport javax.xml.stream.XMLStreamWriter",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [21], "buggy_code_start_loc": [5], "filenames": ["detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/baseline/BaselineFormat.kt"], "fixing_code_end_loc": [26], "fixing_code_start_loc": [6], "message": "Improper Restriction of XML External Entity Reference in GitHub repository detekt/det...
1,699
Determine whether the {function_name} code is vulnerable or not.
[ "version 0.7.30 final (6-June-2014):\n\t* Security:\n\t\t* Fixed a XSS issue in the gravatars code.", "\t\t Users could construct a name that would allow for injecting\n\t\t JavaScript in the page. That name is now properly escaped.", "", "\n\t\t* Fixed a XSS issue in json_dumps.", "\t\t JSON payloads co...
[ 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, 1, 1, 1, 1, 1, 1, 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": [13], "buggy_code_start_loc": [6], "filenames": ["NEWS"], "fixing_code_end_loc": [18], "fixing_code_start_loc": [7], "message": "Cross-site scripting (XSS) vulnerability in gravatars/templatetags/gravatars.py in Djblets before 0.7.30 and 0.8.x before 0.8.3 for Django allows remote attackers to in...
1,700
Determine whether the {function_name} code is vulnerable or not.
[ "version 0.7.30 final (6-June-2014):\n\t* Security:\n\t\t* Fixed a XSS issue in the gravatars code.", "\t\t Users could construct a name that would allow for injecting\n\t\t JavaScript in the page. That name is now properly escaped.", "\n\t\t This is CVE-2014-3995.", "\n\t\t* Fixed a XSS issue in json_dump...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [13], "buggy_code_start_loc": [6], "filenames": ["NEWS"], "fixing_code_end_loc": [18], "fixing_code_start_loc": [7], "message": "Cross-site scripting (XSS) vulnerability in gravatars/templatetags/gravatars.py in Djblets before 0.7.30 and 0.8.x before 0.8.3 for Django allows remote attackers to in...
1,700
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * ldm - Support for Windows Logical Disk Manager (Dynamic Disks)\n *\n * Copyright (C) 2001,2002 Richard Russon <ldm@flatcap.org>\n * Copyright (c) 2001-2007 Anton Altaparmakov\n * Copyright (C) 2001,2002 Jakob Kemi <jakob.kemi@telia.com>\n *\n * Documentation is available at http://www.linux-ntfs.org/doku.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": [1337], "buggy_code_start_loc": [1337], "filenames": ["fs/partitions/ldm.c"], "fixing_code_end_loc": [1343], "fixing_code_start_loc": [1338], "message": "The ldm_frag_add function in fs/partitions/ldm.c in the Linux kernel before 2.6.39.1 does not properly handle memory allocation for non-initial...
1,701
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * ldm - Support for Windows Logical Disk Manager (Dynamic Disks)\n *\n * Copyright (C) 2001,2002 Richard Russon <ldm@flatcap.org>\n * Copyright (c) 2001-2007 Anton Altaparmakov\n * Copyright (C) 2001,2002 Jakob Kemi <jakob.kemi@telia.com>\n *\n * Documentation is available at http://www.linux-ntfs.org/doku.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": [1337], "buggy_code_start_loc": [1337], "filenames": ["fs/partitions/ldm.c"], "fixing_code_end_loc": [1343], "fixing_code_start_loc": [1338], "message": "The ldm_frag_add function in fs/partitions/ldm.c in the Linux kernel before 2.6.39.1 does not properly handle memory allocation for non-initial...
1,701
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP helper functions\n *\n * @authors\n * Copyright (C) 1996-1998,2010,2012-2013 Michael R. Elkins <me@mutt.org>\n * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>\n * Copyright (C) 1999-2009,2012 Brendan Cully <brendan@kublai.com>\n *\n * @copyright\n * This program is free software: ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [819], "buggy_code_start_loc": [817], "filenames": ["imap/util.c"], "fixing_code_end_loc": [819], "fixing_code_start_loc": [817], "message": "An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. imap_quote_string in imap/util.c does not leave room for quote characters, lea...
1,702
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP helper functions\n *\n * @authors\n * Copyright (C) 1996-1998,2010,2012-2013 Michael R. Elkins <me@mutt.org>\n * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>\n * Copyright (C) 1999-2009,2012 Brendan Cully <brendan@kublai.com>\n *\n * @copyright\n * This program is free software: ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [819], "buggy_code_start_loc": [817], "filenames": ["imap/util.c"], "fixing_code_end_loc": [819], "fixing_code_start_loc": [817], "message": "An issue was discovered in Mutt before 1.10.1 and NeoMutt before 2018-07-16. imap_quote_string in imap/util.c does not leave room for quote characters, lea...
1,702
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2015 the original author or 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 requi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [196, 31], "buggy_code_start_loc": [196, 18], "filenames": ["ratpack-session/src/main/java/ratpack/session/SessionModule.java", "ratpack-session/src/main/java/ratpack/session/internal/DefaultSessionIdGenerator.java"], "fixing_code_end_loc": [198, 30], "fixing_code_start_loc": [197, 19], "message"...
1,703
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2015 the original author or 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 requi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [196, 31], "buggy_code_start_loc": [196, 18], "filenames": ["ratpack-session/src/main/java/ratpack/session/SessionModule.java", "ratpack-session/src/main/java/ratpack/session/internal/DefaultSessionIdGenerator.java"], "fixing_code_end_loc": [198, 30], "fixing_code_start_loc": [197, 19], "message"...
1,703
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2013 the original author or 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 requi...
[ 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [196, 31], "buggy_code_start_loc": [196, 18], "filenames": ["ratpack-session/src/main/java/ratpack/session/SessionModule.java", "ratpack-session/src/main/java/ratpack/session/internal/DefaultSessionIdGenerator.java"], "fixing_code_end_loc": [198, 30], "fixing_code_start_loc": [197, 19], "message"...
1,703
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2013 the original author or 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 requi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [196, 31], "buggy_code_start_loc": [196, 18], "filenames": ["ratpack-session/src/main/java/ratpack/session/SessionModule.java", "ratpack-session/src/main/java/ratpack/session/internal/DefaultSessionIdGenerator.java"], "fixing_code_end_loc": [198, 30], "fixing_code_start_loc": [197, 19], "message"...
1,703
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2016 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, 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, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [420, 344], "buggy_code_start_loc": [263, 79], "filenames": ["tensorflow/core/kernels/fake_quant_ops.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [433, 408], "fixing_code_start_loc": [264, 80], "message": "TensorFlow is an open source pl...
1,704
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2016 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": [420, 344], "buggy_code_start_loc": [263, 79], "filenames": ["tensorflow/core/kernels/fake_quant_ops.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [433, 408], "fixing_code_start_loc": [264, 80], "message": "TensorFlow is an open source pl...
1,704
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2015 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, 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [420, 344], "buggy_code_start_loc": [263, 79], "filenames": ["tensorflow/core/kernels/fake_quant_ops.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [433, 408], "fixing_code_start_loc": [264, 80], "message": "TensorFlow is an open source pl...
1,704
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2015 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 ]
PreciseBugs
{"buggy_code_end_loc": [420, 344], "buggy_code_start_loc": [263, 79], "filenames": ["tensorflow/core/kernels/fake_quant_ops.cc", "tensorflow/python/kernel_tests/quantization_ops/quantization_ops_test.py"], "fixing_code_end_loc": [433, 408], "fixing_code_start_loc": [264, 80], "message": "TensorFlow is an open source pl...
1,704
Determine whether the {function_name} code is vulnerable or not.
[ "require \"archive\"\nrequire \"csv\"\nrequire \"fileutils\"\nrequire \"rubygems/package\"\nrequire \"statistics\"\nrequire \"yaml\"\nrequire \"utilities\"", "class AssessmentsController < ApplicationController\n include ActiveSupport::Callbacks\n include AssessmentAutogradeCore", " rescue_from ActionView::M...
[ 1, 1, 1, 1, 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, 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": [206, 1116], "buggy_code_start_loc": [189, 1113], "filenames": ["app/controllers/assessments_controller.rb", "app/controllers/courses_controller.rb"], "fixing_code_end_loc": [211, 1116], "fixing_code_start_loc": [190, 1113], "message": "Autolab is a course management service that enables auto-gra...
1,705
Determine whether the {function_name} code is vulnerable or not.
[ "require \"archive\"\nrequire \"csv\"\nrequire \"fileutils\"\nrequire \"rubygems/package\"\nrequire \"statistics\"\nrequire \"yaml\"\nrequire \"utilities\"", "class AssessmentsController < ApplicationController\n include ActiveSupport::Callbacks\n include AssessmentAutogradeCore", " rescue_from ActionView::M...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [206, 1116], "buggy_code_start_loc": [189, 1113], "filenames": ["app/controllers/assessments_controller.rb", "app/controllers/courses_controller.rb"], "fixing_code_end_loc": [211, 1116], "fixing_code_start_loc": [190, 1113], "message": "Autolab is a course management service that enables auto-gra...
1,705
Determine whether the {function_name} code is vulnerable or not.
[ "require \"archive\"\nrequire \"csv\"\nrequire \"fileutils\"\nrequire \"pathname\"\nrequire \"statistics\"", "class CoursesController < ApplicationController\n skip_before_action :set_course, only: %i[courses_redirect index new create]\n # you need to be able to pick a course to be authorized for it\n skip_bef...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [206, 1116], "buggy_code_start_loc": [189, 1113], "filenames": ["app/controllers/assessments_controller.rb", "app/controllers/courses_controller.rb"], "fixing_code_end_loc": [211, 1116], "fixing_code_start_loc": [190, 1113], "message": "Autolab is a course management service that enables auto-gra...
1,705
Determine whether the {function_name} code is vulnerable or not.
[ "require \"archive\"\nrequire \"csv\"\nrequire \"fileutils\"\nrequire \"pathname\"\nrequire \"statistics\"", "class CoursesController < ApplicationController\n skip_before_action :set_course, only: %i[courses_redirect index new create]\n # you need to be able to pick a course to be authorized for it\n skip_bef...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [206, 1116], "buggy_code_start_loc": [189, 1113], "filenames": ["app/controllers/assessments_controller.rb", "app/controllers/courses_controller.rb"], "fixing_code_end_loc": [211, 1116], "fixing_code_start_loc": [190, 1113], "message": "Autolab is a course management service that enables auto-gra...
1,705
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n\tFusionPBX\n\tVersion: MPL 1.1", "\tThe contents of this file are subject to the Mozilla Public License Version\n\t1.1 (the \"License\"); you may not use this file except in compliance with\n\tthe License. You may obtain a copy of the License at\n\thttp://www.mozilla.org/MPL/", "\tSoftware distribu...
[ 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [371], "buggy_code_start_loc": [370], "filenames": ["app/operator_panel/index_inc.php"], "fixing_code_end_loc": [371], "fixing_code_start_loc": [370], "message": "XSS in app/operator_panel/index_inc.php in the Operator Panel module in FusionPBX 4.4.3 allows remote unauthenticated attackers to inj...
1,706
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n\tFusionPBX\n\tVersion: MPL 1.1", "\tThe contents of this file are subject to the Mozilla Public License Version\n\t1.1 (the \"License\"); you may not use this file except in compliance with\n\tthe License. You may obtain a copy of the License at\n\thttp://www.mozilla.org/MPL/", "\tSoftware distribu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [371], "buggy_code_start_loc": [370], "filenames": ["app/operator_panel/index_inc.php"], "fixing_code_end_loc": [371], "fixing_code_start_loc": [370], "message": "XSS in app/operator_panel/index_inc.php in the Operator Panel module in FusionPBX 4.4.3 allows remote unauthenticated attackers to inj...
1,706
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * baserCMS : Based Website Development Project <https://basercms.net>\n * Copyright (c) baserCMS Users Community <https://basercms.net/community/>\n *\n * @copyright\t\tCopyright (c) baserCMS Users Community\n * @link\t\t\thttps://basercms.net baserCMS Project\n * @package\t\t\tBaser.View\n * @since\...
[ 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 15], "buggy_code_start_loc": [28, 14], "filenames": ["lib/Baser/Config/theme/bc_sample/Elements/blog_comment.php", "lib/Baser/Plugin/Blog/View/Elements/blog_comments_scripts.php"], "fixing_code_end_loc": [31, 15], "fixing_code_start_loc": [28, 14], "message": "baserCMS before version 4.4.1 i...
1,707
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * baserCMS : Based Website Development Project <https://basercms.net>\n * Copyright (c) baserCMS Users Community <https://basercms.net/community/>\n *\n * @copyright\t\tCopyright (c) baserCMS Users Community\n * @link\t\t\thttps://basercms.net baserCMS Project\n * @package\t\t\tBaser.View\n * @since\...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 15], "buggy_code_start_loc": [28, 14], "filenames": ["lib/Baser/Config/theme/bc_sample/Elements/blog_comment.php", "lib/Baser/Plugin/Blog/View/Elements/blog_comments_scripts.php"], "fixing_code_end_loc": [31, 15], "fixing_code_start_loc": [28, 14], "message": "baserCMS before version 4.4.1 i...
1,707
Determine whether the {function_name} code is vulnerable or not.
[ "<?php $this->BcBaser->js('admin/libs/jquery.baseUrl.js', false, ['once' => true]); ?>\n<?php $this->BcBaser->js('admin/libs/jquery.bcUtil.js', false, ['once' => true]); ?>\n<?php $this->BcBaser->js('admin/libs/jquery.bcToken.js', false, ['once' => true]); ?>\n<?php $this->BcBaser->js('Blog.blog_comments_scripts.js...
[ 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 15], "buggy_code_start_loc": [28, 14], "filenames": ["lib/Baser/Config/theme/bc_sample/Elements/blog_comment.php", "lib/Baser/Plugin/Blog/View/Elements/blog_comments_scripts.php"], "fixing_code_end_loc": [31, 15], "fixing_code_start_loc": [28, 14], "message": "baserCMS before version 4.4.1 i...
1,707
Determine whether the {function_name} code is vulnerable or not.
[ "<?php $this->BcBaser->js('admin/libs/jquery.baseUrl.js', false, ['once' => true]); ?>\n<?php $this->BcBaser->js('admin/libs/jquery.bcUtil.js', false, ['once' => true]); ?>\n<?php $this->BcBaser->js('admin/libs/jquery.bcToken.js', false, ['once' => true]); ?>\n<?php $this->BcBaser->js('Blog.blog_comments_scripts.js...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [31, 15], "buggy_code_start_loc": [28, 14], "filenames": ["lib/Baser/Config/theme/bc_sample/Elements/blog_comment.php", "lib/Baser/Plugin/Blog/View/Elements/blog_comments_scripts.php"], "fixing_code_end_loc": [31, 15], "fixing_code_start_loc": [28, 14], "message": "baserCMS before version 4.4.1 i...
1,707
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "return [", "\t'appVersion' => '6.3.427',\n\t'patchVersion' => '2022.08.12',", "\t'lib_roundcube' => '0.3.0',\n];" ]
[ 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 77], "buggy_code_start_loc": [4, 76], "filenames": ["config/version.php", "modules/Rss/models/Record.php"], "fixing_code_end_loc": [6, 77], "fixing_code_start_loc": [4, 76], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository yetiforcecompany/yetiforcecrm prior to 6.4.0.", "o...
1,708
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "return [", "\t'appVersion' => '6.3.428',\n\t'patchVersion' => '2022.08.13',", "\t'lib_roundcube' => '0.3.0',\n];" ]
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 77], "buggy_code_start_loc": [4, 76], "filenames": ["config/version.php", "modules/Rss/models/Record.php"], "fixing_code_end_loc": [6, 77], "fixing_code_start_loc": [4, 76], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository yetiforcecompany/yetiforcecrm prior to 6.4.0.", "o...
1,708
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* +***********************************************************************************\n * The contents of this file are subject to the vtiger CRM Public License Version 1.0\n * (\"License\"); You may not use this file except in compliance with the License\n * The Original Code is: vtiger CRM Open Source\...
[ 1, 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": [6, 77], "buggy_code_start_loc": [4, 76], "filenames": ["config/version.php", "modules/Rss/models/Record.php"], "fixing_code_end_loc": [6, 77], "fixing_code_start_loc": [4, 76], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository yetiforcecompany/yetiforcecrm prior to 6.4.0.", "o...
1,708
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* +***********************************************************************************\n * The contents of this file are subject to the vtiger CRM Public License Version 1.0\n * (\"License\"); You may not use this file except in compliance with the License\n * The Original Code is: vtiger CRM Open 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 ]
PreciseBugs
{"buggy_code_end_loc": [6, 77], "buggy_code_start_loc": [4, 76], "filenames": ["config/version.php", "modules/Rss/models/Record.php"], "fixing_code_end_loc": [6, 77], "fixing_code_start_loc": [4, 76], "message": "Cross-site Scripting (XSS) - Stored in GitHub repository yetiforcecompany/yetiforcecrm prior to 6.4.0.", "o...
1,708
Determine whether the {function_name} code is vulnerable or not.
[ "Change log\n==========", "These are all the changes for Zope 5, starting with the alpha releases,\nsince the branch point at Zope 4.1.2.", "The change log for the previous version, Zope 4, is at\nhttps://github.com/zopefoundation/Zope/blob/4.x/CHANGES.rst", "\n5.3 (unreleased)\n----------------", "", "\n...
[ 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": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "Change log\n==========", "These are all the changes for Zope 5, starting with the alpha releases,\nsince the branch point at Zope 4.1.2.", "The change log for the previous version, Zope 4, is at\nhttps://github.com/zopefoundation/Zope/blob/4.x/CHANGES.rst", "\n5.3 (unreleased)\n----------------", "\n- Upda...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "AccessControl==5.0", "Acquisition==4.7\nAuthEncoding==4.2.1\nBTrees==4.9.1\nChameleon==3.9.1\nDateTime==4.3\nDocumentTemplate==4.0\nExtensionClass==4.5.0\nMissing==4.1\nMultiMapping==4.1\nPaste==3.5.0\nPasteDeploy==2.1.1\nPersistence==3.0\nProducts.BTreeFolder2==4.3\nProducts.ZCatalog==6.0\nRecord==3.5\nRestrict...
[ 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "AccessControl==5.2", "Acquisition==4.7\nAuthEncoding==4.2.1\nBTrees==4.9.1\nChameleon==3.9.1\nDateTime==4.3\nDocumentTemplate==4.0\nExtensionClass==4.5.0\nMissing==4.1\nMultiMapping==4.1\nPaste==3.5.0\nPasteDeploy==2.1.1\nPersistence==3.0\nProducts.BTreeFolder2==4.3\nProducts.ZCatalog==6.0\nRecord==3.5\nRestrict...
[ 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "-e git+https://github.com/zopefoundation/Zope.git@master#egg=Zope", "AccessControl==5.0", "Acquisition==4.7\nAuthEncoding==4.2.1\nBTrees==4.9.1\nChameleon==3.9.1\nDateTime==4.3\nDocumentTemplate==4.0\nExtensionClass==4.5.0\nMissing==4.1\nMultiMapping==4.1\nPaste==3.5.0\nPasteDeploy==2.1.1\nPersistence==3.0\nPr...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "-e git+https://github.com/zopefoundation/Zope.git@master#egg=Zope", "AccessControl==5.2", "Acquisition==4.7\nAuthEncoding==4.2.1\nBTrees==4.9.1\nChameleon==3.9.1\nDateTime==4.3\nDocumentTemplate==4.0\nExtensionClass==4.5.0\nMissing==4.1\nMultiMapping==4.1\nPaste==3.5.0\nPasteDeploy==2.1.1\nPersistence==3.0\nPr...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "##############################################################################\n#\n# Copyright (c) 2007 Zope Foundation and Contributors.\n# All Rights Reserved.\n#\n# This software is subject to the provisions of the Zope Public License,\n# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution....
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "##############################################################################\n#\n# Copyright (c) 2007 Zope Foundation and Contributors.\n# All Rights Reserved.\n#\n# This software is subject to the provisions of the Zope Public License,\n# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "[buildout]\n# Version pins for required and commonly used dependencies.", "[versions]\nZope =\nZope2 = 4.0", "AccessControl = 5.0", "Acquisition = 4.7\nAuthEncoding = 4.2.1\nBTrees = 4.9.1\nChameleon = 3.9.1\nDateTime = 4.3\nDocumentTemplate = 4.0\nExtensionClass = 4.5.0\nMissing = 4.1\nMultiMapping = 4.1\nP...
[ 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "[buildout]\n# Version pins for required and commonly used dependencies.", "[versions]\nZope =\nZope2 = 4.0", "AccessControl = 5.2", "Acquisition = 4.7\nAuthEncoding = 4.2.1\nBTrees = 4.9.1\nChameleon = 3.9.1\nDateTime = 4.3\nDocumentTemplate = 4.0\nExtensionClass = 4.5.0\nMissing = 4.1\nMultiMapping = 4.1\nP...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 2, 3, 73, 8], "buggy_code_start_loc": [12, 1, 2, 72, 7], "filenames": ["CHANGES.rst", "constraints.txt", "requirements-full.txt", "setup.py", "versions-prod.cfg"], "fixing_code_end_loc": [17, 2, 3, 73, 8], "fixing_code_start_loc": [13, 1, 2, 72, 7], "message": "Zope is an open-source web app...
1,709
Determine whether the {function_name} code is vulnerable or not.
[ "# GLPI changes", "The present file will list all changes made to the project; according to the\n[Keep a Changelog](http://keepachangelog.com/) project.", "## [9.5.2] unreleased", "### API changes", "#### Removed", "- Ability to use SQL expressions as string in criterion values in SQL iterator (replaced b...
[ 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, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [12, 74], "buggy_code_start_loc": [12, 46], "filenames": ["CHANGELOG.md", "front/pluginimage.send.php"], "fixing_code_end_loc": [14, 77], "fixing_code_start_loc": [13, 46], "message": "In GLPI before version 9.5.2, the `?pluginimage.send.php?` endpoint allows a user to specify an image from a plu...
1,710
Determine whether the {function_name} code is vulnerable or not.
[ "# GLPI changes", "The present file will list all changes made to the project; according to the\n[Keep a Changelog](http://keepachangelog.com/) project.", "## [9.5.2] unreleased", "### API changes", "#### Removed", "- Ability to use SQL expressions as string in criterion values in SQL iterator (replaced 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": [12, 74], "buggy_code_start_loc": [12, 46], "filenames": ["CHANGELOG.md", "front/pluginimage.send.php"], "fixing_code_end_loc": [14, 77], "fixing_code_start_loc": [13, 46], "message": "In GLPI before version 9.5.2, the `?pluginimage.send.php?` endpoint allows a user to specify an image from a plu...
1,710
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, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12, 74], "buggy_code_start_loc": [12, 46], "filenames": ["CHANGELOG.md", "front/pluginimage.send.php"], "fixing_code_end_loc": [14, 77], "fixing_code_start_loc": [13, 46], "message": "In GLPI before version 9.5.2, the `?pluginimage.send.php?` endpoint allows a user to specify an image from a plu...
1,710
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 ]
PreciseBugs
{"buggy_code_end_loc": [12, 74], "buggy_code_start_loc": [12, 46], "filenames": ["CHANGELOG.md", "front/pluginimage.send.php"], "fixing_code_end_loc": [14, 77], "fixing_code_start_loc": [13, 46], "message": "In GLPI before version 9.5.2, the `?pluginimage.send.php?` endpoint allows a user to specify an image from a plu...
1,710
Determine whether the {function_name} code is vulnerable or not.
[ "# bash/zsh git prompt support\n#\n# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>\n# Distributed under the GNU General Public License, version 2.0.\n#\n# This script allows you to see repository status in your prompt.\n#\n# To enable:\n#\n# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh)....
[ 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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [443, 587], "buggy_code_start_loc": [210, 455], "filenames": ["contrib/completion/git-prompt.sh", "t/t9903-bash-prompt.sh"], "fixing_code_end_loc": [473, 587], "fixing_code_start_loc": [210, 455], "message": "contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in t...
1,711
Determine whether the {function_name} code is vulnerable or not.
[ "# bash/zsh git prompt support\n#\n# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>\n# Distributed under the GNU General Public License, version 2.0.\n#\n# This script allows you to see repository status in your prompt.\n#\n# To enable:\n#\n# 1) Copy this file to somewhere (e.g. ~/.git-prompt.sh)....
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [443, 587], "buggy_code_start_loc": [210, 455], "filenames": ["contrib/completion/git-prompt.sh", "t/t9903-bash-prompt.sh"], "fixing_code_end_loc": [473, 587], "fixing_code_start_loc": [210, 455], "message": "contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in t...
1,711
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh\n#\n# Copyright (c) 2012 SZEDER Gábor\n#", "test_description='test git-specific bash prompt functions'", ". ./lib-bash.sh", ". \"$GIT_BUILD_DIR/contrib/completion/git-prompt.sh\"", "actual=\"$TRASH_DIRECTORY/actual\"\nc_red='\\\\[\\\\e[31m\\\\]'\nc_green='\\\\[\\\\e[32m\\\\]'\nc_lblue='\\\\[\\\\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, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0...
PreciseBugs
{"buggy_code_end_loc": [443, 587], "buggy_code_start_loc": [210, 455], "filenames": ["contrib/completion/git-prompt.sh", "t/t9903-bash-prompt.sh"], "fixing_code_end_loc": [473, 587], "fixing_code_start_loc": [210, 455], "message": "contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in t...
1,711
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh\n#\n# Copyright (c) 2012 SZEDER Gábor\n#", "test_description='test git-specific bash prompt functions'", ". ./lib-bash.sh", ". \"$GIT_BUILD_DIR/contrib/completion/git-prompt.sh\"", "actual=\"$TRASH_DIRECTORY/actual\"\nc_red='\\\\[\\\\e[31m\\\\]'\nc_green='\\\\[\\\\e[32m\\\\]'\nc_lblue='\\\\[\\\\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": [443, 587], "buggy_code_start_loc": [210, 455], "filenames": ["contrib/completion/git-prompt.sh", "t/t9903-bash-prompt.sh"], "fixing_code_end_loc": [473, 587], "fixing_code_start_loc": [210, 455], "message": "contrib/completion/git-prompt.sh in Git before 1.9.3 does not sanitize branch names in t...
1,711
Determine whether the {function_name} code is vulnerable or not.
[ "Allow Crypto SHA1 without SHA256/512 (for Original & ESP8266 where flash is scarce)\n Add better docs for the form of Wifi callback functions\n Modify ESP8266/ESP32 callbacks to match the node.js style used elsewhere\n nRF52: fix pin.toggle() on software-negated pins\n P...
[ 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, 1...
PreciseBugs
{"buggy_code_end_loc": [23, 134, 163], "buggy_code_start_loc": [23, 132, 163], "filenames": ["ChangeLog", "libs/graphics/jswrap_graphics.c", "libs/graphics/lcd_arraybuffer.c"], "fixing_code_end_loc": [25, 140, 165], "fixing_code_start_loc": [24, 132, 164], "message": "Espruino before 1.98 allows attackers to cause a de...
1,712
Determine whether the {function_name} code is vulnerable or not.
[ "Allow Crypto SHA1 without SHA256/512 (for Original & ESP8266 where flash is scarce)\n Add better docs for the form of Wifi callback functions\n Modify ESP8266/ESP32 callbacks to match the node.js style used elsewhere\n nRF52: fix pin.toggle() on software-negated pins\n 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": [23, 134, 163], "buggy_code_start_loc": [23, 132, 163], "filenames": ["ChangeLog", "libs/graphics/jswrap_graphics.c", "libs/graphics/lcd_arraybuffer.c"], "fixing_code_end_loc": [25, 140, 165], "fixing_code_start_loc": [24, 132, 164], "message": "Espruino before 1.98 allows attackers to cause a de...
1,712
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain...
[ 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": [23, 134, 163], "buggy_code_start_loc": [23, 132, 163], "filenames": ["ChangeLog", "libs/graphics/jswrap_graphics.c", "libs/graphics/lcd_arraybuffer.c"], "fixing_code_end_loc": [25, 140, 165], "fixing_code_start_loc": [24, 132, 164], "message": "Espruino before 1.98 allows attackers to cause a de...
1,712
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [23, 134, 163], "buggy_code_start_loc": [23, 132, 163], "filenames": ["ChangeLog", "libs/graphics/jswrap_graphics.c", "libs/graphics/lcd_arraybuffer.c"], "fixing_code_end_loc": [25, 140, 165], "fixing_code_start_loc": [24, 132, 164], "message": "Espruino before 1.98 allows attackers to cause a de...
1,712
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 134, 163], "buggy_code_start_loc": [23, 132, 163], "filenames": ["ChangeLog", "libs/graphics/jswrap_graphics.c", "libs/graphics/lcd_arraybuffer.c"], "fixing_code_end_loc": [25, 140, 165], "fixing_code_start_loc": [24, 132, 164], "message": "Espruino before 1.98 allows attackers to cause a de...
1,712
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [23, 134, 163], "buggy_code_start_loc": [23, 132, 163], "filenames": ["ChangeLog", "libs/graphics/jswrap_graphics.c", "libs/graphics/lcd_arraybuffer.c"], "fixing_code_end_loc": [25, 140, 165], "fixing_code_start_loc": [24, 132, 164], "message": "Espruino before 1.98 allows attackers to cause a de...
1,712
Determine whether the {function_name} code is vulnerable or not.
[ "import graphene\nimport jwt\nfrom django.conf import settings\nfrom django.contrib.auth import password_validation\nfrom django.core.exceptions import ValidationError\nfrom django.db import transaction", "from ....account import events as account_events\nfrom ....account import models, notifications, search, uti...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "import graphene\nimport jwt\nfrom django.conf import settings\nfrom django.contrib.auth import password_validation\nfrom django.core.exceptions import ValidationError\nfrom django.db import transaction", "from ....account import events as account_events\nfrom ....account import models, notifications, search, uti...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "import graphene\nfrom django.contrib.auth import password_validation\nfrom django.contrib.auth.tokens import default_token_generator\nfrom django.core.exceptions import ObjectDoesNotExist, ValidationError", "from ....account import events as account_events\nfrom ....account import models\nfrom ....account.error_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "import graphene\nfrom django.contrib.auth import password_validation\nfrom django.contrib.auth.tokens import default_token_generator\nfrom django.core.exceptions import ObjectDoesNotExist, ValidationError", "from ....account import events as account_events\nfrom ....account import models\nfrom ....account.error_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "from dataclasses import dataclass\nfrom typing import Dict, List, Optional, Type", "import graphene\nfrom django.core.exceptions import ValidationError\nfrom django.db import transaction\nfrom django.db.models import Model", "from ...core.permissions import MenuPermissions, SitePermissions\nfrom ...core.tracin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "from dataclasses import dataclass\nfrom typing import Dict, List, Optional, Type", "import graphene\nfrom django.core.exceptions import ValidationError\nfrom django.db import transaction\nfrom django.db.models import Model", "from ...core.permissions import MenuPermissions, SitePermissions\nfrom ...core.tracin...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "from collections import defaultdict\nfrom typing import Iterable", "import graphene\nfrom django.core.exceptions import ValidationError\nfrom django.db import transaction\nfrom django.db.models import Exists, OuterRef, Q, Subquery\nfrom django.db.models.fields import IntegerField\nfrom django.db.models.functions...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "from collections import defaultdict\nfrom typing import Iterable", "import graphene\nfrom django.core.exceptions import ValidationError\nfrom django.db import transaction\nfrom django.db.models import Exists, OuterRef, Q, Subquery\nfrom django.db.models.fields import IntegerField\nfrom django.db.models.functions...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [392, 373, 518, 551], "buggy_code_start_loc": [391, 372, 517, 550], "filenames": ["saleor/graphql/account/mutations/account.py", "saleor/graphql/account/mutations/base.py", "saleor/graphql/menu/mutations.py", "saleor/graphql/product/bulk_mutations/products.py"], "fixing_code_end_loc": [392, 373, ...
1,713
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * L2TPv3 IP encapsulation support\n *\n * Copyright (c) 2008,2009,2010 Katalix Systems Ltd\n *\n *\tThis program is free software; you can redistribute it and/or\n *\tmodify it under the terms of the GNU General Public License\n *\tas published by the Free Software Foundation; either version\n *\t2 of the Lic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [269, 298], "buggy_code_start_loc": [254, 272], "filenames": ["net/l2tp/l2tp_ip.c", "net/l2tp/l2tp_ip6.c"], "fixing_code_end_loc": [271, 300], "fixing_code_start_loc": [253, 271], "message": "Race condition in the L2TPv3 IP Encapsulation feature in the Linux kernel before 4.8.14 allows local user...
1,714
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * L2TPv3 IP encapsulation support\n *\n * Copyright (c) 2008,2009,2010 Katalix Systems Ltd\n *\n *\tThis program is free software; you can redistribute it and/or\n *\tmodify it under the terms of the GNU General Public License\n *\tas published by the Free Software Foundation; either version\n *\t2 of the Lic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [269, 298], "buggy_code_start_loc": [254, 272], "filenames": ["net/l2tp/l2tp_ip.c", "net/l2tp/l2tp_ip6.c"], "fixing_code_end_loc": [271, 300], "fixing_code_start_loc": [253, 271], "message": "Race condition in the L2TPv3 IP Encapsulation feature in the Linux kernel before 4.8.14 allows local user...
1,714
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * L2TPv3 IP encapsulation support for IPv6\n *\n * Copyright (c) 2012 Katalix Systems Ltd\n *\n *\tThis program is free software; you can redistribute it and/or\n *\tmodify it under the terms of the GNU General Public License\n *\tas published by the Free Software Foundation; either version\n *\t2 of the Lice...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [269, 298], "buggy_code_start_loc": [254, 272], "filenames": ["net/l2tp/l2tp_ip.c", "net/l2tp/l2tp_ip6.c"], "fixing_code_end_loc": [271, 300], "fixing_code_start_loc": [253, 271], "message": "Race condition in the L2TPv3 IP Encapsulation feature in the Linux kernel before 4.8.14 allows local user...
1,714
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * L2TPv3 IP encapsulation support for IPv6\n *\n * Copyright (c) 2012 Katalix Systems Ltd\n *\n *\tThis program is free software; you can redistribute it and/or\n *\tmodify it under the terms of the GNU General Public License\n *\tas published by the Free Software Foundation; either version\n *\t2 of the Lice...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [269, 298], "buggy_code_start_loc": [254, 272], "filenames": ["net/l2tp/l2tp_ip.c", "net/l2tp/l2tp_ip6.c"], "fixing_code_end_loc": [271, 300], "fixing_code_start_loc": [253, 271], "message": "Race condition in the L2TPv3 IP Encapsulation feature in the Linux kernel before 4.8.14 allows local user...
1,714
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, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [973, 132, 17], "buggy_code_start_loc": [349, 27, 17], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/js/pimcore/element/helpers/gridColumnConfig.js", "lib/Security/SecurityHelper.php"], "fixing_code_end_loc": ...
1,715
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": [973, 132, 17], "buggy_code_start_loc": [349, 27, 17], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/js/pimcore/element/helpers/gridColumnConfig.js", "lib/Security/SecurityHelper.php"], "fixing_code_end_loc": ...
1,715
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, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [973, 132, 17], "buggy_code_start_loc": [349, 27, 17], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/js/pimcore/element/helpers/gridColumnConfig.js", "lib/Security/SecurityHelper.php"], "fixing_code_end_loc": ...
1,715
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": [973, 132, 17], "buggy_code_start_loc": [349, 27, 17], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/js/pimcore/element/helpers/gridColumnConfig.js", "lib/Security/SecurityHelper.php"], "fixing_code_end_loc": ...
1,715
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, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [973, 132, 17], "buggy_code_start_loc": [349, 27, 17], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/js/pimcore/element/helpers/gridColumnConfig.js", "lib/Security/SecurityHelper.php"], "fixing_code_end_loc": ...
1,715
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": [973, 132, 17], "buggy_code_start_loc": [349, 27, 17], "filenames": ["bundles/AdminBundle/Controller/Admin/DataObject/DataObjectHelperController.php", "bundles/AdminBundle/Resources/public/js/pimcore/element/helpers/gridColumnConfig.js", "lib/Security/SecurityHelper.php"], "fixing_code_end_loc": ...
1,715
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "// CORS proxy\n// https://web.ccpgamescdn.com/ccpwgl/res/ dx9/model/lensflare/orange.red\\\n//\n// use: proxy.php?fetch=dx9/model/lensflare/orange.red\n//\n//use proxy for CCP WebGL assets\n//$LM_CCPWGL_USEPROXY=FALSE;\n//cache files proxied by WebGL proxy\n//$LM_CCPWGL_PROXYCACHE=FALSE;\n//log every ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [72], "buggy_code_start_loc": [71], "filenames": ["wwwroot/ccpwgl/proxy.php"], "fixing_code_end_loc": [72], "fixing_code_start_loc": [71], "message": "A vulnerability was found in roxlukas LMeve up to 0.1.58. It has been rated as critical. Affected by this issue is the function insert_log of the ...
1,716
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "// CORS proxy\n// https://web.ccpgamescdn.com/ccpwgl/res/ dx9/model/lensflare/orange.red\\\n//\n// use: proxy.php?fetch=dx9/model/lensflare/orange.red\n//\n//use proxy for CCP WebGL assets\n//$LM_CCPWGL_USEPROXY=FALSE;\n//cache files proxied by WebGL proxy\n//$LM_CCPWGL_PROXYCACHE=FALSE;\n//log every ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [72], "buggy_code_start_loc": [71], "filenames": ["wwwroot/ccpwgl/proxy.php"], "fixing_code_end_loc": [72], "fixing_code_start_loc": [71], "message": "A vulnerability was found in roxlukas LMeve up to 0.1.58. It has been rated as critical. Affected by this issue is the function insert_log of the ...
1,716
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Tom Huybrechts,\n * Yahoo! Inc.\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 t...
[ 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 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": [91, 30, 30, 30, 30, 30, 38, 47, 30, 30, 30, 30, 30, 30, 28, 30, 82, 218], "buggy_code_start_loc": [33, 29, 29, 29, 29, 29, 38, 47, 29, 29, 29, 29, 29, 29, 27, 29, 34, 2], "filenames": ["core/src/main/java/hudson/model/ParameterValue.java", "core/src/main/resources/hudson/model/BooleanParameterDe...
1,717
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The MIT License\n * \n * Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi, Tom Huybrechts,\n * Yahoo! Inc.\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 t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [91, 30, 30, 30, 30, 30, 38, 47, 30, 30, 30, 30, 30, 30, 28, 30, 82, 218], "buggy_code_start_loc": [33, 29, 29, 29, 29, 29, 38, 47, 29, 29, 29, 29, 29, 29, 27, 29, 34, 2], "filenames": ["core/src/main/java/hudson/model/ParameterValue.java", "core/src/main/resources/hudson/model/BooleanParameterDe...
1,717