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. | [
"<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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
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,577 |
Determine whether the {function_name} code is vulnerable or not. | [
"# vim: tabstop=4 shiftwidth=4 softtabstop=4",
"# Copyright 2011 Isaku Yamahata\n# All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http... | [
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [83, 397], "buggy_code_start_loc": [17, 314], "filenames": ["nova/tests/test_virt.py", "nova/virt/disk/api.py"], "fixing_code_end_loc": [104, 418], "fixing_code_start_loc": [18, 314], "message": "virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) all... | 1,578 |
Determine whether the {function_name} code is vulnerable or not. | [
"# vim: tabstop=4 shiftwidth=4 softtabstop=4",
"# Copyright 2011 Isaku Yamahata\n# All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\"); you may\n# not use this file except in compliance with the License. You may obtain\n# a copy of the License at\n#\n# http... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [83, 397], "buggy_code_start_loc": [17, 314], "filenames": ["nova/tests/test_virt.py", "nova/virt/disk/api.py"], "fixing_code_end_loc": [104, 418], "fixing_code_start_loc": [18, 314], "message": "virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) all... | 1,578 |
Determine whether the {function_name} code is vulnerable or not. | [
"# vim: tabstop=4 shiftwidth=4 softtabstop=4",
"# Copyright 2010 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n#\n# Copyright 2011, Piston Cloud Computing, Inc.\n#\n# All Rights Reserved.\n#\n# Licensed under the Apache License, Version 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,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [83, 397], "buggy_code_start_loc": [17, 314], "filenames": ["nova/tests/test_virt.py", "nova/virt/disk/api.py"], "fixing_code_end_loc": [104, 418], "fixing_code_start_loc": [18, 314], "message": "virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) all... | 1,578 |
Determine whether the {function_name} code is vulnerable or not. | [
"# vim: tabstop=4 shiftwidth=4 softtabstop=4",
"# Copyright 2010 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n#\n# Copyright 2011, Piston Cloud Computing, Inc.\n#\n# All Rights Reserved.\n#\n# Licensed under the Apache License, Version 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,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [83, 397], "buggy_code_start_loc": [17, 314], "filenames": ["nova/tests/test_virt.py", "nova/virt/disk/api.py"], "fixing_code_end_loc": [104, 418], "fixing_code_start_loc": [18, 314], "message": "virt/disk/api.py in OpenStack Compute (Nova) Folsom (2012.2), Essex (2012.1), and Diablo (2011.3) all... | 1,578 |
Determine whether the {function_name} code is vulnerable or not. | [
".\\\" reposync\n.TH \"reposync\" \"1\" \"27 April 2007\" \"\" \"\"\n.SH \"NAME\"\nreposync \\- synchronize yum repositories to a local directory\n.SH \"SYNOPSIS\"\n\\fBreposync\\fP [options]\n.SH \"DESCRIPTION\"\n\\fBreposync\\fP is used to synchronize a remote yum repository to a local\ndirectory, using yum to re... | [
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [49, 217], "buggy_code_start_loc": [49, 75], "filenames": ["docs/reposync.1", "reposync.py"], "fixing_code_end_loc": [60, 252], "fixing_code_start_loc": [50, 76], "message": "A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote r... | 1,579 |
Determine whether the {function_name} code is vulnerable or not. | [
".\\\" reposync\n.TH \"reposync\" \"1\" \"27 April 2007\" \"\" \"\"\n.SH \"NAME\"\nreposync \\- synchronize yum repositories to a local directory\n.SH \"SYNOPSIS\"\n\\fBreposync\\fP [options]\n.SH \"DESCRIPTION\"\n\\fBreposync\\fP is used to synchronize a remote yum repository to a local\ndirectory, using yum to re... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [49, 217], "buggy_code_start_loc": [49, 75], "filenames": ["docs/reposync.1", "reposync.py"], "fixing_code_end_loc": [60, 252], "fixing_code_start_loc": [50, 76], "message": "A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote r... | 1,579 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/python -tt",
"# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in ... | [
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [49, 217], "buggy_code_start_loc": [49, 75], "filenames": ["docs/reposync.1", "reposync.py"], "fixing_code_end_loc": [60, 252], "fixing_code_start_loc": [50, 76], "message": "A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote r... | 1,579 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/python -tt",
"# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (at your option) any later version.\n#\n# This program is distributed in ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [49, 217], "buggy_code_start_loc": [49, 75], "filenames": ["docs/reposync.1", "reposync.py"], "fixing_code_end_loc": [60, 252], "fixing_code_start_loc": [50, 76], "message": "A directory traversal issue was found in reposync, a part of yum-utils, where reposync fails to sanitize paths in remote r... | 1,579 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if (!defined('APPLICATION')) exit();\n/*\nCopyright 2008, 2009 Vanilla Forums Inc.\nThis file is part of Garden.\nGarden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, ... | [
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
0,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [361, 4], "buggy_code_start_loc": [317, 3], "filenames": ["applications/dashboard/controllers/class.utilitycontroller.php", "index.php"], "fixing_code_end_loc": [329, 4], "fixing_code_start_loc": [316, 3], "message": "Unspecified vulnerability in the update check in Vanilla Forums before 2.0.18.8... | 1,580 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php if (!defined('APPLICATION')) exit();\n/*\nCopyright 2008, 2009 Vanilla Forums Inc.\nThis file is part of Garden.\nGarden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [361, 4], "buggy_code_start_loc": [317, 3], "filenames": ["applications/dashboard/controllers/class.utilitycontroller.php", "index.php"], "fixing_code_end_loc": [329, 4], "fixing_code_start_loc": [316, 3], "message": "Unspecified vulnerability in the update check in Vanilla Forums before 2.0.18.8... | 1,580 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ndefine('APPLICATION', 'Vanilla');",
"define('APPLICATION_VERSION', '2.0.18.5');",
"/*\nCopyright 2008, 2009 Vanilla Forums Inc.\nThis file is part of Garden.\nGarden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Soft... | [
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [361, 4], "buggy_code_start_loc": [317, 3], "filenames": ["applications/dashboard/controllers/class.utilitycontroller.php", "index.php"], "fixing_code_end_loc": [329, 4], "fixing_code_start_loc": [316, 3], "message": "Unspecified vulnerability in the update check in Vanilla Forums before 2.0.18.8... | 1,580 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\ndefine('APPLICATION', 'Vanilla');",
"define('APPLICATION_VERSION', '2.0.18.6');",
"/*\nCopyright 2008, 2009 Vanilla Forums Inc.\nThis file is part of Garden.\nGarden is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Soft... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [361, 4], "buggy_code_start_loc": [317, 3], "filenames": ["applications/dashboard/controllers/class.utilitycontroller.php", "index.php"], "fixing_code_end_loc": [329, 4], "fixing_code_start_loc": [316, 3], "message": "Unspecified vulnerability in the update check in Vanilla Forums before 2.0.18.8... | 1,580 |
Determine whether the {function_name} code is vulnerable or not. | [
"#ifdef HAVE_CONFIG_H\n#\tinclude \"config.h\"\n#endif",
"#include <ctype.h>\n#include <stdio.h>\n#include <math.h>\n#include <string.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include \"gd.h\"\n#include \"gd_errors.h\"\n#include \"gdhelpers.h\"",
"#ifdef _MSC_VER\n# define strcasecmp _stricmp\n#endif",
"... | [
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,
0,
1,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [252], "buggy_code_start_loc": [183], "filenames": ["src/gd_xbm.c"], "fixing_code_end_loc": [272], "fixing_code_start_loc": [183], "message": "gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain custom PHP 5.5.x configurations, allows context-dependent attackers to ob... | 1,581 |
Determine whether the {function_name} code is vulnerable or not. | [
"#ifdef HAVE_CONFIG_H\n#\tinclude \"config.h\"\n#endif",
"#include <ctype.h>\n#include <stdio.h>\n#include <math.h>\n#include <string.h>\n#include <stdlib.h>\n#include <stdarg.h>\n#include \"gd.h\"\n#include \"gd_errors.h\"\n#include \"gdhelpers.h\"",
"#ifdef _MSC_VER\n# define strcasecmp _stricmp\n#endif",
"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [252], "buggy_code_start_loc": [183], "filenames": ["src/gd_xbm.c"], "fixing_code_end_loc": [272], "fixing_code_start_loc": [183], "message": "gd_xbm.c in the GD Graphics Library (aka libgd) before 2.2.0, as used in certain custom PHP 5.5.x configurations, allows context-dependent attackers to ob... | 1,581 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr>\n * Copyright (C) 2007 Simon Desee <simon@dedisoft.com>\n *\n * This pro... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005-2007 Regis Houssin <regis@dolibarr.fr>\n * Copyright (C) 2007 Simon Desee <simon@dedisoft.com>\n *\n * This pro... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>\n * Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>\n * Copyright (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,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>\n * Copyright (C) 2002-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2008 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>\n * Copyright (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": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>\n * Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>\n * Copyright (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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>\n * Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2006 Andre Cianfarani <acianfa@free.fr>\n * Copyright (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": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>\n * Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>\n * Co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2001 Fabien Seisen <seisen@linuxfr.org>\n * Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>\n * Co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>\n * Copyright (C) 2... | [
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>\n * Copyright (C) 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,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>\n *\n * This program is free software; you can redistribute it and/or modify\n * it un... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr>\n *\n * This program is free software; you can redistribute it and/or modify\n * it un... | [
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": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.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 as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at you... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2004-2007 Laurent Destailleur <eldy@users.sourceforge.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 as published by\n * the Free Software Foundation; either version 2 of the License, or\n * (at you... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.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 as published by\n * t... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2004 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2004-2011 Laurent Destailleur <eldy@users.sourceforge.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 as published by\n * t... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2005-2010 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>\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 as published by\n * the Free... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2005-2010 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2010 Regis Houssin <regis@dolibarr.fr>\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 as published by\n * 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,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>\n * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>\n * Copyright (C) 2... | [
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
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... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (C) 2002-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>\n * Copyright (C) 2002-2003 Jean-Louis Bergamo <jlb@j1b.org>\n * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net>\n * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com>\n * Copyright (C) 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,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [523, 515, 529, 671, 1236, 79, 34, 32, 60, 131], "buggy_code_start_loc": [521, 496, 527, 669, 37, 38, 33, 30, 35, 35], "filenames": ["htdocs/lib/databases/mssql.lib.php", "htdocs/lib/databases/mysql.lib.php", "htdocs/lib/databases/mysqli.lib.php", "htdocs/lib/databases/pgsql.lib.php", "htdocs/use... | 1,582 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Applications",
"You can use Application support to graph performance statistics of\nmany applications.",
"Different applications support a variety of ways to collect data: ",
"1. By direct connection to the application\n2. snmpd extend\n3. [The agent](Agent-Setup.md).",
"The monitoring of applications co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Applications",
"You can use Application support to graph performance statistics of\nmany applications.",
"Different applications support a variety of ways to collect data: ",
"1. By direct connection to the application\n2. snmpd extend\n3. [The agent](Agent-Setup.md).",
"The monitoring of applications co... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n",
"",
"use LibreNMS\\RRD\\RrdDefinition;",
"$name = 'memcached';",
"if (! empty($agent_data['app']['memcached'])) {",
" $data = $agent_data['app']['memcached'][$app['app_instance']];",
"} else {",
" $oid = '.1.3.6.1.4.1.8072.1.3.2.3.1.2.9.109.101.109.99.97.99.104.101.100';\n $result ... | [
1,
0,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n",
"use LibreNMS\\Exceptions\\JsonAppException;",
"use LibreNMS\\RRD\\RrdDefinition;",
"$name = 'memcached';",
"if (! empty($agent_data['app']['memcached'])) {",
" $data = $agent_data['app']['memcached'];",
"} else {",
" try {\n $data = json_app_get($device, $name, '1.1')['data'];... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"use App\\Models\\Device;\nuse LibreNMS\\RRD\\RrdDefinition;",
"if ($device['os_group'] == 'unix' || $device['os'] == 'windows') {\n echo \\LibreNMS\\Config::get('project_name') . ' UNIX Agent: ';",
" $agent_port = get_dev_attrib($device, 'override_Unixagent_port');\n if (empty($agent_port))... | [
1,
1,
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": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"use App\\Models\\Device;\nuse LibreNMS\\RRD\\RrdDefinition;",
"if ($device['os_group'] == 'unix' || $device['os'] == 'windows') {\n echo \\LibreNMS\\Config::get('project_name') . ' UNIX Agent: ';",
" $agent_port = get_dev_attrib($device, 'override_Unixagent_port');\n if (empty($agent_port))... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<rss version=\"2.0\">\n<channel>\n <title>LibreNMS Notifications</title>\n <description>RSS feed for notifications to LibreNMS users</description>\n <link>https://www.librenms.org/</link>\n <lastBuildDate>Mon, 02 May 2016 20:00:00 +0000</lastBuildDate>\n <pubDate>Mon, 0... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<rss version=\"2.0\">\n<channel>\n <title>LibreNMS Notifications</title>\n <description>RSS feed for notifications to LibreNMS users</description>\n <link>https://www.librenms.org/</link>\n <lastBuildDate>Mon, 02 May 2016 20:00:00 +0000</lastBuildDate>\n <pubDate>Mon, 0... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [916, 18, 163, 90], "buggy_code_start_loc": [912, 2, 162, 90], "filenames": ["doc/Extensions/Applications.md", "includes/polling/applications/memcached.inc.php", "includes/polling/unix-agent.inc.php", "misc/notifications.rss"], "fixing_code_end_loc": [916, 23, 163, 96], "fixing_code_start_loc": [... | 1,583 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the L... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [106], "buggy_code_start_loc": [51], "filenames": ["libavcodec/htmlsubtitles.c"], "fixing_code_end_loc": [134], "fixing_code_start_loc": [52], "message": "In FFmpeg 3.2 and 4.1, a denial of service in the subtitle decoder allows attackers to hog the CPU via a crafted video file in Matroska format... | 1,584 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2010 Aurelien Jacobs <aurel@gnuage.org>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version 2.1 of the L... | [
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": [106], "buggy_code_start_loc": [51], "filenames": ["libavcodec/htmlsubtitles.c"], "fixing_code_end_loc": [134], "fixing_code_start_loc": [52], "message": "In FFmpeg 3.2 and 4.1, a denial of service in the subtitle decoder allows attackers to hog the CPU via a crafted video file in Matroska format... | 1,584 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 1996-1998,2012 Michael R. Elkins <me@mutt.org>\n * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>\n * Copyright (C) 1999-2009,2012,2017 Brendan Cully <brendan@kublai.com>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of 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,
1,
1,
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": [532], "buggy_code_start_loc": [532], "filenames": ["imap/imap.c"], "fixing_code_end_loc": [549], "fixing_code_start_loc": [533], "message": "Mutt before 1.14.3 allows an IMAP fcc/postpone man-in-the-middle attack via a PREAUTH response.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd"... | 1,585 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 1996-1998,2012 Michael R. Elkins <me@mutt.org>\n * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>\n * Copyright (C) 1999-2009,2012,2017 Brendan Cully <brendan@kublai.com>\n *\n * This program is free software; you can redistribute it and/or modify\n * it under the terms of 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,
1,
1,
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": [532], "buggy_code_start_loc": [532], "filenames": ["imap/imap.c"], "fixing_code_end_loc": [549], "fixing_code_start_loc": [533], "message": "Mutt before 1.14.3 allows an IMAP fcc/postpone man-in-the-middle attack via a PREAUTH response.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd"... | 1,585 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"context\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/fs\"\n\t\"io/ioutil\"\n\t\"log\"\n\t\"net/http\"",
"",
"\t\"strconv\"\n\t\"strings\"",
"\tcharmfs \"github.com/charmbracelet/charm/fs\"\n\tcharm \"github.com/charmbracelet/charm/proto\"\n\t\"github.com... | [
1,
1,
0,
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,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [357], "buggy_code_start_loc": [12], "filenames": ["server/http.go"], "fixing_code_end_loc": [358], "fixing_code_start_loc": [13], "message": "A vulnerability in which attackers could forge HTTP requests to manipulate the `charm` data directory to access or delete anything on the server. This has... | 1,586 |
Determine whether the {function_name} code is vulnerable or not. | [
"package server",
"import (\n\t\"context\"\n\t\"encoding/json\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"io/fs\"\n\t\"io/ioutil\"\n\t\"log\"\n\t\"net/http\"",
"\t\"path/filepath\"",
"\t\"strconv\"\n\t\"strings\"",
"\tcharmfs \"github.com/charmbracelet/charm/fs\"\n\tcharm \"github.com/charmbracelet/charm/prot... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [357], "buggy_code_start_loc": [12], "filenames": ["server/http.go"], "fixing_code_end_loc": [358], "fixing_code_start_loc": [13], "message": "A vulnerability in which attackers could forge HTTP requests to manipulate the `charm` data directory to access or delete anything on the server. This has... | 1,586 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changes in HTMLDOC v1.9.12",
"- Fixed a crash bug with \"data:\" URIs and EPUB output (Issue #410)\n- Fixed crash bugs for books (Issue #412, Issue #414)\n- Fixed a number-up crash bug (Issue #413)\n- Fixed JPEG error handling (Issue #415)\n- Fixed crash bugs with bogus table attributes (Issue #416, Issue #417... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [9, 2141, 209], "buggy_code_start_loc": [9, 4, 202], "filenames": ["CHANGES.md", "htmldoc/htmllib.cxx", "htmldoc/testhtml.cxx"], "fixing_code_end_loc": [11, 2141, 218], "fixing_code_start_loc": [10, 4, 203], "message": "HTMLDoc v1.9.15 was discovered to contain a heap overflow via (write_header) ... | 1,587 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changes in HTMLDOC v1.9.12",
"- Fixed a crash bug with \"data:\" URIs and EPUB output (Issue #410)\n- Fixed crash bugs for books (Issue #412, Issue #414)\n- Fixed a number-up crash bug (Issue #413)\n- Fixed JPEG error handling (Issue #415)\n- Fixed crash bugs with bogus table attributes (Issue #416, Issue #417... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [9, 2141, 209], "buggy_code_start_loc": [9, 4, 202], "filenames": ["CHANGES.md", "htmldoc/htmllib.cxx", "htmldoc/testhtml.cxx"], "fixing_code_end_loc": [11, 2141, 218], "fixing_code_start_loc": [10, 4, 203], "message": "HTMLDoc v1.9.15 was discovered to contain a heap overflow via (write_header) ... | 1,587 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * HTML parsing routines for HTMLDOC, a HTML document processing program.\n *",
" * Copyright 2011-2020 by Michael R Sweet.",
" * Copyright 1997-2010 by Easy Software Products. All rights reserved.\n *\n * This program is free software. Distribution and use rights are outlined in\n * the file \"COPYING\"... | [
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": [9, 2141, 209], "buggy_code_start_loc": [9, 4, 202], "filenames": ["CHANGES.md", "htmldoc/htmllib.cxx", "htmldoc/testhtml.cxx"], "fixing_code_end_loc": [11, 2141, 218], "fixing_code_start_loc": [10, 4, 203], "message": "HTMLDoc v1.9.15 was discovered to contain a heap overflow via (write_header) ... | 1,587 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * HTML parsing routines for HTMLDOC, a HTML document processing program.\n *",
" * Copyright 2011-2021 by Michael R Sweet.",
" * Copyright 1997-2010 by Easy Software Products. All rights reserved.\n *\n * This program is free software. Distribution and use rights are outlined in\n * the file \"COPYING\"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [9, 2141, 209], "buggy_code_start_loc": [9, 4, 202], "filenames": ["CHANGES.md", "htmldoc/htmllib.cxx", "htmldoc/testhtml.cxx"], "fixing_code_end_loc": [11, 2141, 218], "fixing_code_start_loc": [10, 4, 203], "message": "HTMLDoc v1.9.15 was discovered to contain a heap overflow via (write_header) ... | 1,587 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Test program for HTML parsing routines for HTMLDOC, an HTML document\n * processing program.\n *\n * Copyright 2011-2017 by Michael R Sweet.\n * Copyright 1997-2010 by Easy Software Products. All rights reserved.\n *\n * This program is free software. Distribution and use rights are outlined in\n * the fi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [9, 2141, 209], "buggy_code_start_loc": [9, 4, 202], "filenames": ["CHANGES.md", "htmldoc/htmllib.cxx", "htmldoc/testhtml.cxx"], "fixing_code_end_loc": [11, 2141, 218], "fixing_code_start_loc": [10, 4, 203], "message": "HTMLDoc v1.9.15 was discovered to contain a heap overflow via (write_header) ... | 1,587 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Test program for HTML parsing routines for HTMLDOC, an HTML document\n * processing program.\n *\n * Copyright 2011-2017 by Michael R Sweet.\n * Copyright 1997-2010 by Easy Software Products. All rights reserved.\n *\n * This program is free software. Distribution and use rights are outlined in\n * the fi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [9, 2141, 209], "buggy_code_start_loc": [9, 4, 202], "filenames": ["CHANGES.md", "htmldoc/htmllib.cxx", "htmldoc/testhtml.cxx"], "fixing_code_end_loc": [11, 2141, 218], "fixing_code_start_loc": [10, 4, 203], "message": "HTMLDoc v1.9.15 was discovered to contain a heap overflow via (write_header) ... | 1,587 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Pontifex.Http.coffee\n#\n# © 2013 Dave Goehrig <dave@dloh.org>\n# © 2014 wot.io LLC\n# © 2014 WoT.io Inc",
"http = require 'http'\nuuid = require 'uuid'\nrequest = require 'request'",
"Http = (Bridge,Url) =>\n\tself = this",
"\t# http :// wot.io : 80 / wot\n\t[ proto, host, port, domain ] = Url.match(///([... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30], "buggy_code_start_loc": [29], "filenames": ["lib/Http.coffee"], "fixing_code_end_loc": [30], "fixing_code_start_loc": [29], "message": "A vulnerability was found in agy pontifex.http. It has been declared as critical. This vulnerability affects unknown code of the file lib/Http.coffee. The ... | 1,588 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Pontifex.Http.coffee\n#\n# © 2013 Dave Goehrig <dave@dloh.org>\n# © 2014 wot.io LLC\n# © 2014 WoT.io Inc",
"http = require 'http'\nuuid = require 'uuid'\nrequest = require 'request'",
"Http = (Bridge,Url) =>\n\tself = this",
"\t# http :// wot.io : 80 / wot\n\t[ proto, host, port, domain ] = Url.match(///([... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [30], "buggy_code_start_loc": [29], "filenames": ["lib/Http.coffee"], "fixing_code_end_loc": [30], "fixing_code_start_loc": [29], "message": "A vulnerability was found in agy pontifex.http. It has been declared as critical. This vulnerability affects unknown code of the file lib/Http.coffee. The ... | 1,588 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [382], "buggy_code_start_loc": [382], "filenames": ["tensorflow/core/kernels/sdca_internal.cc"], "fixing_code_end_loc": [388], "fixing_code_start_loc": [383], "message": "TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can read from outside ... | 1,589 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [382], "buggy_code_start_loc": [382], "filenames": ["tensorflow/core/kernels/sdca_internal.cc"], "fixing_code_end_loc": [388], "fixing_code_start_loc": [383], "message": "TensorFlow is an end-to-end open source platform for machine learning. In affected versions an attacker can read from outside ... | 1,589 |
Determine whether the {function_name} code is vulnerable or not. | [
"# --\n# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/\n# --\n# This software comes with ABSOLUTELY NO WARRANTY. For details, see\n# the enclosed file COPYING for license information (AGPL). If you\n# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.\n# --",
"package Kernel::Output::HTML::L... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [234], "buggy_code_start_loc": [215], "filenames": ["Kernel/Output/HTML/LayoutTemplate.pm"], "fixing_code_end_loc": [234], "fixing_code_start_loc": [215], "message": "Open Ticket Request System (OTRS) 4.0.x before 4.0.28, 5.0.x before 5.0.26, and 6.0.x before 6.0.3, when cookie support is disable... | 1,590 |
Determine whether the {function_name} code is vulnerable or not. | [
"# --\n# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/\n# --\n# This software comes with ABSOLUTELY NO WARRANTY. For details, see\n# the enclosed file COPYING for license information (AGPL). If you\n# did not receive this file, see http://www.gnu.org/licenses/agpl.txt.\n# --",
"package Kernel::Output::HTML::L... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [234], "buggy_code_start_loc": [215], "filenames": ["Kernel/Output/HTML/LayoutTemplate.pm"], "fixing_code_end_loc": [234], "fixing_code_start_loc": [215], "message": "Open Ticket Request System (OTRS) 4.0.x before 4.0.28, 5.0.x before 5.0.26, and 6.0.x before 6.0.3, when cookie support is disable... | 1,590 |
Determine whether the {function_name} code is vulnerable or not. | [
"# compile-sass",
"[](https://travis-ci.org/eiskalteschatten/compile-sass)",
"> A module to compile SASS on-the-fly and/or save it to CSS files using [node-sass](https://github.com/sass/node-sass)",
"The goal of this project... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"# compile-sass",
"[](https://travis-ci.org/eiskalteschatten/compile-sass)",
"> A module to compile SASS on-the-fly and/or save it to CSS files using [node-sass](https://github.com/sass/node-sass)",
"The goal of this project... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"compile-sass\",",
" \"version\": \"1.0.4\",",
" \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@babel/code-frame\": {\n \"version\": \"7.8.3\",\n \"resolved\": \"https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz\",\n \"integrity\... | [
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"compile-sass\",",
" \"version\": \"1.0.5\",",
" \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@babel/code-frame\": {\n \"version\": \"7.8.3\",\n \"resolved\": \"https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz\",\n \"integrity\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"compile-sass\",",
" \"version\": \"1.0.4\",",
" \"description\": \"A module to compile SASS on-the-fly and/or save it to CSS files\",\n \"main\": \"dist/index.js\",\n \"typings\": \"dist/index.d.ts\",\n \"scripts\": {\n \"test:watch\": \"NODE_ENV=test jest --watch --verbose .\",\n \... | [
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"compile-sass\",",
" \"version\": \"1.0.5\",",
" \"description\": \"A module to compile SASS on-the-fly and/or save it to CSS files\",\n \"main\": \"dist/index.js\",\n \"typings\": \"dist/index.d.ts\",\n \"scripts\": {\n \"test:watch\": \"NODE_ENV=test jest --watch --verbose .\",\n \... | [
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"import * as path from 'path';\nimport * as fs from 'fs';\nimport * as mkdirp from 'mkdirp';\nimport * as sass from 'node-sass';\nimport { exec } from 'child_process';\nimport { Request, Response, Application } from 'express';",
"const nodeEnv = process.env.NODE_ENV;",
"let hasSetupCleanupOnExit = false;",
"e... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"import * as path from 'path';\nimport * as fs from 'fs';\nimport * as mkdirp from 'mkdirp';\nimport * as sass from 'node-sass';\nimport { exec } from 'child_process';\nimport { Request, Response, Application } from 'express';",
"const nodeEnv = process.env.NODE_ENV;",
"let hasSetupCleanupOnExit = false;",
"e... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 6388, 4, 158], "buggy_code_start_loc": [185, 3, 3, 147], "filenames": ["Readme.md", "package-lock.json", "package.json", "src/index.ts"], "fixing_code_end_loc": [191, 6388, 4, 165], "fixing_code_start_loc": [186, 3, 3, 147], "message": "compile-sass prior to 1.0.5 allows execution of arbrit... | 1,591 |
Determine whether the {function_name} code is vulnerable or not. | [
"#\n# Author:: Adam Jacob (<adam@opscode.com>)\n# Author:: Christopher Brown (<cb@opscode.com>)\n# Author:: Christopher Walters (<cw@opscode.com>)\n# Author:: Tim Hinderliter (<tim@opscode.com>)\n# Copyright:: Copyright (c) 2008, 2009, 2010 Opscode, Inc.\n# License:: Apache License, Version 2.0\n#\n# Licensed under... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"#\n# Author:: Adam Jacob (<adam@opscode.com>)\n# Author:: Christopher Brown (<cb@opscode.com>)\n# Author:: Christopher Walters (<cw@opscode.com>)\n# Author:: Tim Hinderliter (<tim@opscode.com>)\n# Copyright:: Copyright (c) 2008, 2009, 2010 Opscode, Inc.\n# License:: Apache License, Version 2.0\n#\n# Licensed under... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"@api @cookbooks @api_cookbooks_delete\n@manage_cookbook",
"Feature: CRUD cookbooks\n In order to manage cookbook data\n As a Developer\n I want to delete cookbook versions",
" @delete_cookbook_positive @delete_cookbook_version_positive\n Scenario: After uploading two versions of a cookbook, then deleting ... | [
1,
1,
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"@api @cookbooks @api_cookbooks_delete\n@manage_cookbook",
"Feature: CRUD cookbooks\n In order to manage cookbook data\n As a Developer\n I want to delete cookbook versions",
" @delete_cookbook_positive @delete_cookbook_version_positive\n Scenario: After uploading two versions of a cookbook, then deleting ... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"@api @cookbooks @api_cookbooks_upload\n@manage_cookbook",
"Feature: CRUD cookbooks\n In order to manage cookbook data\n As a Developer\n I want to create and upload cookbook files and manifests",
" @create_cookbook_negative",
" Scenario: Should not be able to create a cookbook with the wrong name\n G... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"@api @cookbooks @api_cookbooks_upload\n@manage_cookbook",
"Feature: CRUD cookbooks\n In order to manage cookbook data\n As a Developer\n I want to create and upload cookbook files and manifests",
" @create_cookbook_negative",
" Scenario: Should not be able to create a cookbook with the wrong name\n G... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright:: Copyright (c) 2008 Opscode, Inc.\n# License:: Apache License, Version 2.0\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/LIC... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright:: Copyright (c) 2008 Opscode, Inc.\n# License:: Apache License, Version 2.0\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/LIC... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [32, 54, 157, 140], "buggy_code_start_loc": [32, 54, 157, 138], "filenames": ["chef-server-api/app/controllers/cookbooks.rb", "features/api/cookbooks/delete_cookbooks.feature", "features/api/cookbooks/upload_cookbooks.feature", "features/support/env.rb"], "fixing_code_end_loc": [34, 62, 177, 143]... | 1,592 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changelog",
"All notable changes to this project will be documented in this file.",
"The format is based on [Keep a Changelog], and this project adheres to [Semantic\nVersioning].",
"## [Unreleased]",
"- _No changes yet_\n",
"",
"## [1.0.0] - 2020-10-22",
"- Run the Action to get the git tag annota... | [
1,
1,
1,
1,
1,
0,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changelog",
"All notable changes to this project will be documented in this file.",
"The format is based on [Keep a Changelog], and this project adheres to [Semantic\nVersioning].",
"## [Unreleased]",
"- _No changes yet_\n",
"## [1.0.1] - 2020-10-24",
"- Update Action icon.\n- Fix shell injection vul... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 20, 18, 91], "buggy_code_start_loc": [11, 19, 2, 26], "filenames": ["CHANGELOG.md", "action.yml", "src/main.js", "test/main.test.js"], "fixing_code_end_loc": [17, 20, 26, 103], "fixing_code_start_loc": [12, 19, 3, 26], "message": "In the git-tag-annotation-action (open source GitHub Action) ... | 1,593 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.