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.
[ "/*\n * rfbserver.c - deal with server-side of the RFB protocol.\n */", "/*\n * Copyright (C) 2011-2012 D. R. Commander\n * Copyright (C) 2005 Rohit Kumar, Johannes E. Schindelin\n * Copyright (C) 2002 RealVNC Ltd.\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1477], "buggy_code_start_loc": [90], "filenames": ["libvncserver/rfbserver.c"], "fixing_code_end_loc": [1482], "fixing_code_start_loc": [91], "message": "LibVNC through 0.9.12 contains a heap out-of-bounds write vulnerability in libvncserver/rfbserver.c. The fix for CVE-2018-15127 was incomplete...
466
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * rfbserver.c - deal with server-side of the RFB protocol.\n */", "/*\n * Copyright (C) 2011-2012 D. R. Commander\n * Copyright (C) 2005 Rohit Kumar, Johannes E. Schindelin\n * Copyright (C) 2002 RealVNC Ltd.\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1477], "buggy_code_start_loc": [90], "filenames": ["libvncserver/rfbserver.c"], "fixing_code_end_loc": [1482], "fixing_code_start_loc": [91], "message": "LibVNC through 0.9.12 contains a heap out-of-bounds write vulnerability in libvncserver/rfbserver.c. The fix for CVE-2018-15127 was incomplete...
466
Determine whether the {function_name} code is vulnerable or not.
[ "import EmberObject from \"@ember/object\";\nimport { ajax } from \"discourse/lib/ajax\";", "const EmailPreview = EmberObject.extend({});", "export function oneWeekAgo() {\n return moment().locale(\"en\").subtract(7, \"days\").format(\"YYYY-MM-DD\");\n}", "EmailPreview.reopenClass({\n findDigest(username, l...
[ 1, 1, 1, 1, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [18, 181, 339], "buggy_code_start_loc": [18, 180, 339], "filenames": ["app/assets/javascripts/admin/addon/models/email-preview.js", "config/routes.rb", "spec/requests/admin/email_controller_spec.rb"], "fixing_code_end_loc": [20, 181, 353], "fixing_code_start_loc": [19, 180, 340], "message": "In v...
467
Determine whether the {function_name} code is vulnerable or not.
[ "import EmberObject from \"@ember/object\";\nimport { ajax } from \"discourse/lib/ajax\";", "const EmailPreview = EmberObject.extend({});", "export function oneWeekAgo() {\n return moment().locale(\"en\").subtract(7, \"days\").format(\"YYYY-MM-DD\");\n}", "EmailPreview.reopenClass({\n findDigest(username, l...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [18, 181, 339], "buggy_code_start_loc": [18, 180, 339], "filenames": ["app/assets/javascripts/admin/addon/models/email-preview.js", "config/routes.rb", "spec/requests/admin/email_controller_spec.rb"], "fixing_code_end_loc": [20, 181, 353], "fixing_code_start_loc": [19, 180, 340], "message": "In v...
467
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require \"sidekiq/web\"\nrequire \"mini_scheduler/web\"", "# The following constants have been replaced with `RouteFormat` and are deprecated.\nUSERNAME_ROUTE_FORMAT = /[%\\w.\\-]+?/ unless defined? USERNAME_ROUTE_FORMAT\nBACKUP_ROUTE_FORMAT = /.+\\.(sql\\.gz|tar\\.gz|tgz)/i un...
[ 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [18, 181, 339], "buggy_code_start_loc": [18, 180, 339], "filenames": ["app/assets/javascripts/admin/addon/models/email-preview.js", "config/routes.rb", "spec/requests/admin/email_controller_spec.rb"], "fixing_code_end_loc": [20, 181, 353], "fixing_code_start_loc": [19, 180, 340], "message": "In v...
467
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require \"sidekiq/web\"\nrequire \"mini_scheduler/web\"", "# The following constants have been replaced with `RouteFormat` and are deprecated.\nUSERNAME_ROUTE_FORMAT = /[%\\w.\\-]+?/ unless defined? USERNAME_ROUTE_FORMAT\nBACKUP_ROUTE_FORMAT = /.+\\.(sql\\.gz|tar\\.gz|tgz)/i un...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [18, 181, 339], "buggy_code_start_loc": [18, 180, 339], "filenames": ["app/assets/javascripts/admin/addon/models/email-preview.js", "config/routes.rb", "spec/requests/admin/email_controller_spec.rb"], "fixing_code_end_loc": [20, 181, 353], "fixing_code_start_loc": [19, 180, 340], "message": "In v...
467
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "RSpec.describe Admin::EmailController do\n fab!(:admin) { Fabricate(:admin) }\n fab!(:moderator) { Fabricate(:moderator) }\n fab!(:user) { Fabricate(:user) }\n fab!(:email_log) { Fabricate(:email_log) }", " describe '#index' do\n context \"when logged in as an admin\" 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": [18, 181, 339], "buggy_code_start_loc": [18, 180, 339], "filenames": ["app/assets/javascripts/admin/addon/models/email-preview.js", "config/routes.rb", "spec/requests/admin/email_controller_spec.rb"], "fixing_code_end_loc": [20, 181, 353], "fixing_code_start_loc": [19, 180, 340], "message": "In v...
467
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "RSpec.describe Admin::EmailController do\n fab!(:admin) { Fabricate(:admin) }\n fab!(:moderator) { Fabricate(:moderator) }\n fab!(:user) { Fabricate(:user) }\n fab!(:email_log) { Fabricate(:email_log) }", " describe '#index' do\n context \"when logged in as an admin\" 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": [18, 181, 339], "buggy_code_start_loc": [18, 180, 339], "filenames": ["app/assets/javascripts/admin/addon/models/email-preview.js", "config/routes.rb", "spec/requests/admin/email_controller_spec.rb"], "fixing_code_end_loc": [20, 181, 353], "fixing_code_start_loc": [19, 180, 340], "message": "In v...
467
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2016 The go-ethereum Authors\n// This file is part of the go-ethereum library.\n//\n// The go-ethereum library is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Lesser General Public License as published by\n// the Free Software Foundation, either version 3 of t...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [465], "buggy_code_start_loc": [21], "filenames": ["les/handler.go"], "fixing_code_end_loc": [475], "fixing_code_start_loc": [22], "message": "The GetBlockHeadersMsg handler in the LES protocol implementation in Go Ethereum (aka geth) before 1.8.11 may lead to an access violation because of an in...
468
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2016 The go-ethereum Authors\n// This file is part of the go-ethereum library.\n//\n// The go-ethereum library is free software: you can redistribute it and/or modify\n// it under the terms of the GNU Lesser General Public License as published by\n// the Free Software Foundation, either version 3 of t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [465], "buggy_code_start_loc": [21], "filenames": ["les/handler.go"], "fixing_code_end_loc": [475], "fixing_code_start_loc": [22], "message": "The GetBlockHeadersMsg handler in the LES protocol implementation in Go Ethereum (aka geth) before 1.8.11 may lead to an access violation because of an in...
468
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Apple HTTP Live Streaming demuxer\n * Copyright (c) 2010 Martin Storsjo\n * Copyright (c) 2013 Anssi Hannula\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Fre...
[ 1, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2136], "buggy_code_start_loc": [206], "filenames": ["libavformat/hls.c"], "fixing_code_end_loc": [2153], "fixing_code_start_loc": [207], "message": "FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restrict HTTP Live Streaming filen...
469
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Apple HTTP Live Streaming demuxer\n * Copyright (c) 2010 Martin Storsjo\n * Copyright (c) 2013 Anssi Hannula\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Fre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [2136], "buggy_code_start_loc": [206], "filenames": ["libavformat/hls.c"], "fixing_code_end_loc": [2153], "fixing_code_start_loc": [207], "message": "FFmpeg before 2.8.12, 3.0.x and 3.1.x before 3.1.9, 3.2.x before 3.2.6, and 3.3.x before 3.3.2 does not properly restrict HTTP Live Streaming filen...
469
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright IBM Corp. 2017 All Rights Reserved.", "SPDX-License-Identifier: Apache-2.0\n*/", "package cluster_test", "import (\n\t\"context\"\n\t\"crypto/rand\"\n\t\"crypto/x509\"\n\t\"fmt\"\n\t\"net\"\n\t\"strings\"\n\t\"sync\"\n\t\"sync/atomic\"\n\t\"testing\"\n\t\"time\"", "\t\"github.com/golang/proto...
[ 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, 0, 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...
PreciseBugs
{"buggy_code_end_loc": [481, 97], "buggy_code_start_loc": [122, 16], "filenames": ["orderer/common/cluster/comm_test.go", "orderer/common/cluster/service.go"], "fixing_code_end_loc": [538, 99], "fixing_code_start_loc": [123, 17], "message": "Hyperledger Fabric is a permissioned distributed ledger framework. In affected...
470
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright IBM Corp. 2017 All Rights Reserved.", "SPDX-License-Identifier: Apache-2.0\n*/", "package cluster_test", "import (\n\t\"context\"\n\t\"crypto/rand\"\n\t\"crypto/x509\"\n\t\"fmt\"\n\t\"net\"\n\t\"strings\"\n\t\"sync\"\n\t\"sync/atomic\"\n\t\"testing\"\n\t\"time\"", "\t\"github.com/golang/proto...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [481, 97], "buggy_code_start_loc": [122, 16], "filenames": ["orderer/common/cluster/comm_test.go", "orderer/common/cluster/service.go"], "fixing_code_end_loc": [538, 99], "fixing_code_start_loc": [123, 17], "message": "Hyperledger Fabric is a permissioned distributed ledger framework. In affected...
470
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright IBM Corp. 2017 All Rights Reserved.", "SPDX-License-Identifier: Apache-2.0\n*/", "package cluster", "import (\n\t\"context\"\n\t\"io\"\n\t\"time\"", "\t\"github.com/hyperledger/fabric-protos-go/orderer\"\n\t\"github.com/hyperledger/fabric/common/flogging\"\n\t\"github.com/hyperledger/fabric/c...
[ 1, 1, 1, 1, 1, 0, 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": [481, 97], "buggy_code_start_loc": [122, 16], "filenames": ["orderer/common/cluster/comm_test.go", "orderer/common/cluster/service.go"], "fixing_code_end_loc": [538, 99], "fixing_code_start_loc": [123, 17], "message": "Hyperledger Fabric is a permissioned distributed ledger framework. In affected...
470
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright IBM Corp. 2017 All Rights Reserved.", "SPDX-License-Identifier: Apache-2.0\n*/", "package cluster", "import (\n\t\"context\"\n\t\"io\"\n\t\"time\"", "\t\"github.com/hyperledger/fabric-protos-go/orderer\"\n\t\"github.com/hyperledger/fabric/common/flogging\"\n\t\"github.com/hyperledger/fabric/c...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [481, 97], "buggy_code_start_loc": [122, 16], "filenames": ["orderer/common/cluster/comm_test.go", "orderer/common/cluster/service.go"], "fixing_code_end_loc": [538, 99], "fixing_code_start_loc": [123, 17], "message": "Hyperledger Fabric is a permissioned distributed ledger framework. In affected...
470
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 * Authors:\tRoss Biro\n *\t\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1370], "buggy_code_start_loc": [1370], "filenames": ["net/ipv4/tcp.c"], "fixing_code_end_loc": [1372], "fixing_code_start_loc": [1371], "message": "The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to...
471
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 * Authors:\tRoss Biro\n *\t\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1370], "buggy_code_start_loc": [1370], "filenames": ["net/ipv4/tcp.c"], "fixing_code_end_loc": [1372], "fixing_code_start_loc": [1371], "message": "The tcp_read_sock function in net/ipv4/tcp.c in the Linux kernel before 2.6.34 does not properly manage skb consumption, which allows local users to...
471
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * elFinder - file manager for web.\n * Core class.\n *\n * @package elfinder\n * @author Dmitry (dio) Levashov\n * @author Troex Nevelin\n * @author Alexey Sukhotin\n **/\nclass elFinder {\n\t\n\t/**\n\t * API version number\n\t *\n\t * @var float\n\t **/\n\tprotected static $ApiVersion = 2.1;\n\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [1630], "buggy_code_start_loc": [1625], "filenames": ["php/elFinder.class.php"], "fixing_code_end_loc": [1634], "fixing_code_start_loc": [1626], "message": "Studio 42 elFinder before 2.1.36 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function that can allow a re...
472
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * elFinder - file manager for web.\n * Core class.\n *\n * @package elfinder\n * @author Dmitry (dio) Levashov\n * @author Troex Nevelin\n * @author Alexey Sukhotin\n **/\nclass elFinder {\n\t\n\t/**\n\t * API version number\n\t *\n\t * @var float\n\t **/\n\tprotected static $ApiVersion = 2.1;\n\t...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1630], "buggy_code_start_loc": [1625], "filenames": ["php/elFinder.class.php"], "fixing_code_end_loc": [1634], "fixing_code_start_loc": [1626], "message": "Studio 42 elFinder before 2.1.36 has a directory traversal vulnerability in elFinder.class.php with the zipdl() function that can allow a re...
472
Determine whether the {function_name} code is vulnerable or not.
[ "import { platform, arch } from 'os'\nimport { platformArchTriples } from '@napi-rs/triples'", "import Log from '../output/log'", "\nconst ArchName = arch()\nconst PlatformName = platform()\nconst triples = platformArchTriples[PlatformName][ArchName] || []", "async function loadBindings() {\n return (await l...
[ 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": [4, 562, 29], "buggy_code_start_loc": [3, 362, 4], "filenames": ["packages/next/build/swc/index.js", "packages/next/server/next-server.ts", "test/integration/production/test/security.js"], "fixing_code_end_loc": [4, 570, 57], "fixing_code_start_loc": [3, 362, 5], "message": "Next.js is a React fr...
473
Determine whether the {function_name} code is vulnerable or not.
[ "import { platform, arch } from 'os'\nimport { platformArchTriples } from '@napi-rs/triples'", "import * as Log from '../output/log'", "\nconst ArchName = arch()\nconst PlatformName = platform()\nconst triples = platformArchTriples[PlatformName][ArchName] || []", "async function loadBindings() {\n return (aw...
[ 1, 1, 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": [4, 562, 29], "buggy_code_start_loc": [3, 362, 4], "filenames": ["packages/next/build/swc/index.js", "packages/next/server/next-server.ts", "test/integration/production/test/security.js"], "fixing_code_end_loc": [4, 570, 57], "fixing_code_start_loc": [3, 362, 5], "message": "Next.js is a React fr...
473
Determine whether the {function_name} code is vulnerable or not.
[ "import type { __ApiPreviewProps } from './api-utils'\nimport type { CustomRoutes, Header } from '../lib/load-custom-routes'\nimport type { DomainLocale } from './config'\nimport type { DynamicRoutes, PageChecker, Params, Route } from './router'\nimport type { FetchEventResult } from './web/types'\nimport type { Fo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
PreciseBugs
{"buggy_code_end_loc": [4, 562, 29], "buggy_code_start_loc": [3, 362, 4], "filenames": ["packages/next/build/swc/index.js", "packages/next/server/next-server.ts", "test/integration/production/test/security.js"], "fixing_code_end_loc": [4, 570, 57], "fixing_code_start_loc": [3, 362, 5], "message": "Next.js is a React fr...
473
Determine whether the {function_name} code is vulnerable or not.
[ "import type { __ApiPreviewProps } from './api-utils'\nimport type { CustomRoutes, Header } from '../lib/load-custom-routes'\nimport type { DomainLocale } from './config'\nimport type { DynamicRoutes, PageChecker, Params, Route } from './router'\nimport type { FetchEventResult } from './web/types'\nimport type { Fo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [4, 562, 29], "buggy_code_start_loc": [3, 362, 4], "filenames": ["packages/next/build/swc/index.js", "packages/next/server/next-server.ts", "test/integration/production/test/security.js"], "fixing_code_end_loc": [4, 570, 57], "fixing_code_start_loc": [3, 362, 5], "message": "Next.js is a React fr...
473
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint-env jest */\n/* global browserName */\nimport webdriver from 'next-webdriver'\nimport { readFileSync } from 'fs'", "", "import url from 'url'\nimport { join } from 'path'\nimport {\n renderViaHTTP,\n getBrowserBodyText,\n waitFor,\n fetchViaHTTP,\n} from 'next-test-utils'\nimport { recursiveReadD...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [4, 562, 29], "buggy_code_start_loc": [3, 362, 4], "filenames": ["packages/next/build/swc/index.js", "packages/next/server/next-server.ts", "test/integration/production/test/security.js"], "fixing_code_end_loc": [4, 570, 57], "fixing_code_start_loc": [3, 362, 5], "message": "Next.js is a React fr...
473
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint-env jest */\n/* global browserName */\nimport webdriver from 'next-webdriver'\nimport { readFileSync } from 'fs'", "import http from 'http'", "import url from 'url'\nimport { join } from 'path'\nimport {\n renderViaHTTP,\n getBrowserBodyText,\n waitFor,\n fetchViaHTTP,\n} from 'next-test-utils'\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 ]
PreciseBugs
{"buggy_code_end_loc": [4, 562, 29], "buggy_code_start_loc": [3, 362, 4], "filenames": ["packages/next/build/swc/index.js", "packages/next/server/next-server.ts", "test/integration/production/test/security.js"], "fixing_code_end_loc": [4, 570, 57], "fixing_code_start_loc": [3, 362, 5], "message": "Next.js is a React fr...
473
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * set of functions with the Privileges section in pma\n *\n * @package PhpMyAdmin\n */\nuse PMA\\libraries\\DatabaseInterface;\nuse PMA\\libraries\\Message;\nuse PMA\\libraries\\Template;\nuse PMA\\libraries\\Util;", "/**\n * Get Html for User Group Dialog\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [850], "buggy_code_start_loc": [809], "filenames": ["libraries/server_privileges.lib.php"], "fixing_code_end_loc": [850], "fixing_code_start_loc": [809], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.4.x before 4.4.15.7 and 4.6.x before 4.6.3 allow remote attacke...
474
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/* vim: set expandtab sw=4 ts=4 sts=4: */\n/**\n * set of functions with the Privileges section in pma\n *\n * @package PhpMyAdmin\n */\nuse PMA\\libraries\\DatabaseInterface;\nuse PMA\\libraries\\Message;\nuse PMA\\libraries\\Template;\nuse PMA\\libraries\\Util;", "/**\n * Get Html for User Group Dialog\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [850], "buggy_code_start_loc": [809], "filenames": ["libraries/server_privileges.lib.php"], "fixing_code_end_loc": [850], "fixing_code_start_loc": [809], "message": "Multiple cross-site scripting (XSS) vulnerabilities in phpMyAdmin 4.4.x before 4.4.15.7 and 4.6.x before 4.6.3 allow remote attacke...
474
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The copyright in this software is being made available under the 2-clauses\n * BSD License, included below. This software may be subject to other third\n * party and contributor rights, including patent rights, and no such rights\n * are granted under this license.\n *\n * Copyright (c) 2002-2014, Universit...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1187], "buggy_code_start_loc": [1185], "filenames": ["src/lib/openjp2/tcd.c"], "fixing_code_end_loc": [1188], "fixing_code_start_loc": [1185], "message": "Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a...
475
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * The copyright in this software is being made available under the 2-clauses\n * BSD License, included below. This software may be subject to other third\n * party and contributor rights, including patent rights, and no such rights\n * are granted under this license.\n *\n * Copyright (c) 2002-2014, Universit...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1187], "buggy_code_start_loc": [1185], "filenames": ["src/lib/openjp2/tcd.c"], "fixing_code_end_loc": [1188], "fixing_code_start_loc": [1185], "message": "Heap-based buffer overflow vulnerability in the opj_mqc_byteout function in mqc.c in OpenJPEG before 2.2.0 allows remote attackers to cause a...
475
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * plist.c\n * XML plist implementation\n *\n * Copyright (c) 2008 Jonathan Beck All Rights Reserved.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [566], "buggy_code_start_loc": [31], "filenames": ["src/xplist.c"], "fixing_code_end_loc": [578], "fixing_code_start_loc": [32], "message": "A vulnerability classified as problematic has been found in UIKit0 libplist 1.12. This affects the function plist_from_xml of the file src/xplist.c of the c...
476
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * plist.c\n * XML plist implementation\n *\n * Copyright (c) 2008 Jonathan Beck All Rights Reserved.\n *\n * This library is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Free Software Foundation; either\n * version...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [566], "buggy_code_start_loc": [31], "filenames": ["src/xplist.c"], "fixing_code_end_loc": [578], "fixing_code_start_loc": [32], "message": "A vulnerability classified as problematic has been found in UIKit0 libplist 1.12. This affects the function plist_from_xml of the file src/xplist.c of the c...
476
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Administration API: Core Ajax handlers\n *\n * @package WordPress\n * @subpackage Administration\n * @since 2.1.0\n */", "//\n// No-privilege Ajax handlers.\n//", "/**\n * Ajax handler for the Heartbeat API in\n * the no-privilege context.\n *\n * Runs when the user is not logged in.\n *\n * @si...
[ 1, 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [201, 1812, 8], "buggy_code_start_loc": [199, 1791, 7], "filenames": ["wp-admin/includes/ajax-actions.php", "wp-admin/includes/template.php", "wp-includes/version.php"], "fixing_code_end_loc": [204, 1813, 8], "fixing_code_start_loc": [200, 1792, 7], "message": "Cross-site request forgery (CSRF) v...
477
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Administration API: Core Ajax handlers\n *\n * @package WordPress\n * @subpackage Administration\n * @since 2.1.0\n */", "//\n// No-privilege Ajax handlers.\n//", "/**\n * Ajax handler for the Heartbeat API in\n * the no-privilege context.\n *\n * Runs when the user is not logged in.\n *\n * @si...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [201, 1812, 8], "buggy_code_start_loc": [199, 1791, 7], "filenames": ["wp-admin/includes/ajax-actions.php", "wp-admin/includes/template.php", "wp-includes/version.php"], "fixing_code_end_loc": [204, 1813, 8], "fixing_code_start_loc": [200, 1792, 7], "message": "Cross-site request forgery (CSRF) v...
477
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Template WordPress Administration API.\n *\n * A Big Mess. Also some neat functions that are nicely written.\n *\n * @package WordPress\n * @subpackage Administration\n */", "/** Walker_Category_Checklist class */\nrequire_once( ABSPATH . 'wp-admin/includes/class-walker-category-checklist.php' );"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [201, 1812, 8], "buggy_code_start_loc": [199, 1791, 7], "filenames": ["wp-admin/includes/ajax-actions.php", "wp-admin/includes/template.php", "wp-includes/version.php"], "fixing_code_end_loc": [204, 1813, 8], "fixing_code_start_loc": [200, 1792, 7], "message": "Cross-site request forgery (CSRF) v...
477
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * Template WordPress Administration API.\n *\n * A Big Mess. Also some neat functions that are nicely written.\n *\n * @package WordPress\n * @subpackage Administration\n */", "/** Walker_Category_Checklist class */\nrequire_once( ABSPATH . 'wp-admin/includes/class-walker-category-checklist.php' );"...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [201, 1812, 8], "buggy_code_start_loc": [199, 1791, 7], "filenames": ["wp-admin/includes/ajax-actions.php", "wp-admin/includes/template.php", "wp-includes/version.php"], "fixing_code_end_loc": [204, 1813, 8], "fixing_code_start_loc": [200, 1792, 7], "message": "Cross-site request forgery (CSRF) v...
477
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The WordPress version string\n *\n * @global string $wp_version\n */", "$wp_version = '4.5-RC1-37135';", "\n/**\n * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.\n *\n * @global int $wp_db_version\n */\n$wp_db_version = 36686;", "/**\n * Holds th...
[ 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [201, 1812, 8], "buggy_code_start_loc": [199, 1791, 7], "filenames": ["wp-admin/includes/ajax-actions.php", "wp-admin/includes/template.php", "wp-includes/version.php"], "fixing_code_end_loc": [204, 1813, 8], "fixing_code_start_loc": [200, 1792, 7], "message": "Cross-site request forgery (CSRF) v...
477
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n * The WordPress version string\n *\n * @global string $wp_version\n */", "$wp_version = '4.5-RC1-37143';", "\n/**\n * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.\n *\n * @global int $wp_db_version\n */\n$wp_db_version = 36686;", "/**\n * Holds th...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [201, 1812, 8], "buggy_code_start_loc": [199, 1791, 7], "filenames": ["wp-admin/includes/ajax-actions.php", "wp-admin/includes/template.php", "wp-includes/version.php"], "fixing_code_end_loc": [204, 1813, 8], "fixing_code_start_loc": [200, 1792, 7], "message": "Cross-site request forgery (CSRF) v...
477
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2009-2012 10gen, 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 agreed...
[ 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, 1...
PreciseBugs
{"buggy_code_end_loc": [154, 1207, 1676], "buggy_code_start_loc": [153, 1205, 32], "filenames": ["bson/__init__.py", "bson/_cbsonmodule.c", "test/test_collection.py"], "fixing_code_end_loc": [154, 1213, 1703], "fixing_code_start_loc": [153, 1205, 33], "message": "bson/_cbsonmodule.c in the mongo-python-driver (aka. pym...
478
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2009-2012 10gen, 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 agreed...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [154, 1207, 1676], "buggy_code_start_loc": [153, 1205, 32], "filenames": ["bson/__init__.py", "bson/_cbsonmodule.c", "test/test_collection.py"], "fixing_code_end_loc": [154, 1213, 1703], "fixing_code_start_loc": [153, 1205, 33], "message": "bson/_cbsonmodule.c in the mongo-python-driver (aka. pym...
478
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2009-2012 10gen, 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 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [154, 1207, 1676], "buggy_code_start_loc": [153, 1205, 32], "filenames": ["bson/__init__.py", "bson/_cbsonmodule.c", "test/test_collection.py"], "fixing_code_end_loc": [154, 1213, 1703], "fixing_code_start_loc": [153, 1205, 33], "message": "bson/_cbsonmodule.c in the mongo-python-driver (aka. pym...
478
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright 2009-2012 10gen, 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 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [154, 1207, 1676], "buggy_code_start_loc": [153, 1205, 32], "filenames": ["bson/__init__.py", "bson/_cbsonmodule.c", "test/test_collection.py"], "fixing_code_end_loc": [154, 1213, 1703], "fixing_code_start_loc": [153, 1205, 33], "message": "bson/_cbsonmodule.c in the mongo-python-driver (aka. pym...
478
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-", "# Copyright 2009-2012 10gen, 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 require...
[ 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, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [154, 1207, 1676], "buggy_code_start_loc": [153, 1205, 32], "filenames": ["bson/__init__.py", "bson/_cbsonmodule.c", "test/test_collection.py"], "fixing_code_end_loc": [154, 1213, 1703], "fixing_code_start_loc": [153, 1205, 33], "message": "bson/_cbsonmodule.c in the mongo-python-driver (aka. pym...
478
Determine whether the {function_name} code is vulnerable or not.
[ "# -*- coding: utf-8 -*-", "# Copyright 2009-2012 10gen, 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 require...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [154, 1207, 1676], "buggy_code_start_loc": [153, 1205, 32], "filenames": ["bson/__init__.py", "bson/_cbsonmodule.c", "test/test_collection.py"], "fixing_code_end_loc": [154, 1213, 1703], "fixing_code_start_loc": [153, 1205, 33], "message": "bson/_cbsonmodule.c in the mongo-python-driver (aka. pym...
478
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nApp::uses('AppController', 'Controller');\n/**\n * Logs Controller\n *\n * @property Log $Log\n * @property PaginatorComponent $Paginator\n */\nclass LogsController extends AppController {", "/**\n * Components\n *\n * @var array\n */\n\tpublic $components = array('Paginator', 'RequestHandler');\n\tpublic...
[ 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [93], "buggy_code_start_loc": [21], "filenames": ["web/api/app/Controller/LogsController.php"], "fixing_code_end_loc": [123], "fixing_code_start_loc": [22], "message": "ZoneMinder is a free, open source Closed-circuit television software application. Affected versions of zoneminder are subject to...
479
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\nApp::uses('AppController', 'Controller');\n/**\n * Logs Controller\n *\n * @property Log $Log\n * @property PaginatorComponent $Paginator\n */\nclass LogsController extends AppController {", "/**\n * Components\n *\n * @var array\n */\n\tpublic $components = array('Paginator', 'RequestHandler');\n\tpublic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [93], "buggy_code_start_loc": [21], "filenames": ["web/api/app/Controller/LogsController.php"], "fixing_code_end_loc": [123], "fixing_code_start_loc": [22], "message": "ZoneMinder is a free, open source Closed-circuit television software application. Affected versions of zoneminder are subject to...
479
Determine whether the {function_name} code is vulnerable or not.
[ "var dns = require('dns'),\n net = require('net'),\n os = require('os'),\n\tasync = require('async');", "module.exports = function (email, callback, timeout, from_email) {\n\ttimeout = timeout || 5000;\n\tfrom_email = from_email || email;", "", "\tif (!/^\\S+@\\S+$/.test(email)) {\n\t\tcallback(null, fa...
[ 1, 1, 0, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12], "buggy_code_start_loc": [8], "filenames": ["index.js"], "fixing_code_end_loc": [25], "fixing_code_start_loc": [9], "message": "A vulnerability was found in email-existence. It has been rated as problematic. Affected by this issue is some unknown functionality of the file index.js. The manip...
480
Determine whether the {function_name} code is vulnerable or not.
[ "var dns = require('dns'),\n net = require('net'),\n os = require('os'),\n\tasync = require('async');", "module.exports = function (email, callback, timeout, from_email) {\n\ttimeout = timeout || 5000;\n\tfrom_email = from_email || email;", "\n\t/* Does it look like a valid email? */", "\t/* Our email r...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [12], "buggy_code_start_loc": [8], "filenames": ["index.js"], "fixing_code_end_loc": [25], "fixing_code_start_loc": [9], "message": "A vulnerability was found in email-existence. It has been rated as problematic. Affected by this issue is some unknown functionality of the file index.js. The manip...
480
Determine whether the {function_name} code is vulnerable or not.
[ "// node-pdf", "var Promise = require(\"es6-promise\").Promise;", "var path = require(\"path\");\nvar fs = require(\"fs\");\nvar util = require(\"util\");", "var exec = require(\"child_process\").exec;", "\nfunction PDFImage(pdfFilePath, options) {\n if (!options) options = {};", " this.pdfFilePath = ...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [217, 15, 152], "buggy_code_start_loc": [8, 14, 48], "filenames": ["index.js", "package.json", "tests/test-main.js"], "fixing_code_end_loc": [219, 16, 175], "fixing_code_start_loc": [8, 14, 48], "message": "Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.", "othe...
481
Determine whether the {function_name} code is vulnerable or not.
[ "// node-pdf", "var Promise = require(\"es6-promise\").Promise;", "var path = require(\"path\");\nvar fs = require(\"fs\");\nvar util = require(\"util\");", "var spawn = require(\"child-process-promise\").spawn;", "\nfunction PDFImage(pdfFilePath, options) {\n if (!options) options = {};", " this.pdfF...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [217, 15, 152], "buggy_code_start_loc": [8, 14, 48], "filenames": ["index.js", "package.json", "tests/test-main.js"], "fixing_code_end_loc": [219, 16, 175], "fixing_code_start_loc": [8, 14, 48], "message": "Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.", "othe...
481
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"pdf-image\",\n \"version\": \"2.0.0\",\n \"main\": \"index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/mooz/node-pdf-image.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/mooz/node-pdf-image/issues\"\n },\n \"homepage\": \"https://github....
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [217, 15, 152], "buggy_code_start_loc": [8, 14, 48], "filenames": ["index.js", "package.json", "tests/test-main.js"], "fixing_code_end_loc": [219, 16, 175], "fixing_code_start_loc": [8, 14, 48], "message": "Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.", "othe...
481
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"pdf-image\",\n \"version\": \"2.0.0\",\n \"main\": \"index.js\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/mooz/node-pdf-image.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/mooz/node-pdf-image/issues\"\n },\n \"homepage\": \"https://github....
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [217, 15, 152], "buggy_code_start_loc": [8, 14, 48], "filenames": ["index.js", "package.json", "tests/test-main.js"], "fixing_code_end_loc": [219, 16, 175], "fixing_code_start_loc": [8, 14, 48], "message": "Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.", "othe...
481
Determine whether the {function_name} code is vulnerable or not.
[ "let expect = require(\"chai\").expect;\nlet fs = require(\"fs\");", "let PDFImage = require(\"../\").PDFImage;", "describe(\"PDFImage\", function () {\n let pdfPath = \"/tmp/test.pdf\";\n let pdfImage;\n let generatedFiles = [];\n this.timeout(7000);", " before(function(done){\n fs.createReadStre...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [217, 15, 152], "buggy_code_start_loc": [8, 14, 48], "filenames": ["index.js", "package.json", "tests/test-main.js"], "fixing_code_end_loc": [219, 16, 175], "fixing_code_start_loc": [8, 14, 48], "message": "Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.", "othe...
481
Determine whether the {function_name} code is vulnerable or not.
[ "let expect = require(\"chai\").expect;\nlet fs = require(\"fs\");", "let PDFImage = require(\"../\").PDFImage;", "describe(\"PDFImage\", function () {\n let pdfPath = \"/tmp/test.pdf\";\n let pdfImage;\n let generatedFiles = [];\n this.timeout(7000);", " before(function(done){\n fs.createReadStre...
[ 1, 1, 1, 1, 1, 1, 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": [217, 15, 152], "buggy_code_start_loc": [8, 14, 48], "filenames": ["index.js", "package.json", "tests/test-main.js"], "fixing_code_end_loc": [219, 16, 175], "fixing_code_start_loc": [8, 14, 48], "message": "Command injection exists in pdf-image v2.0.0 due to an unescaped string parameter.", "othe...
481
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Linux Socket Filter - Kernel level socket filtering\n *\n * Based on the design of the Berkeley Packet Filter. The new\n * internal format has been designed by PLUMgrid:\n *\n *\tCopyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com\n *\n * Authors:\n *\n *\tJay Schulist <jschlst@samba.org>\n *\tAlexei St...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [626], "buggy_code_start_loc": [602], "filenames": ["net/core/filter.c"], "fixing_code_end_loc": [632], "fixing_code_start_loc": [603], "message": "The BPF_S_ANC_NLATTR_NEST extension implementation in the sk_run_filter function in net/core/filter.c in the Linux kernel through 3.14.3 uses the rev...
482
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Linux Socket Filter - Kernel level socket filtering\n *\n * Based on the design of the Berkeley Packet Filter. The new\n * internal format has been designed by PLUMgrid:\n *\n *\tCopyright (c) 2011 - 2014 PLUMgrid, http://plumgrid.com\n *\n * Authors:\n *\n *\tJay Schulist <jschlst@samba.org>\n *\tAlexei St...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [626], "buggy_code_start_loc": [602], "filenames": ["net/core/filter.c"], "fixing_code_end_loc": [632], "fixing_code_start_loc": [603], "message": "The BPF_S_ANC_NLATTR_NEST extension implementation in the sk_run_filter function in net/core/filter.c in the Linux kernel through 3.14.3 uses the rev...
482
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * via parsing automaton\n *\n * Copyright (C) 2001-2003 FhG Fokus\n *\n * This file is part of opensips, a free SIP server.\n *\n * opensips is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either...
[ 1, 1, 1, 1, 1, 1, 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": [1808], "buggy_code_start_loc": [1807], "filenames": ["parser/parse_via.c"], "fixing_code_end_loc": [1806], "fixing_code_start_loc": [1806], "message": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, sending a malformed `Via` header to Op...
483
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * via parsing automaton\n *\n * Copyright (C) 2001-2003 FhG Fokus\n *\n * This file is part of opensips, a free SIP server.\n *\n * opensips is free software; you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation; either...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [1808], "buggy_code_start_loc": [1807], "filenames": ["parser/parse_via.c"], "fixing_code_end_loc": [1806], "fixing_code_start_loc": [1806], "message": "OpenSIPS is a Session Initiation Protocol (SIP) server implementation. Prior to versions 3.1.7 and 3.2.4, sending a malformed `Via` header to Op...
483
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.crypto.signers;", "import java.math.BigInteger;\nimport java.security.SecureRandom;", "import org.bouncycastle.crypto.CipherParameters;\nimport org.bouncycastle.crypto.DSA;\nimport org.bouncycastle.crypto.params.DSAKeyParameters;\nimport org.bouncycastle.crypto.params.DSAParameters;\ni...
[ 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, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [165, 655, 690], "buggy_code_start_loc": [98, 47, 689], "filenames": ["core/src/main/java/org/bouncycastle/crypto/signers/DSASigner.java", "core/src/test/java/org/bouncycastle/crypto/test/DSATest.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": ...
484
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.crypto.signers;", "import java.math.BigInteger;\nimport java.security.SecureRandom;", "import org.bouncycastle.crypto.CipherParameters;\nimport org.bouncycastle.crypto.DSA;\nimport org.bouncycastle.crypto.params.DSAKeyParameters;\nimport org.bouncycastle.crypto.params.DSAParameters;\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 ]
PreciseBugs
{"buggy_code_end_loc": [165, 655, 690], "buggy_code_start_loc": [98, 47, 689], "filenames": ["core/src/main/java/org/bouncycastle/crypto/signers/DSASigner.java", "core/src/test/java/org/bouncycastle/crypto/test/DSATest.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": ...
484
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.crypto.test;", "import java.math.BigInteger;\nimport java.security.SecureRandom;", "import org.bouncycastle.asn1.ASN1Integer;\nimport org.bouncycastle.asn1.ASN1Sequence;\nimport org.bouncycastle.crypto.AsymmetricCipherKeyPair;\nimport org.bouncycastle.crypto.digests.SHA224Digest;\nimpo...
[ 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, 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, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [165, 655, 690], "buggy_code_start_loc": [98, 47, 689], "filenames": ["core/src/main/java/org/bouncycastle/crypto/signers/DSASigner.java", "core/src/test/java/org/bouncycastle/crypto/test/DSATest.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": ...
484
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.crypto.test;", "import java.math.BigInteger;\nimport java.security.SecureRandom;", "import org.bouncycastle.asn1.ASN1Integer;\nimport org.bouncycastle.asn1.ASN1Sequence;\nimport org.bouncycastle.crypto.AsymmetricCipherKeyPair;\nimport org.bouncycastle.crypto.digests.SHA224Digest;\nimpo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 655, 690], "buggy_code_start_loc": [98, 47, 689], "filenames": ["core/src/main/java/org/bouncycastle/crypto/signers/DSASigner.java", "core/src/test/java/org/bouncycastle/crypto/test/DSATest.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": ...
484
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.jce.provider.test;", "import java.io.ByteArrayInputStream;\nimport java.io.ByteArrayOutputStream;\nimport java.io.IOException;\nimport java.io.ObjectInputStream;\nimport java.io.ObjectOutputStream;\nimport java.math.BigInteger;\nimport java.security.AlgorithmParameterGenerator;\nimport j...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 655, 690], "buggy_code_start_loc": [98, 47, 689], "filenames": ["core/src/main/java/org/bouncycastle/crypto/signers/DSASigner.java", "core/src/test/java/org/bouncycastle/crypto/test/DSATest.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": ...
484
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.jce.provider.test;", "import java.io.ByteArrayInputStream;\nimport java.io.ByteArrayOutputStream;\nimport java.io.IOException;\nimport java.io.ObjectInputStream;\nimport java.io.ObjectOutputStream;\nimport java.math.BigInteger;\nimport java.security.AlgorithmParameterGenerator;\nimport j...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [165, 655, 690], "buggy_code_start_loc": [98, 47, 689], "filenames": ["core/src/main/java/org/bouncycastle/crypto/signers/DSASigner.java", "core/src/test/java/org/bouncycastle/crypto/test/DSATest.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": ...
484
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, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [377, 632], "buggy_code_start_loc": [22, 127], "filenames": ["tensorflow/core/kernels/fractional_max_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_max_pool_op_test.py"], "fixing_code_end_loc": [381, 656], "fixing_code_start_loc": [21, 127], "message": "TensorFlow is an open sourc...
485
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 ]
PreciseBugs
{"buggy_code_end_loc": [377, 632], "buggy_code_start_loc": [22, 127], "filenames": ["tensorflow/core/kernels/fractional_max_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_max_pool_op_test.py"], "fixing_code_end_loc": [381, 656], "fixing_code_start_loc": [21, 127], "message": "TensorFlow is an open sourc...
485
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 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, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [377, 632], "buggy_code_start_loc": [22, 127], "filenames": ["tensorflow/core/kernels/fractional_max_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_max_pool_op_test.py"], "fixing_code_end_loc": [381, 656], "fixing_code_start_loc": [21, 127], "message": "TensorFlow is an open sourc...
485
Determine whether the {function_name} code is vulnerable or not.
[ "# Copyright 2016 The TensorFlow Authors. All Rights Reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n#\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless requ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [377, 632], "buggy_code_start_loc": [22, 127], "filenames": ["tensorflow/core/kernels/fractional_max_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_max_pool_op_test.py"], "fixing_code_end_loc": [381, 656], "fixing_code_start_loc": [21, 127], "message": "TensorFlow is an open sourc...
485
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh", "", "\n# checkout the master branch to $GL_ADMINDIR\n# (the GL_ADMINDIR env var would have been set by gl-auth-command)", "GIT_WORK_TREE=$GL_ADMINDIR git checkout -f master -- \\\n `git ls-tree --name-only master | perl -lne 'print unless /^(src|hooks)$/'`", "\nod=$PWD\ncd $GL_ADMINDIR\n$GL_...
[ 1, 0, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [7], "buggy_code_start_loc": [1], "filenames": ["hooks/gitolite-admin/post-update"], "fixing_code_end_loc": [15], "fixing_code_start_loc": [2], "message": "gitolite before 1.4.1 does not filter src/ or hooks/ from path names.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cis...
486
Determine whether the {function_name} code is vulnerable or not.
[ "#!/bin/sh", "\n# ensure that the admin is not sneaking in src/ and hooks/ :)\nGIT_WORK_TREE=$GL_ADMINDIR git ls-tree --name-only master |\n perl -lne 'exit 1 if /^(src|hooks)$/' || {\n echo \"*** ERROR ***\" >&2\n echo \"no files/dirs called 'src' or 'hooks' are allowed, sorry\" >&2\n ech...
[ 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [7], "buggy_code_start_loc": [1], "filenames": ["hooks/gitolite-admin/post-update"], "fixing_code_end_loc": [15], "fixing_code_start_loc": [2], "message": "gitolite before 1.4.1 does not filter src/ or hooks/ from path names.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cis...
486
Determine whether the {function_name} code is vulnerable or not.
[ "import base64\nimport logging", "", "import warnings\nfrom builtins import bytes", "\nfrom django_ses.deprecation import RemovedInDjangoSES20Warning\n", "from urllib.parse import urlparse\nfrom urllib.request import urlopen", "from urllib.error import URLError", "\nfrom django.core.exceptions import Im...
[ 1, 0, 1, 0, 1, 0, 1, 0, 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, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [290], "buggy_code_start_loc": [2], "filenames": ["django_ses/utils.py"], "fixing_code_end_loc": [308], "fixing_code_start_loc": [3], "message": "Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The librar...
487
Determine whether the {function_name} code is vulnerable or not.
[ "import base64\nimport logging", "import re", "import warnings\nfrom builtins import bytes", "from urllib.error import URLError", "from urllib.parse import urlparse\nfrom urllib.request import urlopen", "", "\nfrom django.core.exceptions import ImproperlyConfigured", "", "from django_ses import sett...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [290], "buggy_code_start_loc": [2], "filenames": ["django_ses/utils.py"], "fixing_code_end_loc": [308], "fixing_code_start_loc": [3], "message": "Django-SES is a drop-in mail backend for Django. The django_ses library implements a mail backend for Django using AWS Simple Email Service. The librar...
487
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.jcajce.provider.asymmetric.dsa;", "import java.io.IOException;\nimport java.math.BigInteger;\nimport java.security.InvalidKeyException;\nimport java.security.PrivateKey;\nimport java.security.PublicKey;\nimport java.security.SecureRandom;\nimport java.security.SignatureException;\nimport...
[ 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, 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": [181, 1225], "buggy_code_start_loc": [11, 72], "filenames": ["prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/DSASigner.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": [184, 1331], "fixing_code_start_loc": [10, 73], "message"...
488
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.jcajce.provider.asymmetric.dsa;", "import java.io.IOException;\nimport java.math.BigInteger;\nimport java.security.InvalidKeyException;\nimport java.security.PrivateKey;\nimport java.security.PublicKey;\nimport java.security.SecureRandom;\nimport java.security.SignatureException;\nimport...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1225], "buggy_code_start_loc": [11, 72], "filenames": ["prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/DSASigner.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": [184, 1331], "fixing_code_start_loc": [10, 73], "message"...
488
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.jce.provider.test;", "import java.io.ByteArrayInputStream;\nimport java.io.ByteArrayOutputStream;\nimport java.io.IOException;\nimport java.io.ObjectInputStream;\nimport java.io.ObjectOutputStream;\nimport java.math.BigInteger;\nimport java.security.AlgorithmParameterGenerator;\nimport j...
[ 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, 1...
PreciseBugs
{"buggy_code_end_loc": [181, 1225], "buggy_code_start_loc": [11, 72], "filenames": ["prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/DSASigner.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": [184, 1331], "fixing_code_start_loc": [10, 73], "message"...
488
Determine whether the {function_name} code is vulnerable or not.
[ "package org.bouncycastle.jce.provider.test;", "import java.io.ByteArrayInputStream;\nimport java.io.ByteArrayOutputStream;\nimport java.io.IOException;\nimport java.io.ObjectInputStream;\nimport java.io.ObjectOutputStream;\nimport java.math.BigInteger;\nimport java.security.AlgorithmParameterGenerator;\nimport j...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1225], "buggy_code_start_loc": [11, 72], "filenames": ["prov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/dsa/DSASigner.java", "prov/src/test/java/org/bouncycastle/jce/provider/test/DSATest.java"], "fixing_code_end_loc": [184, 1331], "fixing_code_start_loc": [10, 73], "message"...
488
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * NSV demuxer\n * Copyright (c) 2004 The FFmpeg Project\n *\n * first version by Francois Revol <revol@free.fr>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Fr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [339], "buggy_code_start_loc": [338], "filenames": ["libavformat/nsvdec.c"], "fixing_code_end_loc": [343], "fixing_code_start_loc": [338], "message": "In libavformat/nsvdec.c in FFmpeg 2.4 and 3.3.3, a DoS in nsv_parse_NSVf_header() due to lack of an EOF (End of File) check might cause huge CPU c...
489
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * NSV demuxer\n * Copyright (c) 2004 The FFmpeg Project\n *\n * first version by Francois Revol <revol@free.fr>\n *\n * This file is part of FFmpeg.\n *\n * FFmpeg is free software; you can redistribute it and/or\n * modify it under the terms of the GNU Lesser General Public\n * License as published by the Fr...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [339], "buggy_code_start_loc": [338], "filenames": ["libavformat/nsvdec.c"], "fixing_code_end_loc": [343], "fixing_code_start_loc": [338], "message": "In libavformat/nsvdec.c in FFmpeg 2.4 and 3.3.3, a DoS in nsv_parse_NSVf_header() due to lack of an EOF (End of File) check might cause huge CPU c...
489
Determine whether the {function_name} code is vulnerable or not.
[ "# HTTP Server", "Ramsey Kant\nhttps://github.com/RamseyK/httpserver\n", "A high performance, single threaded, HTTP server written in C++ to serve as a kqueue socket management and HTTP protocol learning tool", "\n## Features\n* Clean, documented code\n* Efficient socket management with kqueue\n* Easy to unde...
[ 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [13, 444, 185], "buggy_code_start_loc": [6, 443, 185], "filenames": ["README.md", "src/HTTPServer.cpp", "src/ResourceHost.cpp"], "fixing_code_end_loc": [17, 444, 189], "fixing_code_start_loc": [6, 443, 186], "message": "A vulnerability was found in RamseyK httpserver. It has been rated as critica...
490
Determine whether the {function_name} code is vulnerable or not.
[ "# HTTP Server", "Ramsey Kant\nhttps://github.com/RamseyK/httpserver\n", "A high performance, single threaded, HTTP server written in C++ to serve as a kqueue socket management and HTTP protocol learning tool on BSD systems", "\n## Features\n* Clean, documented code\n* Efficient socket management with kqueue\...
[ 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [13, 444, 185], "buggy_code_start_loc": [6, 443, 185], "filenames": ["README.md", "src/HTTPServer.cpp", "src/ResourceHost.cpp"], "fixing_code_end_loc": [17, 444, 189], "fixing_code_start_loc": [6, 443, 186], "message": "A vulnerability was found in RamseyK httpserver. It has been rated as critica...
490
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n\thttpserver\n\tHTTPServer.cpp\n\tCopyright 2011-2019 Ramsey Kant", "\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at", "\t http://www.apache.org/licenses/LICENSE-2.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, 1...
PreciseBugs
{"buggy_code_end_loc": [13, 444, 185], "buggy_code_start_loc": [6, 443, 185], "filenames": ["README.md", "src/HTTPServer.cpp", "src/ResourceHost.cpp"], "fixing_code_end_loc": [17, 444, 189], "fixing_code_start_loc": [6, 443, 186], "message": "A vulnerability was found in RamseyK httpserver. It has been rated as critica...
490
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n\thttpserver\n\tHTTPServer.cpp\n\tCopyright 2011-2019 Ramsey Kant", "\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at", "\t http://www.apache.org/licenses/LICENSE-2.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, 1...
PreciseBugs
{"buggy_code_end_loc": [13, 444, 185], "buggy_code_start_loc": [6, 443, 185], "filenames": ["README.md", "src/HTTPServer.cpp", "src/ResourceHost.cpp"], "fixing_code_end_loc": [17, 444, 189], "fixing_code_start_loc": [6, 443, 186], "message": "A vulnerability was found in RamseyK httpserver. It has been rated as critica...
490
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n\thttpserver\n\tResourceHost.cpp\n\tCopyright 2011-2019 Ramsey Kant", "\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at", "\t http://www.apache.org/licenses/LICENSE-2.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, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [13, 444, 185], "buggy_code_start_loc": [6, 443, 185], "filenames": ["README.md", "src/HTTPServer.cpp", "src/ResourceHost.cpp"], "fixing_code_end_loc": [17, 444, 189], "fixing_code_start_loc": [6, 443, 186], "message": "A vulnerability was found in RamseyK httpserver. It has been rated as critica...
490
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n\thttpserver\n\tResourceHost.cpp\n\tCopyright 2011-2019 Ramsey Kant", "\tLicensed under the Apache License, Version 2.0 (the \"License\");\n\tyou may not use this file except in compliance with the License.\n\tYou may obtain a copy of the License at", "\t http://www.apache.org/licenses/LICENSE-2.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": [13, 444, 185], "buggy_code_start_loc": [6, 443, 185], "filenames": ["README.md", "src/HTTPServer.cpp", "src/ResourceHost.cpp"], "fixing_code_end_loc": [17, 444, 189], "fixing_code_start_loc": [6, 443, 186], "message": "A vulnerability was found in RamseyK httpserver. It has been rated as critica...
490
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-bmp.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#include <stdio.h> // for SEEK_SET\n#include <stdlib.h>\n#include <string.h>", "#define IW_INCLUDE_UTIL_FUNCTIONS\n#include \"imagew.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": [854, 961], "buggy_code_start_loc": [849, 925], "filenames": ["src/imagew-bmp.c", "src/imagew-main.c"], "fixing_code_end_loc": [857, 973], "fixing_code_start_loc": [850, 924], "message": "imagew-main.c:960:12 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial o...
491
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-bmp.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#include <stdio.h> // for SEEK_SET\n#include <stdlib.h>\n#include <string.h>", "#define IW_INCLUDE_UTIL_FUNCTIONS\n#include \"imagew.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": [854, 961], "buggy_code_start_loc": [849, 925], "filenames": ["src/imagew-bmp.c", "src/imagew-main.c"], "fixing_code_end_loc": [857, 973], "fixing_code_start_loc": [850, 924], "message": "imagew-main.c:960:12 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial o...
491
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-main.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#include <stdlib.h>\n#include <string.h>\n#include <math.h>", "#include \"imagew-internals.h\"", "\n// Given a color type having an alpha ch...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [854, 961], "buggy_code_start_loc": [849, 925], "filenames": ["src/imagew-bmp.c", "src/imagew-main.c"], "fixing_code_end_loc": [857, 973], "fixing_code_start_loc": [850, 924], "message": "imagew-main.c:960:12 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial o...
491
Determine whether the {function_name} code is vulnerable or not.
[ "// imagew-main.c\n// Part of ImageWorsener, Copyright (c) 2011 by Jason Summers.\n// For more information, see the readme.txt file.", "#include \"imagew-config.h\"", "#include <stdlib.h>\n#include <string.h>\n#include <math.h>", "#include \"imagew-internals.h\"", "\n// Given a color type having an alpha ch...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [854, 961], "buggy_code_start_loc": [849, 925], "filenames": ["src/imagew-bmp.c", "src/imagew-main.c"], "fixing_code_end_loc": [857, 973], "fixing_code_start_loc": [850, 924], "message": "imagew-main.c:960:12 in libimageworsener.a in ImageWorsener 1.3.1 allows remote attackers to cause a denial o...
491
Determine whether the {function_name} code is vulnerable or not.
[ "User-Visible pam-krb5 Changes", "pam-krb5 4.9 (unreleased)", " SECURITY: All previous versions of this module could overflow the\n buffer provided by the underlying Kerberos library for the response to\n a prompt by writing a single nul character past the end of the buffer.", "", "\n Support us...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [7], "buggy_code_start_loc": [7], "filenames": ["NEWS"], "fixing_code_end_loc": [9], "fixing_code_start_loc": [8], "message": "pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations involving supplemental prompting by a Kerberos library. It may overflow a b...
492
Determine whether the {function_name} code is vulnerable or not.
[ "User-Visible pam-krb5 Changes", "pam-krb5 4.9 (unreleased)", " SECURITY: All previous versions of this module could overflow the\n buffer provided by the underlying Kerberos library for the response to\n a prompt by writing a single nul character past the end of the buffer.", " (CVE-2020-10595)",...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [7], "buggy_code_start_loc": [7], "filenames": ["NEWS"], "fixing_code_end_loc": [9], "fixing_code_start_loc": [8], "message": "pam-krb5 before 4.9 has a buffer overflow that might cause remote code execution in situations involving supplemental prompting by a Kerberos library. It may overflow a b...
492
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing ServiceStack.Serialization;\nusing ServiceStack.Templates;\nusing ServiceStack.Web;", "namespace ServiceStack.Formats\n{\n public class HtmlFormat : IPlugin\n {\n public static string TitleFormat\n =...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [99], "buggy_code_start_loc": [93], "filenames": ["src/ServiceStack/Formats/HtmlFormat.cs"], "fixing_code_end_loc": [100], "fixing_code_start_loc": [93], "message": "ServiceStack ServiceStack Framework 4.5.14 is affected by: Cross Site Scripting (XSS). The impact is: JavaScrpit is reflected in th...
493
Determine whether the {function_name} code is vulnerable or not.
[ "using System;\nusing System.IO;\nusing System.Linq;\nusing System.Threading.Tasks;\nusing ServiceStack.Serialization;\nusing ServiceStack.Templates;\nusing ServiceStack.Web;", "namespace ServiceStack.Formats\n{\n public class HtmlFormat : IPlugin\n {\n public static string TitleFormat\n =...
[ 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": [93], "filenames": ["src/ServiceStack/Formats/HtmlFormat.cs"], "fixing_code_end_loc": [100], "fixing_code_start_loc": [93], "message": "ServiceStack ServiceStack Framework 4.5.14 is affected by: Cross Site Scripting (XSS). The impact is: JavaScrpit is reflected in th...
493
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP network mailbox\n *\n * @authors\n * Copyright (C) 1996-1998,2012 Michael R. Elkins <me@mutt.org>\n * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>\n * Copyright (C) 1999-2009,2012,2017 Brendan Cully <brendan@kublai.com>\n * Copyright (C) 2018 Richard Russon <rich@flatcap.org>\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": [832], "buggy_code_start_loc": [764], "filenames": ["imap/imap.c"], "fixing_code_end_loc": [828], "fixing_code_start_loc": [764], "message": "Mutt before 2.0.2 and NeoMutt before 2020-11-20 did not ensure that $ssl_force_tls was processed if an IMAP server's initial server response was invalid. T...
494
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @file\n * IMAP network mailbox\n *\n * @authors\n * Copyright (C) 1996-1998,2012 Michael R. Elkins <me@mutt.org>\n * Copyright (C) 1996-1999 Brandon Long <blong@fiction.net>\n * Copyright (C) 1999-2009,2012,2017 Brendan Cully <brendan@kublai.com>\n * Copyright (C) 2018 Richard Russon <rich@flatcap.org>\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": [832], "buggy_code_start_loc": [764], "filenames": ["imap/imap.c"], "fixing_code_end_loc": [828], "fixing_code_start_loc": [764], "message": "Mutt before 2.0.2 and NeoMutt before 2020-11-20 did not ensure that $ssl_force_tls was processed if an IMAP server's initial server response was invalid. T...
494
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>\n *\n * This file is part of libass.\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [875], "buggy_code_start_loc": [860], "filenames": ["libass/ass.c"], "fixing_code_end_loc": [875], "fixing_code_start_loc": [860], "message": "libass 0.15.x before 0.15.1 has a heap-based buffer overflow in decode_chars (called from decode_font and process_text) because the wrong integer data typ...
495
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright (C) 2006 Evgeniy Stepanov <eugeni.stepanov@gmail.com>\n *\n * This file is part of libass.\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [875], "buggy_code_start_loc": [860], "filenames": ["libass/ass.c"], "fixing_code_end_loc": [875], "fixing_code_start_loc": [860], "message": "libass 0.15.x before 0.15.1 has a heap-based buffer overflow in decode_chars (called from decode_font and process_text) because the wrong integer data typ...
495
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 license.txt or http://www.opensource.org/licenses/mit-license.php.\n#include \"headers.h\"\n#include \"checkpoints.h\"\n#include \"db.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": [1257], "buggy_code_start_loc": [979], "filenames": ["src/main.cpp"], "fixing_code_end_loc": [1280], "fixing_code_start_loc": [979], "message": "The Bitcoin protocol, as used in bitcoind before 0.4.4, wxBitcoin, Bitcoin-Qt, and other programs, does not properly handle multiple transactions with t...
496
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 license.txt or http://www.opensource.org/licenses/mit-license.php.\n#include \"headers.h\"\n#include \"checkpoints.h\"\n#include \"db.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": [1257], "buggy_code_start_loc": [979], "filenames": ["src/main.cpp"], "fixing_code_end_loc": [1280], "fixing_code_start_loc": [979], "message": "The Bitcoin protocol, as used in bitcoind before 0.4.4, wxBitcoin, Bitcoin-Qt, and other programs, does not properly handle multiple transactions with t...
496
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n *\n * @file index.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * but WI...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [181, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n/**\n *\n * @file index.php\n * @author Nils Laumaillé\n * @version 2.1.27\n * @copyright (c) 2009-2017 Nils Laumaillé\n * @licensing GNU AFFERO GPL 3.0\n * @link http://www.teampass.net\n *\n * This library is distributed in the hope that it will be useful,\n * but WI...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2605, 75, 3229, 2112], "buggy_code_start_loc": [180, 293, 74, 132, 633], "filenames": ["index.php", "items.load.php", "sources/core.php", "sources/items.queries.php", "sources/main.functions.php"], "fixing_code_end_loc": [183, 2622, 77, 3321, 2136], "fixing_code_start_loc": [180, 293, 74, 1...
497