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. | [
"/** \\ingroup payload\n * \\file lib/fsm.c\n * File state machine to handle a payload from a package.\n */",
"#include \"system.h\"",
"#include <inttypes.h>\n#include <utime.h>\n#include <errno.h>",
"",
"#if WITH_CAP\n#include <sys/capability.h>\n#endif",
"#include <rpm/rpmte.h>\n#include <rpm/rpmts.h>\n... | [
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [104, 584, 1024], "buggy_code_start_loc": [104, 583, 10], "filenames": ["INSTALL", "configure.ac", "lib/fsm.c"], "fixing_code_end_loc": [107, 585, 1157], "fixing_code_start_loc": [105, 583, 11], "message": "It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check wa... | 883 |
Determine whether the {function_name} code is vulnerable or not. | [
"/** \\ingroup payload\n * \\file lib/fsm.c\n * File state machine to handle a payload from a package.\n */",
"#include \"system.h\"",
"#include <inttypes.h>\n#include <utime.h>\n#include <errno.h>",
"#include <fcntl.h>",
"#if WITH_CAP\n#include <sys/capability.h>\n#endif",
"#include <rpm/rpmte.h>\n#inclu... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [104, 584, 1024], "buggy_code_start_loc": [104, 583, 10], "filenames": ["INSTALL", "configure.ac", "lib/fsm.c"], "fixing_code_end_loc": [107, 585, 1157], "fixing_code_start_loc": [105, 583, 11], "message": "It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check wa... | 883 |
Determine whether the {function_name} code is vulnerable or not. | [
"Thanks to Info-ZIP for info on the DOS-time/date conversion code,\nand some other general information gathered from their sources.",
"Thanks to these people for suggestions, testing, and bug reports:",
"Alexander Galanin <al@galanin.nnov.ru>\nAlexandr Shadchin <alexandr.shadchin@gmail.com>\nAndrew Brampton <br... | [
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [14, 585], "buggy_code_start_loc": [14, 582], "filenames": ["THANKS", "lib/zip_dirent.c"], "fixing_code_end_loc": [16, 581], "fixing_code_start_loc": [15, 581], "message": "A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2.0 allows attackers to have an unspecified im... | 884 |
Determine whether the {function_name} code is vulnerable or not. | [
"Thanks to Info-ZIP for info on the DOS-time/date conversion code,\nand some other general information gathered from their sources.",
"Thanks to these people for suggestions, testing, and bug reports:",
"Alexander Galanin <al@galanin.nnov.ru>\nAlexandr Shadchin <alexandr.shadchin@gmail.com>\nAndrew Brampton <br... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [14, 585], "buggy_code_start_loc": [14, 582], "filenames": ["THANKS", "lib/zip_dirent.c"], "fixing_code_end_loc": [16, 581], "fixing_code_start_loc": [15, 581], "message": "A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2.0 allows attackers to have an unspecified im... | 884 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n zip_dirent.c -- read directory entry (local or central), clean dirent\n Copyright (C) 1999-2016 Dieter Baron and Thomas Klausner",
" This file is part of libzip, a library to manipulate ZIP archives.\n The authors can be contacted at <libzip@nih.at>",
" Redistribution and use in source and binary for... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [14, 585], "buggy_code_start_loc": [14, 582], "filenames": ["THANKS", "lib/zip_dirent.c"], "fixing_code_end_loc": [16, 581], "fixing_code_start_loc": [15, 581], "message": "A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2.0 allows attackers to have an unspecified im... | 884 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n zip_dirent.c -- read directory entry (local or central), clean dirent\n Copyright (C) 1999-2016 Dieter Baron and Thomas Klausner",
" This file is part of libzip, a library to manipulate ZIP archives.\n The authors can be contacted at <libzip@nih.at>",
" Redistribution and use in source and binary for... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [14, 585], "buggy_code_start_loc": [14, 582], "filenames": ["THANKS", "lib/zip_dirent.c"], "fixing_code_end_loc": [16, 581], "fixing_code_start_loc": [15, 581], "message": "A use-after-free in the _zip_dirent_read function of zip_dirent.c in libzip 1.2.0 allows attackers to have an unspecified im... | 884 |
Determine whether the {function_name} code is vulnerable or not. | [
"# coding=utf-8",
"from __future__ import unicode_literals",
"import logging",
"",
"import platform\nimport re\nimport subprocess\nimport sys",
"from medusa import app, notifiers\nfrom medusa.logger.adapters.style import BraceAdapter\nfrom medusa.updater.update_manager import UpdateManager",
"from six i... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [127], "buggy_code_start_loc": [5], "filenames": ["medusa/updater/github_updater.py"], "fixing_code_end_loc": [130], "fixing_code_start_loc": [6], "message": "pymedusa is an automatic video library manager for TV Shows. In versions prior 1.0.12 an attacker with access to the web interface can upd... | 885 |
Determine whether the {function_name} code is vulnerable or not. | [
"# coding=utf-8",
"from __future__ import unicode_literals",
"import logging",
"import os",
"import platform\nimport re\nimport subprocess\nimport sys",
"from medusa import app, notifiers\nfrom medusa.logger.adapters.style import BraceAdapter\nfrom medusa.updater.update_manager import UpdateManager",
"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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [127], "buggy_code_start_loc": [5], "filenames": ["medusa/updater/github_updater.py"], "fixing_code_end_loc": [130], "fixing_code_start_loc": [6], "message": "pymedusa is an automatic video library manager for TV Shows. In versions prior 1.0.12 an attacker with access to the web interface can upd... | 885 |
Determine whether the {function_name} code is vulnerable or not. | [
"import unittest\nfrom flask_session_captcha import FlaskSessionCaptcha\nfrom flask import Flask, request\nfrom flask_sessionstore import Session",
"\nclass FlaskSessionCaptchaTestCase(unittest.TestCase):\n def setUp(self):\n self.app = Flask(__name__)\n self.app.config['SECRET_KEY'] = 'aba'\n ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [102], "buggy_code_start_loc": [101], "filenames": ["test_flask_session_captcha.py"], "fixing_code_end_loc": [108], "fixing_code_start_loc": [101], "message": "flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session. I... | 886 |
Determine whether the {function_name} code is vulnerable or not. | [
"import unittest\nfrom flask_session_captcha import FlaskSessionCaptcha\nfrom flask import Flask, request\nfrom flask_sessionstore import Session",
"\nclass FlaskSessionCaptchaTestCase(unittest.TestCase):\n def setUp(self):\n self.app = Flask(__name__)\n self.app.config['SECRET_KEY'] = 'aba'\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
] | PreciseBugs | {"buggy_code_end_loc": [102], "buggy_code_start_loc": [101], "filenames": ["test_flask_session_captcha.py"], "fixing_code_end_loc": [108], "fixing_code_start_loc": [101], "message": "flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session. I... | 886 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n*\n* This file is part of the phpBB Forum Software package.\n*\n* @copyright (c) phpBB Limited <https://www.phpbb.com>\n* @license GNU General Public License, version 2 (GPL-2.0)\n*\n* For full copyright and license information, please see\n* the docs/CREDITS.txt file.\n*\n*/",
"/**\n* @ignore\n*/\ni... | [
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [41], "buggy_code_start_loc": [35], "filenames": ["phpBB/includes/acp/acp_bbcodes.php"], "fixing_code_end_loc": [48], "fixing_code_start_loc": [36], "message": "In phpBB before 3.1.7-PL1, includes/acp/acp_bbcodes.php has improper verification of a CSRF token on the BBCode page in the Administrati... | 887 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n*\n* This file is part of the phpBB Forum Software package.\n*\n* @copyright (c) phpBB Limited <https://www.phpbb.com>\n* @license GNU General Public License, version 2 (GPL-2.0)\n*\n* For full copyright and license information, please see\n* the docs/CREDITS.txt file.\n*\n*/",
"/**\n* @ignore\n*/\ni... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [41], "buggy_code_start_loc": [35], "filenames": ["phpBB/includes/acp/acp_bbcodes.php"], "fixing_code_end_loc": [48], "fixing_code_start_loc": [36], "message": "In phpBB before 3.1.7-PL1, includes/acp/acp_bbcodes.php has improper verification of a CSRF token on the BBCode page in the Administrati... | 887 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
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": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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
] | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
0,
1,
0,
1,
0,
1,
0,
0,
0,
0,
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... | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.\n *\n * Author: zccrs <zccrs@live.com>\n *\n * Maintainer: zccrs <zhangjide@deepin.com>\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,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [309, 507, 101, 60, 135], "buggy_code_start_loc": [306, 102, 101, 58, 105], "filenames": ["app/src/corelib/ddevicediskinfo.cpp", "app/src/corelib/helper.cpp", "app/src/corelib/helper.h", "app/src/fixboot/bootdoctor.cpp", "app/src/main.cpp"], "fixing_code_end_loc": [309, 509, 104, 59, 119], "fixin... | 888 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-FileCopyrightText: 2015-2019 deepakchethan <deepakchethan@outlook.com>\n// SPDX-License-Identifier: LGPL-3.0-only",
"#include \"qnx/qnx.h\"\n#include \"../i/private.h\"",
"static int lmf_header_load(lmf_header *lmfh, RzBuffer *buf, Sdb *db) {\n\tif (rz_buf_size(buf) < sizeof(lmf_header)) {\n\t\treturn ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [195], "buggy_code_start_loc": [194], "filenames": ["librz/bin/p/bin_qnx.c"], "fixing_code_end_loc": [209], "fixing_code_start_loc": [194], "message": "Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to a double free in bobj.c:r... | 889 |
Determine whether the {function_name} code is vulnerable or not. | [
"// SPDX-FileCopyrightText: 2015-2019 deepakchethan <deepakchethan@outlook.com>\n// SPDX-License-Identifier: LGPL-3.0-only",
"#include \"qnx/qnx.h\"\n#include \"../i/private.h\"",
"static int lmf_header_load(lmf_header *lmfh, RzBuffer *buf, Sdb *db) {\n\tif (rz_buf_size(buf) < sizeof(lmf_header)) {\n\t\treturn ... | [
1,
1,
1,
1,
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": [195], "buggy_code_start_loc": [194], "filenames": ["librz/bin/p/bin_qnx.c"], "fixing_code_end_loc": [209], "fixing_code_start_loc": [194], "message": "Rizin is a UNIX-like reverse engineering framework and command-line toolset. Versions 0.4.0 and prior are vulnerable to a double free in bobj.c:r... | 889 |
Determine whether the {function_name} code is vulnerable or not. | [
"package jenkins.security;",
"import hudson.model.User;\nimport hudson.security.ACL;",
"",
"import hudson.util.Scrambler;",
"",
"import org.acegisecurity.context.SecurityContext;\nimport org.acegisecurity.context.SecurityContextHolder;",
"",
"\nimport javax.servlet.Filter;\nimport javax.servlet.Filter... | [
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43], "buggy_code_start_loc": [4], "filenames": ["core/src/main/java/jenkins/security/ApiTokenFilter.java"], "fixing_code_end_loc": [59], "fixing_code_start_loc": [5], "message": "Jenkins before 1.551 and LTS before 1.532.2 does not invalidate the API token when a user is deleted, which allows re... | 890 |
Determine whether the {function_name} code is vulnerable or not. | [
"package jenkins.security;",
"import hudson.model.User;\nimport hudson.security.ACL;",
"import hudson.security.UserMayOrMayNotExistException;",
"import hudson.util.Scrambler;",
"import jenkins.model.Jenkins;",
"import org.acegisecurity.context.SecurityContext;\nimport org.acegisecurity.context.SecurityCon... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [43], "buggy_code_start_loc": [4], "filenames": ["core/src/main/java/jenkins/security/ApiTokenFilter.java"], "fixing_code_end_loc": [59], "fixing_code_start_loc": [5], "message": "Jenkins before 1.551 and LTS before 1.532.2 does not invalidate the API token when a user is deleted, which allows re... | 890 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre, Romain Bouqueau, Cyril Concolato\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / Media Tools sub-project\n *\n * GPAC is free software; you can redistribute ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [9729], "buggy_code_start_loc": [5118], "filenames": ["src/media_tools/av_parsers.c"], "fixing_code_end_loc": [9726], "fixing_code_start_loc": [5118], "message": "In the function gf_hevc_read_pps_bs_internal function in media_tools/av_parsers.c in GPAC 1.0.1 there is a loop, which with crafted fi... | 891 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre, Romain Bouqueau, Cyril Concolato\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / Media Tools sub-project\n *\n * GPAC is free software; you can redistribute ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [9729], "buggy_code_start_loc": [5118], "filenames": ["src/media_tools/av_parsers.c"], "fixing_code_end_loc": [9726], "fixing_code_start_loc": [5118], "message": "In the function gf_hevc_read_pps_bs_internal function in media_tools/av_parsers.c in GPAC 1.0.1 there is a loop, which with crafted fi... | 891 |
Determine whether the {function_name} code is vulnerable or not. | [
"package edu.stanford.nlp.process; \nimport edu.stanford.nlp.util.logging.Redwood;",
"\nimport java.io.*;\nimport java.util.*;\n",
"",
"import javax.xml.parsers.SAXParser;\nimport javax.xml.parsers.SAXParserFactory;",
"import org.xml.sax.Attributes;\nimport org.xml.sax.InputSource;\nimport org.xml.sax.SAXEx... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [197], "buggy_code_start_loc": [7], "filenames": ["src/edu/stanford/nlp/process/TransformXML.java"], "fixing_code_end_loc": [201], "fixing_code_start_loc": [8], "message": "corenlp is vulnerable to Improper Restriction of XML External Entity Reference", "other": {"cve": {"cisaActionDue": null, "c... | 892 |
Determine whether the {function_name} code is vulnerable or not. | [
"package edu.stanford.nlp.process; \nimport edu.stanford.nlp.util.logging.Redwood;",
"\nimport java.io.*;\nimport java.util.*;\n",
"import javax.xml.XMLConstants;",
"import javax.xml.parsers.SAXParser;\nimport javax.xml.parsers.SAXParserFactory;",
"import org.xml.sax.Attributes;\nimport org.xml.sax.InputSou... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [197], "buggy_code_start_loc": [7], "filenames": ["src/edu/stanford/nlp/process/TransformXML.java"], "fixing_code_end_loc": [201], "fixing_code_start_loc": [8], "message": "corenlp is vulnerable to Improper Restriction of XML External Entity Reference", "other": {"cve": {"cisaActionDue": null, "c... | 892 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law 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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [331, 88, 447], "buggy_code_start_loc": [317, 87, 414], "filenames": ["lib/streamlit/components/v1/components.py", "lib/streamlit/server/routes.py", "lib/tests/streamlit/components_test.py"], "fixing_code_end_loc": [332, 88, 447], "fixing_code_start_loc": [317, 87, 414], "message": "Streamlit, so... | 893 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law 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,
1,
1,
1,
1,
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": [331, 88, 447], "buggy_code_start_loc": [317, 87, 414], "filenames": ["lib/streamlit/components/v1/components.py", "lib/streamlit/server/routes.py", "lib/tests/streamlit/components_test.py"], "fixing_code_end_loc": [332, 88, 447], "fixing_code_start_loc": [317, 87, 414], "message": "Streamlit, so... | 893 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or ... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [331, 88, 447], "buggy_code_start_loc": [317, 87, 414], "filenames": ["lib/streamlit/components/v1/components.py", "lib/streamlit/server/routes.py", "lib/tests/streamlit/components_test.py"], "fixing_code_end_loc": [332, 88, 447], "fixing_code_start_loc": [317, 87, 414], "message": "Streamlit, so... | 893 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law 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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [331, 88, 447], "buggy_code_start_loc": [317, 87, 414], "filenames": ["lib/streamlit/components/v1/components.py", "lib/streamlit/server/routes.py", "lib/tests/streamlit/components_test.py"], "fixing_code_end_loc": [332, 88, 447], "fixing_code_start_loc": [317, 87, 414], "message": "Streamlit, so... | 893 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law 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,
1,
1,
1,
1,
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": [331, 88, 447], "buggy_code_start_loc": [317, 87, 414], "filenames": ["lib/streamlit/components/v1/components.py", "lib/streamlit/server/routes.py", "lib/tests/streamlit/components_test.py"], "fixing_code_end_loc": [332, 88, 447], "fixing_code_start_loc": [317, 87, 414], "message": "Streamlit, so... | 893 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2018-2021 Streamlit Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law 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,
1,
1,
1,
1,
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": [331, 88, 447], "buggy_code_start_loc": [317, 87, 414], "filenames": ["lib/streamlit/components/v1/components.py", "lib/streamlit/server/routes.py", "lib/tests/streamlit/components_test.py"], "fixing_code_end_loc": [332, 88, 447], "fixing_code_start_loc": [317, 87, 414], "message": "Streamlit, so... | 893 |
Determine whether the {function_name} code is vulnerable or not. | [
"using System;\nusing System.Collections.Generic;\nusing System.Linq;",
"",
"using DNS.Protocol.Utils;\nusing DNS.Protocol.ResourceRecords;",
"namespace DNS.Protocol {\n public class Request : IRequest {",
" private static readonly Random RANDOM = new Random();",
"\n private IList<Questio... | [
1,
0,
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,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [114], "buggy_code_start_loc": [3], "filenames": ["DNS/Protocol/Request.cs"], "fixing_code_end_loc": [122], "fixing_code_start_loc": [4], "message": "A vulnerability was found in kapetan dns up to 6.1.0. It has been rated as problematic. Affected by this issue is some unknown functionality of the... | 894 |
Determine whether the {function_name} code is vulnerable or not. | [
"using System;\nusing System.Collections.Generic;\nusing System.Linq;",
"using System.Security.Cryptography;",
"using DNS.Protocol.Utils;\nusing DNS.Protocol.ResourceRecords;",
"namespace DNS.Protocol {\n public class Request : IRequest {",
" private static readonly RandomNumberGenerator RANDOM = ... | [
1,
1,
1,
1,
1,
1,
1,
1,
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": [114], "buggy_code_start_loc": [3], "filenames": ["DNS/Protocol/Request.cs"], "fixing_code_end_loc": [122], "fixing_code_start_loc": [4], "message": "A vulnerability was found in kapetan dns up to 6.1.0. It has been rated as problematic. Affected by this issue is some unknown functionality of the... | 894 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* SCTP kernel implementation\n * (C) Copyright IBM Corp. 2001, 2004\n * Copyright (c) 1999-2000 Cisco, Inc.\n * Copyright (c) 1999-2001 Motorola, Inc.\n * Copyright (c) 2001 Intel Corp.\n * Copyright (c) 2001 La Monte H.P. Yarroll\n *\n * This file is part of the SCTP kernel implementation\n *\n * This module 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,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [335], "buggy_code_start_loc": [334], "filenames": ["net/sctp/associola.c"], "fixing_code_end_loc": [335], "fixing_code_start_loc": [334], "message": "The sctp_association_free function in net/sctp/associola.c in the Linux kernel before 3.15.2 does not properly manage a certain backlog value, whi... | 895 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* SCTP kernel implementation\n * (C) Copyright IBM Corp. 2001, 2004\n * Copyright (c) 1999-2000 Cisco, Inc.\n * Copyright (c) 1999-2001 Motorola, Inc.\n * Copyright (c) 2001 Intel Corp.\n * Copyright (c) 2001 La Monte H.P. Yarroll\n *\n * This file is part of the SCTP kernel implementation\n *\n * This module 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": [335], "buggy_code_start_loc": [334], "filenames": ["net/sctp/associola.c"], "fixing_code_end_loc": [335], "fixing_code_start_loc": [334], "message": "The sctp_association_free function in net/sctp/associola.c in the Linux kernel before 3.15.2 does not properly manage a certain backlog value, whi... | 895 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*!\n Flowplayer : The Video Player for Web",
" Copyright (c) 2008-2012 Flowplayer Ltd\n http://flowplayer.org",
" Author: Tero Piirainen",
" -----",
" This GPL version includes Flowplayer branding",
" http://flowplayer.org/GPL-license/#term-7",
" Commercial versions are available\n ... | [
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,
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": [432], "buggy_code_start_loc": [84], "filenames": ["lib/as/Flowplayer.as"], "fixing_code_end_loc": [435], "fixing_code_start_loc": [85], "message": "Cross-site scripting (XSS) vulnerability in flowplayer.swf in the Flash fallback feature in Flowplayer HTML5 5.4.1 allows remote attackers to inject... | 896 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*!\n Flowplayer : The Video Player for Web",
" Copyright (c) 2008-2012 Flowplayer Ltd\n http://flowplayer.org",
" Author: Tero Piirainen",
" -----",
" This GPL version includes Flowplayer branding",
" http://flowplayer.org/GPL-license/#term-7",
" Commercial versions are available\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": [432], "buggy_code_start_loc": [84], "filenames": ["lib/as/Flowplayer.as"], "fixing_code_end_loc": [435], "fixing_code_start_loc": [85], "message": "Cross-site scripting (XSS) vulnerability in flowplayer.swf in the Flash fallback feature in Flowplayer HTML5 5.4.1 allows remote attackers to inject... | 896 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Shopware 5\n * Copyright (c) shopware AG\n *\n * According to our dual licensing model, this program can be used either\n * under the terms of the GNU Affero General Public License, version 3,\n * or under a proprietary license.\n *\n * The texts of the GNU Affero General Public License with an addi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [793, 60], "buggy_code_start_loc": [793, 60], "filenames": ["engine/Shopware/Controllers/Backend/Customer.php", "tests/Functional/Controllers/Backend/CustomerTest.php"], "fixing_code_end_loc": [797, 78], "fixing_code_start_loc": [794, 61], "message": "Shopware is an open source e-commerce softwar... | 897 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Shopware 5\n * Copyright (c) shopware AG\n *\n * According to our dual licensing model, this program can be used either\n * under the terms of the GNU Affero General Public License, version 3,\n * or under a proprietary license.\n *\n * The texts of the GNU Affero General Public License with an addi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [793, 60], "buggy_code_start_loc": [793, 60], "filenames": ["engine/Shopware/Controllers/Backend/Customer.php", "tests/Functional/Controllers/Backend/CustomerTest.php"], "fixing_code_end_loc": [797, 78], "fixing_code_start_loc": [794, 61], "message": "Shopware is an open source e-commerce softwar... | 897 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Shopware 5\n * Copyright (c) shopware AG\n *\n * According to our dual licensing model, this program can be used either\n * under the terms of the GNU Affero General Public License, version 3,\n * or under a proprietary license.\n *\n * The texts of the GNU Affero General Public License with an addi... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [793, 60], "buggy_code_start_loc": [793, 60], "filenames": ["engine/Shopware/Controllers/Backend/Customer.php", "tests/Functional/Controllers/Backend/CustomerTest.php"], "fixing_code_end_loc": [797, 78], "fixing_code_start_loc": [794, 61], "message": "Shopware is an open source e-commerce softwar... | 897 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * Shopware 5\n * Copyright (c) shopware AG\n *\n * According to our dual licensing model, this program can be used either\n * under the terms of the GNU Affero General Public License, version 3,\n * or under a proprietary license.\n *\n * The texts of the GNU Affero General Public License with an addi... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [793, 60], "buggy_code_start_loc": [793, 60], "filenames": ["engine/Shopware/Controllers/Backend/Customer.php", "tests/Functional/Controllers/Backend/CustomerTest.php"], "fixing_code_end_loc": [797, 78], "fixing_code_start_loc": [794, 61], "message": "Shopware is an open source e-commerce softwar... | 897 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php defined('BASEPATH') or exit('No direct script access allowed');",
"/* ----------------------------------------------------------------------------\n * Easy!Appointments - Online Appointment Scheduler\n *\n * @package EasyAppointments\n * @author A.Tselegidis <alextselegidis@gmail.com>\n * @copyrig... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [81], "buggy_code_start_loc": [80], "filenames": ["application/libraries/Api.php"], "fixing_code_end_loc": [83], "fixing_code_start_loc": [80], "message": "API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.", "other": {"cve": {"cisa... | 898 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php defined('BASEPATH') or exit('No direct script access allowed');",
"/* ----------------------------------------------------------------------------\n * Easy!Appointments - Online Appointment Scheduler\n *\n * @package EasyAppointments\n * @author A.Tselegidis <alextselegidis@gmail.com>\n * @copyrig... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [81], "buggy_code_start_loc": [80], "filenames": ["application/libraries/Api.php"], "fixing_code_end_loc": [83], "fixing_code_start_loc": [80], "message": "API Privilege Escalation in GitHub repository alextselegidis/easyappointments prior to 1.5.0. Full system takeover.", "other": {"cve": {"cisa... | 898 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */",
"require_once(\"./Services/COPage/classes/class.ilPCParagraph.php\");",
"/**\n * Class ilPCSourceCode\n *\n * Paragraph of ilPageObject\n *\n * @author Roland Küstermann\n * @author Alex Killing <alex.killing@gmx.de>\n * @... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [85], "buggy_code_start_loc": [84], "filenames": ["Services/COPage/classes/class.ilPCSourceCode.php"], "fixing_code_end_loc": [88], "fixing_code_start_loc": [84], "message": "Services/COPage/classes/class.ilPCSourceCode.php in ILIAS 5.1.x, 5.2.x, and 5.3.x before 5.3.5 has XSS.", "other": {"cve":... | 899 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */",
"require_once(\"./Services/COPage/classes/class.ilPCParagraph.php\");",
"/**\n * Class ilPCSourceCode\n *\n * Paragraph of ilPageObject\n *\n * @author Roland Küstermann\n * @author Alex Killing <alex.killing@gmx.de>\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
] | PreciseBugs | {"buggy_code_end_loc": [85], "buggy_code_start_loc": [84], "filenames": ["Services/COPage/classes/class.ilPCSourceCode.php"], "fixing_code_end_loc": [88], "fixing_code_start_loc": [84], "message": "Services/COPage/classes/class.ilPCSourceCode.php in ILIAS 5.1.x, 5.2.x, and 5.3.x before 5.3.5 has XSS.", "other": {"cve":... | 899 |
Determine whether the {function_name} code is vulnerable or not. | [
"// imagew-jpeg.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.",
"#include \"imagew-config.h\"",
"#if IW_SUPPORT_JPEG == 1",
"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n#include <setjmp.h>",
"#include... | [
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,
1,
1,
0,
1,
1,
0,
1,
1,
1,
0,
0,
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... | PreciseBugs | {"buggy_code_end_loc": [181], "buggy_code_start_loc": [60], "filenames": ["src/imagew-jpeg.c"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [61], "message": "The iw_get_ui16le function in imagew-util.c:405:23 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial of service (i... | 900 |
Determine whether the {function_name} code is vulnerable or not. | [
"// imagew-jpeg.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.",
"#include \"imagew-config.h\"",
"#if IW_SUPPORT_JPEG == 1",
"#include <stdio.h>\n#include <stdlib.h>\n#include <string.h>\n#include <math.h>\n#include <setjmp.h>",
"#include... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [181], "buggy_code_start_loc": [60], "filenames": ["src/imagew-jpeg.c"], "fixing_code_end_loc": [193], "fixing_code_start_loc": [61], "message": "The iw_get_ui16le function in imagew-util.c:405:23 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial of service (i... | 900 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changelog",
"All notable changes to Gogs are documented in this file.",
"## 0.13.0+dev (`main`)",
"### Added",
"- An unlisted option is added when create or migrate a repository. Unlisted repositories are public but not being listed for users without direct access in the UI. [#5733](https://github.com/go... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [25, 117], "buggy_code_start_loc": [25, 116], "filenames": ["CHANGELOG.md", "templates/repo/issue/list.tmpl"], "fixing_code_end_loc": [27, 117], "fixing_code_start_loc": [26, 116], "message": "Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does n... | 901 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Changelog",
"All notable changes to Gogs are documented in this file.",
"## 0.13.0+dev (`main`)",
"### Added",
"- An unlisted option is added when create or migrate a repository. Unlisted repositories are public but not being listed for users without direct access in the UI. [#5733](https://github.com/go... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [25, 117], "buggy_code_start_loc": [25, 116], "filenames": ["CHANGELOG.md", "templates/repo/issue/list.tmpl"], "fixing_code_end_loc": [27, 117], "fixing_code_start_loc": [26, 116], "message": "Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does n... | 901 |
Determine whether the {function_name} code is vulnerable or not. | [
"{{template \"base/head\" .}}\n<div class=\"repository\">\n\t{{template \"repo/header\" .}}\n\t<div class=\"ui container\">\n\t\t<div class=\"navbar\">\n\t\t\t{{template \"repo/issue/navbar\" .}}\n\t\t\t<div class=\"ui right\">\n\t\t\t\t{{if .PageIsIssueList}}\n\t\t\t\t\t<a class=\"ui green button\" href=\"{{.RepoL... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [25, 117], "buggy_code_start_loc": [25, 116], "filenames": ["CHANGELOG.md", "templates/repo/issue/list.tmpl"], "fixing_code_end_loc": [27, 117], "fixing_code_start_loc": [26, 116], "message": "Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does n... | 901 |
Determine whether the {function_name} code is vulnerable or not. | [
"{{template \"base/head\" .}}\n<div class=\"repository\">\n\t{{template \"repo/header\" .}}\n\t<div class=\"ui container\">\n\t\t<div class=\"navbar\">\n\t\t\t{{template \"repo/issue/navbar\" .}}\n\t\t\t<div class=\"ui right\">\n\t\t\t\t{{if .PageIsIssueList}}\n\t\t\t\t\t<a class=\"ui green button\" href=\"{{.RepoL... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [25, 117], "buggy_code_start_loc": [25, 116], "filenames": ["CHANGELOG.md", "templates/repo/issue/list.tmpl"], "fixing_code_end_loc": [27, 117], "fixing_code_start_loc": [26, 116], "message": "Gogs is an open source self-hosted Git service. In versions of gogs prior to 0.12.9 `DisplayName` does n... | 901 |
Determine whether the {function_name} code is vulnerable or not. | [
"# SECUREAUTH LABS. Copyright 2018 SecureAuth Corporation. All rights reserved.\n#\n# This software is provided under under a slightly modified version\n# of the Apache Software License. See the accompanying LICENSE file\n# for more information.\n#\n# Author: Alberto Solino (@agsolino)\n#\n# TODO:\n# [-] Functions ... | [
1,
1,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
0,
1,
0,
1,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
0,
1,
0,
1,
0,
1,
0,
1... | PreciseBugs | {"buggy_code_end_loc": [4680], "buggy_code_start_loc": [49], "filenames": ["impacket/smbserver.py"], "fixing_code_end_loc": [4755], "fixing_code_start_loc": [49], "message": "Multiple path traversal vulnerabilities exist in smbserver.py in Impacket through 0.9.22. An attacker that connects to a running smbserver instan... | 902 |
Determine whether the {function_name} code is vulnerable or not. | [
"# SECUREAUTH LABS. Copyright 2018 SecureAuth Corporation. All rights reserved.\n#\n# This software is provided under under a slightly modified version\n# of the Apache Software License. See the accompanying LICENSE file\n# for more information.\n#\n# Author: Alberto Solino (@agsolino)\n#\n# TODO:\n# [-] Functions ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [4680], "buggy_code_start_loc": [49], "filenames": ["impacket/smbserver.py"], "fixing_code_end_loc": [4755], "fixing_code_start_loc": [49], "message": "Multiple path traversal vulnerabilities exist in smbserver.py in Impacket through 0.9.22. An attacker that connects to a running smbserver instan... | 902 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
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... | PreciseBugs | {"buggy_code_end_loc": [670], "buggy_code_start_loc": [600], "filenames": ["magick/cache.c"], "fixing_code_end_loc": [647], "fixing_code_start_loc": [599], "message": "Off-by-one error in magick/cache.c in ImageMagick allows remote attackers to cause a denial of service (segmentation fault) via unspecified vectors.", "... | 903 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n% %\n% %\n% ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [670], "buggy_code_start_loc": [600], "filenames": ["magick/cache.c"], "fixing_code_end_loc": [647], "fixing_code_start_loc": [599], "message": "Off-by-one error in magick/cache.c in ImageMagick allows remote attackers to cause a denial of service (segmentation fault) via unspecified vectors.", "... | 903 |
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,
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": [385], "buggy_code_start_loc": [385], "filenames": ["tensorflow/core/kernels/pooling_ops_3d.cc"], "fixing_code_end_loc": [399], "fixing_code_start_loc": [386], "message": "TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.AvgPool3DGrad` is vu... | 904 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2016 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [385], "buggy_code_start_loc": [385], "filenames": ["tensorflow/core/kernels/pooling_ops_3d.cc"], "fixing_code_end_loc": [399], "fixing_code_start_loc": [386], "message": "TensorFlow is an end-to-end open source platform for machine learning. The implementation of `tf.raw_ops.AvgPool3DGrad` is vu... | 904 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php namespace Cms\\Classes;",
"use File;\nuse Lang;\nuse Config;\nuse Request;\nuse Cms\\Helpers\\File as FileHelper;\nuse October\\Rain\\Extension\\Extendable;\nuse ApplicationException;\nuse ValidationException;",
"/**\n * The CMS theme asset file class.\n *\n * @package october\\cms\n * @author Alexey Bob... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | PreciseBugs | {"buggy_code_end_loc": [289], "buggy_code_start_loc": [288], "filenames": ["modules/cms/classes/Asset.php"], "fixing_code_end_loc": [296], "fixing_code_start_loc": [288], "message": "In OctoberCMS (october/october composer package) versions from 1.0.319 and before 1.0.466, an attacker can exploit this vulnerability to ... | 905 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php namespace Cms\\Classes;",
"use File;\nuse Lang;\nuse Config;\nuse Request;\nuse Cms\\Helpers\\File as FileHelper;\nuse October\\Rain\\Extension\\Extendable;\nuse ApplicationException;\nuse ValidationException;",
"/**\n * The CMS theme asset file class.\n *\n * @package october\\cms\n * @author Alexey Bob... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [289], "buggy_code_start_loc": [288], "filenames": ["modules/cms/classes/Asset.php"], "fixing_code_end_loc": [296], "fixing_code_start_loc": [288], "message": "In OctoberCMS (october/october composer package) versions from 1.0.319 and before 1.0.466, an attacker can exploit this vulnerability to ... | 905 |
Determine whether the {function_name} code is vulnerable or not. | [
"",
"## v0.2.6 (03/21/21)",
"- Removed all bundled extensions, to keep GistPad as small as possible",
"## v0.2.5 (03/21/21)",
"- Remove the reference to Live Share Spaces in the `README`",
"## v0.2.4 (03/21/21)",
"- Added support for `#tags` in wiki repos",
"## v0.2.3 (03/19/21)",
"- When you open/c... | [
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"## v0.2.7 (03/29/21)",
"- Removed the `GistPad > Api Url` setting, since it was no longer supported after GistPad moved over to using VS Code's native authentication.\n",
"## v0.2.6 (03/21/21)",
"- Removed all bundled extensions, to keep GistPad as small as possible",
"## v0.2.5 (03/21/21)",
"- Remove 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": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"# GistPad 📘",
"GistPad is a Visual Studio Code extension that allows you to edit GitHub [Gists](https://gist.github.com/) and repositories from the comfort of your favorite editor. You can open, create, delete, fork and star gists and repositories, and then seamlessly begin editing files **as if they were local... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"# GistPad 📘",
"GistPad is a Visual Studio Code extension that allows you to edit GitHub [Gists](https://gist.github.com/) and repositories from the comfort of your favorite editor. You can open, create, delete, fork and star gists and repositories, and then seamlessly begin editing files **as if they were local... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"gistfs\",\n \"displayName\": \"GistPad\",\n \"description\": \"Manage your code snippets and developer notes using GitHub Gists and repositories.\",\n \"publisher\": \"vsls-contrib\",",
" \"version\": \"0.2.6\",",
" \"extensionKind\": [\n \"ui\",\n \"workspace\"\n ],\n \"icon\": \... | [
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"{\n \"name\": \"gistfs\",\n \"displayName\": \"GistPad\",\n \"description\": \"Manage your code snippets and developer notes using GitHub Gists and repositories.\",\n \"publisher\": \"vsls-contrib\",",
" \"version\": \"0.2.7\",",
" \"extensionKind\": [\n \"ui\",\n \"workspace\"\n ],\n \"icon\": \... | [
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import * as vscode from \"vscode\";",
"const CONFIG_SECTION = \"gistpad\";",
"export function get(key: \"treeIcons\"): boolean;",
"export function get(key: \"apiUrl\"): string;",
"export function get(key: \"images.markdownPasteFormat\"): \"markdown\" | \"html\";\nexport function get(key: \"images.pasteType... | [
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import * as vscode from \"vscode\";",
"const CONFIG_SECTION = \"gistpad\";",
"export function get(key: \"treeIcons\"): boolean;",
"",
"export function get(key: \"images.markdownPasteFormat\"): \"markdown\" | \"html\";\nexport function get(key: \"images.pasteType\"): \"file\" | \"base64\";\nexport function ... | [
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import { commands, ExtensionContext, window, workspace } from \"vscode\";\nimport { EXTENSION_NAME } from \"../../constants\";\nimport { stringToByteArray, withProgress } from \"../../utils\";\nimport { RepoFileSystemProvider } from \"../fileSystem\";\nimport { store } from \"../store\";\nimport { RepositoryFileNo... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import { commands, ExtensionContext, window, workspace } from \"vscode\";\nimport { EXTENSION_NAME } from \"../../constants\";\nimport { stringToByteArray, withProgress } from \"../../utils\";\nimport { RepoFileSystemProvider } from \"../fileSystem\";\nimport { store } from \"../store\";\nimport { RepositoryFileNo... | [
1,
1,
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": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import { observable, runInAction, set } from \"mobx\";\nimport { window, workspace } from \"vscode\";\nimport { FollowedUser, Gist, GistComment, GistFile, store } from \".\";\nimport * as config from \"../config\";\nimport {\n DIRECTORY_SEPARATOR,\n SCRATCH_GIST_NAME,\n ZERO_WIDTH_SPACE\n} from \"../constants\"... | [
1,
1,
1,
0,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import { observable, runInAction, set } from \"mobx\";\nimport { window, workspace } from \"vscode\";\nimport { FollowedUser, Gist, GistComment, GistFile, store } from \".\";\nimport * as config from \"../config\";\nimport {\n DIRECTORY_SEPARATOR,\n SCRATCH_GIST_NAME,\n ZERO_WIDTH_SPACE\n} from \"../constants\"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import {\n authentication,\n AuthenticationSession,\n commands,\n window\n} from \"vscode\";\nimport { store } from \".\";",
"import * as config from \"../config\";",
"import { EXTENSION_NAME } from \"../constants\";\nimport { refreshGists } from \"./actions\";\nconst GitHub = require(\"github-base\");",
... | [
1,
0,
1,
1,
1,
1,
1,
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
] | PreciseBugs | {"buggy_code_end_loc": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"import {\n authentication,\n AuthenticationSession,\n commands,\n window\n} from \"vscode\";\nimport { store } from \".\";",
"",
"import { EXTENSION_NAME } from \"../constants\";\nimport { refreshGists } from \"./actions\";\nconst GitHub = require(\"github-base\");",
"let loginSession: string | undefined... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [0, 319, 50, 7, 93, 37, 33], "buggy_code_start_loc": [0, 288, 6, 6, 46, 29, 8], "filenames": ["CHANGELOG.md", "README.md", "package.json", "src/config.ts", "src/repos/wiki/commands.ts", "src/store/actions.ts", "src/store/auth.ts"], "fixing_code_end_loc": [5, 317, 44, 5, 94, 30, 30], "fixing_code_... | 906 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * Textpattern Content Management System\n * http://textpattern.com\n *\n * Copyright (C) 2005 Dean Allen\n * Copyright (C) 2015 The Textpattern Development Team\n *\n * This file is part of Textpattern.\n *\n * Textpattern is free software; you can redistribute it and/or\n * modify it under the ter... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [751], "buggy_code_start_loc": [330], "filenames": ["textpattern/include/txp_article.php"], "fixing_code_end_loc": [759], "fixing_code_start_loc": [330], "message": "In Textpattern 4.5.7, an unprivileged author can change an article's markup setting.", "other": {"cve": {"cisaActionDue": null, "ci... | 907 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n * Textpattern Content Management System\n * http://textpattern.com\n *\n * Copyright (C) 2005 Dean Allen\n * Copyright (C) 2015 The Textpattern Development Team\n *\n * This file is part of Textpattern.\n *\n * Textpattern is free software; you can redistribute it and/or\n * modify it under the ter... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [751], "buggy_code_start_loc": [330], "filenames": ["textpattern/include/txp_article.php"], "fixing_code_end_loc": [759], "fixing_code_start_loc": [330], "message": "In Textpattern 4.5.7, an unprivileged author can change an article's markup setting.", "other": {"cve": {"cisaActionDue": null, "ci... | 907 |
Determine whether the {function_name} code is vulnerable or not. | [
"/****************************************************************************\n**\n** Copyright (C) 2016 The Qt Company Ltd.\n** Contact: https://www.qt.io/licensing/\n**\n** This file is part of the QtGui module of the Qt Toolkit.\n**\n** $QT_BEGIN_LICENSE:LGPL$\n** Commercial License Usage\n** Licensees holding ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [430], "buggy_code_start_loc": [429], "filenames": ["src/gui/painting/qpaintengineex.cpp"], "fixing_code_end_loc": [430], "fixing_code_start_loc": [429], "message": "Qt 5.x before 5.15.6 and 6.x through 6.1.2 has an out-of-bounds write in QOutlineMapper::convertPath (called from QRasterPaintEngin... | 908 |
Determine whether the {function_name} code is vulnerable or not. | [
"/****************************************************************************\n**\n** Copyright (C) 2016 The Qt Company Ltd.\n** Contact: https://www.qt.io/licensing/\n**\n** This file is part of the QtGui module of the Qt Toolkit.\n**\n** $QT_BEGIN_LICENSE:LGPL$\n** Commercial License Usage\n** Licensees holding ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [430], "buggy_code_start_loc": [429], "filenames": ["src/gui/painting/qpaintengineex.cpp"], "fixing_code_end_loc": [430], "fixing_code_start_loc": [429], "message": "Qt 5.x before 5.15.6 and 6.x through 6.1.2 has an out-of-bounds write in QOutlineMapper::convertPath (called from QRasterPaintEngin... | 908 |
Determine whether the {function_name} code is vulnerable or not. | [
"# teler-waf",
"[](#)\n[](http://pkg.go.dev/github.com/kitabisa/teler-waf)\n[](https:/... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | PreciseBugs | {"buggy_code_end_loc": [213, 226, 74], "buggy_code_start_loc": [197, 113, 4], "filenames": ["README.md", "analyze.go", "utils.go"], "fixing_code_end_loc": [213, 226, 89], "fixing_code_start_loc": [197, 113, 5], "message": "teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-ba... | 909 |
Determine whether the {function_name} code is vulnerable or not. | [
"# teler-waf",
"[](#)\n[](http://pkg.go.dev/github.com/kitabisa/teler-waf)\n[](https:/... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [213, 226, 74], "buggy_code_start_loc": [197, 113, 4], "filenames": ["README.md", "analyze.go", "utils.go"], "fixing_code_end_loc": [213, 226, 89], "fixing_code_start_loc": [197, 113, 5], "message": "teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-ba... | 909 |
Determine whether the {function_name} code is vulnerable or not. | [
"package teler",
"import (\n\t\"bytes\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"regexp\"\n\t\"strings\"",
"\t\"net/http\"\n\t\"net/url\"\n\t\"path/filepath\"",
"\t\"github.com/kitabisa/teler-waf/request\"\n\t\"github.com/kitabisa/teler-waf/threat\"\n\t\"github.com/scorpionknifes/go-pcre\"\n\t\"golang.org/x/ne... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [213, 226, 74], "buggy_code_start_loc": [197, 113, 4], "filenames": ["README.md", "analyze.go", "utils.go"], "fixing_code_end_loc": [213, 226, 89], "fixing_code_start_loc": [197, 113, 5], "message": "teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-ba... | 909 |
Determine whether the {function_name} code is vulnerable or not. | [
"package teler",
"import (\n\t\"bytes\"\n\t\"errors\"\n\t\"fmt\"\n\t\"io\"\n\t\"regexp\"\n\t\"strings\"",
"\t\"net/http\"\n\t\"net/url\"\n\t\"path/filepath\"",
"\t\"github.com/kitabisa/teler-waf/request\"\n\t\"github.com/kitabisa/teler-waf/threat\"\n\t\"github.com/scorpionknifes/go-pcre\"\n\t\"golang.org/x/ne... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [213, 226, 74], "buggy_code_start_loc": [197, 113, 4], "filenames": ["README.md", "analyze.go", "utils.go"], "fixing_code_end_loc": [213, 226, 89], "fixing_code_start_loc": [197, 113, 5], "message": "teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-ba... | 909 |
Determine whether the {function_name} code is vulnerable or not. | [
"package teler",
"import (\n\t\"fmt\"",
"",
"\t\"strings\"",
"\t\"net/http\"",
"\t\"github.com/kitabisa/teler-waf/request\"\n\t\"github.com/kitabisa/teler-waf/threat\"\n\t\"gitlab.com/golang-commonmark/mdurl\"\n)",
"// inThreatIndex checks if the given substring is in specific threat datasets\nfunc (t *... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [213, 226, 74], "buggy_code_start_loc": [197, 113, 4], "filenames": ["README.md", "analyze.go", "utils.go"], "fixing_code_end_loc": [213, 226, 89], "fixing_code_start_loc": [197, 113, 5], "message": "teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-ba... | 909 |
Determine whether the {function_name} code is vulnerable or not. | [
"package teler",
"import (\n\t\"fmt\"",
"\t\"html\"",
"\t\"strings\"",
"\t\"net/http\"",
"\t\"github.com/kitabisa/teler-waf/request\"\n\t\"github.com/kitabisa/teler-waf/threat\"\n\t\"gitlab.com/golang-commonmark/mdurl\"\n)",
"// inThreatIndex checks if the given substring is in specific threat datasets\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [213, 226, 74], "buggy_code_start_loc": [197, 113, 4], "filenames": ["README.md", "analyze.go", "utils.go"], "fixing_code_end_loc": [213, 226, 89], "fixing_code_start_loc": [197, 113, 5], "message": "teler-waf is a Go HTTP middleware that provides teler IDS functionality to protect against web-ba... | 909 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 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,
0,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [422], "buggy_code_start_loc": [422], "filenames": ["tensorflow/core/kernels/bincount_op.cc"], "fixing_code_end_loc": [432], "fixing_code_start_loc": [423], "message": "TensorFlow is an end-to-end open source platform for machine learning. If the `splits` argument of `RaggedBincount` does not spe... | 910 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 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
] | PreciseBugs | {"buggy_code_end_loc": [422], "buggy_code_start_loc": [422], "filenames": ["tensorflow/core/kernels/bincount_op.cc"], "fixing_code_end_loc": [432], "fixing_code_start_loc": [423], "message": "TensorFlow is an end-to-end open source platform for machine learning. If the `splits` argument of `RaggedBincount` does not spe... | 910 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * fs/f2fs/f2fs.h\n *\n * Copyright (c) 2012 Samsung Electronics Co., Ltd.\n * http://www.samsung.com/\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 Software Foundation.\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": [2529, 2248, 805], "buggy_code_start_loc": [2528, 1213, 804], "filenames": ["fs/f2fs/f2fs.h", "fs/f2fs/segment.c", "fs/f2fs/super.c"], "fixing_code_end_loc": [2529, 2248, 805], "fixing_code_start_loc": [2528, 1213, 804], "message": "The f2fs implementation in the Linux kernel before 4.14 mishandl... | 911 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * fs/f2fs/f2fs.h\n *\n * Copyright (c) 2012 Samsung Electronics Co., Ltd.\n * http://www.samsung.com/\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 Software Foundation.\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": [2529, 2248, 805], "buggy_code_start_loc": [2528, 1213, 804], "filenames": ["fs/f2fs/f2fs.h", "fs/f2fs/segment.c", "fs/f2fs/super.c"], "fixing_code_end_loc": [2529, 2248, 805], "fixing_code_start_loc": [2528, 1213, 804], "message": "The f2fs implementation in the Linux kernel before 4.14 mishandl... | 911 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * fs/f2fs/segment.c\n *\n * Copyright (c) 2012 Samsung Electronics Co., Ltd.\n * http://www.samsung.com/\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 Software Foundation.... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2529, 2248, 805], "buggy_code_start_loc": [2528, 1213, 804], "filenames": ["fs/f2fs/f2fs.h", "fs/f2fs/segment.c", "fs/f2fs/super.c"], "fixing_code_end_loc": [2529, 2248, 805], "fixing_code_start_loc": [2528, 1213, 804], "message": "The f2fs implementation in the Linux kernel before 4.14 mishandl... | 911 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * fs/f2fs/segment.c\n *\n * Copyright (c) 2012 Samsung Electronics Co., Ltd.\n * http://www.samsung.com/\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 Software Foundation.... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [2529, 2248, 805], "buggy_code_start_loc": [2528, 1213, 804], "filenames": ["fs/f2fs/f2fs.h", "fs/f2fs/segment.c", "fs/f2fs/super.c"], "fixing_code_end_loc": [2529, 2248, 805], "fixing_code_start_loc": [2528, 1213, 804], "message": "The f2fs implementation in the Linux kernel before 4.14 mishandl... | 911 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * fs/f2fs/super.c\n *\n * Copyright (c) 2012 Samsung Electronics Co., Ltd.\n * http://www.samsung.com/\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 Software Foundation.\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,
0... | PreciseBugs | {"buggy_code_end_loc": [2529, 2248, 805], "buggy_code_start_loc": [2528, 1213, 804], "filenames": ["fs/f2fs/f2fs.h", "fs/f2fs/segment.c", "fs/f2fs/super.c"], "fixing_code_end_loc": [2529, 2248, 805], "fixing_code_start_loc": [2528, 1213, 804], "message": "The f2fs implementation in the Linux kernel before 4.14 mishandl... | 911 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * fs/f2fs/super.c\n *\n * Copyright (c) 2012 Samsung Electronics Co., Ltd.\n * http://www.samsung.com/\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 Software Foundation.\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": [2529, 2248, 805], "buggy_code_start_loc": [2528, 1213, 804], "filenames": ["fs/f2fs/f2fs.h", "fs/f2fs/segment.c", "fs/f2fs/super.c"], "fixing_code_end_loc": [2529, 2248, 805], "fixing_code_start_loc": [2528, 1213, 804], "message": "The f2fs implementation in the Linux kernel before 4.14 mishandl... | 911 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright (C) 2004-2021 Artifex Software, Inc.\n//\n// This file is part of MuPDF.\n//\n// MuPDF is free software: you can redistribute it and/or modify it under the\n// terms of the GNU Affero General Public License as published by the Free\n// Software Foundation, either version 3 of the License, or (at your ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1008], "buggy_code_start_loc": [1006], "filenames": ["source/tools/muraster.c"], "fixing_code_end_loc": [1009], "fixing_code_start_loc": [1006], "message": "A Floating point exception (division-by-zero) flaw was found in Mupdf for zero width pages in muraster.c. It is fixed in Mupdf-1.20.0-rc1 u... | 912 |
Determine whether the {function_name} code is vulnerable or not. | [
"// Copyright (C) 2004-2021 Artifex Software, Inc.\n//\n// This file is part of MuPDF.\n//\n// MuPDF is free software: you can redistribute it and/or modify it under the\n// terms of the GNU Affero General Public License as published by the Free\n// Software Foundation, either version 3 of the License, or (at your ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1008], "buggy_code_start_loc": [1006], "filenames": ["source/tools/muraster.c"], "fixing_code_end_loc": [1009], "fixing_code_start_loc": [1006], "message": "A Floating point exception (division-by-zero) flaw was found in Mupdf for zero width pages in muraster.c. It is fixed in Mupdf-1.20.0-rc1 u... | 912 |
Determine whether the {function_name} code is vulnerable or not. | [
"#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/proc.h>",
"#define fiber_ptr(o) ((struct RFiber*)mrb_ptr(o))",
"#define FIBER_STACK_INIT_SIZE 64\n#define FIBER_CI_INIT_SIZE 8\n#define CI_ACC_RESUMED -3",
"/*\n * call-seq:\n * Fiber.new{...} -> obj\n *\n * Creates... | [
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,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [219], "buggy_code_start_loc": [186], "filenames": ["mrbgems/mruby-fiber/src/fiber.c"], "fixing_code_end_loc": [218], "fixing_code_start_loc": [187], "message": "An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src... | 913 |
Determine whether the {function_name} code is vulnerable or not. | [
"#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/proc.h>",
"#define fiber_ptr(o) ((struct RFiber*)mrb_ptr(o))",
"#define FIBER_STACK_INIT_SIZE 64\n#define FIBER_CI_INIT_SIZE 8\n#define CI_ACC_RESUMED -3",
"/*\n * call-seq:\n * Fiber.new{...} -> obj\n *\n * Creates... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [219], "buggy_code_start_loc": [186], "filenames": ["mrbgems/mruby-fiber/src/fiber.c"], "fixing_code_end_loc": [218], "fixing_code_start_loc": [187], "message": "An issue was discovered in mruby 1.4.1. There is a heap-based buffer over-read associated with OP_ENTER because mrbgems/mruby-fiber/src... | 913 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.