prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace GuzzleHttp\\Cookie;", "use Psr\\Http\\Message\\RequestInterface;\nuse Psr\\Http\\Message\\ResponseInterface;", "/**\n * Cookie jar that stores cookies as an array\n */\nclass CookieJar implements CookieJarInterface\n{\n /**\n * @var SetCookie[] Loaded cookie data\n */\n priva...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 70, 243, 386, 416], "buggy_code_start_loc": [3, 63, 243, 382, 274], "filenames": ["CHANGELOG.md", "README.md", "src/Cookie/CookieJar.php", "src/Cookie/SetCookie.php", "tests/Cookie/CookieJarTest.php"], "fixing_code_end_loc": [8, 70, 249, 388, 446], "fixing_code_start_loc": [4, 63, 244, 382, 2...
1,406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace GuzzleHttp\\Cookie;", "use Psr\\Http\\Message\\RequestInterface;\nuse Psr\\Http\\Message\\ResponseInterface;", "/**\n * Cookie jar that stores cookies as an array\n */\nclass CookieJar implements CookieJarInterface\n{\n /**\n * @var SetCookie[] Loaded cookie data\n */\n priva...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 70, 243, 386, 416], "buggy_code_start_loc": [3, 63, 243, 382, 274], "filenames": ["CHANGELOG.md", "README.md", "src/Cookie/CookieJar.php", "src/Cookie/SetCookie.php", "tests/Cookie/CookieJarTest.php"], "fixing_code_end_loc": [8, 70, 249, 388, 446], "fixing_code_start_loc": [4, 63, 244, 382, 2...
1,406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace GuzzleHttp\\Cookie;", "/**\n * Set-Cookie object\n */\nclass SetCookie\n{\n /**\n * @var array\n */\n private static $defaults = [\n 'Name' => null,\n 'Value' => null,\n 'Domain' => null,\n 'Path' => '/',\n 'Max-Age' => null,\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, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 70, 243, 386, 416], "buggy_code_start_loc": [3, 63, 243, 382, 274], "filenames": ["CHANGELOG.md", "README.md", "src/Cookie/CookieJar.php", "src/Cookie/SetCookie.php", "tests/Cookie/CookieJarTest.php"], "fixing_code_end_loc": [8, 70, 249, 388, 446], "fixing_code_start_loc": [4, 63, 244, 382, 2...
1,406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace GuzzleHttp\\Cookie;", "/**\n * Set-Cookie object\n */\nclass SetCookie\n{\n /**\n * @var array\n */\n private static $defaults = [\n 'Name' => null,\n 'Value' => null,\n 'Domain' => null,\n 'Path' => '/',\n 'Max-Age' => null,\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 ]
PreciseBugs
{"buggy_code_end_loc": [3, 70, 243, 386, 416], "buggy_code_start_loc": [3, 63, 243, 382, 274], "filenames": ["CHANGELOG.md", "README.md", "src/Cookie/CookieJar.php", "src/Cookie/SetCookie.php", "tests/Cookie/CookieJarTest.php"], "fixing_code_end_loc": [8, 70, 249, 388, 446], "fixing_code_start_loc": [4, 63, 244, 382, 2...
1,406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace GuzzleHttp\\Tests\\CookieJar;", "use DateInterval;\nuse DateTime;\nuse DateTimeImmutable;\nuse GuzzleHttp\\Cookie\\CookieJar;\nuse GuzzleHttp\\Cookie\\SetCookie;\nuse GuzzleHttp\\Psr7\\Request;\nuse GuzzleHttp\\Psr7\\Response;\nuse PHPUnit\\Framework\\TestCase;", "/**\n * @covers \\GuzzleH...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [3, 70, 243, 386, 416], "buggy_code_start_loc": [3, 63, 243, 382, 274], "filenames": ["CHANGELOG.md", "README.md", "src/Cookie/CookieJar.php", "src/Cookie/SetCookie.php", "tests/Cookie/CookieJarTest.php"], "fixing_code_end_loc": [8, 70, 249, 388, 446], "fixing_code_start_loc": [4, 63, 244, 382, 2...
1,406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace GuzzleHttp\\Tests\\CookieJar;", "use DateInterval;\nuse DateTime;\nuse DateTimeImmutable;\nuse GuzzleHttp\\Cookie\\CookieJar;\nuse GuzzleHttp\\Cookie\\SetCookie;\nuse GuzzleHttp\\Psr7\\Request;\nuse GuzzleHttp\\Psr7\\Response;\nuse PHPUnit\\Framework\\TestCase;", "/**\n * @covers \\GuzzleH...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 70, 243, 386, 416], "buggy_code_start_loc": [3, 63, 243, 382, 274], "filenames": ["CHANGELOG.md", "README.md", "src/Cookie/CookieJar.php", "src/Cookie/SetCookie.php", "tests/Cookie/CookieJarTest.php"], "fixing_code_end_loc": [8, 70, 249, 388, 446], "fixing_code_start_loc": [4, 63, 244, 382, 2...
1,406
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nApp::uses('AppHelper', 'View/Helper');", "//this helper simply replaces quotes between [QUOTE][/QUOTE] with div tags.\n// And now [thread][/thread], [event][/event], [link][/link], [code][/code]", "\n class CommandHelper extends AppHelper {\n var $helpers = array('Html');", " private ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [75], "buggy_code_start_loc": [71], "filenames": ["app/View/Helper/CommandHelper.php"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [71], "message": "A persistent XSS issue was discovered in app/View/Helper/CommandHelper.php in MISP before 2.4.107. JavaScript can be included in the disc...
1,407
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nApp::uses('AppHelper', 'View/Helper');", "//this helper simply replaces quotes between [QUOTE][/QUOTE] with div tags.\n// And now [thread][/thread], [event][/event], [link][/link], [code][/code]", "\n class CommandHelper extends AppHelper {\n var $helpers = array('Html');", " private ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [75], "buggy_code_start_loc": [71], "filenames": ["app/View/Helper/CommandHelper.php"], "fixing_code_end_loc": [79], "fixing_code_start_loc": [71], "message": "A persistent XSS issue was discovered in app/View/Helper/CommandHelper.php in MISP before 2.4.107. JavaScript can be included in the disc...
1,407
Determine whether the {function_name} code is vulnerable or not.
[ "/*******************************************************************************\n * Copyright (C) 2009-2011 FuseSource Corp.\n * Copyright (c) 2000, 2009 IBM Corporation and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Publ...
[ 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [323], "buggy_code_start_loc": [12], "filenames": ["hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java"], "fixing_code_end_loc": [302], "fixing_code_start_loc": [12], "message": "Race condition in hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java in ...
1,408
Determine whether the {function_name} code is vulnerable or not.
[ "/*******************************************************************************\n * Copyright (C) 2009-2011 FuseSource Corp.\n * Copyright (c) 2000, 2009 IBM Corporation and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Publ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [323], "buggy_code_start_loc": [12], "filenames": ["hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java"], "fixing_code_end_loc": [302], "fixing_code_start_loc": [12], "message": "Race condition in hawtjni-runtime/src/main/java/org/fusesource/hawtjni/runtime/Library.java in ...
1,408
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Main WordPress API\n *\n * @package WordPress\n */", "require( ABSPATH . WPINC . '/option.php' );", "/**\n * Convert given date string into a different format.\n *\n * $format should be either a PHP date format string, e.g. 'U' for a Unix\n * timestamp, or 'G' for a Unix timestamp assuming that ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2362, 8], "buggy_code_start_loc": [2351, 7], "filenames": ["wp-includes/functions.php", "wp-includes/version.php"], "fixing_code_end_loc": [2398, 8], "fixing_code_start_loc": [2352, 7], "message": "In WordPress before 4.9.9 and 5.x before 5.0.1, when the Apache HTTP Server is used, authors could...
1,409
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Main WordPress API\n *\n * @package WordPress\n */", "require( ABSPATH . WPINC . '/option.php' );", "/**\n * Convert given date string into a different format.\n *\n * $format should be either a PHP date format string, e.g. 'U' for a Unix\n * timestamp, or 'G' for a Unix timestamp assuming that ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2362, 8], "buggy_code_start_loc": [2351, 7], "filenames": ["wp-includes/functions.php", "wp-includes/version.php"], "fixing_code_end_loc": [2398, 8], "fixing_code_start_loc": [2352, 7], "message": "In WordPress before 4.9.9 and 5.x before 5.0.1, when the Apache HTTP Server is used, authors could...
1,409
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The WordPress version string\n *\n * @global string $wp_version\n */", "$wp_version = '5.0.1-alpha-43972';", "\n/**\n * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.\n *\n * @global int $wp_db_version\n */\n$wp_db_version = 43764;", "/**\n * Hold...
[ 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2362, 8], "buggy_code_start_loc": [2351, 7], "filenames": ["wp-includes/functions.php", "wp-includes/version.php"], "fixing_code_end_loc": [2398, 8], "fixing_code_start_loc": [2352, 7], "message": "In WordPress before 4.9.9 and 5.x before 5.0.1, when the Apache HTTP Server is used, authors could...
1,409
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The WordPress version string\n *\n * @global string $wp_version\n */", "$wp_version = '5.0.1-alpha-43988';", "\n/**\n * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.\n *\n * @global int $wp_db_version\n */\n$wp_db_version = 43764;", "/**\n * Hold...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2362, 8], "buggy_code_start_loc": [2351, 7], "filenames": ["wp-includes/functions.php", "wp-includes/version.php"], "fixing_code_end_loc": [2398, 8], "fixing_code_start_loc": [2352, 7], "message": "In WordPress before 4.9.9 and 5.x before 5.0.1, when the Apache HTTP Server is used, authors could...
1,409
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Radiotap parser\n *\n * Copyright 2007\t\tAndy Green <andy@warmcat.com>\n * Copyright 2009\t\tJohannes Berg <johannes@sipsolutions.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [135], "buggy_code_start_loc": [99], "filenames": ["net/wireless/radiotap.c"], "fixing_code_end_loc": [140], "fixing_code_start_loc": [100], "message": "The ieee80211_radiotap_iterator_init function in net/wireless/radiotap.c in the Linux kernel before 3.11.7 does not check whether a frame contai...
1,410
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Radiotap parser\n *\n * Copyright 2007\t\tAndy Green <andy@warmcat.com>\n * Copyright 2009\t\tJohannes Berg <johannes@sipsolutions.net>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License version 2 as\n * published by the Free...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [135], "buggy_code_start_loc": [99], "filenames": ["net/wireless/radiotap.c"], "fixing_code_end_loc": [140], "fixing_code_start_loc": [100], "message": "The ieee80211_radiotap_iterator_init function in net/wireless/radiotap.c in the Linux kernel before 3.11.7 does not check whether a frame contai...
1,410
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * This file is part of FacturaScripts\n * Copyright (C) 2013-2022 Carlos Garcia Gomez <carlos@facturascripts.com>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundatio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [222], "buggy_code_start_loc": [208], "filenames": ["Core/Model/Subcuenta.php"], "fixing_code_end_loc": [226], "fixing_code_start_loc": [208], "message": "Cross-site scripting - Reflected in Create Subaccount in GitHub repository neorazorx/facturascripts prior to 2022.07. This vulnerability can b...
1,411
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * This file is part of FacturaScripts\n * Copyright (C) 2013-2022 Carlos Garcia Gomez <carlos@facturascripts.com>\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundatio...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [222], "buggy_code_start_loc": [208], "filenames": ["Core/Model/Subcuenta.php"], "fixing_code_end_loc": [226], "fixing_code_start_loc": [208], "message": "Cross-site scripting - Reflected in Create Subaccount in GitHub repository neorazorx/facturascripts prior to 2022.07. This vulnerability can b...
1,411
Determine whether the {function_name} code is vulnerable or not.
[ "# Release Notes for Craft CMS 3.x", "## 3.7.50 - 2022-07-26", "### Changed\n- Treating element queries as arrays is no longer deprecated. ([#11625](https://github.com/craftcms/cms/discussions/11625))\n- Using the `|length` filter on an element query is no longer deprecated. ([#11625](https://github.com/craftcm...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "# Release Notes for Craft CMS 3.x", "## 3.7.50 - 2022-07-26", "### Changed\n- Treating element queries as arrays is no longer deprecated. ([#11625](https://github.com/craftcms/cms/discussions/11625))\n- Using the `|length` filter on an element query is no longer deprecated. ([#11625](https://github.com/craftcm...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "!function(){var t={7452:function(){Craft.AdminTable=Garnish.Base.extend({settings:null,totalItems:null,sorter:null,$noItems:null,$table:null,$tbody:null,$deleteBtns:null,init:function(t){this.setSettings(t,Craft.AdminTable.defaults),this.settings.allowDeleteAll||(this.settings.minItems=1),this.$noItems=$(this.sett...
[ 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "!function(){var t={7452:function(){Craft.AdminTable=Garnish.Base.extend({settings:null,totalItems:null,sorter:null,$noItems:null,$table:null,$tbody:null,$deleteBtns:null,init:function(t){this.setSettings(t,Craft.AdminTable.defaults),this.settings.allowDeleteAll||(this.settings.minItems=1),this.$noItems=$(this.sett...
[ 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "{\"version\":3,\"file\":\"cp.js\",\"mappings\":\"mCAKAA,MAAMC,WAAaC,QAAQC,KAAKC,OAC9B,CACEC,SAAU,KACVC,WAAY,KACZC,OAAQ,KAERC,SAAU,KACVC,OAAQ,KACRC,OAAQ,KACRC,YAAa,KAEbC,KAAM,SAAUP,GACdQ,KAAKC,YAAYT,EAAUL,MAAMC,WAAWc,UAEvCF,KAAKR,SAASW,iBACjBH,KAAKR,SAASY,SAAW,GAG3BJ,KAAKL,SAAWU,EAAEL,KAAKR,SAASc,iBAChCN,KAAKJ,OAAS...
[ 0 ]
PreciseBugs
{"buggy_code_end_loc": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "{\"version\":3,\"file\":\"cp.js\",\"mappings\":\"mCAKAA,MAAMC,WAAaC,QAAQC,KAAKC,OAC9B,CACEC,SAAU,KACVC,WAAY,KACZC,OAAQ,KAERC,SAAU,KACVC,OAAQ,KACRC,OAAQ,KACRC,YAAa,KAEbC,KAAM,SAAUP,GACdQ,KAAKC,YAAYT,EAAUL,MAAMC,WAAWc,UAEvCF,KAAKR,SAASW,iBACjBH,KAAKR,SAASY,SAAW,GAG3BJ,KAAKL,SAAWU,EAAEL,KAAKR,SAASc,iBAChCN,KAAKJ,OAAS...
[ 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "/** global: Craft */\n/** global: Garnish */\n/**\n * Element Select input\n */\nCraft.BaseElementSelectInput = Garnish.Base.extend(\n {\n thumbLoader: null,\n elementSelect: null,\n elementSort: null,\n modal: null,\n elementEditor: null,", " fieldLabel: null,", " $container: null,\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": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "/** global: Craft */\n/** global: Garnish */\n/**\n * Element Select input\n */\nCraft.BaseElementSelectInput = Garnish.Base.extend(\n {\n thumbLoader: null,\n elementSelect: null,\n elementSort: null,\n modal: null,\n elementEditor: null,", " fieldLabel: null,", " $container: null,\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": [10, 2, 2, 475], "buggy_code_start_loc": [10, 1, 1, 474], "filenames": ["CHANGELOG.md", "src/web/assets/cp/dist/cp.js", "src/web/assets/cp/dist/cp.js.map", "src/web/assets/cp/src/js/BaseElementSelectInput.js"], "fixing_code_end_loc": [14, 2, 2, 475], "fixing_code_start_loc": [11, 1, 1, 474], "mes...
1,412
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2010-2018 - pancake */", "#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <stdlib.h>\n#include <r_util.h>\n#include \"armass16_const.h\"", "// TODO: only lo registers accessible in thumb arm", "typedef struct {\n\tut64 off;\n\tut32 o;\n\tchar op[128];\n\tcha...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6549, 760], "buggy_code_start_loc": [6548, 759], "filenames": ["libr/asm/arch/arm/armass.c", "libr/asm/arch/arm/armass64.c"], "fixing_code_end_loc": [6549, 760], "fixing_code_start_loc": [6548, 759], "message": "In radare2 through 3.1.3, the assemble function inside libr/asm/p/asm_arm_cs.c allow...
1,413
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2010-2018 - pancake */", "#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <stdlib.h>\n#include <r_util.h>\n#include \"armass16_const.h\"", "// TODO: only lo registers accessible in thumb arm", "typedef struct {\n\tut64 off;\n\tut32 o;\n\tchar op[128];\n\tcha...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6549, 760], "buggy_code_start_loc": [6548, 759], "filenames": ["libr/asm/arch/arm/armass.c", "libr/asm/arch/arm/armass64.c"], "fixing_code_end_loc": [6549, 760], "fixing_code_start_loc": [6548, 759], "message": "In radare2 through 3.1.3, the assemble function inside libr/asm/p/asm_arm_cs.c allow...
1,413
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2015-2018 - pancake */", "#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <stdlib.h>\n#include <r_util.h>", "typedef enum optype_t {\n\tARM_NOTYPE = -1,\n\tARM_GPR = 1,\n\tARM_CONSTANT = 2,\n\tARM_FP = 4,\n\tARM_MEM_OPT = 8\n} OpType;", "typedef enum regtype...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6549, 760], "buggy_code_start_loc": [6548, 759], "filenames": ["libr/asm/arch/arm/armass.c", "libr/asm/arch/arm/armass64.c"], "fixing_code_end_loc": [6549, 760], "fixing_code_start_loc": [6548, 759], "message": "In radare2 through 3.1.3, the assemble function inside libr/asm/p/asm_arm_cs.c allow...
1,413
Determine whether the {function_name} code is vulnerable or not.
[ "/* radare - LGPL - Copyright 2015-2018 - pancake */", "#include <stdio.h>\n#include <string.h>\n#include <ctype.h>\n#include <stdlib.h>\n#include <r_util.h>", "typedef enum optype_t {\n\tARM_NOTYPE = -1,\n\tARM_GPR = 1,\n\tARM_CONSTANT = 2,\n\tARM_FP = 4,\n\tARM_MEM_OPT = 8\n} OpType;", "typedef enum regtype...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6549, 760], "buggy_code_start_loc": [6548, 759], "filenames": ["libr/asm/arch/arm/armass.c", "libr/asm/arch/arm/armass64.c"], "fixing_code_end_loc": [6549, 760], "fixing_code_start_loc": [6548, 759], "message": "In radare2 through 3.1.3, the assemble function inside libr/asm/p/asm_arm_cs.c allow...
1,413
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "/**\n * Teedy application.\n */\nangular.module('docs',\n // Dependencies\n ['ui.router', 'ui.bootstrap', 'dialog', 'ngProgress', 'monospaced.qrcode', 'yaru22.angular-timeago', 'ui.validate',\n 'ui.sortable', 'restangular', 'ngSanitize', 'ngTouch', 'colorpicker.module', 'ngFileUpload'...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [428, 60], "buggy_code_start_loc": [427, 59], "filenames": ["docs-web/src/main/webapp/src/app/docs/app.js", "docs-web/src/main/webapp/src/app/share/app.js"], "fixing_code_end_loc": [428, 60], "fixing_code_start_loc": [427, 59], "message": "In Teedy, versions v1.5 through v1.9 are vulnerable to St...
1,414
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "/**\n * Teedy application.\n */\nangular.module('docs',\n // Dependencies\n ['ui.router', 'ui.bootstrap', 'dialog', 'ngProgress', 'monospaced.qrcode', 'yaru22.angular-timeago', 'ui.validate',\n 'ui.sortable', 'restangular', 'ngSanitize', 'ngTouch', 'colorpicker.module', 'ngFileUpload'...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [428, 60], "buggy_code_start_loc": [427, 59], "filenames": ["docs-web/src/main/webapp/src/app/docs/app.js", "docs-web/src/main/webapp/src/app/share/app.js"], "fixing_code_end_loc": [428, 60], "fixing_code_start_loc": [427, 59], "message": "In Teedy, versions v1.5 through v1.9 are vulnerable to St...
1,414
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "/**\n * Share application.\n */\nangular.module('share',\n // Dependencies\n ['ui.router', 'ui.bootstrap', 'restangular', 'ngSanitize', 'ngTouch', 'pascalprecht.translate', 'tmh.dynamicLocale']\n )", "/**\n * Configuring modules.\n */\n.config(function($locationProvider, $stateProvider,...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [428, 60], "buggy_code_start_loc": [427, 59], "filenames": ["docs-web/src/main/webapp/src/app/docs/app.js", "docs-web/src/main/webapp/src/app/share/app.js"], "fixing_code_end_loc": [428, 60], "fixing_code_start_loc": [427, 59], "message": "In Teedy, versions v1.5 through v1.9 are vulnerable to St...
1,414
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "/**\n * Share application.\n */\nangular.module('share',\n // Dependencies\n ['ui.router', 'ui.bootstrap', 'restangular', 'ngSanitize', 'ngTouch', 'pascalprecht.translate', 'tmh.dynamicLocale']\n )", "/**\n * Configuring modules.\n */\n.config(function($locationProvider, $stateProvider,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [428, 60], "buggy_code_start_loc": [427, 59], "filenames": ["docs-web/src/main/webapp/src/app/docs/app.js", "docs-web/src/main/webapp/src/app/share/app.js"], "fixing_code_end_loc": [428, 60], "fixing_code_start_loc": [427, 59], "message": "In Teedy, versions v1.5 through v1.9 are vulnerable to St...
1,414
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\"). You may not\n// use this file except in compliance with the License. A copy of the\n// License is located at\n//\n// http://aws.amazon.com/apache2.0/\n//\n// or in th...
[ 1, 1, 1, 1, 1, 1, 0, 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, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [141], "buggy_code_start_loc": [40], "filenames": ["agent/session/utility/utility_unix.go"], "fixing_code_end_loc": [142], "fixing_code_start_loc": [40], "message": "Amazon AWS amazon-ssm-agent before 3.1.1208.0 creates a world-writable sudoers file, which allows local attackers to inject Sudo ru...
1,415
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\"). You may not\n// use this file except in compliance with the License. A copy of the\n// License is located at\n//\n// http://aws.amazon.com/apache2.0/\n//\n// or in th...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [141], "buggy_code_start_loc": [40], "filenames": ["agent/session/utility/utility_unix.go"], "fixing_code_end_loc": [142], "fixing_code_start_loc": [40], "message": "Amazon AWS amazon-ssm-agent before 3.1.1208.0 creates a world-writable sudoers file, which allows local attackers to inject Sudo ru...
1,415
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * Copyright (c) 2014 Nahanni Systems Inc.\n * Copyright (c) 2015 xhyve developers\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 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [115], "buggy_code_start_loc": [103], "filenames": ["src/lib/pci_virtio_rnd.c"], "fixing_code_end_loc": [119], "fixing_code_start_loc": [103], "message": "HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, the implementatio...
1,416
Determine whether the {function_name} code is vulnerable or not.
[ "/*-\n * Copyright (c) 2014 Nahanni Systems Inc.\n * Copyright (c) 2015 xhyve developers\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 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [115], "buggy_code_start_loc": [103], "filenames": ["src/lib/pci_virtio_rnd.c"], "fixing_code_end_loc": [119], "fixing_code_start_loc": [103], "message": "HyperKit is a toolkit for embedding hypervisor capabilities in an application. In versions 0.20210107 and prior of HyperKit, the implementatio...
1,416
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "# AUTHOR: blink <blinketje@gmail.com>; blink#ruby-lang@irc.freenode.net\n# bugrep: Andreas Zehnder", "require 'rack'\nrequire 'time'\nrequire 'rack/request'\nrequire 'rack/response'\nrequire 'securerandom'", "", "\nmodule Rack", " module Session", "", "\n module A...
[ 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "# AUTHOR: blink <blinketje@gmail.com>; blink#ruby-lang@irc.freenode.net\n# bugrep: Andreas Zehnder", "require 'rack'\nrequire 'time'\nrequire 'rack/request'\nrequire 'rack/response'\nrequire 'securerandom'", "require 'digest/sha2'", "\nmodule Rack", " module Session", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require 'openssl'\nrequire 'zlib'\nrequire 'rack/request'\nrequire 'rack/response'\nrequire 'rack/session/abstract/id'\nrequire 'json'\nrequire 'base64'", "module Rack", " module Session", " # Rack::Session::Cookie provides simple cookie based session management.\n #...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require 'openssl'\nrequire 'zlib'\nrequire 'rack/request'\nrequire 'rack/response'\nrequire 'rack/session/abstract/id'\nrequire 'json'\nrequire 'base64'", "module Rack", " module Session", " # Rack::Session::Cookie provides simple cookie based session management.\n #...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "# AUTHOR: blink <blinketje@gmail.com>; blink#ruby-lang@irc.freenode.net\n# THANKS:\n# apeiros, for session id generation, expiry setup, and threadiness\n# sergio, threadiness and bugreps", "require 'rack/session/abstract/id'\nrequire 'thread'", "module Rack\n module Sess...
[ 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "# AUTHOR: blink <blinketje@gmail.com>; blink#ruby-lang@irc.freenode.net\n# THANKS:\n# apeiros, for session id generation, expiry setup, and threadiness\n# sergio, threadiness and bugreps", "require 'rack/session/abstract/id'\nrequire 'thread'", "module Rack\n module Sess...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require 'minitest/global_expectations/autorun'\nrequire 'thread'\nrequire 'rack/lint'\nrequire 'rack/mock'\nrequire 'rack/session/pool'", "describe Rack::Session::Pool do\n session_key = Rack::Session::Pool::DEFAULT_OPTIONS[:key]", " session_match = /#{session_key}=[0-9a-fA...
[ 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require 'minitest/global_expectations/autorun'\nrequire 'thread'\nrequire 'rack/lint'\nrequire 'rack/mock'\nrequire 'rack/session/pool'", "describe Rack::Session::Pool do\n session_key = Rack::Session::Pool::DEFAULT_OPTIONS[:key]", " session_match = /#{session_key}=([0-9a-f...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [423, 170, 75, 197], "buggy_code_start_loc": [10, 51, 29, 11], "filenames": ["lib/rack/session/abstract/id.rb", "lib/rack/session/cookie.rb", "lib/rack/session/pool.rb", "test/spec_session_pool.rb"], "fixing_code_end_loc": [489, 179, 83, 234], "fixing_code_start_loc": [11, 51, 29, 11], "message":...
1,417
Determine whether the {function_name} code is vulnerable or not.
[ "// Dependencies\nvar Deffy = require(\"deffy\");", "/**\n * SetOrGet\n * Sets or gets an object field value.\n *\n * @name SetOrGet\n * @function\n * @param {Object|Array} input The cache/input object.\n * @param {String|Number} field The field you want to update/create.\n * @param {Object|Array} def The default...
[ 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [15], "buggy_code_start_loc": [15], "filenames": ["lib/index.js"], "fixing_code_end_loc": [18], "fixing_code_start_loc": [16], "message": "Prototype pollution vulnerability in 'set-or-get' version 1.0.0 through 1.2.10 allows an attacker to cause a denial of service and may lead to remote code exe...
1,418
Determine whether the {function_name} code is vulnerable or not.
[ "// Dependencies\nvar Deffy = require(\"deffy\");", "/**\n * SetOrGet\n * Sets or gets an object field value.\n *\n * @name SetOrGet\n * @function\n * @param {Object|Array} input The cache/input object.\n * @param {String|Number} field The field you want to update/create.\n * @param {Object|Array} def The default...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [15], "buggy_code_start_loc": [15], "filenames": ["lib/index.js"], "fixing_code_end_loc": [18], "fixing_code_start_loc": [16], "message": "Prototype pollution vulnerability in 'set-or-get' version 1.0.0 through 1.2.10 allows an attacker to cause a denial of service and may lead to remote code exe...
1,418
Determine whether the {function_name} code is vulnerable or not.
[ "package LedgerSMB::PSGI::Util;", "=head1 NAME", "LedgerSMB::PSGI::Util - LedgerSMB PSGI Utility functions", "=head1 SYNOPSIS", " return\n LedgerSMB::PSGI::Util::internal_server_error('error','Title',\n 'company', $request->{dbversion});", "=head1 DESCRIPTION", "Ledg...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 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 ]
PreciseBugs
{"buggy_code_end_loc": [45, 194], "buggy_code_start_loc": [26, 59], "filenames": ["lib/LedgerSMB/PSGI/Util.pm", "old/lib/LedgerSMB/oldHandler.pm"], "fixing_code_end_loc": [46, 198], "fixing_code_start_loc": [27, 60], "message": "LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending ...
1,419
Determine whether the {function_name} code is vulnerable or not.
[ "package LedgerSMB::PSGI::Util;", "=head1 NAME", "LedgerSMB::PSGI::Util - LedgerSMB PSGI Utility functions", "=head1 SYNOPSIS", " return\n LedgerSMB::PSGI::Util::internal_server_error('error','Title',\n 'company', $request->{dbversion});", "=head1 DESCRIPTION", "Ledg...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [45, 194], "buggy_code_start_loc": [26, 59], "filenames": ["lib/LedgerSMB/PSGI/Util.pm", "old/lib/LedgerSMB/oldHandler.pm"], "fixing_code_end_loc": [46, 198], "fixing_code_start_loc": [27, 60], "message": "LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending ...
1,419
Determine whether the {function_name} code is vulnerable or not.
[ "######################################################################\n# LedgerSMB Accounting and ERP", "# http://www.ledgersmb.org/\n#\n# Copyright (C) 2006\n# This work contains copyrighted information from a number of sources all used\n# with permission.\n#\n# This file contains source code included with or ...
[ 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, 0, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [45, 194], "buggy_code_start_loc": [26, 59], "filenames": ["lib/LedgerSMB/PSGI/Util.pm", "old/lib/LedgerSMB/oldHandler.pm"], "fixing_code_end_loc": [46, 198], "fixing_code_start_loc": [27, 60], "message": "LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending ...
1,419
Determine whether the {function_name} code is vulnerable or not.
[ "######################################################################\n# LedgerSMB Accounting and ERP", "# http://www.ledgersmb.org/\n#\n# Copyright (C) 2006\n# This work contains copyrighted information from a number of sources all used\n# with permission.\n#\n# This file contains source code included with or ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [45, 194], "buggy_code_start_loc": [26, 59], "filenames": ["lib/LedgerSMB/PSGI/Util.pm", "old/lib/LedgerSMB/oldHandler.pm"], "fixing_code_end_loc": [46, 198], "fixing_code_start_loc": [27, 60], "message": "LedgerSMB does not sufficiently HTML-encode error messages sent to the browser. By sending ...
1,419
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n\tFusionPBX\n\tVersion: MPL 1.1", "\tThe contents of this file are subject to the Mozilla Public License Version\n\t1.1 (the \"License\"); you may not use this file except in compliance with\n\tthe License. You may obtain a copy of the License at\n\thttp://www.mozilla.org/MPL/", "\tSoftware distribu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [75], "buggy_code_start_loc": [51], "filenames": ["app/sip_status/sip_status.php"], "fixing_code_end_loc": [50], "fixing_code_start_loc": [50], "message": "In FusionPBX up to 4.5.7, the file app\\sip_status\\sip_status.php uses an unsanitized \"savemsg\" variable coming from the URL, which is ref...
1,420
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/*\n\tFusionPBX\n\tVersion: MPL 1.1", "\tThe contents of this file are subject to the Mozilla Public License Version\n\t1.1 (the \"License\"); you may not use this file except in compliance with\n\tthe License. You may obtain a copy of the License at\n\thttp://www.mozilla.org/MPL/", "\tSoftware distribu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [75], "buggy_code_start_loc": [51], "filenames": ["app/sip_status/sip_status.php"], "fixing_code_end_loc": [50], "fixing_code_start_loc": [50], "message": "In FusionPBX up to 4.5.7, the file app\\sip_status\\sip_status.php uses an unsanitized \"savemsg\" variable coming from the URL, which is ref...
1,420
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2013 The Go Authors. All rights reserved.\n//\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file or at\n// https://developers.google.com/open-source/licenses/bsd.", "// Package gosrc fetches Go package source code from version control services.\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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [380, 303], "buggy_code_start_loc": [380, 96], "filenames": ["gosrc/gosrc.go", "gosrc/gosrc_test.go"], "fixing_code_end_loc": [384, 307], "fixing_code_start_loc": [381, 97], "message": "In Go Doc Dot Org (gddo) through 2018-06-27, an attacker could use specially crafted <go-import> tags in packag...
1,421
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2013 The Go Authors. All rights reserved.\n//\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file or at\n// https://developers.google.com/open-source/licenses/bsd.", "// Package gosrc fetches Go package source code from version control services.\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": [380, 303], "buggy_code_start_loc": [380, 96], "filenames": ["gosrc/gosrc.go", "gosrc/gosrc_test.go"], "fixing_code_end_loc": [384, 307], "fixing_code_start_loc": [381, 97], "message": "In Go Doc Dot Org (gddo) through 2018-06-27, an attacker could use specially crafted <go-import> tags in packag...
1,421
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2014 The Go Authors. All rights reserved.\n//\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file or at\n// https://developers.google.com/open-source/licenses/bsd.", "package gosrc", "import (\n\t\"context\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net/...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [380, 303], "buggy_code_start_loc": [380, 96], "filenames": ["gosrc/gosrc.go", "gosrc/gosrc_test.go"], "fixing_code_end_loc": [384, 307], "fixing_code_start_loc": [381, 97], "message": "In Go Doc Dot Org (gddo) through 2018-06-27, an attacker could use specially crafted <go-import> tags in packag...
1,421
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2014 The Go Authors. All rights reserved.\n//\n// Use of this source code is governed by a BSD-style\n// license that can be found in the LICENSE file or at\n// https://developers.google.com/open-source/licenses/bsd.", "package gosrc", "import (\n\t\"context\"\n\t\"fmt\"\n\t\"io/ioutil\"\n\t\"net/...
[ 1, 1, 1, 1, 1, 1, 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": [380, 303], "buggy_code_start_loc": [380, 96], "filenames": ["gosrc/gosrc.go", "gosrc/gosrc_test.go"], "fixing_code_end_loc": [384, 307], "fixing_code_start_loc": [381, 97], "message": "In Go Doc Dot Org (gddo) through 2018-06-27, an attacker could use specially crafted <go-import> tags in packag...
1,421
Determine whether the {function_name} code is vulnerable or not.
[ "package dsig", "import (\n\t\"bytes\"\n\t\"crypto/rsa\"\n\t\"crypto/x509\"\n\t\"encoding/base64\"\n\t\"errors\"\n\t\"fmt\"\n\t\"regexp\"", "\t\"github.com/beevik/etree\"\n\t\"github.com/russellhaering/goxmldsig/etreeutils\"\n\t\"github.com/russellhaering/goxmldsig/types\"\n)", "var uriRegexp = regexp.MustCom...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [376, 205], "buggy_code_start_loc": [23, 205], "filenames": ["validate.go", "validate_test.go"], "fixing_code_end_loc": [399, 391], "fixing_code_start_loc": [24, 206], "message": "In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file,...
1,422
Determine whether the {function_name} code is vulnerable or not.
[ "package dsig", "import (\n\t\"bytes\"\n\t\"crypto/rsa\"\n\t\"crypto/x509\"\n\t\"encoding/base64\"\n\t\"errors\"\n\t\"fmt\"\n\t\"regexp\"", "\t\"github.com/beevik/etree\"\n\t\"github.com/russellhaering/goxmldsig/etreeutils\"\n\t\"github.com/russellhaering/goxmldsig/types\"\n)", "var uriRegexp = regexp.MustCom...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [376, 205], "buggy_code_start_loc": [23, 205], "filenames": ["validate.go", "validate_test.go"], "fixing_code_end_loc": [399, 391], "fixing_code_start_loc": [24, 206], "message": "In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file,...
1,422
Determine whether the {function_name} code is vulnerable or not.
[ "package dsig", "import (\n\t\"crypto/x509\"\n\t\"encoding/base64\"\n\t\"encoding/pem\"\n\t\"testing\"", "\t\"github.com/beevik/etree\"\n\t\"github.com/stretchr/testify/require\"\n)", "const canonicalResponse = `\n<saml2p:Response xmlns:saml2p=\"urn:oasis:names:tc:SAML:2.0:protocol\" Destination=\"http://loca...
[ 1, 1, 1, 1, 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": [376, 205], "buggy_code_start_loc": [23, 205], "filenames": ["validate.go", "validate_test.go"], "fixing_code_end_loc": [399, 391], "fixing_code_start_loc": [24, 206], "message": "In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file,...
1,422
Determine whether the {function_name} code is vulnerable or not.
[ "package dsig", "import (\n\t\"crypto/x509\"\n\t\"encoding/base64\"\n\t\"encoding/pem\"\n\t\"testing\"", "\t\"github.com/beevik/etree\"\n\t\"github.com/stretchr/testify/require\"\n)", "const canonicalResponse = `\n<saml2p:Response xmlns:saml2p=\"urn:oasis:names:tc:SAML:2.0:protocol\" Destination=\"http://loca...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [376, 205], "buggy_code_start_loc": [23, 205], "filenames": ["validate.go", "validate_test.go"], "fixing_code_end_loc": [399, 391], "fixing_code_start_loc": [24, 206], "message": "In goxmldsig (XML Digital Signatures implemented in pure Go) before version 1.1.0, with a carefully crafted XML file,...
1,422
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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1212], "buggy_code_start_loc": [31], "filenames": ["tensorflow/core/framework/tensor.cc"], "fixing_code_end_loc": [1235], "fixing_code_start_loc": [32], "message": "TensorFlow is an open source platform for machine learning. When printing a tensor, we get it's data as a `const char*` array (sinc...
1,423
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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1212], "buggy_code_start_loc": [31], "filenames": ["tensorflow/core/framework/tensor.cc"], "fixing_code_end_loc": [1235], "fixing_code_start_loc": [32], "message": "TensorFlow is an open source platform for machine learning. When printing a tensor, we get it's data as a `const char*` array (sinc...
1,423
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace App\\Http\\Controllers\\Api;", "use App\\Helpers\\Helper;\nuse App\\Http\\Controllers\\Controller;\nuse App\\Models\\CheckoutRequest;\nuse Auth;", "class ProfileController extends Controller\n{\n /**\n * Display a listing of requested assets.\n *\n * @author [A. Gianotto] [<...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [38], "buggy_code_start_loc": [33], "filenames": ["app/Http/Controllers/Api/ProfileController.php"], "fixing_code_end_loc": [38], "fixing_code_start_loc": [33], "message": "Stored Cross Site Scripting vulnerability in Item name parameter in GitHub repository snipe/snipe-it prior to v5.4.3. The vu...
1,424
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace App\\Http\\Controllers\\Api;", "use App\\Helpers\\Helper;\nuse App\\Http\\Controllers\\Controller;\nuse App\\Models\\CheckoutRequest;\nuse Auth;", "class ProfileController extends Controller\n{\n /**\n * Display a listing of requested assets.\n *\n * @author [A. Gianotto] [<...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [38], "buggy_code_start_loc": [33], "filenames": ["app/Http/Controllers/Api/ProfileController.php"], "fixing_code_end_loc": [38], "fixing_code_start_loc": [33], "message": "Stored Cross Site Scripting vulnerability in Item name parameter in GitHub repository snipe/snipe-it prior to v5.4.3. The vu...
1,424
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (C) 2007 Manu Garg.\n// Author: Manu Garg <manugarg@gmail.com>\n//\n// pacparser is a library that provides methods to parse proxy auto-config\n// (PAC) files. Please read README file included with this package for more\n// information about this library.\n//\n// pacparser is free software; you can re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [450], "buggy_code_start_loc": [445], "filenames": ["src/pacparser.c"], "fixing_code_end_loc": [450], "fixing_code_start_loc": [445], "message": "A vulnerability classified as problematic was found in pacparser up to 1.3.x. Affected by this vulnerability is the function pacparser_find_proxy of th...
1,425
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (C) 2007 Manu Garg.\n// Author: Manu Garg <manugarg@gmail.com>\n//\n// pacparser is a library that provides methods to parse proxy auto-config\n// (PAC) files. Please read README file included with this package for more\n// information about this library.\n//\n// pacparser is free software; you can re...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [450], "buggy_code_start_loc": [445], "filenames": ["src/pacparser.c"], "fixing_code_end_loc": [450], "fixing_code_start_loc": [445], "message": "A vulnerability classified as problematic was found in pacparser up to 1.3.x. Affected by this vulnerability is the function pacparser_find_proxy of th...
1,425
Determine whether the {function_name} code is vulnerable or not.
[ "function reducer(result, arg)\n{\n arg = arg.split('=')", " // Get key node\n const keypath = arg.shift().split('.')", "\n let key = keypath.shift()\n let node = result", " while(keypath.length)\n {\n node[key] = node[key] || {}\n node = node[key]", " key = keypath.shift()\n }", "\n // ...
[ 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [29, 21], "buggy_code_start_loc": [7, 21], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [39, 37], "fixing_code_start_loc": [6, 22], "message": "The package linux-cmdline before 1.0.1 are vulnerable to Prototype Pollution via the constructor.", "other": {"cve": {"cisaActionDue": nu...
1,426
Determine whether the {function_name} code is vulnerable or not.
[ "function reducer(result, arg)\n{\n arg = arg.split('=')", " // Get key node\n const keypath = arg.shift().split('.')", "", "\n // Get value\n let val = true\n if(arg.length)\n {\n val = arg.join('=').split(',')\n if(val.length === 1) val = val[0]\n }\n", " let key = keypath.shift()", " if...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [29, 21], "buggy_code_start_loc": [7, 21], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [39, 37], "fixing_code_start_loc": [6, 22], "message": "The package linux-cmdline before 1.0.1 are vulnerable to Prototype Pollution via the constructor.", "other": {"cve": {"cisaActionDue": nu...
1,426
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env node", "const {deepStrictEqual} = require('assert')", "const linuxCmdline = require('.')", "\nconst cmdline = 'initrd=/init-lin.img root=UUID=uuid someflag a.b=c d.e f=g,h'\nconst expected =\n{\n initrd: '/init-lin.img',\n root: 'UUID=uuid',\n someflag: true,\n a: { b: 'c' },\n d: { e: tr...
[ 1, 1, 1, 1, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [29, 21], "buggy_code_start_loc": [7, 21], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [39, 37], "fixing_code_start_loc": [6, 22], "message": "The package linux-cmdline before 1.0.1 are vulnerable to Prototype Pollution via the constructor.", "other": {"cve": {"cisaActionDue": nu...
1,426
Determine whether the {function_name} code is vulnerable or not.
[ "#!/usr/bin/env node", "const {deepStrictEqual} = require('assert')", "const linuxCmdline = require('.')", "\nconst cmdline = 'initrd=/init-lin.img root=UUID=uuid someflag a.b=c d.e f=g,h'\nconst expected =\n{\n initrd: '/init-lin.img',\n root: 'UUID=uuid',\n someflag: true,\n a: { b: 'c' },\n d: { e: tr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [29, 21], "buggy_code_start_loc": [7, 21], "filenames": ["index.js", "test.js"], "fixing_code_end_loc": [39, 37], "fixing_code_start_loc": [6, 22], "message": "The package linux-cmdline before 1.0.1 are vulnerable to Prototype Pollution via the constructor.", "other": {"cve": {"cisaActionDue": nu...
1,426
Determine whether the {function_name} code is vulnerable or not.
[ "<div id=\"users\">\n <h1><img src=\"<?= base_url('assets/imgs/admin-user.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Admin Users</h1> \n <hr>\n <?php if (validation_errors()) { ?>\n <hr>\n <div class=\"alert alert-danger\"><?= validation_errors() ?></div>\n <hr>\n ...
[ 1, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<div id=\"users\">\n <h1><img src=\"<?= base_url('assets/imgs/admin-user.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Admin Users</h1> \n <hr>\n <?php if (validation_errors()) { ?>\n <hr>\n <div class=\"alert alert-danger\"><?= validation_errors() ?></div>\n <hr>\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<div id=\"languages\">\n <h1><img src=\"<?= base_url('assets/imgs/small-globe.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Languages</h1> \n <hr>\n <?php\n if (isset($writable)) {\n ?>\n <div class=\"alert alert-danger\"><?= $writable ?></div>\n <?php\n }\n if ...
[ 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<div id=\"languages\">\n <h1><img src=\"<?= base_url('assets/imgs/small-globe.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Languages</h1> \n <hr>\n <?php\n if (isset($writable)) {\n ?>\n <div class=\"alert alert-danger\"><?= $writable ?></div>\n <?php\n }\n if ...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<h1><img src=\"<?= base_url('assets/imgs/blogger.png') ?>\" class=\"header-img\" style=\"margin-top:-2px;\"> Publish post</h1>\n<hr>\n<div class=\"row\">\n <div class=\"col-sm-8 col-md-7\">\n <?php if (validation_errors()) { ?>\n ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<h1><img src=\"<?= base_url('assets/imgs/blogger.png') ?>\" class=\"header-img\" style=\"margin-top:-2px;\"> Publish post</h1>\n<hr>\n<div class=\"row\">\n <div class=\"col-sm-8 col-md-7\">\n <?php if (validation_errors()) { ?>\n ...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<link href=\"<?= base_url('assets/css/bootstrap-toggle.min.css') ?>\" rel=\"stylesheet\">\n<link href=\"<?= base_url('assets/css/bootstrap-datepicker.min.css') ?>\" rel=\"stylesheet\">\n<h1><img src=\"<?= base_url('assets/imgs/discount.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Discount Codes</h1>...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<link href=\"<?= base_url('assets/css/bootstrap-toggle.min.css') ?>\" rel=\"stylesheet\">\n<link href=\"<?= base_url('assets/css/bootstrap-datepicker.min.css') ?>\" rel=\"stylesheet\">\n<h1><img src=\"<?= base_url('assets/imgs/discount.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Discount Codes</h1>...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<h1><img src=\"<?= base_url('assets/imgs/shop-cart-add-icon.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Publish product</h1>\n<hr>\n<?php\n$timeNow = time();\nif (validation_errors()) {\n ?>\n <hr>\n <div class=\"ale...
[ 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<h1><img src=\"<?= base_url('assets/imgs/shop-cart-add-icon.png') ?>\" class=\"header-img\" style=\"margin-top:-3px;\"> Publish product</h1>\n<hr>\n<?php\n$timeNow = time();\nif (validation_errors()) {\n ?>\n <hr>\n <div class=\"ale...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n$timeNow = time();\n?>\n<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<link rel=\"stylesheet\" href=\"<?= base_url('assets/bootstrap-select-1.12.1/bootstrap-select.min.css') ?>\">\n<div class=\"row\">\n <div class=\"col-md-6 col-md-offset-3\">\n <?php\n if ($this...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n$timeNow = time();\n?>\n<script src=\"<?= base_url('assets/ckeditor/ckeditor.js') ?>\"></script>\n<link rel=\"stylesheet\" href=\"<?= base_url('assets/bootstrap-select-1.12.1/bootstrap-select.min.css') ?>\">\n<div class=\"row\">\n <div class=\"col-md-6 col-md-offset-3\">\n <?php\n if ($this...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html lang=\"<?= MY_LANGUAGE_ABBR ?>\">\n <head>\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /> \n <meta name=\"description\" content=\"<?= $descr...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html lang=\"<?= MY_LANGUAGE_ABBR ?>\">\n <head>\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /> \n <meta name=\"description\" content=\"<?= $descr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined('BASEPATH') OR exit('No direct script access allowed');\n?>\n<div class=\"container\" id=\"blog\">\n <div class=\"body\">\n <div class=\"row bottom-30 eqHeight\">\n <div class=\"col-sm-4 col-md-3\">\n <div class=\"blog-home-left-categ\">\n <?= $...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined('BASEPATH') OR exit('No direct script access allowed');\n?>\n<div class=\"container\" id=\"blog\">\n <div class=\"body\">\n <div class=\"row bottom-30 eqHeight\">\n <div class=\"col-sm-4 col-md-3\">\n <div class=\"blog-home-left-categ\">\n <?= $...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html lang=\"<?= MY_LANGUAGE_ABBR ?>\">\n <head>\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /> \n <meta name=\"description\" content=\"<?= $descr...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html lang=\"<?= MY_LANGUAGE_ABBR ?>\">\n <head>\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /> \n <meta name=\"description\" content=\"<?= $descr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined('BASEPATH') OR exit('No direct script access allowed');\n?>\n<div class=\"container\" id=\"blog\">\n <div class=\"body\">\n <div class=\"row bottom-30 eqHeight\">\n <div class=\"col-sm-4 col-md-3\">\n <div class=\"blog-home-left-categ\">\n <?= $...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined('BASEPATH') OR exit('No direct script access allowed');\n?>\n<div class=\"container\" id=\"blog\">\n <div class=\"body\">\n <div class=\"row bottom-30 eqHeight\">\n <div class=\"col-sm-4 col-md-3\">\n <div class=\"blog-home-left-categ\">\n <?= $...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html lang=\"<?= MY_LANGUAGE_ABBR ?>\">\n <head>\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /> \n <meta name=\"description\" content=\"<?= $descr...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<!DOCTYPE html>\n<html lang=\"<?= MY_LANGUAGE_ABBR ?>\">\n <head>\n <meta charset=\"utf-8\" />\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /> \n <meta name=\"description\" content=\"<?= $descr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined('BASEPATH') OR exit('No direct script access allowed');\n?>\n<div class=\"container\" id=\"blog\">\n <div class=\"row eqHeight\">\n <div class=\"col-sm-4 col-md-3\">\n <div class=\"blog-home-left-categ\">\n <?= $archives ?>\n </div>\n <div id...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ndefined('BASEPATH') OR exit('No direct script access allowed');\n?>\n<div class=\"container\" id=\"blog\">\n <div class=\"row eqHeight\">\n <div class=\"col-sm-4 col-md-3\">\n <div class=\"blog-home-left-categ\">\n <?= $archives ?>\n </div>\n <div id...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [92, 87, 45, 110, 167, 134, 165, 15, 136, 15, 150, 14], "buggy_code_start_loc": [76, 86, 44, 45, 22, 17, 106, 14, 86, 14, 106, 13], "filenames": ["application/modules/admin/views/advanced_settings/adminUsers.php", "application/modules/admin/views/advanced_settings/languages.php", "application/mod...
1,427
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP CRAM-MD5 authentication method\n *\n * @authors\n * Copyright (C) 1999-2001,2005 Brendan Cully <brendan@kublai.com>\n *\n * @copyright\n * This program is free software: you can redistribute it and/or modify it under\n * the terms of the GNU General Public License as published by the Free So...
[ 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": [138, 242, 158, 32, 404, 80], "buggy_code_start_loc": [137, 206, 120, 31, 402, 30], "filenames": ["imap/auth_cram.c", "imap/auth_gss.c", "mutt/base64.c", "mutt/base64.h", "mutt/rfc2047.c", "test/base64.c"], "fixing_code_end_loc": [138, 242, 166, 32, 405, 80], "fixing_code_start_loc": [137, 206, 1...
1,428
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP CRAM-MD5 authentication method\n *\n * @authors\n * Copyright (C) 1999-2001,2005 Brendan Cully <brendan@kublai.com>\n *\n * @copyright\n * This program is free software: you can redistribute it and/or modify it under\n * the terms of the GNU General Public License as published by the Free So...
[ 1, 1, 1, 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, 242, 158, 32, 404, 80], "buggy_code_start_loc": [137, 206, 120, 31, 402, 30], "filenames": ["imap/auth_cram.c", "imap/auth_gss.c", "mutt/base64.c", "mutt/base64.h", "mutt/rfc2047.c", "test/base64.c"], "fixing_code_end_loc": [138, 242, 166, 32, 405, 80], "fixing_code_start_loc": [137, 206, 1...
1,428
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP GSS authentication method\n *\n * @authors\n * Copyright (C) 1999-2001,2005,2009 Brendan Cully <brendan@kublai.com>\n *\n * @copyright\n * This program is free software: you can redistribute it and/or modify it under\n * the terms of the GNU General Public License as published by the Free So...
[ 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [138, 242, 158, 32, 404, 80], "buggy_code_start_loc": [137, 206, 120, 31, 402, 30], "filenames": ["imap/auth_cram.c", "imap/auth_gss.c", "mutt/base64.c", "mutt/base64.h", "mutt/rfc2047.c", "test/base64.c"], "fixing_code_end_loc": [138, 242, 166, 32, 405, 80], "fixing_code_start_loc": [137, 206, 1...
1,428
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP GSS authentication method\n *\n * @authors\n * Copyright (C) 1999-2001,2005,2009 Brendan Cully <brendan@kublai.com>\n *\n * @copyright\n * This program is free software: you can redistribute it and/or modify it under\n * the terms of the GNU General Public License as published by the Free So...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 242, 158, 32, 404, 80], "buggy_code_start_loc": [137, 206, 120, 31, 402, 30], "filenames": ["imap/auth_cram.c", "imap/auth_gss.c", "mutt/base64.c", "mutt/base64.h", "mutt/rfc2047.c", "test/base64.c"], "fixing_code_end_loc": [138, 242, 166, 32, 405, 80], "fixing_code_start_loc": [137, 206, 1...
1,428