prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "<?php namespace System\\Classes;", "use App;\nuse Url;\nuse File;\nuse Lang;\nuse Http;\nuse Cache;\nuse Schema;\nuse Config;", "", "use ApplicationException;\nuse Cms\\Classes\\ThemeManager;\nuse System\\Models\\Parameter;\nuse System\\Models\\PluginVersion;\nuse System\\Helpers\\Cache as CacheHelper;\nuse ...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1072], "buggy_code_start_loc": [10], "filenames": ["modules/system/classes/UpdateManager.php"], "fixing_code_end_loc": [1109], "fixing_code_start_loc": [11], "message": "Octobercms is a self-hosted CMS platform based on the Laravel PHP Framework. Affected versions of OctoberCMS did not validate ...
1,729
Determine whether the {function_name} code is vulnerable or not.
[ "<?php namespace System\\Classes;", "use App;\nuse Url;\nuse File;\nuse Lang;\nuse Http;\nuse Cache;\nuse Schema;\nuse Config;", "use Request;", "use ApplicationException;\nuse Cms\\Classes\\ThemeManager;\nuse System\\Models\\Parameter;\nuse System\\Models\\PluginVersion;\nuse System\\Helpers\\Cache as CacheH...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1072], "buggy_code_start_loc": [10], "filenames": ["modules/system/classes/UpdateManager.php"], "fixing_code_end_loc": [1109], "fixing_code_start_loc": [11], "message": "Octobercms is a self-hosted CMS platform based on the Laravel PHP Framework. Affected versions of OctoberCMS did not validate ...
1,729
Determine whether the {function_name} code is vulnerable or not.
[ "\" Tests for Vim9 script expressions", "source check.vim\nsource vim9.vim", "let g:cond = v:false\ndef FuncOne(arg: number): string\n return 'yes'\nenddef\ndef FuncTwo(arg: number): number\n return 123\nenddef", "\" test cond ? expr : expr\ndef Test_expr1_trinary()\n var lines =<< trim END\n assert_e...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2855, 752, 1237], "buggy_code_start_loc": [2855, 752, 1236], "filenames": ["src/testdir/test_vim9_expr.vim", "src/version.c", "src/vim9expr.c"], "fixing_code_end_loc": [2857, 755, 1237], "fixing_code_start_loc": [2856, 753, 1236], "message": "vim is vulnerable to Heap-based Buffer Overflow", "ot...
1,730
Determine whether the {function_name} code is vulnerable or not.
[ "\" Tests for Vim9 script expressions", "source check.vim\nsource vim9.vim", "let g:cond = v:false\ndef FuncOne(arg: number): string\n return 'yes'\nenddef\ndef FuncTwo(arg: number): number\n return 123\nenddef", "\" test cond ? expr : expr\ndef Test_expr1_trinary()\n var lines =<< trim END\n assert_e...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2855, 752, 1237], "buggy_code_start_loc": [2855, 752, 1236], "filenames": ["src/testdir/test_vim9_expr.vim", "src/version.c", "src/vim9expr.c"], "fixing_code_end_loc": [2857, 755, 1237], "fixing_code_start_loc": [2856, 753, 1236], "message": "vim is vulnerable to Heap-based Buffer Overflow", "ot...
1,730
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.h\"",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2855, 752, 1237], "buggy_code_start_loc": [2855, 752, 1236], "filenames": ["src/testdir/test_vim9_expr.vim", "src/version.c", "src/vim9expr.c"], "fixing_code_end_loc": [2857, 755, 1237], "fixing_code_start_loc": [2856, 753, 1236], "message": "vim is vulnerable to Heap-based Buffer Overflow", "ot...
1,730
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\t\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "#include \"vim.h\"",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [2855, 752, 1237], "buggy_code_start_loc": [2855, 752, 1236], "filenames": ["src/testdir/test_vim9_expr.vim", "src/version.c", "src/vim9expr.c"], "fixing_code_end_loc": [2857, 755, 1237], "fixing_code_start_loc": [2856, 753, 1236], "message": "vim is vulnerable to Heap-based Buffer Overflow", "ot...
1,730
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * vim9cmds.c: Dea...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2855, 752, 1237], "buggy_code_start_loc": [2855, 752, 1236], "filenames": ["src/testdir/test_vim9_expr.vim", "src/version.c", "src/vim9expr.c"], "fixing_code_end_loc": [2857, 755, 1237], "fixing_code_start_loc": [2856, 753, 1236], "message": "vim is vulnerable to Heap-based Buffer Overflow", "ot...
1,730
Determine whether the {function_name} code is vulnerable or not.
[ "/* vi:set ts=8 sts=4 sw=4 noet:\n *\n * VIM - Vi IMproved\tby Bram Moolenaar\n *\n * Do \":help uganda\" in Vim to read copying and usage conditions.\n * Do \":help credits\" in Vim to see a list of people who contributed.\n * See README.txt for an overview of the Vim source code.\n */", "/*\n * vim9cmds.c: Dea...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2855, 752, 1237], "buggy_code_start_loc": [2855, 752, 1236], "filenames": ["src/testdir/test_vim9_expr.vim", "src/version.c", "src/vim9expr.c"], "fixing_code_end_loc": [2857, 755, 1237], "fixing_code_start_loc": [2856, 753, 1236], "message": "vim is vulnerable to Heap-based Buffer Overflow", "ot...
1,730
Determine whether the {function_name} code is vulnerable or not.
[ "/* Common methods shared between FTP and TFTP engines\n *\n * Copyright (c) 2014-2019 Joachim Nilsson <troglobit@gmail.com>\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this perm...
[ 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, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [96], "buggy_code_start_loc": [95], "filenames": ["src/common.c"], "fixing_code_end_loc": [96], "fixing_code_start_loc": [95], "message": "There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server versions 2.7 to 2.10 due to improper impl...
1,731
Determine whether the {function_name} code is vulnerable or not.
[ "/* Common methods shared between FTP and TFTP engines\n *\n * Copyright (c) 2014-2019 Joachim Nilsson <troglobit@gmail.com>\n *\n * Permission to use, copy, modify, and/or distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this perm...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [96], "buggy_code_start_loc": [95], "filenames": ["src/common.c"], "fixing_code_end_loc": [96], "fixing_code_start_loc": [95], "message": "There are multiple unauthenticated directory traversal vulnerabilities in different FTP commands in uftpd FTP server versions 2.7 to 2.10 due to improper impl...
1,731
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 1, 1, 1, 1, 1, 1, 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": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\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 applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\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 applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\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 applic...
[ 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, 0 ]
PreciseBugs
{"buggy_code_end_loc": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\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 applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\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 ap...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [199, 271, 698, 198, 93, 1158], "buggy_code_start_loc": [148, 129, 588, 28, 85, 57], "filenames": ["cmd/cosign/cli/verify/verify.go", "cmd/cosign/cli/verify/verify_attestation.go", "pkg/cosign/verify.go", "pkg/cosign/verify_test.go", "pkg/sget/sget.go", "test/e2e_test.go"], "fixing_code_end_loc":...
1,732
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's ALU ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's ALU ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's CPU ////\n//// ////\n//// This file is part of ...
[ 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, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's CPU ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's definitions ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's definitions ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's Exception logic ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's Exception logic ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's Top level multiplier, divider and MAC ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's Top level multiplier, divider and MAC ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's interface to SPRs ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "//////////////////////////////////////////////////////////////////////\n//// ////\n//// OR1200's interface to SPRs ////\n//// ////\n//// This file is part of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [318, 807, 831, 264, 400, 379], "buggy_code_start_loc": [58, 273, 302, 179, 67, 59], "filenames": ["rtl/verilog/or1200_alu.v", "rtl/verilog/or1200_cpu.v", "rtl/verilog/or1200_defines.v", "rtl/verilog/or1200_except.v", "rtl/verilog/or1200_mult_mac.v", "rtl/verilog/or1200_sprs.v"], "fixing_code_end...
1,733
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2019 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [99], "buggy_code_start_loc": [97], "filenames": ["tensorflow/core/kernels/unsorted_segment_join_op.cc"], "fixing_code_end_loc": [101], "fixing_code_start_loc": [97], "message": "TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the impl...
1,734
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2019 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 ]
PreciseBugs
{"buggy_code_end_loc": [99], "buggy_code_start_loc": [97], "filenames": ["tensorflow/core/kernels/unsorted_segment_join_op.cc"], "fixing_code_end_loc": [101], "fixing_code_start_loc": [97], "message": "TensorFlow is an open source platform for machine learning. Prior to versions 2.9.0, 2.8.1, 2.7.2, and 2.6.4, the impl...
1,734
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 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, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [102, 53, 104], "buggy_code_start_loc": [102, 47, 95], "filenames": ["src/models/user.js", "src/public/js/angularjs/controllers/profile.js", "src/views/subviews/profile.hbs"], "fixing_code_end_loc": [105, 73, 104], "fixing_code_start_loc": [103, 48, 95], "message": "Integer Overflow or Wraparound...
1,735
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 53, 104], "buggy_code_start_loc": [102, 47, 95], "filenames": ["src/models/user.js", "src/public/js/angularjs/controllers/profile.js", "src/views/subviews/profile.hbs"], "fixing_code_end_loc": [105, 73, 104], "fixing_code_start_loc": [103, 48, 95], "message": "Integer Overflow or Wraparound...
1,735
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [102, 53, 104], "buggy_code_start_loc": [102, 47, 95], "filenames": ["src/models/user.js", "src/public/js/angularjs/controllers/profile.js", "src/views/subviews/profile.hbs"], "fixing_code_end_loc": [105, 73, 104], "fixing_code_start_loc": [103, 48, 95], "message": "Integer Overflow or Wraparound...
1,735
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * . .o8 oooo\n * .o8 \"888 `888\n * .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo\n * 888 `888\"\"8P `888 `888 d88' `888 d88' `88b d88( \"8 888 .8P'\n * 888 888 ...
[ 1, 1, 1, 1, 1, 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, 53, 104], "buggy_code_start_loc": [102, 47, 95], "filenames": ["src/models/user.js", "src/public/js/angularjs/controllers/profile.js", "src/views/subviews/profile.hbs"], "fixing_code_end_loc": [105, 73, 104], "fixing_code_start_loc": [103, 48, 95], "message": "Integer Overflow or Wraparound...
1,735
Determine whether the {function_name} code is vulnerable or not.
[ "<div data-user_id=\"{{data.account._id}}\" class=\"hide\"></div>\n<div data-host=\"{{data.host}}\" class=\"hide\"></div>\n<div class=\"grid grid-collapse page-content no-border-top\" ng-controller=\"profileCtrl\"\n ng-init=\"", " otpEnabled={{#isNotNull data.account.tOTPKey}}true{{else}}false{{/isNotNull}}...
[ 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [102, 53, 104], "buggy_code_start_loc": [102, 47, 95], "filenames": ["src/models/user.js", "src/public/js/angularjs/controllers/profile.js", "src/views/subviews/profile.hbs"], "fixing_code_end_loc": [105, 73, 104], "fixing_code_start_loc": [103, 48, 95], "message": "Integer Overflow or Wraparound...
1,735
Determine whether the {function_name} code is vulnerable or not.
[ "<div data-user_id=\"{{data.account._id}}\" class=\"hide\"></div>\n<div data-host=\"{{data.host}}\" class=\"hide\"></div>\n<div class=\"grid grid-collapse page-content no-border-top\" ng-controller=\"profileCtrl\"\n ng-init=\"", " otpEnabled={{#isNotNull data.account.tOTPKey}}true{{else}}false{{/isNotNull}}...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [102, 53, 104], "buggy_code_start_loc": [102, 47, 95], "filenames": ["src/models/user.js", "src/public/js/angularjs/controllers/profile.js", "src/views/subviews/profile.hbs"], "fixing_code_end_loc": [105, 73, 104], "fixing_code_start_loc": [103, 48, 95], "message": "Integer Overflow or Wraparound...
1,735
Determine whether the {function_name} code is vulnerable or not.
[ "/*******************************************************************************\n * Copyright (c) 2013 Mover Zhou\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 * h...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [385], "buggy_code_start_loc": [197], "filenames": ["src/main/java/custom/application/search.java"], "fixing_code_end_loc": [377], "fixing_code_start_loc": [197], "message": "A vulnerability, which was classified as critical, has been found in m0ver bible-online. Affected by this issue is the fun...
1,736
Determine whether the {function_name} code is vulnerable or not.
[ "/*******************************************************************************\n * Copyright (c) 2013 Mover Zhou\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 * h...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [385], "buggy_code_start_loc": [197], "filenames": ["src/main/java/custom/application/search.java"], "fixing_code_end_loc": [377], "fixing_code_start_loc": [197], "message": "A vulnerability, which was classified as critical, has been found in m0ver bible-online. Affected by this issue is the fun...
1,736
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, 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": [57], "buggy_code_start_loc": [53], "filenames": ["engine/Shopware/Controllers/Frontend/Error.php"], "fixing_code_end_loc": [54], "fixing_code_start_loc": [53], "message": "Shopware is an open source eCommerce platform. Versions prior to 5.6.10 are vulnerable to system information leakage in erro...
1,737
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 ]
PreciseBugs
{"buggy_code_end_loc": [57], "buggy_code_start_loc": [53], "filenames": ["engine/Shopware/Controllers/Frontend/Error.php"], "fixing_code_end_loc": [54], "fixing_code_start_loc": [53], "message": "Shopware is an open source eCommerce platform. Versions prior to 5.6.10 are vulnerable to system information leakage in erro...
1,737
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tDefinitions for the TCP module.\n *\n * Version:\t@(#)tcp.h\t1.0.5\t05/23/93\n *\n * Authors...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1222, 1680, 1461], "buggy_code_start_loc": [1222, 1565, 1232], "filenames": ["include/net/tcp.h", "net/ipv4/tcp_ipv4.c", "net/ipv6/tcp_ipv6.c"], "fixing_code_end_loc": [1224, 1698, 1464], "fixing_code_start_loc": [1223, 1566, 1232], "message": "The TCP stack in the Linux kernel before 4.8.10 mis...
1,738
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tDefinitions for the TCP module.\n *\n * Version:\t@(#)tcp.h\t1.0.5\t05/23/93\n *\n * Authors...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1222, 1680, 1461], "buggy_code_start_loc": [1222, 1565, 1232], "filenames": ["include/net/tcp.h", "net/ipv4/tcp_ipv4.c", "net/ipv6/tcp_ipv6.c"], "fixing_code_end_loc": [1224, 1698, 1464], "fixing_code_start_loc": [1223, 1566, 1232], "message": "The TCP stack in the Linux kernel before 4.8.10 mis...
1,738
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tImplementation of the Transmission Control Protocol(TCP).\n *\n *\t\tIPv4 specific 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": [1222, 1680, 1461], "buggy_code_start_loc": [1222, 1565, 1232], "filenames": ["include/net/tcp.h", "net/ipv4/tcp_ipv4.c", "net/ipv6/tcp_ipv6.c"], "fixing_code_end_loc": [1224, 1698, 1464], "fixing_code_start_loc": [1223, 1566, 1232], "message": "The TCP stack in the Linux kernel before 4.8.10 mis...
1,738
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * INET\t\tAn implementation of the TCP/IP protocol suite for the LINUX\n *\t\toperating system. INET is implemented using the BSD Socket\n *\t\tinterface as the means of communication with the user level.\n *\n *\t\tImplementation of the Transmission Control Protocol(TCP).\n *\n *\t\tIPv4 specific 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": [1222, 1680, 1461], "buggy_code_start_loc": [1222, 1565, 1232], "filenames": ["include/net/tcp.h", "net/ipv4/tcp_ipv4.c", "net/ipv6/tcp_ipv6.c"], "fixing_code_end_loc": [1224, 1698, 1464], "fixing_code_start_loc": [1223, 1566, 1232], "message": "The TCP stack in the Linux kernel before 4.8.10 mis...
1,738
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\tTCP over IPv6\n *\tLinux INET6 implementation\n *\n *\tAuthors:\n *\tPedro Roque\t\t<roque@di.fc.ul.pt>\n *\n *\tBased on:\n *\tlinux/net/ipv4/tcp.c\n *\tlinux/net/ipv4/tcp_input.c\n *\tlinux/net/ipv4/tcp_output.c\n *\n *\tFixes:\n *\tHideaki YOSHIFUJI\t:\tsin6_scope_id support\n *\tYOSHIFUJI Hideaki @USAG...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1222, 1680, 1461], "buggy_code_start_loc": [1222, 1565, 1232], "filenames": ["include/net/tcp.h", "net/ipv4/tcp_ipv4.c", "net/ipv6/tcp_ipv6.c"], "fixing_code_end_loc": [1224, 1698, 1464], "fixing_code_start_loc": [1223, 1566, 1232], "message": "The TCP stack in the Linux kernel before 4.8.10 mis...
1,738
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\tTCP over IPv6\n *\tLinux INET6 implementation\n *\n *\tAuthors:\n *\tPedro Roque\t\t<roque@di.fc.ul.pt>\n *\n *\tBased on:\n *\tlinux/net/ipv4/tcp.c\n *\tlinux/net/ipv4/tcp_input.c\n *\tlinux/net/ipv4/tcp_output.c\n *\n *\tFixes:\n *\tHideaki YOSHIFUJI\t:\tsin6_scope_id support\n *\tYOSHIFUJI Hideaki @USAG...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1222, 1680, 1461], "buggy_code_start_loc": [1222, 1565, 1232], "filenames": ["include/net/tcp.h", "net/ipv4/tcp_ipv4.c", "net/ipv6/tcp_ipv6.c"], "fixing_code_end_loc": [1224, 1698, 1464], "fixing_code_start_loc": [1223, 1566, 1232], "message": "The TCP stack in the Linux kernel before 4.8.10 mis...
1,738
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2018 GitHub, Inc.\n// Use of this source code is governed by the MIT license that can be\n// found in the LICENSE file.", "#include \"atom/app/command_line_args.h\"", "#include <algorithm>\n#include <string>", "#include \"base/strings/string_util.h\"\n#include \"base/strings/utf_string_conve...
[ 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": [1394], "buggy_code_start_loc": [1393], "filenames": ["atom/app/command_line_args.cc"], "fixing_code_end_loc": [1395], "fixing_code_start_loc": [1393], "message": "Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can res...
1,739
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2018 GitHub, Inc.\n// Use of this source code is governed by the MIT license that can be\n// found in the LICENSE file.", "#include \"atom/app/command_line_args.h\"", "#include <algorithm>\n#include <string>", "#include \"base/strings/string_util.h\"\n#include \"base/strings/utf_string_conve...
[ 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": [1394], "buggy_code_start_loc": [1393], "filenames": ["atom/app/command_line_args.cc"], "fixing_code_end_loc": [1395], "fixing_code_start_loc": [1393], "message": "Github Electron version Electron 1.8.2-beta.4 and earlier contains a Command Injection vulnerability in Protocol Handler that can res...
1,739
Determine whether the {function_name} code is vulnerable or not.
[ "#\n##################################################################\n#\n# File: IPTables::Parse.pm\n#\n# Purpose: Perl interface to parse iptables and ip6tables rulesets.\n#\n# Author: Michael Rash (mbr@cipherdyne.org)\n#\n# Version: 1.5\n#\n##################################################################\n#",...
[ 1, 1, 1, 0, 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": [985], "buggy_code_start_loc": [19], "filenames": ["lib/IPTables/Parse.pm"], "fixing_code_end_loc": [983], "fixing_code_start_loc": [20], "message": "The IPTables-Parse module before 1.6 for Perl allows local users to write to arbitrary files owned by the current user.", "other": {"cve": {"cisaAc...
1,740
Determine whether the {function_name} code is vulnerable or not.
[ "#\n##################################################################\n#\n# File: IPTables::Parse.pm\n#\n# Purpose: Perl interface to parse iptables and ip6tables rulesets.\n#\n# Author: Michael Rash (mbr@cipherdyne.org)\n#\n# Version: 1.5\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": [985], "buggy_code_start_loc": [19], "filenames": ["lib/IPTables/Parse.pm"], "fixing_code_end_loc": [983], "fixing_code_start_loc": [20], "message": "The IPTables-Parse module before 1.6 for Perl allows local users to write to arbitrary files owned by the current user.", "other": {"cve": {"cisaAc...
1,740
Determine whether the {function_name} code is vulnerable or not.
[ "package controller", "import (", "", "\t\"github.com/studygolang/studygolang/context\"\n\t\"github.com/studygolang/studygolang/logic\"", "\techo \"github.com/labstack/echo/v4\"\n\t\"github.com/polaris1119/goutils\"\n)", "type SearchController struct{}", "// 注册路由\nfunc (self SearchController) RegisterRo...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [67], "buggy_code_start_loc": [3], "filenames": ["http/controller/search.go"], "fixing_code_end_loc": [72], "fixing_code_start_loc": [4], "message": "A vulnerability classified as problematic was found in studygolang. This vulnerability affects the function Search of the file http/controller/sear...
1,741
Determine whether the {function_name} code is vulnerable or not.
[ "package controller", "import (", "\t\"html\"\n", "\t\"github.com/studygolang/studygolang/context\"\n\t\"github.com/studygolang/studygolang/logic\"", "\techo \"github.com/labstack/echo/v4\"\n\t\"github.com/polaris1119/goutils\"\n)", "type SearchController struct{}", "// 注册路由\nfunc (self SearchController...
[ 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": [67], "buggy_code_start_loc": [3], "filenames": ["http/controller/search.go"], "fixing_code_end_loc": [72], "fixing_code_start_loc": [4], "message": "A vulnerability classified as problematic was found in studygolang. This vulnerability affects the function Search of the file http/controller/sear...
1,741
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-gif.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "// This is a self-contained GIF image decoder.\n// It supports a single image only, so it does not support animated GIFs,\n// or any GIF where the main image is constructed from m...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [616], "buggy_code_start_loc": [616], "filenames": ["src/imagew-gif.c"], "fixing_code_end_loc": [621], "fixing_code_start_loc": [617], "message": "The iwgif_read_image function in imagew-gif.c in libimageworsener.a in ImageWorsener 1.3.0 allows remote attackers to cause a denial of service (divid...
1,742
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-gif.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "// This is a self-contained GIF image decoder.\n// It supports a single image only, so it does not support animated GIFs,\n// or any GIF where the main image is constructed from m...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [616], "buggy_code_start_loc": [616], "filenames": ["src/imagew-gif.c"], "fixing_code_end_loc": [621], "fixing_code_start_loc": [617], "message": "The iwgif_read_image function in imagew-gif.c in libimageworsener.a in ImageWorsener 1.3.0 allows remote attackers to cause a denial of service (divid...
1,742
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n * Authors: Cyril Concolato / Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2005-2019\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 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": [315], "buggy_code_start_loc": [285], "filenames": ["src/isomedia/box_code_meta.c"], "fixing_code_end_loc": [317], "fixing_code_start_loc": [285], "message": "The binary MP4Box in Gpac through 1.0.1 has a double-free vulnerability in the iloc_entry_del funciton in box_code_meta.c, which allows at...
1,743
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n * Authors: Cyril Concolato / Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2005-2019\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / ISO Media File Format sub-project\n *\n * GPAC is free software; you can redistribute it...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [315], "buggy_code_start_loc": [285], "filenames": ["src/isomedia/box_code_meta.c"], "fixing_code_end_loc": [317], "fixing_code_start_loc": [285], "message": "The binary MP4Box in Gpac through 1.0.1 has a double-free vulnerability in the iloc_entry_del funciton in box_code_meta.c, which allows at...
1,743
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2010 Satoshi Nakamoto\n// Copyright (c) 2009-2012 The Bitcoin developers\n// Distributed under the MIT/X11 software license, see the accompanying\n// file COPYING or http://www.opensource.org/licenses/mit-license.php.", "#include \"init.h\"\n#include \"util.h\"\n#include \"sync.h\"\n#include \"u...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [483, 325, 435], "buggy_code_start_loc": [482, 325, 435], "filenames": ["src/bitcoinrpc.cpp", "src/test/util_tests.cpp", "src/util.h"], "fixing_code_end_loc": [483, 337, 451], "fixing_code_start_loc": [482, 326, 436], "message": "A vulnerability classified as problematic was found in Ziftr primec...
1,744
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2010 Satoshi Nakamoto\n// Copyright (c) 2009-2012 The Bitcoin developers\n// Distributed under the MIT/X11 software license, see the accompanying\n// file COPYING or http://www.opensource.org/licenses/mit-license.php.", "#include \"init.h\"\n#include \"util.h\"\n#include \"sync.h\"\n#include \"u...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [483, 325, 435], "buggy_code_start_loc": [482, 325, 435], "filenames": ["src/bitcoinrpc.cpp", "src/test/util_tests.cpp", "src/util.h"], "fixing_code_end_loc": [483, 337, 451], "fixing_code_start_loc": [482, 326, 436], "message": "A vulnerability classified as problematic was found in Ziftr primec...
1,744
Determine whether the {function_name} code is vulnerable or not.
[ "#include <vector>\n#include <boost/test/unit_test.hpp>\n#include <boost/foreach.hpp>", "#include \"main.h\"\n#include \"wallet.h\"\n#include \"util.h\"", "using namespace std;", "BOOST_AUTO_TEST_SUITE(util_tests)", "BOOST_AUTO_TEST_CASE(util_criticalsection)\n{\n CCriticalSection cs;", " do {\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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [483, 325, 435], "buggy_code_start_loc": [482, 325, 435], "filenames": ["src/bitcoinrpc.cpp", "src/test/util_tests.cpp", "src/util.h"], "fixing_code_end_loc": [483, 337, 451], "fixing_code_start_loc": [482, 326, 436], "message": "A vulnerability classified as problematic was found in Ziftr primec...
1,744
Determine whether the {function_name} code is vulnerable or not.
[ "#include <vector>\n#include <boost/test/unit_test.hpp>\n#include <boost/foreach.hpp>", "#include \"main.h\"\n#include \"wallet.h\"\n#include \"util.h\"", "using namespace std;", "BOOST_AUTO_TEST_SUITE(util_tests)", "BOOST_AUTO_TEST_CASE(util_criticalsection)\n{\n CCriticalSection cs;", " do {\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 ]
PreciseBugs
{"buggy_code_end_loc": [483, 325, 435], "buggy_code_start_loc": [482, 325, 435], "filenames": ["src/bitcoinrpc.cpp", "src/test/util_tests.cpp", "src/util.h"], "fixing_code_end_loc": [483, 337, 451], "fixing_code_start_loc": [482, 326, 436], "message": "A vulnerability classified as problematic was found in Ziftr primec...
1,744
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2009-2010 Satoshi Nakamoto\n// Copyright (c) 2009-2012 The Bitcoin developers\n// Distributed under the MIT/X11 software license, see the accompanying\n// file COPYING or http://www.opensource.org/licenses/mit-license.php.\n#ifndef BITCOIN_UTIL_H\n#define BITCOIN_UTIL_H", "#include \"uint256.h\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [483, 325, 435], "buggy_code_start_loc": [482, 325, 435], "filenames": ["src/bitcoinrpc.cpp", "src/test/util_tests.cpp", "src/util.h"], "fixing_code_end_loc": [483, 337, 451], "fixing_code_start_loc": [482, 326, 436], "message": "A vulnerability classified as problematic was found in Ziftr primec...
1,744
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright (c) 2009-2010 Satoshi Nakamoto\n// Copyright (c) 2009-2012 The Bitcoin developers\n// Distributed under the MIT/X11 software license, see the accompanying\n// file COPYING or http://www.opensource.org/licenses/mit-license.php.\n#ifndef BITCOIN_UTIL_H\n#define BITCOIN_UTIL_H", "#include \"uint256.h\"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [483, 325, 435], "buggy_code_start_loc": [482, 325, 435], "filenames": ["src/bitcoinrpc.cpp", "src/test/util_tests.cpp", "src/util.h"], "fixing_code_end_loc": [483, 337, 451], "fixing_code_start_loc": [482, 326, 436], "message": "A vulnerability classified as problematic was found in Ziftr primec...
1,744
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */\n/* \n * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)\n * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>\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 Fou...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [270], "buggy_code_start_loc": [162], "filenames": ["pjlib-util/src/pjlib-util/dns.c"], "fixing_code_end_loc": [279], "fixing_code_start_loc": [162], "message": "PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.12 and pri...
1,745
Determine whether the {function_name} code is vulnerable or not.
[ "/* $Id$ */\n/* \n * Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)\n * Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>\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 Fou...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [270], "buggy_code_start_loc": [162], "filenames": ["pjlib-util/src/pjlib-util/dns.c"], "fixing_code_end_loc": [279], "fixing_code_start_loc": [162], "message": "PJSIP is a free and open source multimedia communication library written in C. A buffer overflow vulnerability in versions 2.12 and pri...
1,745
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "return [", " /*\n |--------------------------------------------------------------------------\n | Specifies the default CMS theme.\n |--------------------------------------------------------------------------\n |\n | This parameter value can be overridden by the CMS back-end settings...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [336, 1357], "buggy_code_start_loc": [335, 339], "filenames": ["config/cms.php", "modules/cms/classes/Controller.php"], "fixing_code_end_loc": [336, 1387], "fixing_code_start_loc": [335, 340], "message": "Cross-Site Request Forgery exists in OctoberCMS 1.0.426 (aka Build 426) due to improper vali...
1,746
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "return [", " /*\n |--------------------------------------------------------------------------\n | Specifies the default CMS theme.\n |--------------------------------------------------------------------------\n |\n | This parameter value can be overridden by the CMS back-end settings...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [336, 1357], "buggy_code_start_loc": [335, 339], "filenames": ["config/cms.php", "modules/cms/classes/Controller.php"], "fixing_code_end_loc": [336, 1387], "fixing_code_start_loc": [335, 340], "message": "Cross-Site Request Forgery exists in OctoberCMS 1.0.426 (aka Build 426) due to improper vali...
1,746
Determine whether the {function_name} code is vulnerable or not.
[ "<?php namespace Cms\\Classes;", "use Cms;\nuse Url;\nuse Str;\nuse App;\nuse File;\nuse View;\nuse Lang;\nuse Flash;\nuse Config;\nuse Session;\nuse Request;\nuse Response;\nuse Exception;\nuse BackendAuth;\nuse Twig_Environment;\nuse Twig_Cache_Filesystem;\nuse Cms\\Twig\\Loader as TwigLoader;\nuse Cms\\Twig\\D...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [336, 1357], "buggy_code_start_loc": [335, 339], "filenames": ["config/cms.php", "modules/cms/classes/Controller.php"], "fixing_code_end_loc": [336, 1387], "fixing_code_start_loc": [335, 340], "message": "Cross-Site Request Forgery exists in OctoberCMS 1.0.426 (aka Build 426) due to improper vali...
1,746
Determine whether the {function_name} code is vulnerable or not.
[ "<?php namespace Cms\\Classes;", "use Cms;\nuse Url;\nuse Str;\nuse App;\nuse File;\nuse View;\nuse Lang;\nuse Flash;\nuse Config;\nuse Session;\nuse Request;\nuse Response;\nuse Exception;\nuse BackendAuth;\nuse Twig_Environment;\nuse Twig_Cache_Filesystem;\nuse Cms\\Twig\\Loader as TwigLoader;\nuse Cms\\Twig\\D...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [336, 1357], "buggy_code_start_loc": [335, 339], "filenames": ["config/cms.php", "modules/cms/classes/Controller.php"], "fixing_code_end_loc": [336, 1387], "fixing_code_start_loc": [335, 340], "message": "Cross-Site Request Forgery exists in OctoberCMS 1.0.426 (aka Build 426) due to improper vali...
1,746
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2016, Cameron Rich\n * \n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright notice,\n * ...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [144, 604], "buggy_code_start_loc": [144, 52], "filenames": ["ssl/os_port.h", "ssl/x509.c"], "fixing_code_end_loc": [157, 630], "fixing_code_start_loc": [145, 51], "message": "In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification does not properly ver...
1,747
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2016, Cameron Rich\n * \n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright notice,\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 ]
PreciseBugs
{"buggy_code_end_loc": [144, 604], "buggy_code_start_loc": [144, 52], "filenames": ["ssl/os_port.h", "ssl/x509.c"], "fixing_code_end_loc": [157, 630], "fixing_code_start_loc": [145, 51], "message": "In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification does not properly ver...
1,747
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2017, Cameron Rich\n * \n * All rights reserved.\n * \n * Redistribution and use in source and binary forms, with or without \n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright notice, \n...
[ 1, 1, 1, 1, 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, 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...
PreciseBugs
{"buggy_code_end_loc": [144, 604], "buggy_code_start_loc": [144, 52], "filenames": ["ssl/os_port.h", "ssl/x509.c"], "fixing_code_end_loc": [157, 630], "fixing_code_start_loc": [145, 51], "message": "In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification does not properly ver...
1,747
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (c) 2007-2017, Cameron Rich\n * \n * All rights reserved.\n * \n * Redistribution and use in source and binary forms, with or without \n * modification, are permitted provided that the following conditions are met:\n *\n * * Redistributions of source code must retain the above copyright notice, \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": [144, 604], "buggy_code_start_loc": [144, 52], "filenames": ["ssl/os_port.h", "ssl/x509.c"], "fixing_code_end_loc": [157, 630], "fixing_code_start_loc": [145, 51], "message": "In sig_verify() in x509.c in axTLS version 2.1.3 and before, the PKCS#1 v1.5 signature verification does not properly ver...
1,747
Determine whether the {function_name} code is vulnerable or not.
[ "require 'rails_admin/abstract_model'", "module RailsAdmin\n class ModelNotFound < ::StandardError\n end", " class ObjectNotFound < ::StandardError\n end", " class ActionNotAllowed < ::StandardError\n end", " class ApplicationController < Config.parent_controller.constantize", "", " before_act...
[ 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": [13, 150], "buggy_code_start_loc": [13, 150], "filenames": ["app/controllers/rails_admin/application_controller.rb", "spec/integration/rails_admin_spec.rb"], "fixing_code_end_loc": [16, 164], "fixing_code_start_loc": [14, 151], "message": "rails_admin ruby gem <v1.1.1 is vulnerable to cross-site ...
1,748
Determine whether the {function_name} code is vulnerable or not.
[ "require 'rails_admin/abstract_model'", "module RailsAdmin\n class ModelNotFound < ::StandardError\n end", " class ObjectNotFound < ::StandardError\n end", " class ActionNotAllowed < ::StandardError\n end", " class ApplicationController < Config.parent_controller.constantize", " protect_from_for...
[ 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": [13, 150], "buggy_code_start_loc": [13, 150], "filenames": ["app/controllers/rails_admin/application_controller.rb", "spec/integration/rails_admin_spec.rb"], "fixing_code_end_loc": [16, 164], "fixing_code_start_loc": [14, 151], "message": "rails_admin ruby gem <v1.1.1 is vulnerable to cross-site ...
1,748
Determine whether the {function_name} code is vulnerable or not.
[ "require 'spec_helper'", "describe RailsAdmin, type: :request do\n subject { page }", " before do\n RailsAdmin::Config.authenticate_with { warden.authenticate! scope: :user }\n RailsAdmin::Config.current_user_method(&:current_user)\n login_as User.create(\n email: 'username@example.com',\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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [13, 150], "buggy_code_start_loc": [13, 150], "filenames": ["app/controllers/rails_admin/application_controller.rb", "spec/integration/rails_admin_spec.rb"], "fixing_code_end_loc": [16, 164], "fixing_code_start_loc": [14, 151], "message": "rails_admin ruby gem <v1.1.1 is vulnerable to cross-site ...
1,748
Determine whether the {function_name} code is vulnerable or not.
[ "require 'spec_helper'", "describe RailsAdmin, type: :request do\n subject { page }", " before do\n RailsAdmin::Config.authenticate_with { warden.authenticate! scope: :user }\n RailsAdmin::Config.current_user_method(&:current_user)\n login_as User.create(\n email: 'username@example.com',\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 ]
PreciseBugs
{"buggy_code_end_loc": [13, 150], "buggy_code_start_loc": [13, 150], "filenames": ["app/controllers/rails_admin/application_controller.rb", "spec/integration/rails_admin_spec.rb"], "fixing_code_end_loc": [16, 164], "fixing_code_start_loc": [14, 151], "message": "rails_admin ruby gem <v1.1.1 is vulnerable to cross-site ...
1,748
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/***************************************************************************\\\n * SPIP, Systeme de publication pour l'internet *\n * *\n * Copyright (c) 2001-2019 ...
[ 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, 0, 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": [301], "buggy_code_start_loc": [129], "filenames": ["prive/formulaires/editer_liens.php"], "fixing_code_end_loc": [313], "fixing_code_start_loc": [130], "message": "A PHP injection vulnerability in Spip before v3.2.8 allows attackers to execute arbitrary PHP code via the _oups parameter at /ecrir...
1,749
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/***************************************************************************\\\n * SPIP, Systeme de publication pour l'internet *\n * *\n * Copyright (c) 2001-2019 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [301], "buggy_code_start_loc": [129], "filenames": ["prive/formulaires/editer_liens.php"], "fixing_code_end_loc": [313], "fixing_code_start_loc": [130], "message": "A PHP injection vulnerability in Spip before v3.2.8 allows attackers to execute arbitrary PHP code via the _oups parameter at /ecrir...
1,749
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "class qa_html_theme_layer extends qa_html_theme_base {\n\tvar $meta_title;\n\tvar $meta_description;\n\tvar $meta_keywords;\n\tvar $metas = array();\n\tvar $social_metas = array();\n\tfunction doctype(){\n\t\tqa_html_theme_base::doctype();\n\t\trequire_once QA_INCLUDE_DIR.'qa-db-metas.php';\n\t\t// Cust...
[ 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [516], "buggy_code_start_loc": [15], "filenames": ["q2a-ultimate-seo/layer.php"], "fixing_code_end_loc": [516], "fixing_code_start_loc": [15], "message": "Question2Answer Q2A Ultimate SEO Version 1.3 is affected by cross-site scripting (XSS), which may lead to arbitrary remote code execution.", "...
1,750
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "class qa_html_theme_layer extends qa_html_theme_base {\n\tvar $meta_title;\n\tvar $meta_description;\n\tvar $meta_keywords;\n\tvar $metas = array();\n\tvar $social_metas = array();\n\tfunction doctype(){\n\t\tqa_html_theme_base::doctype();\n\t\trequire_once QA_INCLUDE_DIR.'qa-db-metas.php';\n\t\t// Cust...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [516], "buggy_code_start_loc": [15], "filenames": ["q2a-ultimate-seo/layer.php"], "fixing_code_end_loc": [516], "fixing_code_start_loc": [15], "message": "Question2Answer Q2A Ultimate SEO Version 1.3 is affected by cross-site scripting (XSS), which may lead to arbitrary remote code execution.", "...
1,750
Determine whether the {function_name} code is vulnerable or not.
[ "# Security notices relating to PHPMailer", "Please disclose any security issues or vulnerabilities found through [Tidelift's coordinated disclosure system](https://tidelift.com/security) or to the maintainers privately.\n", "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code ...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1346, 743], "buggy_code_start_loc": [5, 1340, 736], "filenames": ["SECURITY.md", "src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [6, 1342, 744], "fixing_code_start_loc": [5, 1340, 736], "message": "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in u...
1,751
Determine whether the {function_name} code is vulnerable or not.
[ "# Security notices relating to PHPMailer", "Please disclose any security issues or vulnerabilities found through [Tidelift's coordinated disclosure system](https://tidelift.com/security) or to the maintainers privately.\n", "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in untrusted code ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [6, 1346, 743], "buggy_code_start_loc": [5, 1340, 736], "filenames": ["SECURITY.md", "src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [6, 1342, 744], "fixing_code_start_loc": [5, 1340, 736], "message": "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in u...
1,751
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * PHPMailer - PHP email creation and transport class.\n * PHP Version 5.5.\n *\n * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project\n *\n * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>\n * @author Jim Jagielski (jimjag) <jimjag@gmail.com>\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": [6, 1346, 743], "buggy_code_start_loc": [5, 1340, 736], "filenames": ["SECURITY.md", "src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [6, 1342, 744], "fixing_code_start_loc": [5, 1340, 736], "message": "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in u...
1,751
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * PHPMailer - PHP email creation and transport class.\n * PHP Version 5.5.\n *\n * @see https://github.com/PHPMailer/PHPMailer/ The PHPMailer GitHub project\n *\n * @author Marcus Bointon (Synchro/coolbru) <phpmailer@synchromedia.co.uk>\n * @author Jim Jagielski (jimjag) <jimjag@gmail.com>\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": [6, 1346, 743], "buggy_code_start_loc": [5, 1340, 736], "filenames": ["SECURITY.md", "src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [6, 1342, 744], "fixing_code_start_loc": [5, 1340, 736], "message": "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in u...
1,751
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * PHPMailer - PHP email transport unit tests.\n * PHP version 5.5.\n *\n * @author Marcus Bointon <phpmailer@synchromedia.co.uk>\n * @author Andy Prevost\n * @copyright 2012 - 2020 Marcus Bointon\n * @copyright 2004 - 2009 Andy Prevost\n * @license http://www.gnu.org/copyleft/lesser.html G...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6, 1346, 743], "buggy_code_start_loc": [5, 1340, 736], "filenames": ["SECURITY.md", "src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [6, 1342, 744], "fixing_code_start_loc": [5, 1340, 736], "message": "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in u...
1,751
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * PHPMailer - PHP email transport unit tests.\n * PHP version 5.5.\n *\n * @author Marcus Bointon <phpmailer@synchromedia.co.uk>\n * @author Andy Prevost\n * @copyright 2012 - 2020 Marcus Bointon\n * @copyright 2004 - 2009 Andy Prevost\n * @license http://www.gnu.org/copyleft/lesser.html G...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [6, 1346, 743], "buggy_code_start_loc": [5, 1340, 736], "filenames": ["SECURITY.md", "src/PHPMailer.php", "test/PHPMailerTest.php"], "fixing_code_end_loc": [6, 1342, 744], "fixing_code_start_loc": [5, 1340, 736], "message": "PHPMailer 6.4.1 and earlier contain a vulnerability that can result in u...
1,751
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\r\n\r\n/**\r\n * This class is responsible for providing operations to an object for managing the object's manipulation\r\n *\r\n * @copyright\tThe ImpressCMS Project http://www.impresscms.org/\r\n * @license\t\thttp://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)\r\n * @cat...
[ 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [643], "buggy_code_start_loc": [1], "filenames": ["htdocs/libraries/icms/ipf/Controller.php"], "fixing_code_end_loc": [644], "fixing_code_start_loc": [1], "message": "ImpressCMS before 1.4.2 allows unauthenticated remote code execution via ...../// directory traversal in origName or imageName, le...
1,752
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * This class is responsible for providing operations to an object for managing the object's manipulation\n *\n * @copyright\tThe ImpressCMS Project http://www.impresscms.org/\n * @license\t\thttp://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License (GPL)\n * @category\tICMS\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [643], "buggy_code_start_loc": [1], "filenames": ["htdocs/libraries/icms/ipf/Controller.php"], "fixing_code_end_loc": [644], "fixing_code_start_loc": [1], "message": "ImpressCMS before 1.4.2 allows unauthenticated remote code execution via ...../// directory traversal in origName or imageName, le...
1,752
Determine whether the {function_name} code is vulnerable or not.
[ ".#---------------------------------------------------------------------------------------------------------\n.input|xwiki/2.0\n.# Verify that internal link syntax is escaped\n.#---------------------------------------------------------------------------------------------------------\n[[lab~>~>el~~~~>>refe~|~|rence|...
[ 1, 0, 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [36, 49, 25, 20, 35, 58, 29, 56, 109, 29, 30, 20, 20, 20, 59, 25, 29, 33, 73, 31, 31, 32, 35, 33, 41, 36, 64, 66, 68, 66, 64, 83, 2, 61, 83, 72, 78, 62, 290, 126, 78, 61, 2, 20, 24, 20, 2, 185], "buggy_code_start_loc": [23, 32, 15, 19, 24, 45, 19, 47, 108, 19, 20, 19, 5, 5, 46, 15, 19, 19, 68, 18...
1,753
Determine whether the {function_name} code is vulnerable or not.
[ ".#---------------------------------------------------------------------------------------------------------\n.input|xwiki/2.0\n.# Verify that internal link syntax is escaped\n.#---------------------------------------------------------------------------------------------------------\n[[lab~>~>el~~~~>>refe~|~|rence|...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [36, 49, 25, 20, 35, 58, 29, 56, 109, 29, 30, 20, 20, 20, 59, 25, 29, 33, 73, 31, 31, 32, 35, 33, 41, 36, 64, 66, 68, 66, 64, 83, 2, 61, 83, 72, 78, 62, 290, 126, 78, 61, 2, 20, 24, 20, 2, 185], "buggy_code_start_loc": [23, 32, 15, 19, 24, 45, 19, 47, 108, 19, 20, 19, 5, 5, 46, 15, 19, 19, 68, 18...
1,753
Determine whether the {function_name} code is vulnerable or not.
[ ".#-----------------------------------------------------\n.# Validate parameters support for groups\n.#-----------------------------------------------------\n.input|xwiki/2.0\n.#-----------------------------------------------------\n(% param=\"value\" %)\n(((some text)))", "(% param=\"value\" %)(((some text)))\n....
[ 1, 1, 0, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [36, 49, 25, 20, 35, 58, 29, 56, 109, 29, 30, 20, 20, 20, 59, 25, 29, 33, 73, 31, 31, 32, 35, 33, 41, 36, 64, 66, 68, 66, 64, 83, 2, 61, 83, 72, 78, 62, 290, 126, 78, 61, 2, 20, 24, 20, 2, 185], "buggy_code_start_loc": [23, 32, 15, 19, 24, 45, 19, 47, 108, 19, 20, 19, 5, 5, 46, 15, 19, 19, 68, 18...
1,753
Determine whether the {function_name} code is vulnerable or not.
[ ".#-----------------------------------------------------\n.# Validate parameters support for groups\n.#-----------------------------------------------------\n.input|xwiki/2.0\n.#-----------------------------------------------------\n(% param=\"value\" %)\n(((some text)))", "(% param=\"value\" %)(((some text)))\n....
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [36, 49, 25, 20, 35, 58, 29, 56, 109, 29, 30, 20, 20, 20, 59, 25, 29, 33, 73, 31, 31, 32, 35, 33, 41, 36, 64, 66, 68, 66, 64, 83, 2, 61, 83, 72, 78, 62, 290, 126, 78, 61, 2, 20, 24, 20, 2, 185], "buggy_code_start_loc": [23, 32, 15, 19, 24, 45, 19, 47, 108, 19, 20, 19, 5, 5, 46, 15, 19, 19, 68, 18...
1,753
Determine whether the {function_name} code is vulnerable or not.
[ ".#-----------------------------------------------------\n.input|xwiki/2.0\n.#-----------------------------------------------------\n(% param=\"value\" %)\n----\n.#-----------------------------------------------------\n.expect|event/1.0\n.#-----------------------------------------------------\nbeginDocument\nonHori...
[ 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [36, 49, 25, 20, 35, 58, 29, 56, 109, 29, 30, 20, 20, 20, 59, 25, 29, 33, 73, 31, 31, 32, 35, 33, 41, 36, 64, 66, 68, 66, 64, 83, 2, 61, 83, 72, 78, 62, 290, 126, 78, 61, 2, 20, 24, 20, 2, 185], "buggy_code_start_loc": [23, 32, 15, 19, 24, 45, 19, 47, 108, 19, 20, 19, 5, 5, 46, 15, 19, 19, 68, 18...
1,753
Determine whether the {function_name} code is vulnerable or not.
[ ".#-----------------------------------------------------\n.input|xwiki/2.0\n.#-----------------------------------------------------\n(% param=\"value\" %)\n----\n.#-----------------------------------------------------\n.expect|event/1.0\n.#-----------------------------------------------------\nbeginDocument\nonHori...
[ 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [36, 49, 25, 20, 35, 58, 29, 56, 109, 29, 30, 20, 20, 20, 59, 25, 29, 33, 73, 31, 31, 32, 35, 33, 41, 36, 64, 66, 68, 66, 64, 83, 2, 61, 83, 72, 78, 62, 290, 126, 78, 61, 2, 20, 24, 20, 2, 185], "buggy_code_start_loc": [23, 32, 15, 19, 24, 45, 19, 47, 108, 19, 20, 19, 5, 5, 46, 15, 19, 19, 68, 18...
1,753