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 \"name\": \"node-fetch\",", " \"version\": \"3.1.0\",", " \"description\": \"A light-weight module that brings Fetch API to node.js\",\n \"main\": \"./src/index.js\",\n \"sideEffects\": false,\n \"type\": \"module\",\n \"files\": [\n \"src\",\n \"@types/index.d.ts\"\n ],\n \"types\": \"./@ty...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 4], "buggy_code_start_loc": [7, 3], "filenames": ["docs/CHANGELOG.md", "package.json"], "fixing_code_end_loc": [31, 4], "fixing_code_start_loc": [7, 3], "message": "node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor", "other": {"cve": {"cisaActionDue": nul...
170
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"node-fetch\",", " \"version\": \"3.1.1\",", " \"description\": \"A light-weight module that brings Fetch API to node.js\",\n \"main\": \"./src/index.js\",\n \"sideEffects\": false,\n \"type\": \"module\",\n \"files\": [\n \"src\",\n \"@types/index.d.ts\"\n ],\n \"types\": \"./@ty...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [10, 4], "buggy_code_start_loc": [7, 3], "filenames": ["docs/CHANGELOG.md", "package.json"], "fixing_code_end_loc": [31, 4], "fixing_code_start_loc": [7, 3], "message": "node-fetch is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor", "other": {"cve": {"cisaActionDue": nul...
170
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [343], "buggy_code_start_loc": [342], "filenames": ["tensorflow/core/kernels/image/decode_image_op.cc"], "fixing_code_end_loc": [341], "fixing_code_start_loc": [341], "message": "Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a use after free behavior when dec...
171
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright 2015 The TensorFlow Authors. All Rights Reserved.", "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at", " http://www.apache.org/licenses/LICENSE-2.0", "Unless required b...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [343], "buggy_code_start_loc": [342], "filenames": ["tensorflow/core/kernels/image/decode_image_op.cc"], "fixing_code_end_loc": [341], "fixing_code_start_loc": [341], "message": "Tensorflow is an Open Source Machine Learning Framework. A malicious user can cause a use after free behavior when dec...
171
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 * insexpand.c: fu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [698, 2100, 737], "buggy_code_start_loc": [526, 2100, 737], "filenames": ["src/insexpand.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [736, 2117, 740], "fixing_code_start_loc": [527, 2101, 738], "message": "Heap-based Buffer Overflow in GitHub repository vim/v...
172
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 * insexpand.c: fu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [698, 2100, 737], "buggy_code_start_loc": [526, 2100, 737], "filenames": ["src/insexpand.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [736, 2117, 740], "fixing_code_start_loc": [527, 2101, 738], "message": "Heap-based Buffer Overflow in GitHub repository vim/v...
172
Determine whether the {function_name} code is vulnerable or not.
[ "\" Test for insert completion", "source screendump.vim\nsource check.vim\nimport './vim9.vim' as v9", "\" Test for insert expansion\nfunc Test_ins_complete()\n edit test_ins_complete.vim\n \" The files in the current directory interferes with the files\n \" used by this test. So use a separate directory for...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [698, 2100, 737], "buggy_code_start_loc": [526, 2100, 737], "filenames": ["src/insexpand.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [736, 2117, 740], "fixing_code_start_loc": [527, 2101, 738], "message": "Heap-based Buffer Overflow in GitHub repository vim/v...
172
Determine whether the {function_name} code is vulnerable or not.
[ "\" Test for insert completion", "source screendump.vim\nsource check.vim\nimport './vim9.vim' as v9", "\" Test for insert expansion\nfunc Test_ins_complete()\n edit test_ins_complete.vim\n \" The files in the current directory interferes with the files\n \" used by this test. So use a separate directory for...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [698, 2100, 737], "buggy_code_start_loc": [526, 2100, 737], "filenames": ["src/insexpand.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [736, 2117, 740], "fixing_code_start_loc": [527, 2101, 738], "message": "Heap-based Buffer Overflow in GitHub repository vim/v...
172
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": [698, 2100, 737], "buggy_code_start_loc": [526, 2100, 737], "filenames": ["src/insexpand.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [736, 2117, 740], "fixing_code_start_loc": [527, 2101, 738], "message": "Heap-based Buffer Overflow in GitHub repository vim/v...
172
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": [698, 2100, 737], "buggy_code_start_loc": [526, 2100, 737], "filenames": ["src/insexpand.c", "src/testdir/test_ins_complete.vim", "src/version.c"], "fixing_code_end_loc": [736, 2117, 740], "fixing_code_start_loc": [527, 2101, 738], "message": "Heap-based Buffer Overflow in GitHub repository vim/v...
172
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n* OpenPBS (Portable Batch System) v2.3 Software License\n*\n* Copyright (c) 1999-2000 Veridian Information Solutions, Inc.\n* All rights reserved.\n*\n* ---------------------------------------------------------------------------\n* For a license to use or redistribute the OpenPBS software under conditi...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [114], "buggy_code_start_loc": [114], "filenames": ["src/lib/Libdis/disrsi_.c"], "fixing_code_end_loc": [124], "fixing_code_start_loc": [115], "message": "Stack-based buffer overflow in lib/Libdis/disrsi_.c in Terascale Open-Source Resource and Queue Manager (aka TORQUE Resource Manager) 2.5.x th...
173
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n* OpenPBS (Portable Batch System) v2.3 Software License\n*\n* Copyright (c) 1999-2000 Veridian Information Solutions, Inc.\n* All rights reserved.\n*\n* ---------------------------------------------------------------------------\n* For a license to use or redistribute the OpenPBS software under conditi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [114], "buggy_code_start_loc": [114], "filenames": ["src/lib/Libdis/disrsi_.c"], "fixing_code_end_loc": [124], "fixing_code_start_loc": [115], "message": "Stack-based buffer overflow in lib/Libdis/disrsi_.c in Terascale Open-Source Resource and Queue Manager (aka TORQUE Resource Manager) 2.5.x th...
173
Determine whether the {function_name} code is vulnerable or not.
[ "/* Locale-independent implementations of string <-> double conversions. */", "#include \"jsi.h\"", "#if defined(_MSC_VER) && (_MSC_VER < 1700) /* VS2012 has stdint.h */\ntypedef unsigned int uint32_t;\ntypedef unsigned __int64 uint64_t;\n#else\n#include <stdint.h>\n#endif", "#include <errno.h>\n#include <ass...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 ]
PreciseBugs
{"buggy_code_end_loc": [697], "buggy_code_start_loc": [694], "filenames": ["jsdtoa.c"], "fixing_code_end_loc": [700], "fixing_code_start_loc": [694], "message": "Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow happens when js_strtod() reads in floating point exponent, which l...
174
Determine whether the {function_name} code is vulnerable or not.
[ "/* Locale-independent implementations of string <-> double conversions. */", "#include \"jsi.h\"", "#if defined(_MSC_VER) && (_MSC_VER < 1700) /* VS2012 has stdint.h */\ntypedef unsigned int uint32_t;\ntypedef unsigned __int64 uint64_t;\n#else\n#include <stdint.h>\n#endif", "#include <errno.h>\n#include <ass...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [697], "buggy_code_start_loc": [694], "filenames": ["jsdtoa.c"], "fixing_code_end_loc": [700], "fixing_code_start_loc": [694], "message": "Buffer-overflow in jsdtoa.c in Artifex MuJS in versions 1.0.1 to 1.1.1. An integer overflow happens when js_strtod() reads in floating point exponent, which l...
174
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */\n/* kdc/do_tgs_req.c - KDC Routines to deal with TGS_REQ's */\n/*\n * Copyright 1990,1991,2001,2007,2008,2009 by the Massachusetts Institute of Technology.\n * All Rights Reserved.\n *\n * Export of this software from the United States of America may\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1168], "buggy_code_start_loc": [1144], "filenames": ["src/kdc/do_tgs_req.c"], "fixing_code_end_loc": [1170], "fixing_code_start_loc": [1144], "message": "The prep_reprocess_req function in do_tgs_req.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.10.5 does not prope...
175
Determine whether the {function_name} code is vulnerable or not.
[ "/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */\n/* kdc/do_tgs_req.c - KDC Routines to deal with TGS_REQ's */\n/*\n * Copyright 1990,1991,2001,2007,2008,2009 by the Massachusetts Institute of Technology.\n * All Rights Reserved.\n *\n * Export of this software from the United States of America may\...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1168], "buggy_code_start_loc": [1144], "filenames": ["src/kdc/do_tgs_req.c"], "fixing_code_end_loc": [1170], "fixing_code_start_loc": [1144], "message": "The prep_reprocess_req function in do_tgs_req.c in the Key Distribution Center (KDC) in MIT Kerberos 5 (aka krb5) before 1.10.5 does not prope...
175
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / NALU (AVC, HEVC, VVC) reframer filter\n *\n * GPAC is free software; you can redistribute it and/or modify\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": [1685], "buggy_code_start_loc": [1683], "filenames": ["src/filters/reframe_nalu.c"], "fixing_code_end_loc": [1687], "fixing_code_start_loc": [1683], "message": "A Segmentation fault exists casued by null pointer dereference exists in Gpac through 1.0.1 via the naludmx_create_avc_decoder_config fu...
176
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / NALU (AVC, HEVC, VVC) reframer filter\n *\n * GPAC is free software; you can redistribute it and/or modify\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": [1685], "buggy_code_start_loc": [1683], "filenames": ["src/filters/reframe_nalu.c"], "fixing_code_end_loc": [1687], "fixing_code_start_loc": [1683], "message": "A Segmentation fault exists casued by null pointer dereference exists in Gpac through 1.0.1 via the naludmx_create_avc_decoder_config fu...
176
Determine whether the {function_name} code is vulnerable or not.
[ "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n\t<PropertyGroup>\r\n\t\t<ProjectGuid>{838C77E9-8237-4097-964C-EBB952D2E9A8}</ProjectGuid>\r\n\t\t<ProjectVersion>15.4</ProjectVersion>\r\n\t\t<Config Condition=\"'$(Config)'==''\">Release</Config>\r\n\t\t<FrameworkType>None</FrameworkType>...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n\t<PropertyGroup>\r\n\t\t<ProjectGuid>{838C77E9-8237-4097-964C-EBB952D2E9A8}</ProjectGuid>\r\n\t\t<ProjectVersion>15.4</ProjectVersion>\r\n\t\t<Config Condition=\"'$(Config)'==''\">Release</Config>\r\n\t\t<FrameworkType>None</FrameworkType>...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n\t<PropertyGroup>\r\n\t\t<ProjectGuid>{414309A3-9B7C-4261-9989-4BC118D3A1C0}</ProjectGuid>\r\n\t\t<ProjectVersion>15.4</ProjectVersion>\r\n\t\t<Config Condition=\"'$(Config)'==''\">Release</Config>\r\n\t\t<FrameworkType>None</FrameworkType>...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n\t<PropertyGroup>\r\n\t\t<ProjectGuid>{414309A3-9B7C-4261-9989-4BC118D3A1C0}</ProjectGuid>\r\n\t\t<ProjectVersion>15.4</ProjectVersion>\r\n\t\t<Config Condition=\"'$(Config)'==''\">Release</Config>\r\n\t\t<FrameworkType>None</FrameworkType>...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n\t<PropertyGroup>\r\n\t\t<ProjectGuid>{0B0C5EC6-5DCB-4F16-9504-1E6D37FFBB77}</ProjectGuid>\r\n\t\t<ProjectVersion>15.4</ProjectVersion>\r\n\t\t<MainSource>WinSCP.cpp</MainSource>\r\n\t\t<Config Condition=\"'$(Config)'==''\">Release</Config>...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "<Project xmlns=\"http://schemas.microsoft.com/developer/msbuild/2003\">\r\n\t<PropertyGroup>\r\n\t\t<ProjectGuid>{0B0C5EC6-5DCB-4F16-9504-1E6D37FFBB77}</ProjectGuid>\r\n\t\t<ProjectVersion>15.4</ProjectVersion>\r\n\t\t<MainSource>WinSCP.cpp</MainSource>\r\n\t\t<Config Condition=\"'$(Config)'==''\">Release</Config>...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include \"SessionData.h\"\r\n\r\n#include \"Common.h\"\r\n#include \"Exceptions.h\"\r\n#include \"FileBuffer.h\"\r\n#include \"CoreMain.h\"\r\n#include \"TextsCore.h\"\r\n#include \"PuttyInt...
[ 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include \"SessionData.h\"\r\n\r\n#include \"Common.h\"\r\n#include \"Exceptions.h\"\r\n#include \"FileBuffer.h\"\r\n#include \"CoreMain.h\"\r\n#include \"TextsCore.h\"\r\n#include \"PuttyInt...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#ifndef SessionDataH\r\n#define SessionDataH\r\n\r\n#include \"Common.h\"\r\n#include \"Option.h\"\r\n#include \"FileBuffer.h\"\r\n#include \"NamedObjs.h\"\r\n#include \"HierarchicalStorage.h\"\r\n#include \"Configuration.h\"\r\n#incl...
[ 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#ifndef SessionDataH\r\n#define SessionDataH\r\n\r\n#include \"Common.h\"\r\n#include \"Option.h\"\r\n#include \"FileBuffer.h\"\r\n#include \"NamedObjs.h\"\r\n#include \"HierarchicalStorage.h\"\r\n#include \"Configuration.h\"\r\n#incl...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include <Dialogs.hpp>\r\n//---------------------------------------------------------------------\r\n#include <Common.h>\r\n#include <CustomWinConfiguration.h>\r\n#include <WinInterface.h>\r\n#incl...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include <Dialogs.hpp>\r\n//---------------------------------------------------------------------\r\n#include <Common.h>\r\n#include <CustomWinConfiguration.h>\r\n#include <WinInterface.h>\r\n#incl...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include <Common.h>\r\n#include <Exceptions.h>\r\n#include <Script.h>\r\n#include <CoreMain.h>\r\n#include <Terminal.h>\r\n#include <PuttyTools.h>\r\n#include <Queue.h>\r\n#include <Hierarchi...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include <Common.h>\r\n#include <Exceptions.h>\r\n#include <Script.h>\r\n#include <CoreMain.h>\r\n#include <Terminal.h>\r\n#include <PuttyTools.h>\r\n#include <Queue.h>\r\n#include <Hierarchi...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include <CoreMain.h>\r\n\r\n#include <TextsWin.h>\r\n#include <TextsCore.h>\r\n#include <HelpWin.h>\r\n\r\n#include \"CustomScpExplorer.h\"\r\n#include \"TerminalManager.h\"\r\n#include \"No...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "//---------------------------------------------------------------------------\r\n#include <vcl.h>\r\n#pragma hdrstop\r\n\r\n#include <CoreMain.h>\r\n\r\n#include <TextsWin.h>\r\n#include <TextsCore.h>\r\n#include <HelpWin.h>\r\n\r\n#include \"CustomScpExplorer.h\"\r\n#include \"TerminalManager.h\"\r\n#include \"No...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [47, 53, 80, 2275, 473, 1511, 2372, 1100], "buggy_code_start_loc": [46, 52, 79, 599, 57, 1510, 2371, 1099], "filenames": ["source/Console.cbproj", "source/DragExt.cbproj", "source/WinSCP.cbproj", "source/core/SessionData.cpp", "source/core/SessionData.h", "source/forms/Custom.cpp", "source/window...
177
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [237], "buggy_code_start_loc": [236], "filenames": ["plugins_repo/openXInvocationTags/plugins/invocationTags/oxInvocationTags/spc.class.php"], "fixing_code_end_loc": [237], "fixing_code_start_loc": [236], "message": "Revive Adserver before 3.2.3 suffers from reflected XSS. The affiliate-preview.p...
178
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/*\n+---------------------------------------------------------------------------+\n| Revive Adserver |\n| http://www.revive-adserver.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": [237], "buggy_code_start_loc": [236], "filenames": ["plugins_repo/openXInvocationTags/plugins/invocationTags/oxInvocationTags/spc.class.php"], "fixing_code_end_loc": [237], "fixing_code_start_loc": [236], "message": "Revive Adserver before 3.2.3 suffers from reflected XSS. The affiliate-preview.p...
178
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2007,2008,2009,2010 Red Hat, Inc.\n * Copyright © 2010,2012 Google, Inc.\n *\n * This is part of HarfBuzz, a text shaping library.\n *\n * Permission is hereby granted, without written agreement and without\n * license or royalty fees, to use, copy, modify, and distribute this\n * software an...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [580], "buggy_code_start_loc": [580], "filenames": ["src/hb-ot-layout-gsubgpos.hh"], "fixing_code_end_loc": [588], "fixing_code_start_loc": [581], "message": "hb-ot-layout-gsubgpos.hh in HarfBuzz through 6.0.0 allows attackers to trigger O(n^2) growth via consecutive marks during the process of l...
179
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Copyright © 2007,2008,2009,2010 Red Hat, Inc.\n * Copyright © 2010,2012 Google, Inc.\n *\n * This is part of HarfBuzz, a text shaping library.\n *\n * Permission is hereby granted, without written agreement and without\n * license or royalty fees, to use, copy, modify, and distribute this\n * software an...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [580], "buggy_code_start_loc": [580], "filenames": ["src/hb-ot-layout-gsubgpos.hh"], "fixing_code_end_loc": [588], "fixing_code_start_loc": [581], "message": "hb-ot-layout-gsubgpos.hh in HarfBuzz through 6.0.0 allows attackers to trigger O(n^2) growth via consecutive marks during the process of l...
179
Determine whether the {function_name} code is vulnerable or not.
[ "require 'action_view/helpers' if defined?(Rails)\nrequire 'action_view/context' if defined?(Rails)", "module InlineSvg\n module ActionView\n module Helpers\n def inline_svg_tag(filename, transform_params={})\n with_asset_finder(InlineSvg.configuration.asset_finder) do\n render_inline_svg...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 45], "buggy_code_start_loc": [58, 45], "filenames": ["lib/inline_svg/action_view/helpers.rb", "spec/helpers/inline_svg_spec.rb"], "fixing_code_end_loc": [59, 57], "fixing_code_start_loc": [58, 46], "message": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1 and classifie...
180
Determine whether the {function_name} code is vulnerable or not.
[ "require 'action_view/helpers' if defined?(Rails)\nrequire 'action_view/context' if defined?(Rails)", "module InlineSvg\n module ActionView\n module Helpers\n def inline_svg_tag(filename, transform_params={})\n with_asset_finder(InlineSvg.configuration.asset_finder) do\n render_inline_svg...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 45], "buggy_code_start_loc": [58, 45], "filenames": ["lib/inline_svg/action_view/helpers.rb", "spec/helpers/inline_svg_spec.rb"], "fixing_code_end_loc": [59, 57], "fixing_code_start_loc": [58, 46], "message": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1 and classifie...
180
Determine whether the {function_name} code is vulnerable or not.
[ "require 'inline_svg'", "class WorkingCustomTransform < InlineSvg::CustomTransformation\n def transform(doc)\n doc = Nokogiri::XML::Document.parse(doc.to_html)\n svg = doc.at_css 'svg'\n svg['custom'] = value\n doc\n end\nend", "describe InlineSvg::ActionView::Helpers do", " let(:helper) { ( Cl...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [59, 45], "buggy_code_start_loc": [58, 45], "filenames": ["lib/inline_svg/action_view/helpers.rb", "spec/helpers/inline_svg_spec.rb"], "fixing_code_end_loc": [59, 57], "fixing_code_start_loc": [58, 46], "message": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1 and classifie...
180
Determine whether the {function_name} code is vulnerable or not.
[ "require 'inline_svg'", "class WorkingCustomTransform < InlineSvg::CustomTransformation\n def transform(doc)\n doc = Nokogiri::XML::Document.parse(doc.to_html)\n svg = doc.at_css 'svg'\n svg['custom'] = value\n doc\n end\nend", "describe InlineSvg::ActionView::Helpers do", " let(:helper) { ( Cl...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [59, 45], "buggy_code_start_loc": [58, 45], "filenames": ["lib/inline_svg/action_view/helpers.rb", "spec/helpers/inline_svg_spec.rb"], "fixing_code_end_loc": [59, 57], "fixing_code_start_loc": [58, 46], "message": "A vulnerability has been found in jamesmartin Inline SVG up to 1.7.1 and classifie...
180
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'", "const { AsyncResource } = require('async_hooks')\nconst lru = require('tiny-lru').lru", "const secureJson = require('secure-json-parse')\nconst {\n kDefaultJsonParse,\n kContentTypeParser,\n kBodyLimit,\n kRequestPayloadStream,\n kState,\n kTestInternals,\n kReplyIsError,\n kRouteContex...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [293, 331], "buggy_code_start_loc": [32, 199], "filenames": ["lib/contentTypeParser.js", "test/content-parser.test.js"], "fixing_code_end_loc": [294, 398], "fixing_code_start_loc": [32, 199], "message": "fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify a...
181
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'", "const { AsyncResource } = require('async_hooks')\nconst lru = require('tiny-lru').lru", "const secureJson = require('secure-json-parse')\nconst {\n kDefaultJsonParse,\n kContentTypeParser,\n kBodyLimit,\n kRequestPayloadStream,\n kState,\n kTestInternals,\n kReplyIsError,\n kRouteContex...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [293, 331], "buggy_code_start_loc": [32, 199], "filenames": ["lib/contentTypeParser.js", "test/content-parser.test.js"], "fixing_code_end_loc": [294, 398], "fixing_code_start_loc": [32, 199], "message": "fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify a...
181
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'", "const t = require('tap')\nconst test = t.test\nconst Fastify = require('..')\nconst keys = require('../lib/symbols')\nconst { FST_ERR_CTP_ALREADY_PRESENT, FST_ERR_CTP_INVALID_TYPE, FST_ERR_CTP_INVALID_MEDIA_TYPE } = require('../lib/errors')", "const first = function (req, payload, done) {}\ncon...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [293, 331], "buggy_code_start_loc": [32, 199], "filenames": ["lib/contentTypeParser.js", "test/content-parser.test.js"], "fixing_code_end_loc": [294, 398], "fixing_code_start_loc": [32, 199], "message": "fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify a...
181
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'", "const t = require('tap')\nconst test = t.test\nconst Fastify = require('..')\nconst keys = require('../lib/symbols')\nconst { FST_ERR_CTP_ALREADY_PRESENT, FST_ERR_CTP_INVALID_TYPE, FST_ERR_CTP_INVALID_MEDIA_TYPE } = require('../lib/errors')", "const first = function (req, payload, done) {}\ncon...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [293, 331], "buggy_code_start_loc": [32, 199], "filenames": ["lib/contentTypeParser.js", "test/content-parser.test.js"], "fixing_code_end_loc": [294, 398], "fixing_code_start_loc": [32, 199], "message": "fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify a...
181
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"sb_pci_mp.h\"\n#include <linux/module.h>\n#include <linux/parport.h>", "extern struct parport *parport_pc_probe_port(unsigned long base_lo,\n\t\tunsigned long base_hi,\n\t\tint irq, int dma,\n\t\tstruct device *dev,\n\t\tint irqflags);", "static struct mp_device_t mp_devs[MAX_MP_DEV];\nstatic int mp...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1067], "buggy_code_start_loc": [1066], "filenames": ["drivers/staging/sb105x/sb_pci_mp.c"], "fixing_code_end_loc": [1067], "fixing_code_start_loc": [1066], "message": "The mp_get_count function in drivers/staging/sb105x/sb_pci_mp.c in the Linux kernel before 3.12 does not initialize a certain da...
182
Determine whether the {function_name} code is vulnerable or not.
[ "#include \"sb_pci_mp.h\"\n#include <linux/module.h>\n#include <linux/parport.h>", "extern struct parport *parport_pc_probe_port(unsigned long base_lo,\n\t\tunsigned long base_hi,\n\t\tint irq, int dma,\n\t\tstruct device *dev,\n\t\tint irqflags);", "static struct mp_device_t mp_devs[MAX_MP_DEV];\nstatic int mp...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1067], "buggy_code_start_loc": [1066], "filenames": ["drivers/staging/sb105x/sb_pci_mp.c"], "fixing_code_end_loc": [1067], "fixing_code_start_loc": [1066], "message": "The mp_get_count function in drivers/staging/sb105x/sb_pci_mp.c in the Linux kernel before 3.12 does not initialize a certain da...
182
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2008-2015, Avian Contributors", " Permission to use, copy, modify, and/or distribute this software\n for any purpose with or without fee is hereby granted, provided\n that the above copyright notice and this permission notice appear\n in all copies.", " There is NO WARRANTY for this ...
[ 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": [56], "buggy_code_start_loc": [55], "filenames": ["classpath/java/io/FileOutputStream.java"], "fixing_code_end_loc": [56], "fixing_code_start_loc": [55], "message": "** UNSUPPORTED WHEN ASSIGNED ** An issue was discovered in ReadyTalk Avian 1.2.0 before 2020-10-27. The FileOutputStream.write() me...
183
Determine whether the {function_name} code is vulnerable or not.
[ "/* Copyright (c) 2008-2015, Avian Contributors", " Permission to use, copy, modify, and/or distribute this software\n for any purpose with or without fee is hereby granted, provided\n that the above copyright notice and this permission notice appear\n in all copies.", " There is NO WARRANTY for this ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [56], "buggy_code_start_loc": [55], "filenames": ["classpath/java/io/FileOutputStream.java"], "fixing_code_end_loc": [56], "fixing_code_start_loc": [55], "message": "** UNSUPPORTED WHEN ASSIGNED ** An issue was discovered in ReadyTalk Avian 1.2.0 before 2020-10-27. The FileOutputStream.write() me...
183
Determine whether the {function_name} code is vulnerable or not.
[ "CHANGELOG Roundcube Webmail\n===========================", "- Security: Fix potential XSS issue in HTML editor of the identity signature input (#7507)\n- Managesieve: Fix too-small input field in Elastic when using custom headers (#7498)\n- Fix support for an error as a string in message_before_send hook (#7475)...
[ 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": [15, 533, 355], "buggy_code_start_loc": [15, 415, 319], "filenames": ["CHANGELOG", "program/lib/Roundcube/rcube_washtml.php", "tests/Framework/Washtml.php"], "fixing_code_end_loc": [18, 590, 480], "fixing_code_start_loc": [16, 415, 320], "message": "Roundcube Webmail before 1.3.15 and 1.4.8 allow...
184
Determine whether the {function_name} code is vulnerable or not.
[ "CHANGELOG Roundcube Webmail\n===========================", "- Security: Fix potential XSS issue in HTML editor of the identity signature input (#7507)\n- Managesieve: Fix too-small input field in Elastic when using custom headers (#7498)\n- Fix support for an error as a string in message_before_send hook (#7475)...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 533, 355], "buggy_code_start_loc": [15, 415, 319], "filenames": ["CHANGELOG", "program/lib/Roundcube/rcube_washtml.php", "tests/Framework/Washtml.php"], "fixing_code_end_loc": [18, 590, 480], "fixing_code_start_loc": [16, 415, 320], "message": "Roundcube Webmail before 1.3.15 and 1.4.8 allow...
184
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n +-----------------------------------------------------------------------+\n | This file is part of the Roundcube Webmail client |\n | |\n | Copyright (C) The Roundcube Dev Team ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 0, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 533, 355], "buggy_code_start_loc": [15, 415, 319], "filenames": ["CHANGELOG", "program/lib/Roundcube/rcube_washtml.php", "tests/Framework/Washtml.php"], "fixing_code_end_loc": [18, 590, 480], "fixing_code_start_loc": [16, 415, 320], "message": "Roundcube Webmail before 1.3.15 and 1.4.8 allow...
184
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n +-----------------------------------------------------------------------+\n | This file is part of the Roundcube Webmail client |\n | |\n | Copyright (C) The Roundcube Dev Team ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 533, 355], "buggy_code_start_loc": [15, 415, 319], "filenames": ["CHANGELOG", "program/lib/Roundcube/rcube_washtml.php", "tests/Framework/Washtml.php"], "fixing_code_end_loc": [18, 590, 480], "fixing_code_start_loc": [16, 415, 320], "message": "Roundcube Webmail before 1.3.15 and 1.4.8 allow...
184
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Test class to test rcube_washtml class\n *\n * @package Tests\n */\nclass Framework_Washtml extends PHPUnit_Framework_TestCase\n{\n /**\n * A helper method to remove comments added by rcube_washtml\n */\n function cleanupResult($html)\n {\n return preg_replace('/<!-- [a-z...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [15, 533, 355], "buggy_code_start_loc": [15, 415, 319], "filenames": ["CHANGELOG", "program/lib/Roundcube/rcube_washtml.php", "tests/Framework/Washtml.php"], "fixing_code_end_loc": [18, 590, 480], "fixing_code_start_loc": [16, 415, 320], "message": "Roundcube Webmail before 1.3.15 and 1.4.8 allow...
184
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * Test class to test rcube_washtml class\n *\n * @package Tests\n */\nclass Framework_Washtml extends PHPUnit_Framework_TestCase\n{\n /**\n * A helper method to remove comments added by rcube_washtml\n */\n function cleanupResult($html)\n {\n return preg_replace('/<!-- [a-z...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [15, 533, 355], "buggy_code_start_loc": [15, 415, 319], "filenames": ["CHANGELOG", "program/lib/Roundcube/rcube_washtml.php", "tests/Framework/Washtml.php"], "fixing_code_end_loc": [18, 590, 480], "fixing_code_start_loc": [16, 415, 320], "message": "Roundcube Webmail before 1.3.15 and 1.4.8 allow...
184
Determine whether the {function_name} code is vulnerable or not.
[ "@push('css')\n<link rel=\"stylesheet\" href=\"{{ url(mix('css/dist/bootstrap-table.css')) }}\">", "@endpush", "@push('js')\n<script src=\"{{ url(mix('js/dist/bootstrap-table.js')) }}\"></script>\n<script nonce=\"{{ csrf_token() }}\">", " $(function () {", "\n var stickyHeaderOffsetY = 0;", " ...
[ 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": [77], "buggy_code_start_loc": [77], "filenames": ["resources/views/partials/bootstrap-table.blade.php"], "fixing_code_end_loc": [82], "fixing_code_start_loc": [78], "message": "snipe-it is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "other"...
185
Determine whether the {function_name} code is vulnerable or not.
[ "@push('css')\n<link rel=\"stylesheet\" href=\"{{ url(mix('css/dist/bootstrap-table.css')) }}\">", "@endpush", "@push('js')\n<script src=\"{{ url(mix('js/dist/bootstrap-table.js')) }}\"></script>\n<script nonce=\"{{ csrf_token() }}\">", " $(function () {", "\n var stickyHeaderOffsetY = 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": [77], "buggy_code_start_loc": [77], "filenames": ["resources/views/partials/bootstrap-table.blade.php"], "fixing_code_end_loc": [82], "fixing_code_start_loc": [78], "message": "snipe-it is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')", "other"...
185
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / mp4box application\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the term...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2900], "buggy_code_start_loc": [2883], "filenames": ["applications/mp4box/filedump.c"], "fixing_code_end_loc": [2904], "fixing_code_start_loc": [2883], "message": "The DumpTrackInfo function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file...
186
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n *\t\t\tGPAC - Multimedia Framework C SDK\n *\n *\t\t\tAuthors: Jean Le Feuvre\n *\t\t\tCopyright (c) Telecom ParisTech 2000-2021\n *\t\t\t\t\tAll rights reserved\n *\n * This file is part of GPAC / mp4box application\n *\n * GPAC is free software; you can redistribute it and/or modify\n * it under the term...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [2900], "buggy_code_start_loc": [2883], "filenames": ["applications/mp4box/filedump.c"], "fixing_code_end_loc": [2904], "fixing_code_start_loc": [2883], "message": "The DumpTrackInfo function in GPAC 1.0.1 allows attackers to cause a denial of service (NULL pointer dereference) via a crafted file...
186
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under\n * the terms of the Healthcare Disclaimer located at http://openmrs.org...
[ 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [197], "buggy_code_start_loc": [20], "filenames": ["web/src/main/java/org/openmrs/web/filter/StartupFilter.java"], "fixing_code_end_loc": [196], "fixing_code_start_loc": [21], "message": "OpenMRS is a patient-based medical record system focusing on giving providers a free customizable electronic ...
187
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * This Source Code Form is subject to the terms of the Mozilla Public License,\n * v. 2.0. If a copy of the MPL was not distributed with this file, You can\n * obtain one at http://mozilla.org/MPL/2.0/. OpenMRS is also distributed under\n * the terms of the Healthcare Disclaimer located at http://openmrs.org...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [197], "buggy_code_start_loc": [20], "filenames": ["web/src/main/java/org/openmrs/web/filter/StartupFilter.java"], "fixing_code_end_loc": [196], "fixing_code_start_loc": [21], "message": "OpenMRS is a patient-based medical record system focusing on giving providers a free customizable electronic ...
187
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n//\n// ZoneMinder web zone view file, $Date$, $Revision$\n// Copyright (C) 2001-2008 Philip Coombes\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of the GNU General Public License\n// as published by the Free Software Foundation; either version 2\n// of ...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [115], "buggy_code_start_loc": [39], "filenames": ["web/skins/classic/views/plugin.php"], "fixing_code_end_loc": [116], "fixing_code_start_loc": [39], "message": "An issue was discovered in ZoneMinder v1.32.3. Reflected XSS exists in web/skins/classic/views/plugin.php via the zm/index.php?view=pl...
188
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n//\n// ZoneMinder web zone view file, $Date$, $Revision$\n// Copyright (C) 2001-2008 Philip Coombes\n//\n// This program is free software; you can redistribute it and/or\n// modify it under the terms of the GNU General Public License\n// as published by the Free Software Foundation; either version 2\n// of ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [115], "buggy_code_start_loc": [39], "filenames": ["web/skins/classic/views/plugin.php"], "fixing_code_end_loc": [116], "fixing_code_start_loc": [39], "message": "An issue was discovered in ZoneMinder v1.32.3. Reflected XSS exists in web/skins/classic/views/plugin.php via the zm/index.php?view=pl...
188
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright (c) 2007-2013. The YARA Authors. All Rights Reserved.", "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:", "1. Redistributions of source code must retain the above copyright notice, this\nlist of condi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1022], "buggy_code_start_loc": [1020], "filenames": ["libyara/grammar.y"], "fixing_code_end_loc": [1025], "fixing_code_start_loc": [1020], "message": "libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule th...
189
Determine whether the {function_name} code is vulnerable or not.
[ "/*\nCopyright (c) 2007-2013. The YARA Authors. All Rights Reserved.", "Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:", "1. Redistributions of source code must retain the above copyright notice, this\nlist of condi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1022], "buggy_code_start_loc": [1020], "filenames": ["libyara/grammar.y"], "fixing_code_end_loc": [1025], "fixing_code_start_loc": [1020], "message": "libyara/grammar.y in YARA 3.5.0 allows remote attackers to cause a denial of service (use-after-free and application crash) via a crafted rule th...
189
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 * eval.c: Express...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [7314, 1117, 697], "buggy_code_start_loc": [7314, 883, 697], "filenames": ["src/eval.c", "src/testdir/test_substitute.vim", "src/version.c"], "fixing_code_end_loc": [7320, 1134, 700], "fixing_code_start_loc": [7315, 883, 698], "message": "Out-of-bounds Write in GitHub repository vim/vim prior to ...
190
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 * eval.c: Express...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [7314, 1117, 697], "buggy_code_start_loc": [7314, 883, 697], "filenames": ["src/eval.c", "src/testdir/test_substitute.vim", "src/version.c"], "fixing_code_end_loc": [7320, 1134, 700], "fixing_code_start_loc": [7315, 883, 698], "message": "Out-of-bounds Write in GitHub repository vim/vim prior to ...
190
Determine whether the {function_name} code is vulnerable or not.
[ "\" Tests for the substitute (:s) command", "source shared.vim\nsource check.vim\nsource screendump.vim", "func Test_multiline_subst()\n enew!\n call append(0, [\"1 aa\",\n\t \\ \"bb\",\n\t \\ \"cc\",\n\t \\ \"2 dd\",\n\t \\ \"ee\",\n\t \\ \"3 ef\",\n\t \\ \"gh\",\n\t \\ \"4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [7314, 1117, 697], "buggy_code_start_loc": [7314, 883, 697], "filenames": ["src/eval.c", "src/testdir/test_substitute.vim", "src/version.c"], "fixing_code_end_loc": [7320, 1134, 700], "fixing_code_start_loc": [7315, 883, 698], "message": "Out-of-bounds Write in GitHub repository vim/vim prior to ...
190
Determine whether the {function_name} code is vulnerable or not.
[ "\" Tests for the substitute (:s) command", "source shared.vim\nsource check.vim\nsource screendump.vim", "func Test_multiline_subst()\n enew!\n call append(0, [\"1 aa\",\n\t \\ \"bb\",\n\t \\ \"cc\",\n\t \\ \"2 dd\",\n\t \\ \"ee\",\n\t \\ \"3 ef\",\n\t \\ \"gh\",\n\t \\ \"4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [7314, 1117, 697], "buggy_code_start_loc": [7314, 883, 697], "filenames": ["src/eval.c", "src/testdir/test_substitute.vim", "src/version.c"], "fixing_code_end_loc": [7320, 1134, 700], "fixing_code_start_loc": [7315, 883, 698], "message": "Out-of-bounds Write in GitHub repository vim/vim prior to ...
190
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": [7314, 1117, 697], "buggy_code_start_loc": [7314, 883, 697], "filenames": ["src/eval.c", "src/testdir/test_substitute.vim", "src/version.c"], "fixing_code_end_loc": [7320, 1134, 700], "fixing_code_start_loc": [7315, 883, 698], "message": "Out-of-bounds Write in GitHub repository vim/vim prior to ...
190
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": [7314, 1117, 697], "buggy_code_start_loc": [7314, 883, 697], "filenames": ["src/eval.c", "src/testdir/test_substitute.vim", "src/version.c"], "fixing_code_end_loc": [7320, 1134, 700], "fixing_code_start_loc": [7315, 883, 698], "message": "Out-of-bounds Write in GitHub repository vim/vim prior to ...
190
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * ---------------------------------------------------------------------\n *\n * GLPI - Gestionnaire Libre de Parc Informatique\n *\n * http://glpi-project.org\n *\n * @copyright 2015-2022 Teclib' and contributors.\n * @copyright 2003-2014 by the INDEPNET Development Team.\n * @licence https://ww...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [752], "buggy_code_start_loc": [739], "filenames": ["src/Auth.php"], "fixing_code_end_loc": [749], "fixing_code_start_loc": [739], "message": "GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing. In affected v...
191
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * ---------------------------------------------------------------------\n *\n * GLPI - Gestionnaire Libre de Parc Informatique\n *\n * http://glpi-project.org\n *\n * @copyright 2015-2022 Teclib' and contributors.\n * @copyright 2003-2014 by the INDEPNET Development Team.\n * @licence https://ww...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [752], "buggy_code_start_loc": [739], "filenames": ["src/Auth.php"], "fixing_code_end_loc": [749], "fixing_code_start_loc": [739], "message": "GLPI is a Free Asset and IT Management Software package, Data center management, ITIL Service Desk, licenses tracking and software auditing. In affected v...
191
Determine whether the {function_name} code is vulnerable or not.
[ "package v1", "import (\n\t\"encoding/json\"\n\t\"net/http\"", "\t\"github.com/KubeOperator/KubeOperator/pkg/controller\"\n\t\"github.com/KubeOperator/KubeOperator/pkg/errorf\"\n\t\"github.com/KubeOperator/KubeOperator/pkg/middleware\"\n\t\"github.com/jinzhu/gorm\"\n\t\"github.com/kataras/iris/v12\"\n\t\"github...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [71], "buggy_code_start_loc": [68], "filenames": ["pkg/router/v1/v1api.go"], "fixing_code_end_loc": [70], "fixing_code_start_loc": [69], "message": "KubeOperator is an open source Kubernetes distribution focused on helping enterprises plan, deploy and operate production-level K8s clusters. In Kub...
192
Determine whether the {function_name} code is vulnerable or not.
[ "package v1", "import (\n\t\"encoding/json\"\n\t\"net/http\"", "\t\"github.com/KubeOperator/KubeOperator/pkg/controller\"\n\t\"github.com/KubeOperator/KubeOperator/pkg/errorf\"\n\t\"github.com/KubeOperator/KubeOperator/pkg/middleware\"\n\t\"github.com/jinzhu/gorm\"\n\t\"github.com/kataras/iris/v12\"\n\t\"github...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [71], "buggy_code_start_loc": [68], "filenames": ["pkg/router/v1/v1api.go"], "fixing_code_end_loc": [70], "fixing_code_start_loc": [69], "message": "KubeOperator is an open source Kubernetes distribution focused on helping enterprises plan, deploy and operate production-level K8s clusters. In Kub...
192
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - Atom Based Sample Tables\n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This atom is part of AP4 (MP4 Audio Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version...
[ 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": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - Atom Based Sample Tables\n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This atom is part of AP4 (MP4 Audio Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this 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 ]
PreciseBugs
{"buggy_code_end_loc": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - avcC Atoms \n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version of Ben...
[ 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": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - avcC Atoms \n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version of Ben...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - File Processor\n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version 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, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - File Processor\n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version 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 ]
PreciseBugs
{"buggy_code_end_loc": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - Version Numbers\n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version of...
[ 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "/*****************************************************************\n|\n| AP4 - Version Numbers\n|\n| Copyright 2002-2008 Axiomatic Systems, LLC\n|\n|\n| This file is part of Bento4/AP4 (MP4 Atom Processing Library).\n|\n| Unless you have obtained Bento4 under a difference license,\n| this version of...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [89, 274, 556, 42], "buggy_code_start_loc": [89, 273, 556, 40], "filenames": ["Source/C++/Core/Ap4AtomSampleTable.cpp", "Source/C++/Core/Ap4AvccAtom.cpp", "Source/C++/Core/Ap4Processor.cpp", "Source/C++/Core/Ap4Version.h"], "fixing_code_end_loc": [95, 274, 558, 42], "fixing_code_start_loc": [90, ...
193
Determine whether the {function_name} code is vulnerable or not.
[ "user_agent_parsers:\n #### SPECIAL CASES TOP ####", " # CFNetwork Podcast catcher Applications\n - regex: '^(Luminary)[Stage]+/(\\d+) CFNetwork'\n - regex: '(ESPN)[%20| ]+Radio/(\\d+)\\.(\\d+)\\.(\\d+) CFNetwork'\n - regex: '(Antenna)/(\\d+) CFNetwork'\n family_replacement: 'AntennaPod'\n - regex: '(Top...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [5145, 50], "buggy_code_start_loc": [1575, 43], "filenames": ["regexes.yaml", "tests/regexes.js"], "fixing_code_end_loc": [5145, 88], "fixing_code_start_loc": [1575, 43], "message": "uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. Some...
194
Determine whether the {function_name} code is vulnerable or not.
[ "user_agent_parsers:\n #### SPECIAL CASES TOP ####", " # CFNetwork Podcast catcher Applications\n - regex: '^(Luminary)[Stage]+/(\\d+) CFNetwork'\n - regex: '(ESPN)[%20| ]+Radio/(\\d+)\\.(\\d+)\\.(\\d+) CFNetwork'\n - regex: '(Antenna)/(\\d+) CFNetwork'\n family_replacement: 'AntennaPod'\n - regex: '(Top...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [5145, 50], "buggy_code_start_loc": [1575, 43], "filenames": ["regexes.yaml", "tests/regexes.js"], "fixing_code_end_loc": [5145, 88], "fixing_code_start_loc": [1575, 43], "message": "uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. Some...
194
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'", "var assert = require('assert')\nvar path = require('path')\nvar fs = require('fs')\nvar yaml = require('yamlparser')\nvar regexes = readYAML('../regexes.yaml')\nvar safe = require('safe-regex')\nvar refImpl = require('uap-ref-impl')", "function readYAML (fileName) {\n var file = path.join(__di...
[ 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5145, 50], "buggy_code_start_loc": [1575, 43], "filenames": ["regexes.yaml", "tests/regexes.js"], "fixing_code_end_loc": [5145, 88], "fixing_code_start_loc": [1575, 43], "message": "uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. Some...
194
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict'", "var assert = require('assert')\nvar path = require('path')\nvar fs = require('fs')\nvar yaml = require('yamlparser')\nvar regexes = readYAML('../regexes.yaml')\nvar safe = require('safe-regex')\nvar refImpl = require('uap-ref-impl')", "function readYAML (fileName) {\n var file = path.join(__di...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5145, 50], "buggy_code_start_loc": [1575, 43], "filenames": ["regexes.yaml", "tests/regexes.js"], "fixing_code_end_loc": [5145, 88], "fixing_code_start_loc": [1575, 43], "message": "uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. Some...
194
Determine whether the {function_name} code is vulnerable or not.
[ "package account\n", "import \"github.com/kongchuanhujiao/server/internal/app/datahub/internal/memory\"", "", "func GetCode(id string) string {\n\treturn memory.Code[id]", "}\n", "func WriteCode(id string, code string) {\n\tmemory.Code[id] = code", "}\n", "func DeleteCode(id string) {\n\tdelete(memory...
[ 1, 0, 1, 0, 1, 0, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [16, 45, 47], "buggy_code_start_loc": [3, 44, 5], "filenames": ["internal/app/datahub/pkg/account/memory.go", "internal/app/kongchuanhujiao/account/apis.go", "internal/app/kongchuanhujiao/account/utils.go"], "fixing_code_end_loc": [40, 45, 29], "fixing_code_start_loc": [3, 44, 4], "message": "In ...
195
Determine whether the {function_name} code is vulnerable or not.
[ "package account\n", "import (\n\t\"math/rand\"\n\t\"strconv\"\n\t\"time\"", "", "\t\"github.com/kongchuanhujiao/server/internal/app/datahub/internal/memory\"\n)", "// GenerateCode 写入验证码返回一个验证码\nfunc GenerateCode(id string) (c string) {", "\trand.Seed(time.Now().UnixNano())\n\tc = strconv.FormatFloat(rand...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [16, 45, 47], "buggy_code_start_loc": [3, 44, 5], "filenames": ["internal/app/datahub/pkg/account/memory.go", "internal/app/kongchuanhujiao/account/apis.go", "internal/app/kongchuanhujiao/account/utils.go"], "fixing_code_end_loc": [40, 45, 29], "fixing_code_start_loc": [3, 44, 4], "message": "In ...
195
Determine whether the {function_name} code is vulnerable or not.
[ "package account", "import (\n\t\"github.com/kongchuanhujiao/server/internal/app/datahub/pkg/account\"\n\t\"time\"", "\t\"github.com/kongchuanhujiao/server/internal/app/kongchuanhujiao\"\n\t\"github.com/kongchuanhujiao/server/internal/pkg/config\"\n\t\"github.com/kongchuanhujiao/server/internal/pkg/logger\"", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [16, 45, 47], "buggy_code_start_loc": [3, 44, 5], "filenames": ["internal/app/datahub/pkg/account/memory.go", "internal/app/kongchuanhujiao/account/apis.go", "internal/app/kongchuanhujiao/account/utils.go"], "fixing_code_end_loc": [40, 45, 29], "fixing_code_start_loc": [3, 44, 4], "message": "In ...
195
Determine whether the {function_name} code is vulnerable or not.
[ "package account", "import (\n\t\"github.com/kongchuanhujiao/server/internal/app/datahub/pkg/account\"\n\t\"time\"", "\t\"github.com/kongchuanhujiao/server/internal/app/kongchuanhujiao\"\n\t\"github.com/kongchuanhujiao/server/internal/pkg/config\"\n\t\"github.com/kongchuanhujiao/server/internal/pkg/logger\"", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [16, 45, 47], "buggy_code_start_loc": [3, 44, 5], "filenames": ["internal/app/datahub/pkg/account/memory.go", "internal/app/kongchuanhujiao/account/apis.go", "internal/app/kongchuanhujiao/account/utils.go"], "fixing_code_end_loc": [40, 45, 29], "fixing_code_start_loc": [3, 44, 4], "message": "In ...
195
Determine whether the {function_name} code is vulnerable or not.
[ "package account", "import (\n\t\"errors\"", "\t\"math/rand\"\n\t\"strconv\"\n\t\"time\"\n", "\t\"github.com/kongchuanhujiao/server/internal/app/client\"\n\t\"github.com/kongchuanhujiao/server/internal/app/client/message\"\n\t\"github.com/kongchuanhujiao/server/internal/app/datahub/pkg/account\"\n\t\"github.c...
[ 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [16, 45, 47], "buggy_code_start_loc": [3, 44, 5], "filenames": ["internal/app/datahub/pkg/account/memory.go", "internal/app/kongchuanhujiao/account/apis.go", "internal/app/kongchuanhujiao/account/utils.go"], "fixing_code_end_loc": [40, 45, 29], "fixing_code_start_loc": [3, 44, 4], "message": "In ...
195
Determine whether the {function_name} code is vulnerable or not.
[ "package account", "import (\n\t\"errors\"", "", "\t\"github.com/kongchuanhujiao/server/internal/app/client\"\n\t\"github.com/kongchuanhujiao/server/internal/app/client/message\"\n\t\"github.com/kongchuanhujiao/server/internal/app/datahub/pkg/account\"\n\t\"github.com/kongchuanhujiao/server/internal/pkg/logge...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [16, 45, 47], "buggy_code_start_loc": [3, 44, 5], "filenames": ["internal/app/datahub/pkg/account/memory.go", "internal/app/kongchuanhujiao/account/apis.go", "internal/app/kongchuanhujiao/account/utils.go"], "fixing_code_end_loc": [40, 45, 29], "fixing_code_start_loc": [3, 44, 4], "message": "In ...
195
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/ipc/shm.c\n * Copyright (C) 1992, 1993 Krishna Balasubramanian\n *\t Many improvements/fixes by Bruno Haible.\n * Replaced `struct shm_desc' by `struct vm_area_struct', July 1994.\n * Fixed the shm swap deallocation (shm_unuse()), August 1998 Andrea Arcangeli.\n *\n * /proc/sysvipc/shm support (c) 199...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1118], "buggy_code_start_loc": [1094], "filenames": ["ipc/shm.c"], "fixing_code_end_loc": [1123], "fixing_code_start_loc": [1094], "message": "The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which all...
196
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * linux/ipc/shm.c\n * Copyright (C) 1992, 1993 Krishna Balasubramanian\n *\t Many improvements/fixes by Bruno Haible.\n * Replaced `struct shm_desc' by `struct vm_area_struct', July 1994.\n * Fixed the shm swap deallocation (shm_unuse()), August 1998 Andrea Arcangeli.\n *\n * /proc/sysvipc/shm support (c) 199...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1118], "buggy_code_start_loc": [1094], "filenames": ["ipc/shm.c"], "fixing_code_end_loc": [1123], "fixing_code_start_loc": [1094], "message": "The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which all...
196
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 0, 1, 0, 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, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1...
PreciseBugs
{"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ...
197
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ...
197
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 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, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ...
197
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\n##################################################\n#\n# Copyright (c) 2004-2016 OIC Group, Inc.\n#\n# This file is part of Exponent\n#\n# Exponent is free software; you can redistribute\n# it and/or modify it under the terms of the GNU\n# General Public License as published by the Free\n# Software Foundati...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1156, 821, 538, 1298, 1110, 656, 639, 481, 1974, 221, 1264, 168, 235, 25, 598, 133, 55, 383, 63, 58, 352, 125, 394, 59, 2152, 117, 137, 259, 537, 2235, 33, 72, 1773, 250, 679, 739, 285, 1941, 540, 62, 528, 25, 1290, 256, 199, 122, 41, 99, 2020, 355, 147, 129, 1499], "buggy_code_start_loc": [44, ...
197