prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2020 ThoughtWorks, Inc.\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 appli...
[ 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, 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...
PreciseBugs
{"buggy_code_end_loc": [138, 126, 343, 39, 395, 185, 209, 188, 69, 72, 97, 85, 72, 44, 35, 179, 204, 89], "buggy_code_start_loc": [137, 101, 71, 21, 332, 183, 35, 24, 28, 29, 61, 56, 28, 21, 20, 32, 52, 22], "filenames": ["api/api-server-maintenance-mode-v1/src/test/groovy/com/thoughtworks/go/apiv1/servermaintenancemod...
124
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2020 ThoughtWorks, Inc.\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 appli...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [138, 126, 343, 39, 395, 185, 209, 188, 69, 72, 97, 85, 72, 44, 35, 179, 204, 89], "buggy_code_start_loc": [137, 101, 71, 21, 332, 183, 35, 24, 28, 29, 61, 56, 28, 21, 20, 32, 52, 22], "filenames": ["api/api-server-maintenance-mode-v1/src/test/groovy/com/thoughtworks/go/apiv1/servermaintenancemod...
124
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2020 ThoughtWorks, Inc.\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 appli...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [138, 126, 343, 39, 395, 185, 209, 188, 69, 72, 97, 85, 72, 44, 35, 179, 204, 89], "buggy_code_start_loc": [137, 101, 71, 21, 332, 183, 35, 24, 28, 29, 61, 56, 28, 21, 20, 32, 52, 22], "filenames": ["api/api-server-maintenance-mode-v1/src/test/groovy/com/thoughtworks/go/apiv1/servermaintenancemod...
124
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2020 ThoughtWorks, Inc.\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 appli...
[ 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": [138, 126, 343, 39, 395, 185, 209, 188, 69, 72, 97, 85, 72, 44, 35, 179, 204, 89], "buggy_code_start_loc": [137, 101, 71, 21, 332, 183, 35, 24, 28, 29, 61, 56, 28, 21, 20, 32, 52, 22], "filenames": ["api/api-server-maintenance-mode-v1/src/test/groovy/com/thoughtworks/go/apiv1/servermaintenancemod...
124
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * FusionInventory\n *\n * Copyright (C) 2010-2016 by the FusionInventory Development Team.\n *\n * http://www.fusioninventory.org/\n * https://github.com/fusioninventory/fusioninventory-for-glpi\n * http://forge.fusioninventory.org/\n *\n * ---------------------------------------------------------...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [62, 522], "buggy_code_start_loc": [53, 521], "filenames": ["front/send_inventory.php", "inc/toolbox.class.php"], "fixing_code_end_loc": [61, 523], "fixing_code_start_loc": [52, 521], "message": "The FusionInventory plugin before 1.4 for GLPI 9.3.x and before 1.1 for GLPI 9.4.x mishandles sendXML...
125
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * FusionInventory\n *\n * Copyright (C) 2010-2016 by the FusionInventory Development Team.\n *\n * http://www.fusioninventory.org/\n * https://github.com/fusioninventory/fusioninventory-for-glpi\n * http://forge.fusioninventory.org/\n *\n * ---------------------------------------------------------...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [62, 522], "buggy_code_start_loc": [53, 521], "filenames": ["front/send_inventory.php", "inc/toolbox.class.php"], "fixing_code_end_loc": [61, 523], "fixing_code_start_loc": [52, 521], "message": "The FusionInventory plugin before 1.4 for GLPI 9.3.x and before 1.1 for GLPI 9.4.x mishandles sendXML...
125
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * FusionInventory\n *\n * Copyright (C) 2010-2016 by the FusionInventory Development Team.\n *\n * http://www.fusioninventory.org/\n * https://github.com/fusioninventory/fusioninventory-for-glpi\n * http://forge.fusioninventory.org/\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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [62, 522], "buggy_code_start_loc": [53, 521], "filenames": ["front/send_inventory.php", "inc/toolbox.class.php"], "fixing_code_end_loc": [61, 523], "fixing_code_start_loc": [52, 521], "message": "The FusionInventory plugin before 1.4 for GLPI 9.3.x and before 1.1 for GLPI 9.4.x mishandles sendXML...
125
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * FusionInventory\n *\n * Copyright (C) 2010-2016 by the FusionInventory Development Team.\n *\n * http://www.fusioninventory.org/\n * https://github.com/fusioninventory/fusioninventory-for-glpi\n * http://forge.fusioninventory.org/\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 ]
PreciseBugs
{"buggy_code_end_loc": [62, 522], "buggy_code_start_loc": [53, 521], "filenames": ["front/send_inventory.php", "inc/toolbox.class.php"], "fixing_code_end_loc": [61, 523], "fixing_code_start_loc": [52, 521], "message": "The FusionInventory plugin before 1.4 for GLPI 9.3.x and before 1.1 for GLPI 9.4.x mishandles sendXML...
125
Determine whether the {function_name} code is vulnerable or not.
[ "const {escapeRegExp, size, isString} = require('lodash');\nconst {SECRET_REPLACEMENT, SECRET_MIN_SIZE} = require('./definitions/constants');", "module.exports = (env) => {\n const toReplace = Object.keys(env).filter((envVar) => {\n // https://github.com/semantic-release/semantic-release/issues/1558\n if (...
[ 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [15, 24], "buggy_code_start_loc": [14, 24], "filenames": ["lib/hide-sensitive.js", "test/hide-sensitive.test.js"], "fixing_code_end_loc": [20, 33], "fixing_code_start_loc": [14, 25], "message": "In the npm package semantic-release before version 17.2.3, secrets that would normally be masked by `s...
126
Determine whether the {function_name} code is vulnerable or not.
[ "const {escapeRegExp, size, isString} = require('lodash');\nconst {SECRET_REPLACEMENT, SECRET_MIN_SIZE} = require('./definitions/constants');", "module.exports = (env) => {\n const toReplace = Object.keys(env).filter((envVar) => {\n // https://github.com/semantic-release/semantic-release/issues/1558\n if (...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [15, 24], "buggy_code_start_loc": [14, 24], "filenames": ["lib/hide-sensitive.js", "test/hide-sensitive.test.js"], "fixing_code_end_loc": [20, 33], "fixing_code_start_loc": [14, 25], "message": "In the npm package semantic-release before version 17.2.3, secrets that would normally be masked by `s...
126
Determine whether the {function_name} code is vulnerable or not.
[ "const test = require('ava');\nconst {repeat} = require('lodash');\nconst hideSensitive = require('../lib/hide-sensitive');\nconst {SECRET_REPLACEMENT, SECRET_MIN_SIZE} = require('../lib/definitions/constants');", "test('Replace multiple sensitive environment variable values', (t) => {\n const env = {SOME_PASSWO...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [15, 24], "buggy_code_start_loc": [14, 24], "filenames": ["lib/hide-sensitive.js", "test/hide-sensitive.test.js"], "fixing_code_end_loc": [20, 33], "fixing_code_start_loc": [14, 25], "message": "In the npm package semantic-release before version 17.2.3, secrets that would normally be masked by `s...
126
Determine whether the {function_name} code is vulnerable or not.
[ "const test = require('ava');\nconst {repeat} = require('lodash');\nconst hideSensitive = require('../lib/hide-sensitive');\nconst {SECRET_REPLACEMENT, SECRET_MIN_SIZE} = require('../lib/definitions/constants');", "test('Replace multiple sensitive environment variable values', (t) => {\n const env = {SOME_PASSWO...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [15, 24], "buggy_code_start_loc": [14, 24], "filenames": ["lib/hide-sensitive.js", "test/hide-sensitive.test.js"], "fixing_code_end_loc": [20, 33], "fixing_code_start_loc": [14, 25], "message": "In the npm package semantic-release before version 17.2.3, secrets that would normally be masked by `s...
126
Determine whether the {function_name} code is vulnerable or not.
[ "define( [\n\t\"qunit\",\n\t\"jquery\",\n\t\"lib/common\",\n\t\"lib/helper\",\n\t\"ui/position\"\n], function( QUnit, $, common, helper ) {", "var win = $( window ),\n\tscrollTopSupport = function() {\n\t\tvar support = win.scrollTop( 1 ).scrollTop() === 1;\n\t\twin.scrollTop( 0 );\n\t\tscrollTopSupport = functio...
[ 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, 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...
PreciseBugs
{"buggy_code_end_loc": [336, 152], "buggy_code_start_loc": [116, 151], "filenames": ["tests/unit/position/core.js", "ui/position.js"], "fixing_code_end_loc": [355, 157], "fixing_code_start_loc": [116, 151], "message": "jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value...
127
Determine whether the {function_name} code is vulnerable or not.
[ "define( [\n\t\"qunit\",\n\t\"jquery\",\n\t\"lib/common\",\n\t\"lib/helper\",\n\t\"ui/position\"\n], function( QUnit, $, common, helper ) {", "var win = $( window ),\n\tscrollTopSupport = function() {\n\t\tvar support = win.scrollTop( 1 ).scrollTop() === 1;\n\t\twin.scrollTop( 0 );\n\t\tscrollTopSupport = functio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [336, 152], "buggy_code_start_loc": [116, 151], "filenames": ["tests/unit/position/core.js", "ui/position.js"], "fixing_code_end_loc": [355, 157], "fixing_code_start_loc": [116, 151], "message": "jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value...
127
Determine whether the {function_name} code is vulnerable or not.
[ "/*!\n * jQuery UI Position @VERSION\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n * http://api.jqueryui.com/position/\n */", "//>>label: Position\n//>>group: Core\n//>>description: Positions elements rela...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [336, 152], "buggy_code_start_loc": [116, 151], "filenames": ["tests/unit/position/core.js", "ui/position.js"], "fixing_code_end_loc": [355, 157], "fixing_code_start_loc": [116, 151], "message": "jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value...
127
Determine whether the {function_name} code is vulnerable or not.
[ "/*!\n * jQuery UI Position @VERSION\n * http://jqueryui.com\n *\n * Copyright jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n *\n * http://api.jqueryui.com/position/\n */", "//>>label: Position\n//>>group: Core\n//>>description: Positions elements rela...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [336, 152], "buggy_code_start_loc": [116, 151], "filenames": ["tests/unit/position/core.js", "ui/position.js"], "fixing_code_end_loc": [355, 157], "fixing_code_start_loc": [116, 151], "message": "jQuery-UI is the official jQuery user interface library. Prior to version 1.13.0, accepting the value...
127
Determine whether the {function_name} code is vulnerable or not.
[ "# ---------------------------------------------------------------------------\n# See the NOTICE file distributed with this work for additional\n# information regarding copyright ownership.\n#\n# This is free software; you can redistribute it and/or modify it\n# under the terms of the GNU Lesser General Public 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": [1631, 382], "buggy_code_start_loc": [1631, 174], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties", "xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/register_macros.vm"], "fixing_code_end_loc": [1633, 388], "fixing_code...
128
Determine whether the {function_name} code is vulnerable or not.
[ "# ---------------------------------------------------------------------------\n# See the NOTICE file distributed with this work for additional\n# information regarding copyright ownership.\n#\n# This is free software; you can redistribute it and/or modify it\n# under the terms of the GNU Lesser General Public 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": [1631, 382], "buggy_code_start_loc": [1631, 174], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties", "xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/register_macros.vm"], "fixing_code_end_loc": [1633, 388], "fixing_code...
128
Determine whether the {function_name} code is vulnerable or not.
[ "## ---------------------------------------------------------------------------\n## See the NOTICE file distributed with this work for additional\n## information regarding copyright ownership.\n##\n## This is free software; you can redistribute it and/or modify it\n## under the terms of the GNU Lesser General Publi...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1631, 382], "buggy_code_start_loc": [1631, 174], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties", "xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/register_macros.vm"], "fixing_code_end_loc": [1633, 388], "fixing_code...
128
Determine whether the {function_name} code is vulnerable or not.
[ "## ---------------------------------------------------------------------------\n## See the NOTICE file distributed with this work for additional\n## information regarding copyright ownership.\n##\n## This is free software; you can redistribute it and/or modify it\n## under the terms of the GNU Lesser General Publi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1631, 382], "buggy_code_start_loc": [1631, 174], "filenames": ["xwiki-platform-core/xwiki-platform-oldcore/src/main/resources/ApplicationResources.properties", "xwiki-platform-core/xwiki-platform-web/src/main/webapp/templates/register_macros.vm"], "fixing_code_end_loc": [1633, 388], "fixing_code...
128
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "\nnamespace ModularContent;\nuse WP_Query;", "\n/**\n * Class SearchFilter\n *\n * @package ModularContent\n *\n * Filters search queries to include content entered into panels\n */\nclass SearchFilter {\n\tprivate $query = NULL;", "\tpublic function __construct( WP_Query $query ) {\n\t\t$this->quer...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [58], "buggy_code_start_loc": [37], "filenames": ["ModularContent/SearchFilter.php"], "fixing_code_end_loc": [58], "fixing_code_start_loc": [37], "message": "A vulnerability classified as critical has been found in Modern Tribe Panel Builder Plugin. Affected is the function add_post_content_filte...
129
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "\nnamespace ModularContent;\nuse WP_Query;", "\n/**\n * Class SearchFilter\n *\n * @package ModularContent\n *\n * Filters search queries to include content entered into panels\n */\nclass SearchFilter {\n\tprivate $query = NULL;", "\tpublic function __construct( WP_Query $query ) {\n\t\t$this->quer...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [58], "buggy_code_start_loc": [37], "filenames": ["ModularContent/SearchFilter.php"], "fixing_code_end_loc": [58], "fixing_code_start_loc": [37], "message": "A vulnerability classified as critical has been found in Modern Tribe Panel Builder Plugin. Affected is the function add_post_content_filte...
129
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2021, Arshan Dabirsiaghi, Jason Li\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n *\n * Redistributions of source code must retain the above copyright not...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [454, 1719], "buggy_code_start_loc": [410, 1715], "filenames": ["src/main/java/org/owasp/validator/html/scan/AntiSamyDOMScanner.java", "src/test/java/org/owasp/validator/html/test/AntiSamyTest.java"], "fixing_code_end_loc": [451, 1724], "fixing_code_start_loc": [410, 1716], "message": "OWASP Anti...
130
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2021, Arshan Dabirsiaghi, Jason Li\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\n *\n * Redistributions of source code must retain the above copyright not...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [454, 1719], "buggy_code_start_loc": [410, 1715], "filenames": ["src/main/java/org/owasp/validator/html/scan/AntiSamyDOMScanner.java", "src/test/java/org/owasp/validator/html/test/AntiSamyTest.java"], "fixing_code_end_loc": [451, 1724], "fixing_code_start_loc": [410, 1716], "message": "OWASP Anti...
130
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2022, Arshan Dabirsiaghi, Jason Li\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification,\n * are permitted provided that the following conditions are met:\n *\n * Redistributions of source code must retain the above copyright...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [454, 1719], "buggy_code_start_loc": [410, 1715], "filenames": ["src/main/java/org/owasp/validator/html/scan/AntiSamyDOMScanner.java", "src/test/java/org/owasp/validator/html/test/AntiSamyTest.java"], "fixing_code_end_loc": [451, 1724], "fixing_code_start_loc": [410, 1716], "message": "OWASP Anti...
130
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2022, Arshan Dabirsiaghi, Jason Li\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without modification,\n * are permitted provided that the following conditions are met:\n *\n * Redistributions of source code must retain the above copyright...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [454, 1719], "buggy_code_start_loc": [410, 1715], "filenames": ["src/main/java/org/owasp/validator/html/scan/AntiSamyDOMScanner.java", "src/test/java/org/owasp/validator/html/test/AntiSamyTest.java"], "fixing_code_end_loc": [451, 1724], "fixing_code_start_loc": [410, 1716], "message": "OWASP Anti...
130
Determine whether the {function_name} code is vulnerable or not.
[ "/* linux/drivers/cdrom/cdrom.c\n Copyright (c) 1996, 1997 David A. van Leeuwen.\n Copyright (c) 1997, 1998 Erik Andersen <andersee@debian.org>\n Copyright (c) 1998, 1999 Jens Axboe <axboe@image.dk>", " May be copied or modified under the terms of the GNU General Public\n License. See linux/COPYING for...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2375], "buggy_code_start_loc": [2374], "filenames": ["drivers/cdrom/cdrom.c"], "fixing_code_end_loc": [2375], "fixing_code_start_loc": [2374], "message": "The cdrom_ioctl_media_changed function in drivers/cdrom/cdrom.c in the Linux kernel before 4.16.6 allows local attackers to use a incorrect b...
131
Determine whether the {function_name} code is vulnerable or not.
[ "/* linux/drivers/cdrom/cdrom.c\n Copyright (c) 1996, 1997 David A. van Leeuwen.\n Copyright (c) 1997, 1998 Erik Andersen <andersee@debian.org>\n Copyright (c) 1998, 1999 Jens Axboe <axboe@image.dk>", " May be copied or modified under the terms of the GNU General Public\n License. See linux/COPYING for...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2375], "buggy_code_start_loc": [2374], "filenames": ["drivers/cdrom/cdrom.c"], "fixing_code_end_loc": [2375], "fixing_code_start_loc": [2374], "message": "The cdrom_ioctl_media_changed function in drivers/cdrom/cdrom.c in the Linux kernel before 4.16.6 allows local attackers to use a incorrect b...
131
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * The Ajax Service Layer.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [329], "buggy_code_start_loc": [324], "filenames": ["phpmyfaq/ajaxservice.php"], "fixing_code_end_loc": [332], "fixing_code_start_loc": [325], "message": "Command Injection in GitHub repository thorsten/phpmyfaq prior to 3.1.11.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "...
132
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * The Ajax Service Layer.\n *\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [329], "buggy_code_start_loc": [324], "filenames": ["phpmyfaq/ajaxservice.php"], "fixing_code_end_loc": [332], "fixing_code_start_loc": [325], "message": "Command Injection in GitHub repository thorsten/phpmyfaq prior to 3.1.11.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "...
132
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nApp::uses('AppController', 'Controller');", "/**\n * @property Organisation $Organisation\n */\nclass OrganisationsController extends AppController\n{\n public $components = array('Session', 'RequestHandler');", " public function beforeFilter()\n {\n parent::beforeFilter();\n if (...
[ 1, 1, 1, 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": [396], "buggy_code_start_loc": [395], "filenames": ["app/Controller/OrganisationsController.php"], "fixing_code_end_loc": [396], "fixing_code_start_loc": [395], "message": "An issue was discovered in MISP before 2.4.158. There is XSS in app/Controller/OrganisationsController.php in a situation wi...
133
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nApp::uses('AppController', 'Controller');", "/**\n * @property Organisation $Organisation\n */\nclass OrganisationsController extends AppController\n{\n public $components = array('Session', 'RequestHandler');", " public function beforeFilter()\n {\n parent::beforeFilter();\n if (...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [396], "buggy_code_start_loc": [395], "filenames": ["app/Controller/OrganisationsController.php"], "fixing_code_end_loc": [396], "fixing_code_start_loc": [395], "message": "An issue was discovered in MISP before 2.4.158. There is XSS in app/Controller/OrganisationsController.php in a situation wi...
133
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"valign\">\n <div class=\"vcontainer\">\n <div class=\"carousel-box\">\n <f:if condition=\"{item.data.nav_title}\">\n <div>{item.data.nav_title}</div>\n </f:if>", " <h{item.data.header_layout} class=\"carousel-item-header{f:if(condition: item....
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"valign\">\n <div class=\"vcontainer\">\n <div class=\"carousel-box\">\n <f:if condition=\"{item.data.nav_title}\">\n <div>{item.data.nav_title}</div>\n </f:if>", " <h{item.data.header_layout} class=\"carousel-item-header{f:if(condition: item....
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<html xmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\" data-namespace-typo3-fluid=\"true\">\n<f:link.typolink parameter=\"{item.data.link}\" additionalAttributes=\"{draggable:'false'}\">\n <div class=\"valign\" {f:if(condition: item.data.text_color,then:'style=\"color: {item.data.text_color};\"')}>\n...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<html xmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\" data-namespace-typo3-fluid=\"true\">\n<f:link.typolink parameter=\"{item.data.link}\" additionalAttributes=\"{draggable:'false'}\">\n <div class=\"valign\" {f:if(condition: item.data.text_color,then:'style=\"color: {item.data.text_color};\"')}>\n...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"valign\" {f:if(condition: item.data.text_color,then:'style=\"color: {item.data.text_color};\"')}>\n <div class=\"vcontainer\">\n <div class=\"carousel-text-inner\">\n <f:if condition=\"{item.data.nav_title}\">\n <div>{item.data.nav_title}</div>\n </f:if>"...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<div class=\"valign\" {f:if(condition: item.data.text_color,then:'style=\"color: {item.data.text_color};\"')}>\n <div class=\"vcontainer\">\n <div class=\"carousel-text-inner\">\n <f:if condition=\"{item.data.nav_title}\">\n <div>{item.data.nav_title}</div>\n </f:if>"...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<html xmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\" data-namespace-typo3-fluid=\"true\">\n<f:link.typolink parameter=\"{item.data.link}\" additionalAttributes=\"{draggable:'false'}\">\n <div class=\"valign\">\n <div class=\"carousel-text vcontainer\" {f:if(condition: item.data.text_color,th...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<html xmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\" data-namespace-typo3-fluid=\"true\">\n<f:link.typolink parameter=\"{item.data.link}\" additionalAttributes=\"{draggable:'false'}\">\n <div class=\"valign\">\n <div class=\"carousel-text vcontainer\" {f:if(condition: item.data.text_color,th...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<html xmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\" data-namespace-typo3-fluid=\"true\">\n<f:if condition=\"{subheader}\">\n <f:switch expression=\"{layout}\">\n <f:case value=\"1\">\n <h2 class=\"{class} {positionClass}\">", " <span><f:format.htmlentitiesDecode>...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "<html xmlns:f=\"http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers\" data-namespace-typo3-fluid=\"true\">\n<f:if condition=\"{subheader}\">\n <f:switch expression=\"{layout}\">\n <f:case value=\"1\">\n <h2 class=\"{class} {positionClass}\">", " <span><f:format.htmlspecialchars do...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 9, 10, 8, 27], "buggy_code_start_loc": [7, 6, 7, 5, 6], "filenames": ["Resources/Private/Partials/ContentElements/Carousel/Item/CallToAction.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Header.html", "Resources/Private/Partials/ContentElements/Carousel/Item/Text.html", "R...
134
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Unit Tests for the termsandconditions module\"\"\"", "# pylint: disable=R0904, C0103\nimport time\nfrom importlib import import_module\nimport logging", "from django.core import mail\nfrom django.core.cache import cache\nfrom django.http import HttpResponseRedirect\nfrom django.conf import settings\nfrom...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [269, 183], "buggy_code_start_loc": [245, 16], "filenames": ["termsandconditions/tests.py", "termsandconditions/views.py"], "fixing_code_end_loc": [278, 201], "fixing_code_start_loc": [245, 17], "message": "A vulnerability has been found in cyface Terms and Conditions Module up to 2.0.9 and class...
135
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Unit Tests for the termsandconditions module\"\"\"", "# pylint: disable=R0904, C0103\nimport time\nfrom importlib import import_module\nimport logging", "from django.core import mail\nfrom django.core.cache import cache\nfrom django.http import HttpResponseRedirect\nfrom django.conf import settings\nfrom...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 183], "buggy_code_start_loc": [245, 16], "filenames": ["termsandconditions/tests.py", "termsandconditions/views.py"], "fixing_code_end_loc": [278, 201], "fixing_code_start_loc": [245, 17], "message": "A vulnerability has been found in cyface Terms and Conditions Module up to 2.0.9 and class...
135
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Django Views for the termsandconditions module\"\"\"\nfrom urllib.parse import urlparse", "# pylint: disable=E1120,R0901,R0904\nfrom django.contrib.auth.models import User\nfrom django.db import IntegrityError", "from .forms import UserTermsAndConditionsModelForm, EmailTermsForm\nfrom .models import Term...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [269, 183], "buggy_code_start_loc": [245, 16], "filenames": ["termsandconditions/tests.py", "termsandconditions/views.py"], "fixing_code_end_loc": [278, 201], "fixing_code_start_loc": [245, 17], "message": "A vulnerability has been found in cyface Terms and Conditions Module up to 2.0.9 and class...
135
Determine whether the {function_name} code is vulnerable or not.
[ "\"\"\"Django Views for the termsandconditions module\"\"\"\nfrom urllib.parse import urlparse", "# pylint: disable=E1120,R0901,R0904\nfrom django.contrib.auth.models import User\nfrom django.db import IntegrityError", "from .forms import UserTermsAndConditionsModelForm, EmailTermsForm\nfrom .models import Term...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 183], "buggy_code_start_loc": [245, 16], "filenames": ["termsandconditions/tests.py", "termsandconditions/views.py"], "fixing_code_end_loc": [278, 201], "fixing_code_start_loc": [245, 17], "message": "A vulnerability has been found in cyface Terms and Conditions Module up to 2.0.9 and class...
135
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * Copyright (c) 2014 Christoph Hellwig.\n */\n#undef TRACE_SYSTEM\n#define TRACE_SYSTEM nfsd", "#if !defined(_NFSD_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)\n#define _NFSD_TRACE_H", "#include <linux/tracepoint.h>\n#include \"export.h\"\n#include \"nfsfh.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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [412], "buggy_code_start_loc": [411], "filenames": ["fs/nfsd/trace.h"], "fixing_code_end_loc": [410], "fixing_code_start_loc": [410], "message": "fs/nfsd/trace.h in the Linux kernel before 5.13.4 might allow remote attackers to cause a denial of service (out-of-bounds read in strlen) by sending N...
136
Determine whether the {function_name} code is vulnerable or not.
[ "/* SPDX-License-Identifier: GPL-2.0 */\n/*\n * Copyright (c) 2014 Christoph Hellwig.\n */\n#undef TRACE_SYSTEM\n#define TRACE_SYSTEM nfsd", "#if !defined(_NFSD_TRACE_H) || defined(TRACE_HEADER_MULTI_READ)\n#define _NFSD_TRACE_H", "#include <linux/tracepoint.h>\n#include \"export.h\"\n#include \"nfsfh.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": [412], "buggy_code_start_loc": [411], "filenames": ["fs/nfsd/trace.h"], "fixing_code_end_loc": [410], "fixing_code_start_loc": [410], "message": "fs/nfsd/trace.h in the Linux kernel before 5.13.4 might allow remote attackers to cause a denial of service (out-of-bounds read in strlen) by sending N...
136
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [38], "buggy_code_start_loc": [35], "filenames": ["admin/plugin.php"], "fixing_code_end_loc": [45], "fixing_code_start_loc": [35], "message": "admin/plugin.php in Piwigo through 2.8.3 doesn't validate the sections variable while using it to include files. This can cause information disclosure and...
137
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n// +-----------------------------------------------------------------------+\n// | Piwigo - a PHP based photo gallery |\n// +-----------------------------------------------------------------------+\n// | Copyright(C) 2008-2016 Piwigo Team http://piwigo.org...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [38], "buggy_code_start_loc": [35], "filenames": ["admin/plugin.php"], "fixing_code_end_loc": [45], "fixing_code_start_loc": [35], "message": "admin/plugin.php in Piwigo through 2.8.3 doesn't validate the sections variable while using it to include files. This can cause information disclosure and...
137
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */", "#include <jsi/test/testlib.h>\n#include <gtest/gtest.h>\n#include <jsi/decorator.h>\n#include <jsi/jsi.h>", "#inclu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [394, 1177], "buggy_code_start_loc": [394, 1176], "filenames": ["API/jsi/jsi/test/testlib.cpp", "lib/VM/JSObject.cpp"], "fixing_code_end_loc": [412, 1177], "fixing_code_start_loc": [395, 1176], "message": "A type confusion vulnerability when resolving properties of JavaScript objects with special...
138
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */", "#include <jsi/test/testlib.h>\n#include <gtest/gtest.h>\n#include <jsi/decorator.h>\n#include <jsi/jsi.h>", "#inclu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [394, 1177], "buggy_code_start_loc": [394, 1176], "filenames": ["API/jsi/jsi/test/testlib.cpp", "lib/VM/JSObject.cpp"], "fixing_code_end_loc": [412, 1177], "fixing_code_start_loc": [395, 1176], "message": "A type confusion vulnerability when resolving properties of JavaScript objects with special...
138
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */", "#include \"hermes/VM/JSObject.h\"", "#include \"hermes/VM/BuildMetadata.h\"\n#include \"hermes/VM/Callable.h\"\n#in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [394, 1177], "buggy_code_start_loc": [394, 1176], "filenames": ["API/jsi/jsi/test/testlib.cpp", "lib/VM/JSObject.cpp"], "fixing_code_end_loc": [412, 1177], "fixing_code_start_loc": [395, 1176], "message": "A type confusion vulnerability when resolving properties of JavaScript objects with special...
138
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */", "#include \"hermes/VM/JSObject.h\"", "#include \"hermes/VM/BuildMetadata.h\"\n#include \"hermes/VM/Callable.h\"\n#in...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [394, 1177], "buggy_code_start_loc": [394, 1176], "filenames": ["API/jsi/jsi/test/testlib.cpp", "lib/VM/JSObject.cpp"], "fixing_code_end_loc": [412, 1177], "fixing_code_start_loc": [395, 1176], "message": "A type confusion vulnerability when resolving properties of JavaScript objects with special...
138
Determine whether the {function_name} code is vulnerable or not.
[ "/*---------------------------------------------------------------------------", " pngquant: RGBA -> RGBA-palette quantization program rwpng.c", " ---------------------------------------------------------------------------", " © 1998-2000 by Greg Roelofs.\n © 2009-2015 by Kornel Lesiński."...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [306], "buggy_code_start_loc": [246], "filenames": ["rwpng.c"], "fixing_code_end_loc": [307], "fixing_code_start_loc": [245], "message": "Integer overflow in the rwpng_read_image24_libpng function in rwpng.c in pngquant 2.7.0 allows remote attackers to have unspecified impact via a crafted PNG fi...
139
Determine whether the {function_name} code is vulnerable or not.
[ "/*---------------------------------------------------------------------------", " pngquant: RGBA -> RGBA-palette quantization program rwpng.c", " ---------------------------------------------------------------------------", " © 1998-2000 by Greg Roelofs.\n © 2009-2015 by Kornel Lesiński."...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [306], "buggy_code_start_loc": [246], "filenames": ["rwpng.c"], "fixing_code_end_loc": [307], "fixing_code_start_loc": [245], "message": "Integer overflow in the rwpng_read_image24_libpng function in rwpng.c in pngquant 2.7.0 allows remote attackers to have unspecified impact via a crafted PNG fi...
139
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n\"\"\"\nRDFa 1.1 parser, also referred to as a “RDFa Distiller”. It is\ndeployed, via a CGI front-end, on the U{W3C RDFa 1.1 Distiller page<http://www.w3.org/2012/pyRdfa/>}.", "For details on RDFa, the reader should consult the U{RDFa Core 1.1<http://www.w3.org/TR/rdfa-core/>}, U{XHTML+R...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [946], "buggy_code_start_loc": [457], "filenames": ["pyRdfa/__init__.py"], "fixing_code_end_loc": [959], "fixing_code_start_loc": [458], "message": "** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in RDFlib pyrdfa3 and classified as problematic. This issue affects the function _get_opti...
140
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-\n\"\"\"\nRDFa 1.1 parser, also referred to as a “RDFa Distiller”. It is\ndeployed, via a CGI front-end, on the U{W3C RDFa 1.1 Distiller page<http://www.w3.org/2012/pyRdfa/>}.", "For details on RDFa, the reader should consult the U{RDFa Core 1.1<http://www.w3.org/TR/rdfa-core/>}, U{XHTML+R...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [946], "buggy_code_start_loc": [457], "filenames": ["pyRdfa/__init__.py"], "fixing_code_end_loc": [959], "fixing_code_start_loc": [458], "message": "** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in RDFlib pyrdfa3 and classified as problematic. This issue affects the function _get_opti...
140
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * mouse.c: mouse ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [542, 149, 733], "buggy_code_start_loc": [474, 149, 733], "filenames": ["src/mouse.c", "src/testdir/test_tabline.vim", "src/version.c"], "fixing_code_end_loc": [545, 164, 736], "fixing_code_start_loc": [474, 150, 734], "message": "NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0...
141
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * mouse.c: mouse ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [542, 149, 733], "buggy_code_start_loc": [474, 149, 733], "filenames": ["src/mouse.c", "src/testdir/test_tabline.vim", "src/version.c"], "fixing_code_end_loc": [545, 164, 736], "fixing_code_start_loc": [474, 150, 734], "message": "NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0...
141
Determine whether the {function_name} code is vulnerable or not.
[ "\" Test for tabline", "source shared.vim", "func TablineWithCaughtError()\n let s:func_in_tabline_called = 1\n try\n call eval('unknown expression')\n catch\n endtry\n return ''\nendfunc", "func TablineWithError()\n let s:func_in_tabline_called = 1\n call eval('unknown expression')\n return ''\nen...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [542, 149, 733], "buggy_code_start_loc": [474, 149, 733], "filenames": ["src/mouse.c", "src/testdir/test_tabline.vim", "src/version.c"], "fixing_code_end_loc": [545, 164, 736], "fixing_code_start_loc": [474, 150, 734], "message": "NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0...
141
Determine whether the {function_name} code is vulnerable or not.
[ "\" Test for tabline", "source shared.vim", "func TablineWithCaughtError()\n let s:func_in_tabline_called = 1\n try\n call eval('unknown expression')\n catch\n endtry\n return ''\nendfunc", "func TablineWithError()\n let s:func_in_tabline_called = 1\n call eval('unknown expression')\n return ''\nen...
[ 1, 1, 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": [542, 149, 733], "buggy_code_start_loc": [474, 149, 733], "filenames": ["src/mouse.c", "src/testdir/test_tabline.vim", "src/version.c"], "fixing_code_end_loc": [545, 164, 736], "fixing_code_start_loc": [474, 150, 734], "message": "NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0...
141
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.h\"",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [542, 149, 733], "buggy_code_start_loc": [474, 149, 733], "filenames": ["src/mouse.c", "src/testdir/test_tabline.vim", "src/version.c"], "fixing_code_end_loc": [545, 164, 736], "fixing_code_start_loc": [474, 150, 734], "message": "NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0...
141
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.h\"",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [542, 149, 733], "buggy_code_start_loc": [474, 149, 733], "filenames": ["src/mouse.c", "src/testdir/test_tabline.vim", "src/version.c"], "fixing_code_end_loc": [545, 164, 736], "fixing_code_start_loc": [474, 150, 734], "message": "NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0...
141
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * The Log class provides logging facilities.\n * Usually, a default logger is instantiated at initialization:\n * <pre>Log::$usuallogger = new Logger('/var/log/php_log', Log::INFO, Log::NEVER);</pre>\nwhich can then be used through the static methods (fail, warn, backtrace, info, message, debug)...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [176], "buggy_code_start_loc": [169], "filenames": ["lib/log.php"], "fixing_code_end_loc": [173], "fixing_code_start_loc": [168], "message": "Aquarius CMS through 4.3.5 writes POST and GET parameters (including passwords) to a log file due to an overwriting of configuration parameters under certa...
142
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * The Log class provides logging facilities.\n * Usually, a default logger is instantiated at initialization:\n * <pre>Log::$usuallogger = new Logger('/var/log/php_log', Log::INFO, Log::NEVER);</pre>\nwhich can then be used through the static methods (fail, warn, backtrace, info, message, debug)...
[ 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": [176], "buggy_code_start_loc": [169], "filenames": ["lib/log.php"], "fixing_code_end_loc": [173], "fixing_code_start_loc": [168], "message": "Aquarius CMS through 4.3.5 writes POST and GET parameters (including passwords) to a log file due to an overwriting of configuration parameters under certa...
142
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) Igor Sysoev\n * Copyright (C) Nginx, Inc.\n */", "\n#include <ngx_config.h>\n#include <ngx_core.h>\n#include <ngx_http.h>\n#include <nginx.h>", "\nstatic ngx_int_t ngx_http_send_error_page(ngx_http_request_t *r,\n ngx_http_err_page_t *err_page);\nstatic ngx_int_t ngx_http_send_special_r...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [625], "buggy_code_start_loc": [625], "filenames": ["src/http/ngx_http_special_response.c"], "fixing_code_end_loc": [632], "fixing_code_start_loc": [626], "message": "NGINX before 1.17.7, with certain error_page configurations, allows HTTP request smuggling, as demonstrated by the ability of an a...
143
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) Igor Sysoev\n * Copyright (C) Nginx, Inc.\n */", "\n#include <ngx_config.h>\n#include <ngx_core.h>\n#include <ngx_http.h>\n#include <nginx.h>", "\nstatic ngx_int_t ngx_http_send_error_page(ngx_http_request_t *r,\n ngx_http_err_page_t *err_page);\nstatic ngx_int_t ngx_http_send_special_r...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [625], "buggy_code_start_loc": [625], "filenames": ["src/http/ngx_http_special_response.c"], "fixing_code_end_loc": [632], "fixing_code_start_loc": [626], "message": "NGINX before 1.17.7, with certain error_page configurations, allows HTTP request smuggling, as demonstrated by the ability of an a...
143
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Calendar App\n *\n * @copyright 2021 Anna Larch <anna.larch@gmx.net>\n *\n * @author Anna Larch <anna.larch@gmx.net>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * Lice...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [163, 173], "buggy_code_start_loc": [45, 29], "filenames": ["lib/Controller/BookingController.php", "tests/php/unit/Controller/BookingControllerTest.php"], "fixing_code_end_loc": [174, 292], "fixing_code_start_loc": [46, 30], "message": "Nextcloud Calendar is a calendar application for the nextcl...
144
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Calendar App\n *\n * @copyright 2021 Anna Larch <anna.larch@gmx.net>\n *\n * @author Anna Larch <anna.larch@gmx.net>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * 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 ]
PreciseBugs
{"buggy_code_end_loc": [163, 173], "buggy_code_start_loc": [45, 29], "filenames": ["lib/Controller/BookingController.php", "tests/php/unit/Controller/BookingControllerTest.php"], "fixing_code_end_loc": [174, 292], "fixing_code_start_loc": [46, 30], "message": "Nextcloud Calendar is a calendar application for the nextcl...
144
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);\n/**\n * Calendar App\n *\n * @copyright 2021 Anna Larch <anna.larch@gmx.net>\n *\n * @author Anna Larch <anna.larch@gmx.net>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * License ...
[ 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [163, 173], "buggy_code_start_loc": [45, 29], "filenames": ["lib/Controller/BookingController.php", "tests/php/unit/Controller/BookingControllerTest.php"], "fixing_code_end_loc": [174, 292], "fixing_code_start_loc": [46, 30], "message": "Nextcloud Calendar is a calendar application for the nextcl...
144
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);\n/**\n * Calendar App\n *\n * @copyright 2021 Anna Larch <anna.larch@gmx.net>\n *\n * @author Anna Larch <anna.larch@gmx.net>\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE\n * License ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [163, 173], "buggy_code_start_loc": [45, 29], "filenames": ["lib/Controller/BookingController.php", "tests/php/unit/Controller/BookingControllerTest.php"], "fixing_code_end_loc": [174, 292], "fixing_code_start_loc": [46, 30], "message": "Nextcloud Calendar is a calendar application for the nextcl...
144
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1031], "buggy_code_start_loc": [1030], "filenames": ["coders/psd.c"], "fixing_code_end_loc": [1031], "fixing_code_start_loc": [1030], "message": "A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned char' at coders/psd.c, when crafted o...
145
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1031], "buggy_code_start_loc": [1030], "filenames": ["coders/psd.c"], "fixing_code_end_loc": [1031], "fixing_code_start_loc": [1030], "message": "A vulnerability was found in ImageMagick, causing an outside the range of representable values of type 'unsigned char' at coders/psd.c, when crafted o...
145
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog", "", "\n## Version 3.5.0", "* Avoid mutating the options hash passed to a render object.", " Refs #663.", " *Max Schwenk*", "* Fix a segfault rendering quotes using `StripDown` and the `:quote`\n option.", " Fixes #639.", "* Fix `warning: instance variable @options not initialized`...
[ 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": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "# Changelog", "\n## Version 3.5.1 (Security)", "* Fix a security vulnerability using `:quote` in combination with the\n `:escape_html` option.", " Reported by *Johan Smits*.", "\n## Version 3.5.0", "* Avoid mutating the options hash passed to a render object.", " Refs #663.", " *Max Schwenk*", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2009, Natacha Porté\n * Copyright (c) 2015, Vicent Marti\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitatio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2009, Natacha Porté\n * Copyright (c) 2015, Vicent Marti\n *\n * Permission is hereby granted, free of charge, to any person obtaining a copy\n * of this software and associated documentation files (the \"Software\"), to deal\n * in the Software without restriction, including without limitatio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "require 'redcarpet.so'\nrequire 'redcarpet/compat'", "module Redcarpet", " VERSION = '3.5.0'", "\n class Markdown\n attr_reader :renderer\n end", " module Render", " # XHTML Renderer\n class XHTML < HTML\n def initialize(extensions = {})\n super(extensions.merge(xhtml: true))\n ...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "require 'redcarpet.so'\nrequire 'redcarpet/compat'", "module Redcarpet", " VERSION = '3.5.1'", "\n class Markdown\n attr_reader :renderer\n end", " module Render", " # XHTML Renderer\n class XHTML < HTML\n def initialize(extensions = {})\n super(extensions.merge(xhtml: true))\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nGem::Specification.new do |s|\n s.name = 'redcarpet'", " s.version = '3.5.0'", " s.summary = \"Markdown that smells nice\"\n s.description = 'A fast, safe and extensible Markdown to (X)HTML parser'", " s.date = '2019-07-29'", " s.email = 'vicent@github.com'\n s.homepage = 'http://...
[ 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "# encoding: utf-8\nGem::Specification.new do |s|\n s.name = 'redcarpet'", " s.version = '3.5.1'", " s.summary = \"Markdown that smells nice\"\n s.description = 'A fast, safe and extensible Markdown to (X)HTML parser'", " s.date = '2020-12-15'", " s.email = 'vicent@github.com'\n s.homepage = 'http://...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "# coding: UTF-8\nrequire 'test_helper'", "class MarkdownTest < Redcarpet::TestCase\n def setup\n @renderer = Redcarpet::Render::HTML\n end", " def test_that_simple_one_liner_goes_to_html\n assert_equal \"<p>Hello World.</p>\", render(\"Hello World.\")\n end", " def test_that_inline_markdown_goes_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, 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": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "# coding: UTF-8\nrequire 'test_helper'", "class MarkdownTest < Redcarpet::TestCase\n def setup\n @renderer = Redcarpet::Render::HTML\n end", " def test_that_simple_one_liner_goes_to_html\n assert_equal \"<p>Hello World.</p>\", render(\"Hello World.\")\n end", " def test_that_inline_markdown_goes_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, 1, 1, 1, 1, 1, 1, 1, 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": [1, 260, 6, 8, 222], "buggy_code_start_loc": [1, 257, 5, 4, 222], "filenames": ["CHANGELOG.md", "ext/redcarpet/html.c", "lib/redcarpet.rb", "redcarpet.gemspec", "test/markdown_test.rb"], "fixing_code_end_loc": [9, 267, 6, 8, 233], "fixing_code_start_loc": [2, 258, 5, 4, 223], "message": "Redcarpe...
146
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * Simple engine for creating PDF files.\n * It supports text, shapes, images etc...\n * Capable of handling millions of objects without too much performance\n * penalty.\n * Public domain license - no warrenty implied; use at your own risk.\n */", "/**\n * PDF HINTS & TIPS\n * The following sites have vari...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2040], "buggy_code_start_loc": [2039], "filenames": ["pdfgen.c"], "fixing_code_end_loc": [2041], "fixing_code_start_loc": [2039], "message": "jpeg_size in pdfgen.c in PDFGen before 2018-04-09 has a heap-based buffer over-read.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "c...
147
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * Simple engine for creating PDF files.\n * It supports text, shapes, images etc...\n * Capable of handling millions of objects without too much performance\n * penalty.\n * Public domain license - no warrenty implied; use at your own risk.\n */", "/**\n * PDF HINTS & TIPS\n * The following sites have vari...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2040], "buggy_code_start_loc": [2039], "filenames": ["pdfgen.c"], "fixing_code_end_loc": [2041], "fixing_code_start_loc": [2039], "message": "jpeg_size in pdfgen.c in PDFGen before 2018-04-09 has a heap-based buffer over-read.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "c...
147
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env ruby\n# Oui le code est dégueux... Et alors ?!\nrequire 'irc-socket'\nrequire 'myanimelist'\nrequire 'htmlentities'\nrequire 'io/console'\nrequire 'link_thumbnailer'", "$:.unshift File.dirname(__FILE__)\nrequire 'lib/yuko'\nrequire 'lib/myanimelist-x'\nrequire 'lib/message'", "def init(_)\n loa...
[ 1, 1, 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [136, 9], "buggy_code_start_loc": [127, 8], "filenames": ["Yuko", "config.rb"], "fixing_code_end_loc": [136, 9], "fixing_code_start_loc": [127, 8], "message": "A vulnerability was found in emmflo yuko-bot. It has been declared as problematic. This vulnerability affects unknown code. The manipulat...
148
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env ruby\n# Oui le code est dégueux... Et alors ?!\nrequire 'irc-socket'\nrequire 'myanimelist'\nrequire 'htmlentities'\nrequire 'io/console'\nrequire 'link_thumbnailer'", "$:.unshift File.dirname(__FILE__)\nrequire 'lib/yuko'\nrequire 'lib/myanimelist-x'\nrequire 'lib/message'", "def init(_)\n loa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 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": [136, 9], "buggy_code_start_loc": [127, 8], "filenames": ["Yuko", "config.rb"], "fixing_code_end_loc": [136, 9], "fixing_code_start_loc": [127, 8], "message": "A vulnerability was found in emmflo yuko-bot. It has been declared as problematic. This vulnerability affects unknown code. The manipulat...
148
Determine whether the {function_name} code is vulnerable or not.
[ "Yuko.configure do |config|", " # IRC Informations:\n config.irc.server = 'irc.smoothirc.net'\n config.irc.port = 6667\n config.irc.ssl = false\n config.irc.channel = '#mangas'", " config.irc.nickname = 'Yuko'", " config.irc.greeting = 'Yuko kuruyo~ https://youtu.be/cIkoZbvTfwc \\o/'", " ...
[ 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [136, 9], "buggy_code_start_loc": [127, 8], "filenames": ["Yuko", "config.rb"], "fixing_code_end_loc": [136, 9], "fixing_code_start_loc": [127, 8], "message": "A vulnerability was found in emmflo yuko-bot. It has been declared as problematic. This vulnerability affects unknown code. The manipulat...
148
Determine whether the {function_name} code is vulnerable or not.
[ "Yuko.configure do |config|", " # IRC Informations:\n config.irc.server = 'irc.smoothirc.net'\n config.irc.port = 6667\n config.irc.ssl = false\n config.irc.channel = '#mangas'", " config.irc.nickname = 'Yuko3'", " config.irc.greeting = 'Yuko kuruyo~ https://youtu.be/cIkoZbvTfwc \\o/'", "...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [136, 9], "buggy_code_start_loc": [127, 8], "filenames": ["Yuko", "config.rb"], "fixing_code_end_loc": [136, 9], "fixing_code_start_loc": [127, 8], "message": "A vulnerability was found in emmflo yuko-bot. It has been declared as problematic. This vulnerability affects unknown code. The manipulat...
148
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The main Horde_Ldap class.\n *\n * Copyright 2003-2007 Tarjej Huse, Jan Wagner, Del Elson, Benedikt Hallinger\n * Copyright 2009-2014 Horde LLC (http://www.horde.org/)\n *\n * @package Ldap\n * @author Tarjej Huse <tarjei@bergfald.no>\n * @author Jan Wagner <wagner@netsols.de>\n * @author ...
[ 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, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [213, 83], "buggy_code_start_loc": [209, 83], "filenames": ["framework/Ldap/lib/Horde/Ldap.php", "framework/Ldap/test/Horde/Ldap/LdapTest.php"], "fixing_code_end_loc": [213, 97], "fixing_code_start_loc": [209, 84], "message": "The Horde_Ldap library before 2.0.6 for Horde allows remote attackers ...
149
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The main Horde_Ldap class.\n *\n * Copyright 2003-2007 Tarjej Huse, Jan Wagner, Del Elson, Benedikt Hallinger\n * Copyright 2009-2014 Horde LLC (http://www.horde.org/)\n *\n * @package Ldap\n * @author Tarjej Huse <tarjei@bergfald.no>\n * @author Jan Wagner <wagner@netsols.de>\n * @author ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [213, 83], "buggy_code_start_loc": [209, 83], "filenames": ["framework/Ldap/lib/Horde/Ldap.php", "framework/Ldap/test/Horde/Ldap/LdapTest.php"], "fixing_code_end_loc": [213, 97], "fixing_code_start_loc": [209, 84], "message": "The Horde_Ldap library before 2.0.6 for Horde allows remote attackers ...
149
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "require_once __DIR__ . '/TestBase.php';", "/**\n * Copyright 2010-2014 Horde LLC (http://www.horde.org/)\n *\n * @package Ldap\n * @subpackage UnitTests\n * @author Jan Schneider <jan@horde.org>\n * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL-3.0\n */\nclass Horde_Ldap_LdapTest e...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [213, 83], "buggy_code_start_loc": [209, 83], "filenames": ["framework/Ldap/lib/Horde/Ldap.php", "framework/Ldap/test/Horde/Ldap/LdapTest.php"], "fixing_code_end_loc": [213, 97], "fixing_code_start_loc": [209, 84], "message": "The Horde_Ldap library before 2.0.6 for Horde allows remote attackers ...
149
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "require_once __DIR__ . '/TestBase.php';", "/**\n * Copyright 2010-2014 Horde LLC (http://www.horde.org/)\n *\n * @package Ldap\n * @subpackage UnitTests\n * @author Jan Schneider <jan@horde.org>\n * @license http://www.gnu.org/licenses/lgpl-3.0.html LGPL-3.0\n */\nclass Horde_Ldap_LdapTest 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": [213, 83], "buggy_code_start_loc": [209, 83], "filenames": ["framework/Ldap/lib/Horde/Ldap.php", "framework/Ldap/test/Horde/Ldap/LdapTest.php"], "fixing_code_end_loc": [213, 97], "fixing_code_start_loc": [209, 84], "message": "The Horde_Ldap library before 2.0.6 for Horde allows remote attackers ...
149
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Magento\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Open Software License (OSL 3.0)\n * that is bundled with this package in the file LICENSE.txt.\n * It is also available through the world-wide-web at this URL:\n * http://opensource.org/licenses/osl-3.0.php\n * If you did 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, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [497], "buggy_code_start_loc": [497], "filenames": ["app/code/core/Mage/Widget/Model/Widget/Instance.php"], "fixing_code_end_loc": [503], "fixing_code_start_loc": [498], "message": "OpenMage is a community-driven alternative to Magento CE. In OpenMage before versions 19.4.10 and 20.0.5, there is ...
150
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Magento\n *\n * NOTICE OF LICENSE\n *\n * This source file is subject to the Open Software License (OSL 3.0)\n * that is bundled with this package in the file LICENSE.txt.\n * It is also available through the world-wide-web at this URL:\n * http://opensource.org/licenses/osl-3.0.php\n * If you did 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 ]
PreciseBugs
{"buggy_code_end_loc": [497], "buggy_code_start_loc": [497], "filenames": ["app/code/core/Mage/Widget/Model/Widget/Instance.php"], "fixing_code_end_loc": [503], "fixing_code_start_loc": [498], "message": "OpenMage is a community-driven alternative to Magento CE. In OpenMage before versions 19.4.10 and 20.0.5, there is ...
150
Determine whether the {function_name} code is vulnerable or not.
[ "## 8.12.7 (Unreleased)", "\n### Bugfixes", " - Fix refreshing LCD Display Function line options when changing number of lines\n - Fix installation of Function Action dependencies\n - Fix error when unauthenticated users attempting to land on the home page\n - Fix Gauge Widget dependencies ([#1100](https://gith...
[ 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, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [9, 153], "buggy_code_start_loc": [1, 120], "filenames": ["CHANGELOG.md", "mycodo/mycodo_flask/routes_general.py"], "fixing_code_end_loc": [13, 155], "fixing_code_start_loc": [1, 120], "message": "Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 ...
151
Determine whether the {function_name} code is vulnerable or not.
[ "## 8.12.7 (2021-10-25)", "This is a bugfix release that includes a fix to a severe security vulnerability. It is recommended that all users that have Mycodo exposed to the internet and allow guest access upgrade to patch this vulnerability. Users that only run Mycodo on a local network and/or don't allow unknown...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [9, 153], "buggy_code_start_loc": [1, 120], "filenames": ["CHANGELOG.md", "mycodo/mycodo_flask/routes_general.py"], "fixing_code_end_loc": [13, 155], "fixing_code_start_loc": [1, 120], "message": "Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 ...
151
Determine whether the {function_name} code is vulnerable or not.
[ "# coding=utf-8\nimport calendar\nimport datetime\nimport logging\nimport subprocess\nimport time\nfrom importlib import import_module", "import flask_login\nimport os\nfrom dateutil.parser import parse as date_parse\nfrom flask import Response\nfrom flask import flash\nfrom flask import jsonify\nfrom flask impor...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [9, 153], "buggy_code_start_loc": [1, 120], "filenames": ["CHANGELOG.md", "mycodo/mycodo_flask/routes_general.py"], "fixing_code_end_loc": [13, 155], "fixing_code_start_loc": [1, 120], "message": "Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 ...
151
Determine whether the {function_name} code is vulnerable or not.
[ "# coding=utf-8\nimport calendar\nimport datetime\nimport logging\nimport subprocess\nimport time\nfrom importlib import import_module", "import flask_login\nimport os\nfrom dateutil.parser import parse as date_parse\nfrom flask import Response\nfrom flask import flash\nfrom flask import jsonify\nfrom flask impor...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [9, 153], "buggy_code_start_loc": [1, 120], "filenames": ["CHANGELOG.md", "mycodo/mycodo_flask/routes_general.py"], "fixing_code_end_loc": [13, 155], "fixing_code_start_loc": [1, 120], "message": "Mycodo is an environmental monitoring and regulation system. An exploit in versions prior to 8.12.7 ...
151