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.
[ "'use strict';\n", "const { url_for } = require('hexo-util');", "\nfunction listTagsHelper(tags, options) {\n if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) {\n options = tags;\n tags = this.site.tags;\n }", " if (!tags || !tags.length) return '';\n options = optio...
[ 1, 0, 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": [63, 207], "buggy_code_start_loc": [3, 207], "filenames": ["lib/plugins/helper/list_tags.js", "test/scripts/helpers/list_tags.js"], "fixing_code_end_loc": [63, 246], "fixing_code_start_loc": [3, 208], "message": "Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post \u201cbody\...
1,358
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';\n", "const { url_for, escapeHTML } = require('hexo-util');", "\nfunction listTagsHelper(tags, options) {\n if (!options && (!tags || !Object.prototype.hasOwnProperty.call(tags, 'length'))) {\n options = tags;\n tags = this.site.tags;\n }", " if (!tags || !tags.length) return '';\n opt...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [63, 207], "buggy_code_start_loc": [3, 207], "filenames": ["lib/plugins/helper/list_tags.js", "test/scripts/helpers/list_tags.js"], "fixing_code_end_loc": [63, 246], "fixing_code_start_loc": [3, 208], "message": "Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post \u201cbody\...
1,358
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "describe('list_tags', () => {\n const Hexo = require('../../../lib/hexo');\n const hexo = new Hexo(__dirname);\n const Post = hexo.model('Post');\n const Tag = hexo.model('Tag');", " const ctx = {\n config: hexo.config\n };", " const listTags = require('../../../lib/plugins/helper/...
[ 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [63, 207], "buggy_code_start_loc": [3, 207], "filenames": ["lib/plugins/helper/list_tags.js", "test/scripts/helpers/list_tags.js"], "fixing_code_end_loc": [63, 246], "fixing_code_start_loc": [3, 208], "message": "Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post \u201cbody\...
1,358
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "describe('list_tags', () => {\n const Hexo = require('../../../lib/hexo');\n const hexo = new Hexo(__dirname);\n const Post = hexo.model('Post');\n const Tag = hexo.model('Tag');", " const ctx = {\n config: hexo.config\n };", " const listTags = require('../../../lib/plugins/helper/...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [63, 207], "buggy_code_start_loc": [3, 207], "filenames": ["lib/plugins/helper/list_tags.js", "test/scripts/helpers/list_tags.js"], "fixing_code_end_loc": [63, 246], "fixing_code_start_loc": [3, 208], "message": "Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post \u201cbody\...
1,358
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)\n *\n * Licensed under The MIT License\n * For full copyright and license information, please see the LICENSE.txt\n * Redistributions of files must retain the a...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [98, 297], "buggy_code_start_loc": [97, 64], "filenames": ["src/Controller/Component/CsrfComponent.php", "tests/TestCase/Controller/Component/CsrfComponentTest.php"], "fixing_code_end_loc": [98, 305], "fixing_code_start_loc": [97, 64], "message": "CakePHP 2.x and 3.x before 3.1.5 might allow remo...
1,359
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)\n *\n * Licensed under The MIT License\n * For full copyright and license information, please see the LICENSE.txt\n * Redistributions of files must retain the a...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [98, 297], "buggy_code_start_loc": [97, 64], "filenames": ["src/Controller/Component/CsrfComponent.php", "tests/TestCase/Controller/Component/CsrfComponentTest.php"], "fixing_code_end_loc": [98, 305], "fixing_code_start_loc": [97, 64], "message": "CakePHP 2.x and 3.x before 3.1.5 might allow remo...
1,359
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)\n *\n * Licensed under The MIT License\n * For full copyright and license information, please see the LICENSE.txt\n * Redistributions of files must retain the a...
[ 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [98, 297], "buggy_code_start_loc": [97, 64], "filenames": ["src/Controller/Component/CsrfComponent.php", "tests/TestCase/Controller/Component/CsrfComponentTest.php"], "fixing_code_end_loc": [98, 305], "fixing_code_start_loc": [97, 64], "message": "CakePHP 2.x and 3.x before 3.1.5 might allow remo...
1,359
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)\n * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)\n *\n * Licensed under The MIT License\n * For full copyright and license information, please see the LICENSE.txt\n * Redistributions of files must retain the a...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [98, 297], "buggy_code_start_loc": [97, 64], "filenames": ["src/Controller/Component/CsrfComponent.php", "tests/TestCase/Controller/Component/CsrfComponentTest.php"], "fixing_code_end_loc": [98, 305], "fixing_code_start_loc": [97, 64], "message": "CakePHP 2.x and 3.x before 3.1.5 might allow remo...
1,359
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 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, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [58], "buggy_code_start_loc": [58], "filenames": ["tensorflow/core/kernels/quantized_bias_add_op.cc"], "fixing_code_end_loc": [61], "fixing_code_start_loc": [59], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger an integer division by zero...
1,360
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 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 ]
PreciseBugs
{"buggy_code_end_loc": [58], "buggy_code_start_loc": [58], "filenames": ["tensorflow/core/kernels/quantized_bias_add_op.cc"], "fixing_code_end_loc": [61], "fixing_code_start_loc": [59], "message": "TensorFlow is an end-to-end open source platform for machine learning. An attacker can trigger an integer division by zero...
1,360
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2806], "buggy_code_start_loc": [2797], "filenames": ["pages/items.js.php"], "fixing_code_end_loc": [2806], "fixing_code_start_loc": [2797], "message": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitHub repository nilsteampassnet/teampass prior to 3.0....
1,361
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "declare(strict_types=1);", "/**\n * Teampass - a collaborative passwords manager.\n * ---\n * This library is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n * ---\n *\n * @pr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2806], "buggy_code_start_loc": [2797], "filenames": ["pages/items.js.php"], "fixing_code_end_loc": [2806], "fixing_code_start_loc": [2797], "message": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in GitHub repository nilsteampassnet/teampass prior to 3.0....
1,361
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n @version v5.20.20 01-Feb-2021\n @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved.\n @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community\n Released under both BSD license and Lesser GPL library license.\n Whenever there is any discrepancy between the...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [55], "buggy_code_start_loc": [54], "filenames": ["drivers/adodb-postgres64.inc.php"], "fixing_code_end_loc": [53], "fixing_code_start_loc": [53], "message": "Authentication Bypass by Primary Weakness in GitHub repository adodb/adodb prior to 5.20.21.", "other": {"cve": {"cisaActionDue": null, "c...
1,362
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n @version v5.20.20 01-Feb-2021\n @copyright (c) 2000-2013 John Lim (jlim#natsoft.com). All rights reserved.\n @copyright (c) 2014 Damien Regad, Mark Newnham and the ADOdb community\n Released under both BSD license and Lesser GPL library license.\n Whenever there is any discrepancy between the...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [55], "buggy_code_start_loc": [54], "filenames": ["drivers/adodb-postgres64.inc.php"], "fixing_code_end_loc": [53], "fixing_code_start_loc": [53], "message": "Authentication Bypass by Primary Weakness in GitHub repository adodb/adodb prior to 5.20.21.", "other": {"cve": {"cisaActionDue": null, "c...
1,362
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2011, 2012, 2013 Citrix Systems\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [493, 91, 274], "buggy_code_start_loc": [486, 91, 274], "filenames": ["src/client/ns_turn_ioaddr.c", "src/client/ns_turn_ioaddr.h", "src/server/ns_turn_server.c"], "fixing_code_end_loc": [519, 93, 277], "fixing_code_start_loc": [486, 92, 275], "message": "Coturn is free open source implementation...
1,363
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2011, 2012, 2013 Citrix Systems\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [493, 91, 274], "buggy_code_start_loc": [486, 91, 274], "filenames": ["src/client/ns_turn_ioaddr.c", "src/client/ns_turn_ioaddr.h", "src/server/ns_turn_server.c"], "fixing_code_end_loc": [519, 93, 277], "fixing_code_start_loc": [486, 92, 275], "message": "Coturn is free open source implementation...
1,363
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2011, 2012, 2013 Citrix Systems\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * ...
[ 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": [493, 91, 274], "buggy_code_start_loc": [486, 91, 274], "filenames": ["src/client/ns_turn_ioaddr.c", "src/client/ns_turn_ioaddr.h", "src/server/ns_turn_server.c"], "fixing_code_end_loc": [519, 93, 277], "fixing_code_start_loc": [486, 92, 275], "message": "Coturn is free open source implementation...
1,363
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2011, 2012, 2013 Citrix Systems\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [493, 91, 274], "buggy_code_start_loc": [486, 91, 274], "filenames": ["src/client/ns_turn_ioaddr.c", "src/client/ns_turn_ioaddr.h", "src/server/ns_turn_server.c"], "fixing_code_end_loc": [519, 93, 277], "fixing_code_start_loc": [486, 92, 275], "message": "Coturn is free open source implementation...
1,363
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2011, 2012, 2013 Citrix Systems\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [493, 91, 274], "buggy_code_start_loc": [486, 91, 274], "filenames": ["src/client/ns_turn_ioaddr.c", "src/client/ns_turn_ioaddr.h", "src/server/ns_turn_server.c"], "fixing_code_end_loc": [519, 93, 277], "fixing_code_start_loc": [486, 92, 275], "message": "Coturn is free open source implementation...
1,363
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2011, 2012, 2013 Citrix Systems\n *\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * 1. Redistributions of source code must retain the above copyright\n * ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [493, 91, 274], "buggy_code_start_loc": [486, 91, 274], "filenames": ["src/client/ns_turn_ioaddr.c", "src/client/ns_turn_ioaddr.h", "src/server/ns_turn_server.c"], "fixing_code_end_loc": [519, 93, 277], "fixing_code_start_loc": [486, 92, 275], "message": "Coturn is free open source implementation...
1,363
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * algif_hash: User-space interface for hash algorithms\n *\n * This file provides the user-space API for hash algorithms.\n *\n * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General 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, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [198], "buggy_code_start_loc": [183], "filenames": ["crypto/algif_hash.c"], "fixing_code_end_loc": [206], "fixing_code_start_loc": [184], "message": "The hash_accept function in crypto/algif_hash.c in the Linux kernel before 4.3.6 allows local users to cause a denial of service (OOPS) by attempti...
1,364
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * algif_hash: User-space interface for hash algorithms\n *\n * This file provides the user-space API for hash algorithms.\n *\n * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms of the GNU General 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": [198], "buggy_code_start_loc": [183], "filenames": ["crypto/algif_hash.c"], "fixing_code_end_loc": [206], "fixing_code_start_loc": [184], "message": "The hash_accept function in crypto/algif_hash.c in the Linux kernel before 4.3.6 allows local users to cause a denial of service (OOPS) by attempti...
1,364
Determine whether the {function_name} code is vulnerable or not.
[ "package org.mifos.mobile.api", "import okhttp3.OkHttpClient\nimport okhttp3.logging.HttpLoggingInterceptor", "import java.security.KeyStore\nimport java.security.SecureRandom\nimport java.security.cert.CertificateException\nimport java.security.cert.X509Certificate\nimport java.util.*\nimport java.util.concurr...
[ 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [68], "buggy_code_start_loc": [23], "filenames": ["app/src/main/java/org/mifos/mobile/api/SelfServiceOkHttpClient.kt"], "fixing_code_end_loc": [22], "fixing_code_start_loc": [22], "message": "Mifos-Mobile Android Application for MifosX is an Android Application built on top of the MifosX Self-Ser...
1,365
Determine whether the {function_name} code is vulnerable or not.
[ "package org.mifos.mobile.api", "import okhttp3.OkHttpClient\nimport okhttp3.logging.HttpLoggingInterceptor", "import java.security.KeyStore\nimport java.security.SecureRandom\nimport java.security.cert.CertificateException\nimport java.security.cert.X509Certificate\nimport java.util.*\nimport java.util.concurr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [68], "buggy_code_start_loc": [23], "filenames": ["app/src/main/java/org/mifos/mobile/api/SelfServiceOkHttpClient.kt"], "fixing_code_end_loc": [22], "fixing_code_start_loc": [22], "message": "Mifos-Mobile Android Application for MifosX is an Android Application built on top of the MifosX Self-Ser...
1,365
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * PKCS15 emulation layer for Oberthur card.\n *\n * Copyright (C) 2010, Viktor Tarasov <vtarasov@opentrust.com>\n * Copyright (C) 2005, Andrea Frigido <andrea@frisoft.it>\n * Copyright (C) 2005, Sirio Capizzi <graaf@virgilio.it>\n * Copyright (C) 2004, Antonino Iacono <ant_iacono@tin.it>\n * Copyright (C) 200...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [278], "buggy_code_start_loc": [274], "filenames": ["src/libopensc/pkcs15-oberthur.c"], "fixing_code_end_loc": [283], "fixing_code_start_loc": [274], "message": "The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.", "other...
1,366
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * PKCS15 emulation layer for Oberthur card.\n *\n * Copyright (C) 2010, Viktor Tarasov <vtarasov@opentrust.com>\n * Copyright (C) 2005, Andrea Frigido <andrea@frisoft.it>\n * Copyright (C) 2005, Sirio Capizzi <graaf@virgilio.it>\n * Copyright (C) 2004, Antonino Iacono <ant_iacono@tin.it>\n * Copyright (C) 200...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [278], "buggy_code_start_loc": [274], "filenames": ["src/libopensc/pkcs15-oberthur.c"], "fixing_code_end_loc": [283], "fixing_code_start_loc": [274], "message": "The Oberthur smart card software driver in OpenSC before 0.21.0-rc1 has a heap-based buffer overflow in sc_oberthur_read_file.", "other...
1,366
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2015 The Brave Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.", "// This file provides Brave specific functionality that overrides the\n// functionality in Chrome. It is not a copy.\n#include \"chrome/renderer/c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [440], "buggy_code_start_loc": [435], "filenames": ["chromium_src/chrome/renderer/content_settings_observer.cc"], "fixing_code_end_loc": [442], "fixing_code_start_loc": [435], "message": "Brave Software Inc. Brave version version 0.22.810 to 0.24.0 contains a Other/Unknown vulnerability in functi...
1,367
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2015 The Brave Authors. All rights reserved.\n// Use of this source code is governed by a BSD-style license that can be\n// found in the LICENSE file.", "// This file provides Brave specific functionality that overrides the\n// functionality in Chrome. It is not a copy.\n#include \"chrome/renderer/c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [440], "buggy_code_start_loc": [435], "filenames": ["chromium_src/chrome/renderer/content_settings_observer.cc"], "fixing_code_end_loc": [442], "fixing_code_start_loc": [435], "message": "Brave Software Inc. Brave version version 0.22.810 to 0.24.0 contains a Other/Unknown vulnerability in functi...
1,367
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** codegen.c - mruby code generator\n**\n** See Copyright Notice in mruby.h\n*/", "#include <mruby.h>\n#include <mruby/compile.h>\n#include <mruby/proc.h>\n#include <mruby/dump.h>\n#include <mruby/numeric.h>\n#include <mruby/string.h>\n#include <mruby/debug.h>\n#include <mruby/presym.h>\n#include \"node.h\"\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1619], "buggy_code_start_loc": [1606], "filenames": ["mrbgems/mruby-compiler/core/codegen.c"], "fixing_code_end_loc": [1619], "fixing_code_start_loc": [1606], "message": "NULL Pointer Dereference in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "...
1,368
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** codegen.c - mruby code generator\n**\n** See Copyright Notice in mruby.h\n*/", "#include <mruby.h>\n#include <mruby/compile.h>\n#include <mruby/proc.h>\n#include <mruby/dump.h>\n#include <mruby/numeric.h>\n#include <mruby/string.h>\n#include <mruby/debug.h>\n#include <mruby/presym.h>\n#include \"node.h\"\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1619], "buggy_code_start_loc": [1606], "filenames": ["mrbgems/mruby-compiler/core/codegen.c"], "fixing_code_end_loc": [1619], "fixing_code_start_loc": [1606], "message": "NULL Pointer Dereference in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "...
1,368
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2013-2022 - pancake */", "#include <r_anal.h>\n#include <r_lib.h>\n#include <ht_uu.h>\n#include <arm.h>\n#include <capstone.h>\n#include <arm.h>\n#include <r_util/r_assert.h>\n#include \"./anal_arm_hacks.inc\"", "/* arm64 */\n#define IMM64(x) (ut64)(insn->detail->arm64.operands[x]...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1083], "buggy_code_start_loc": [1018], "filenames": ["libr/anal/p/anal_arm_cs.c"], "fixing_code_end_loc": [1081], "fixing_code_start_loc": [1018], "message": "Access of Memory Location Before Start of Buffer in NPM radare2.js prior to 5.6.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploi...
1,369
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare2 - LGPL - Copyright 2013-2022 - pancake */", "#include <r_anal.h>\n#include <r_lib.h>\n#include <ht_uu.h>\n#include <arm.h>\n#include <capstone.h>\n#include <arm.h>\n#include <r_util/r_assert.h>\n#include \"./anal_arm_hacks.inc\"", "/* arm64 */\n#define IMM64(x) (ut64)(insn->detail->arm64.operands[x]...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1083], "buggy_code_start_loc": [1018], "filenames": ["libr/anal/p/anal_arm_cs.c"], "fixing_code_end_loc": [1081], "fixing_code_start_loc": [1018], "message": "Access of Memory Location Before Start of Buffer in NPM radare2.js prior to 5.6.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploi...
1,369
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 Copyright (c) baserCMS Users Community\n * @link https://basercms.net baserCMS Project\n * @package Baser.Mode...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [138], "buggy_code_start_loc": [104], "filenames": ["lib/Baser/Model/Behavior/BcUploadBehavior.php"], "fixing_code_end_loc": [140], "fixing_code_start_loc": [104], "message": "baserCMS is a Content Management system. Prior to version 4.7.5, any file may be uploaded on the management system of bas...
1,370
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 Copyright (c) baserCMS Users Community\n * @link https://basercms.net baserCMS Project\n * @package Baser.Mode...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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], "buggy_code_start_loc": [104], "filenames": ["lib/Baser/Model/Behavior/BcUploadBehavior.php"], "fixing_code_end_loc": [140], "fixing_code_start_loc": [104], "message": "baserCMS is a Content Management system. Prior to version 4.7.5, any file may be uploaded on the management system of bas...
1,370
Determine whether the {function_name} code is vulnerable or not.
[ "// Ogg Vorbis audio decoder - v1.16 - public domain\n// http://nothings.org/stb_vorbis/\n//\n// Original version written by Sean Barrett in 2007.\n//\n// Originally sponsored by RAD Game Tools. Seeking implementation\n// sponsored by Phillip Bennefall, Marc Andersen, Aaron Baker,\n// Elias Software, Aras Pranckevi...
[ 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": [5388], "buggy_code_start_loc": [35], "filenames": ["stb_vorbis.c"], "fixing_code_end_loc": [5405], "fixing_code_start_loc": [36], "message": "An out-of-bounds read of a global buffer in the draw_line function in stb_vorbis through 2019-03-04 allows an attacker to cause a denial of service or dis...
1,371
Determine whether the {function_name} code is vulnerable or not.
[ "// Ogg Vorbis audio decoder - v1.16 - public domain\n// http://nothings.org/stb_vorbis/\n//\n// Original version written by Sean Barrett in 2007.\n//\n// Originally sponsored by RAD Game Tools. Seeking implementation\n// sponsored by Phillip Bennefall, Marc Andersen, Aaron Baker,\n// Elias Software, Aras Pranckevi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [5388], "buggy_code_start_loc": [35], "filenames": ["stb_vorbis.c"], "fixing_code_end_loc": [5405], "fixing_code_start_loc": [36], "message": "An out-of-bounds read of a global buffer in the draw_line function in stb_vorbis through 2019-03-04 allows an attacker to cause a denial of service or dis...
1,371
Determine whether the {function_name} code is vulnerable or not.
[ "2016-08-15 7.0.2-10 Cristy <quetzlzacatenango@image...>", " * Prevent buffer overflow in BMP coder (bug report from", " pwchen&rayzhong of tencent).", "2016-08-14 7.0.2-9 Cristy <quetzlzacatenango@image...>\n * Release ImageMagick version 7.0.2-9, GIT revision 18707:2c02f09:20160814.", "2016-08-14...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [3, 367], "buggy_code_start_loc": [2, 361], "filenames": ["ChangeLog", "coders/sgi.c"], "fixing_code_end_loc": [3, 370], "fixing_code_start_loc": [2, 361], "message": "The SGI coder in ImageMagick before 7.0.2-10 allows remote attackers to cause a denial of service (out-of-bounds read) via a larg...
1,372
Determine whether the {function_name} code is vulnerable or not.
[ "2016-08-15 7.0.2-10 Cristy <quetzlzacatenango@image...>", " * Prevent buffer overflow in BMP & SGI coders (bug report from", " pwchen&rayzhong of tencent).", "2016-08-14 7.0.2-9 Cristy <quetzlzacatenango@image...>\n * Release ImageMagick version 7.0.2-9, GIT revision 18707:2c02f09:20160814.", "201...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 367], "buggy_code_start_loc": [2, 361], "filenames": ["ChangeLog", "coders/sgi.c"], "fixing_code_end_loc": [3, 370], "fixing_code_start_loc": [2, 361], "message": "The SGI coder in ImageMagick before 7.0.2-10 allows remote attackers to cause a denial of service (out-of-bounds read) via a larg...
1,372
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, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 367], "buggy_code_start_loc": [2, 361], "filenames": ["ChangeLog", "coders/sgi.c"], "fixing_code_end_loc": [3, 370], "fixing_code_start_loc": [2, 361], "message": "The SGI coder in ImageMagick before 7.0.2-10 allows remote attackers to cause a denial of service (out-of-bounds read) via a larg...
1,372
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 ]
PreciseBugs
{"buggy_code_end_loc": [3, 367], "buggy_code_start_loc": [2, 361], "filenames": ["ChangeLog", "coders/sgi.c"], "fixing_code_end_loc": [3, 370], "fixing_code_start_loc": [2, 361], "message": "The SGI coder in ImageMagick before 7.0.2-10 allows remote attackers to cause a denial of service (out-of-bounds read) via a larg...
1,372
Determine whether the {function_name} code is vulnerable or not.
[ "parameters:\n # Kernel related params\n webroot_dir: \"%kernel.root_dir%/../web\"", " ###\n # ezsettings namespace, default scope\n ###", " # Content/Location view\n ezsettings.default.location_view: {}\n ezsettings.default.content_view: {}\n ezsettings.default.block_view: {}", "\n...
[ 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": [91], "buggy_code_start_loc": [91], "filenames": ["eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml"], "fixing_code_end_loc": [102], "fixing_code_start_loc": [92], "message": "An issue was discovered in eZ Platform Ibexa Kernel before 1.3.1.1. An XSS attack can occur because Ja...
1,373
Determine whether the {function_name} code is vulnerable or not.
[ "parameters:\n # Kernel related params\n webroot_dir: \"%kernel.root_dir%/../web\"", " ###\n # ezsettings namespace, default scope\n ###", " # Content/Location view\n ezsettings.default.location_view: {}\n ezsettings.default.content_view: {}\n ezsettings.default.block_view: {}", "\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 ]
PreciseBugs
{"buggy_code_end_loc": [91], "buggy_code_start_loc": [91], "filenames": ["eZ/Bundle/EzPublishCoreBundle/Resources/config/default_settings.yml"], "fixing_code_end_loc": [102], "fixing_code_start_loc": [92], "message": "An issue was discovered in eZ Platform Ibexa Kernel before 1.3.1.1. An XSS attack can occur because Ja...
1,373
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\"\n", "", "const parsePath = require(\"parse-path\")\n , normalizeUrl = require(\"normalize-url\")", "", "\n/**\n * parseUrl\n * Parses the input url.\n *\n * **Note**: This *throws* if invalid urls are provided.\n *\n * @name parseUrl\n * @function\n * @param {String} url The input url.", ...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 60, 101], "buggy_code_start_loc": [2, 34, 5], "filenames": ["lib/index.js", "package.json", "test/index.js"], "fixing_code_end_loc": [69, 60, 108], "fixing_code_start_loc": [3, 34, 4], "message": "Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url prior to 7.0.0.",...
1,374
Determine whether the {function_name} code is vulnerable or not.
[ "\"use strict\"\n", "// Dependencies", "const parsePath = require(\"parse-path\")\n , normalizeUrl = require(\"normalize-url\")", "", "\n/**\n * parseUrl\n * Parses the input url.\n *\n * **Note**: This *throws* if invalid urls are provided.\n *\n * @name parseUrl\n * @function\n * @param {String} url Th...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 60, 101], "buggy_code_start_loc": [2, 34, 5], "filenames": ["lib/index.js", "package.json", "test/index.js"], "fixing_code_end_loc": [69, 60, 108], "fixing_code_start_loc": [3, 34, 4], "message": "Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url prior to 7.0.0.",...
1,374
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"parse-url\",\n \"version\": \"5.0.8\",\n \"description\": \"An advanced url parser supporting git urls too.\",\n \"main\": \"lib/index.js\",\n \"directories\": {\n \"example\": \"example\",\n \"test\": \"test\"\n },\n \"scripts\": {\n \"test\": \"node test\"\n },\n \"repository\":...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 60, 101], "buggy_code_start_loc": [2, 34, 5], "filenames": ["lib/index.js", "package.json", "test/index.js"], "fixing_code_end_loc": [69, 60, 108], "fixing_code_start_loc": [3, 34, 4], "message": "Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url prior to 7.0.0.",...
1,374
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"parse-url\",\n \"version\": \"5.0.8\",\n \"description\": \"An advanced url parser supporting git urls too.\",\n \"main\": \"lib/index.js\",\n \"directories\": {\n \"example\": \"example\",\n \"test\": \"test\"\n },\n \"scripts\": {\n \"test\": \"node test\"\n },\n \"repository\":...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 60, 101], "buggy_code_start_loc": [2, 34, 5], "filenames": ["lib/index.js", "package.json", "test/index.js"], "fixing_code_end_loc": [69, 60, 108], "fixing_code_start_loc": [3, 34, 4], "message": "Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url prior to 7.0.0.",...
1,374
Determine whether the {function_name} code is vulnerable or not.
[ "// Dependencies\nconst parseUrl = require(\"../lib\")\n , tester = require(\"tester\")\n , normalizeUrl = require(\"normalize-url\")", " , qs = require(\"querystring\")", " ;", "const INPUTS = [\n [\n \"http://ionicabizau.net/blog\"\n , {\n protocols: [ \"http\" ]\n ...
[ 1, 0, 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, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 60, 101], "buggy_code_start_loc": [2, 34, 5], "filenames": ["lib/index.js", "package.json", "test/index.js"], "fixing_code_end_loc": [69, 60, 108], "fixing_code_start_loc": [3, 34, 4], "message": "Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url prior to 7.0.0.",...
1,374
Determine whether the {function_name} code is vulnerable or not.
[ "// Dependencies\nconst parseUrl = require(\"../lib\")\n , tester = require(\"tester\")\n , normalizeUrl = require(\"normalize-url\")", "", " ;", "const INPUTS = [\n [\n \"http://ionicabizau.net/blog\"\n , {\n protocols: [ \"http\" ]\n , protocol: \"http\"", " ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 60, 101], "buggy_code_start_loc": [2, 34, 5], "filenames": ["lib/index.js", "package.json", "test/index.js"], "fixing_code_end_loc": [69, 60, 108], "fixing_code_start_loc": [3, 34, 4], "message": "Server-Side Request Forgery (SSRF) in GitHub repository ionicabizau/parse-url prior to 7.0.0.",...
1,374
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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [143], "buggy_code_start_loc": [143], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/element/scheduler.js"], "fixing_code_end_loc": [152], "fixing_code_start_loc": [144], "message": "Cross-site Scripting (XSS) - DOM in GitHub repository pimcore/pimcore prior to 10.5.19.", "other":...
1,375
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 ]
PreciseBugs
{"buggy_code_end_loc": [143], "buggy_code_start_loc": [143], "filenames": ["bundles/AdminBundle/Resources/public/js/pimcore/element/scheduler.js"], "fixing_code_end_loc": [152], "fixing_code_start_loc": [144], "message": "Cross-site Scripting (XSS) - DOM in GitHub repository pimcore/pimcore prior to 10.5.19.", "other":...
1,375
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * SPI master driver using generic bitbanged GPIO\n *\n * Copyright (C) 2006,2008 David Brownell\n * Copyright (C) 2017 Linus Walleij\n */\n#include <linux/kernel.h>\n#include <linux/module.h>\n#include <linux/platform_device.h>\n#include <linux/gpio/consumer.h>\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, 0, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [375], "buggy_code_start_loc": [374], "filenames": ["drivers/spi/spi-gpio.c"], "fixing_code_end_loc": [378], "fixing_code_start_loc": [374], "message": "** DISPUTED ** A memory leak in the spi_gpio_probe() function in drivers/spi/spi-gpio.c in the Linux kernel through 5.3.11 allows attackers to c...
1,376
Determine whether the {function_name} code is vulnerable or not.
[ "// SPDX-License-Identifier: GPL-2.0-or-later\n/*\n * SPI master driver using generic bitbanged GPIO\n *\n * Copyright (C) 2006,2008 David Brownell\n * Copyright (C) 2017 Linus Walleij\n */\n#include <linux/kernel.h>\n#include <linux/module.h>\n#include <linux/platform_device.h>\n#include <linux/gpio/consumer.h>\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": [375], "buggy_code_start_loc": [374], "filenames": ["drivers/spi/spi-gpio.c"], "fixing_code_end_loc": [378], "fixing_code_start_loc": [374], "message": "** DISPUTED ** A memory leak in the spi_gpio_probe() function in drivers/spi/spi-gpio.c in the Linux kernel through 5.3.11 allows attackers to c...
1,376
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2020 WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n//\n// WSO2 Inc. licenses this file to you under the Apache License,\n// Version 2.0 (the \"License\"); you may not use this file except\n// in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://...
[ 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2018, WSO2 Inc. (http://www.wso2.org) 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://...
[ 1, 1, 1, 0, 1, 0, 1, 0, 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": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n *\n * WSO2 Inc. licenses this file to you under the Apache License,\n * Version 2.0 (the \"License\"); you may not use this file except\n * in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [276, 133, 88, 109, 175, 67, 110, 132, 188], "buggy_code_start_loc": [33, 33, 30, 29, 21, 25, 34, 125, 41], "filenames": ["cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Pull.java", "cli/ballerina-cli-module/src/main/java/org/ballerinalang/cli/module/Push.java", "cli/ballerin...
1,377
Determine whether the {function_name} code is vulnerable or not.
[ "import archiver = require('archiver');\nimport * as bodyParser from 'body-parser';\nimport { Request, Response, Router } from 'express';\nimport * as _ from 'lodash';\nimport * as multer from 'multer';\nimport * as path from 'path';", "import * as chromeHelper from './chrome-helper';\nimport { MAX_PAYLOAD_SIZE }...
[ 1, 1, 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, 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": [186], "buggy_code_start_loc": [160], "filenames": ["src/routes.ts"], "fixing_code_end_loc": [194], "fixing_code_start_loc": [159], "message": "This affects versions of package browserless-chrome before 1.40.2-chrome-stable. User input flowing from the workspace endpoint gets used to create a fil...
1,378
Determine whether the {function_name} code is vulnerable or not.
[ "import archiver = require('archiver');\nimport * as bodyParser from 'body-parser';\nimport { Request, Response, Router } from 'express';\nimport * as _ from 'lodash';\nimport * as multer from 'multer';\nimport * as path from 'path';", "import * as chromeHelper from './chrome-helper';\nimport { MAX_PAYLOAD_SIZE }...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [186], "buggy_code_start_loc": [160], "filenames": ["src/routes.ts"], "fixing_code_end_loc": [194], "fixing_code_start_loc": [159], "message": "This affects versions of package browserless-chrome before 1.40.2-chrome-stable. User input flowing from the workspace endpoint gets used to create a fil...
1,378
Determine whether the {function_name} code is vulnerable or not.
[ "# WP-DBManager\nContributors: GamerZ \nDonate link: http://lesterchan.net/site/donation/ \nTags: database, manage, wp-dbmanager, manager, table, optimize, backup, queries, query, drop, empty, tables, table, run, repair, cron, schedule, scheduling, automatic \nRequires at least: 3.9 \nTested up to: 4.0 \nStabl...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "# WP-DBManager\nContributors: GamerZ \nDonate link: http://lesterchan.net/site/donation/ \nTags: database, manage, wp-dbmanager, manager, table, optimize, backup, queries, query, drop, empty, tables, table, run, repair, cron, schedule, scheduling, automatic \nRequires at least: 3.9 \nTested up to: 4.0 \nStabl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n### Check Whether User Can Manage Database\nif(!current_user_can('manage_database')) {\n\tdie('Access Denied');\n}", "\n### Variables Variables Variables\n$base_name = plugin_basename('wp-dbmanager/database-manager.php');\n$base_page = 'admin.php?page='.$base_name;\n$current_date = mysql2date(sprintf(__('...
[ 1, 1, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n### Check Whether User Can Manage Database\nif(!current_user_can('manage_database')) {\n\tdie('Access Denied');\n}", "\n### Variables Variables Variables\n$base_name = plugin_basename('wp-dbmanager/database-manager.php');\n$base_page = 'admin.php?page='.$base_name;\n$current_date = mysql2date(sprintf(__('...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n### Check Whether User Can Manage Database\nif(!current_user_can('manage_database')) {\n\tdie('Access Denied');\n}", "\n### Variables Variables Variables\n$base_name = plugin_basename('wp-dbmanager/database-manager.php');\n$base_page = 'admin.php?page='.$base_name;\n$backup = array();\n$backup_options = g...
[ 1, 1, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n### Check Whether User Can Manage Database\nif(!current_user_can('manage_database')) {\n\tdie('Access Denied');\n}", "\n### Variables Variables Variables\n$base_name = plugin_basename('wp-dbmanager/database-manager.php');\n$base_page = 'admin.php?page='.$base_name;\n$backup = array();\n$backup_options = g...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n### Check Whether User Can Manage Database\nif(!current_user_can('manage_database')) {\n\tdie('Access Denied');\n}", "\n### Variables Variables Variables\n$base_name = plugin_basename('wp-dbmanager/database-manager.php');\n$base_page = 'admin.php?page='.$base_name;\n$backup = array();\n$backup_options = g...
[ 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n### Check Whether User Can Manage Database\nif(!current_user_can('manage_database')) {\n\tdie('Access Denied');\n}", "\n### Variables Variables Variables\n$base_name = plugin_basename('wp-dbmanager/database-manager.php');\n$base_page = 'admin.php?page='.$base_name;\n$backup = array();\n$backup_options = g...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\nPlugin Name: WP-DBManager\nPlugin URI: http://lesterchan.net/portfolio/programming/php/\nDescription: Manages your WordPress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\nPlugin Name: WP-DBManager\nPlugin URI: http://lesterchan.net/portfolio/programming/php/\nDescription: Manages your WordPress database. Allows you to optimize database, repair database, backup database, restore database, delete backup database , drop/empty tables and run selected queries. Supports automa...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [39, 50, 50, 52, 230], "buggy_code_start_loc": [37, 45, 47, 40, 63], "filenames": ["README.md", "database-backup.php", "database-manage.php", "database-run.php", "wp-dbmanager.php"], "fixing_code_end_loc": [41, 50, 50, 54, 229], "fixing_code_start_loc": [37, 45, 47, 40, 62], "message": "The \"Sql...
1,379
Determine whether the {function_name} code is vulnerable or not.
[ "package http", "import (\n\t\"io/fs\"\n\t\"net/http\"", "\t\"github.com/gorilla/mux\"", "\t\"github.com/filebrowser/filebrowser/v2/settings\"\n\t\"github.com/filebrowser/filebrowser/v2/storage\"\n)", "type modifyRequest struct {\n\tWhat string `json:\"what\"` // Answer to: what data type?\n\tWhich []st...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27], "buggy_code_start_loc": [27], "filenames": ["http/http.go"], "fixing_code_end_loc": [34], "fixing_code_start_loc": [28], "message": "A stored cross-site scripting (XSS) vulnerability exists in FileBrowser < v2.16.0 that allows an authenticated user authorized to upload a malicious .svg file...
1,380
Determine whether the {function_name} code is vulnerable or not.
[ "package http", "import (\n\t\"io/fs\"\n\t\"net/http\"", "\t\"github.com/gorilla/mux\"", "\t\"github.com/filebrowser/filebrowser/v2/settings\"\n\t\"github.com/filebrowser/filebrowser/v2/storage\"\n)", "type modifyRequest struct {\n\tWhat string `json:\"what\"` // Answer to: what data type?\n\tWhich []st...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [27], "buggy_code_start_loc": [27], "filenames": ["http/http.go"], "fixing_code_end_loc": [34], "fixing_code_start_loc": [28], "message": "A stored cross-site scripting (XSS) vulnerability exists in FileBrowser < v2.16.0 that allows an authenticated user authorized to upload a malicious .svg file...
1,380
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\n/*\r\n * This file is part of MailSo.\r\n *\r\n * (c) 2014 Usenko Timur\r\n *\r\n * For the full copyright and license information, please view the LICENSE\r\n * file that was distributed with this source code.\r\n */\r\n\r\nnamespace MailSo\\Base;\r\n\r\n/**\r\n * @category MailSo\r\n * @package Base...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\n/*\r\n * This file is part of MailSo.\r\n *\r\n * (c) 2014 Usenko Timur\r\n *\r\n * For the full copyright and license information, please view the LICENSE\r\n * file that was distributed with this source code.\r\n */\r\n\r\nnamespace MailSo\\Base;\r\n\r\n/**\r\n * @category MailSo\r\n * @package Base...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nnamespace RainLoop\\Config;\r\n\r\nclass Application extends \\RainLoop\\Config\\AbstractConfig\r\n{\r\n\tprivate $aReplaceEnv = null;\r\n\r\n\t/**\r\n\t * @return void\r\n\t */\r\n\tpublic function __construct()\r\n\t{\r\n\t\tparent::__construct('application.ini',\r\n\t\t\t'; RainLoop Webmail configu...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nnamespace RainLoop\\Config;\r\n\r\nclass Application extends \\RainLoop\\Config\\AbstractConfig\r\n{\r\n\tprivate $aReplaceEnv = null;\r\n\r\n\t/**\r\n\t * @return void\r\n\t */\r\n\tpublic function __construct()\r\n\t{\r\n\t\tparent::__construct('application.ini',\r\n\t\t\t'; RainLoop Webmail configu...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nnamespace RainLoop;\r\n\r\nclass Service\r\n{\r\n\t/**\r\n\t * @var \\MailSo\\Base\\Http\r\n\t */\r\n\tprivate $oHttp;\r\n\r\n\t/**\r\n\t * @var \\RainLoop\\Actions\r\n\t */\r\n\tprivate $oActions;\r\n\r\n\t/**\r\n\t * @var \\RainLoop\\ServiceActions\r\n\t */\r\n\tprivate $oServiceActions;\r\n\r\n\t/*...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nnamespace RainLoop;\r\n\r\nclass Service\r\n{\r\n\t/**\r\n\t * @var \\MailSo\\Base\\Http\r\n\t */\r\n\tprivate $oHttp;\r\n\r\n\t/**\r\n\t * @var \\RainLoop\\Actions\r\n\t */\r\n\tprivate $oActions;\r\n\r\n\t/**\r\n\t * @var \\RainLoop\\ServiceActions\r\n\t */\r\n\tprivate $oServiceActions;\r\n\r\n\t/*...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nnamespace RainLoop;\r\n\r\nclass ServiceActions\r\n{\r\n\t/**\r\n\t * @var \\MailSo\\Base\\Http\r\n\t */\r\n\tprotected $oHttp;\r\n\r\n\t/**\r\n\t * @var \\RainLoop\\Actions\r\n\t */\r\n\tprotected $oActions;\r\n\r\n\t/**\r\n\t * @var array\r\n\t */\r\n\tprotected $aPaths;\r\n\r\n\t/**\r\n\t * @var st...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\nnamespace RainLoop;\r\n\r\nclass ServiceActions\r\n{\r\n\t/**\r\n\t * @var \\MailSo\\Base\\Http\r\n\t */\r\n\tprotected $oHttp;\r\n\r\n\t/**\r\n\t * @var \\RainLoop\\Actions\r\n\t */\r\n\tprotected $oActions;\r\n\r\n\t/**\r\n\t * @var array\r\n\t */\r\n\tprotected $aPaths;\r\n\r\n\t/**\r\n\t * @var st...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [1102, 202, 249, 500], "buggy_code_start_loc": [1102, 201, 47, 500], "filenames": ["rainloop/v/0.0.0/app/libraries/MailSo/Base/HtmlUtils.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Config/Application.php", "rainloop/v/0.0.0/app/libraries/RainLoop/Service.php", "rainloop/v/0.0.0/app/libraries/R...
1,381
Determine whether the {function_name} code is vulnerable or not.
[ "import re\nimport secrets\nfrom typing import Any, Dict, Optional, Tuple\nfrom urllib.parse import urlparse", "from django.conf import settings\nfrom django.http import HttpRequest, JsonResponse\nfrom django.views.decorators.csrf import csrf_exempt\nfrom rest_framework import status\nfrom sentry_sdk import captu...
[ 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [40, 58, 60], "buggy_code_start_loc": [22, 58, 1], "filenames": ["posthog/api/decide.py", "posthog/test/test_urls.py", "posthog/urls.py"], "fixing_code_end_loc": [47, 68, 67], "fixing_code_start_loc": [23, 59, 1], "message": "Open redirect vulnerability via endpoint authorize_and_redirect/?redire...
1,382
Determine whether the {function_name} code is vulnerable or not.
[ "import re\nimport secrets\nfrom typing import Any, Dict, Optional, Tuple\nfrom urllib.parse import urlparse", "from django.conf import settings\nfrom django.http import HttpRequest, JsonResponse\nfrom django.views.decorators.csrf import csrf_exempt\nfrom rest_framework import status\nfrom sentry_sdk import captu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [40, 58, 60], "buggy_code_start_loc": [22, 58, 1], "filenames": ["posthog/api/decide.py", "posthog/test/test_urls.py", "posthog/urls.py"], "fixing_code_end_loc": [47, 68, 67], "fixing_code_start_loc": [23, 59, 1], "message": "Open redirect vulnerability via endpoint authorize_and_redirect/?redire...
1,382
Determine whether the {function_name} code is vulnerable or not.
[ "import uuid", "from rest_framework import status", "from posthog.test.base import APIBaseTest", "\nclass TestUrls(APIBaseTest):\n def test_logout_temporary_token_reset(self):", " # update temporary token\n self.user.temporary_token = \"token123\"\n self.user.save()", " # lo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [40, 58, 60], "buggy_code_start_loc": [22, 58, 1], "filenames": ["posthog/api/decide.py", "posthog/test/test_urls.py", "posthog/urls.py"], "fixing_code_end_loc": [47, 68, 67], "fixing_code_start_loc": [23, 59, 1], "message": "Open redirect vulnerability via endpoint authorize_and_redirect/?redire...
1,382
Determine whether the {function_name} code is vulnerable or not.
[ "import uuid", "from rest_framework import status", "from posthog.test.base import APIBaseTest", "\nclass TestUrls(APIBaseTest):\n def test_logout_temporary_token_reset(self):", " # update temporary token\n self.user.temporary_token = \"token123\"\n self.user.save()", " # lo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [40, 58, 60], "buggy_code_start_loc": [22, 58, 1], "filenames": ["posthog/api/decide.py", "posthog/test/test_urls.py", "posthog/urls.py"], "fixing_code_end_loc": [47, 68, 67], "fixing_code_start_loc": [23, 59, 1], "message": "Open redirect vulnerability via endpoint authorize_and_redirect/?redire...
1,382
Determine whether the {function_name} code is vulnerable or not.
[ "from typing import Any, Callable, List, Optional", "from urllib.parse import urlparse", "from django.conf import settings", "from django.http import HttpResponse", "from django.urls import URLPattern, include, path, re_path\nfrom django.views.decorators import csrf\nfrom django.views.decorators.csrf import...
[ 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [40, 58, 60], "buggy_code_start_loc": [22, 58, 1], "filenames": ["posthog/api/decide.py", "posthog/test/test_urls.py", "posthog/urls.py"], "fixing_code_end_loc": [47, 68, 67], "fixing_code_start_loc": [23, 59, 1], "message": "Open redirect vulnerability via endpoint authorize_and_redirect/?redire...
1,382
Determine whether the {function_name} code is vulnerable or not.
[ "from typing import Any, Callable, List, Optional, cast", "from urllib.parse import urlparse", "from django.conf import settings", "from django.http import HttpRequest, HttpResponse", "from django.urls import URLPattern, include, path, re_path\nfrom django.views.decorators import csrf\nfrom django.views.dec...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [40, 58, 60], "buggy_code_start_loc": [22, 58, 1], "filenames": ["posthog/api/decide.py", "posthog/test/test_urls.py", "posthog/urls.py"], "fixing_code_end_loc": [47, 68, 67], "fixing_code_start_loc": [23, 59, 1], "message": "Open redirect vulnerability via endpoint authorize_and_redirect/?redire...
1,382
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2008 The Android Open Source Project\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * * Redistributions of source code must retain the above copyright\n *...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [617], "buggy_code_start_loc": [27], "filenames": ["libc/bionic/malloc_debug_leak.c"], "fixing_code_end_loc": [631], "fixing_code_start_loc": [28], "message": "Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in ...
1,383
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2008 The Android Open Source Project\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions\n * are met:\n * * Redistributions of source code must retain the above copyright\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": [617], "buggy_code_start_loc": [27], "filenames": ["libc/bionic/malloc_debug_leak.c"], "fixing_code_end_loc": [631], "fixing_code_start_loc": [28], "message": "Multiple integer overflows in the (1) chk_malloc, (2) leak_malloc, and (3) leak_memalign functions in libc/bionic/malloc_debug_leak.c in ...
1,383