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. | [
"\"use strict\";",
"const sanitizeHtml = require(\"sanitize-html\");",
"const initializeOptions = (options) => {\n const sanitizerOptions = {};",
" if (Array.isArray(options.allowedTags) && options.allowedTags.length > 0) {",
" sanitizerOptions.allowedTags = options.allowedTags;\n }\n return {\n a... | [
1,
1,
1,
0,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [25, 13, 1224], "buggy_code_start_loc": [24, 7, 1224], "filenames": [".eslintrc.json", "lib/sanitize.js", "test/test.js"], "fixing_code_end_loc": [26, 20, 1255], "fixing_code_start_loc": [24, 7, 1225], "message": "The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollutio... | 1,623 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"use strict\";",
"const sanitizeHtml = require(\"sanitize-html\");",
"const initializeOptions = (options) => {\n const sanitizerOptions = {};",
" if (\n Object.hasOwn(options, \"allowedTags\") &&\n Array.isArray(options.allowedTags) &&\n options.allowedTags.length > 0\n ) {",
" sanitizerOpt... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [25, 13, 1224], "buggy_code_start_loc": [24, 7, 1224], "filenames": [".eslintrc.json", "lib/sanitize.js", "test/test.js"], "fixing_code_end_loc": [26, 20, 1255], "fixing_code_start_loc": [24, 7, 1225], "message": "The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollutio... | 1,623 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint-disable prettier/prettier */\n/* eslint-disable func-names */\n/* eslint-disable no-undef */",
"\"use strict\";",
"const request = require(\"supertest\");\nconst express = require(\"express\");\nconst bodyParser = require(\"body-parser\");\nconst { expect } = require(\"chai\");\nconst { xss, sanitize... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [25, 13, 1224], "buggy_code_start_loc": [24, 7, 1224], "filenames": [".eslintrc.json", "lib/sanitize.js", "test/test.js"], "fixing_code_end_loc": [26, 20, 1255], "fixing_code_start_loc": [24, 7, 1225], "message": "The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollutio... | 1,623 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint-disable prettier/prettier */\n/* eslint-disable func-names */\n/* eslint-disable no-undef */",
"\"use strict\";",
"const request = require(\"supertest\");\nconst express = require(\"express\");\nconst bodyParser = require(\"body-parser\");\nconst { expect } = require(\"chai\");\nconst { xss, sanitize... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [25, 13, 1224], "buggy_code_start_loc": [24, 7, 1224], "filenames": [".eslintrc.json", "lib/sanitize.js", "test/test.js"], "fixing_code_end_loc": [26, 20, 1255], "fixing_code_start_loc": [24, 7, 1225], "message": "The package express-xss-sanitizer before 1.1.3 are vulnerable to Prototype Pollutio... | 1,623 |
Determine whether the {function_name} code is vulnerable or not. | [
"",
"import socketio\nimport traceback",
"from ajenti.http import HttpHandler\nfrom ajenti.api import BasePlugin, plugin, persistent, rootcontext\nfrom ajenti.api.http import HttpPlugin, SocketPlugin\nfrom ajenti.plugins import manager\nfrom ajenti.profiler import *",
"\nclass SocketIORouteHandler (HttpHandle... | [
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0
] | PreciseBugs | {"buggy_code_end_loc": [94], "buggy_code_start_loc": [0], "filenames": ["ajenti/routing.py"], "fixing_code_end_loc": [95], "fixing_code_start_loc": [1], "message": "Multiple cross-site scripting (XSS) vulnerabilities in the respond_error function in routing.py in Eugene Pankov Ajenti before 1.2.21.7 allow remote attack... | 1,624 |
Determine whether the {function_name} code is vulnerable or not. | [
"import cgi",
"import socketio\nimport traceback",
"from ajenti.http import HttpHandler\nfrom ajenti.api import BasePlugin, plugin, persistent, rootcontext\nfrom ajenti.api.http import HttpPlugin, SocketPlugin\nfrom ajenti.plugins import manager\nfrom ajenti.profiler import *",
"\nclass SocketIORouteHandler (... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [94], "buggy_code_start_loc": [0], "filenames": ["ajenti/routing.py"], "fixing_code_end_loc": [95], "fixing_code_start_loc": [1], "message": "Multiple cross-site scripting (XSS) vulnerabilities in the respond_error function in routing.py in Eugene Pankov Ajenti before 1.2.21.7 allow remote attack... | 1,624 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* radare - LGPL - Copyright 2010-2018 - nibble, pancake */",
"#include <stdio.h>\n#include <r_types.h>\n#include <r_util.h>\n#include \"mach0.h\"",
"#define bprintf if (bin->verbose) eprintf",
"typedef struct _ulebr {\n\tut8 *p;\n} ulebr;",
"// OMG; THIS SHOULD BE KILLED; this var exposes the local native... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1589], "filenames": ["libr/bin/format/mach0/mach0.c"], "fixing_code_end_loc": [1692], "fixing_code_start_loc": [1589], "message": "The parse_import_ptr() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read ... | 1,625 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* radare - LGPL - Copyright 2010-2018 - nibble, pancake */",
"#include <stdio.h>\n#include <r_types.h>\n#include <r_util.h>\n#include \"mach0.h\"",
"#define bprintf if (bin->verbose) eprintf",
"typedef struct _ulebr {\n\tut8 *p;\n} ulebr;",
"// OMG; THIS SHOULD BE KILLED; this var exposes the local native... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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": [1589], "filenames": ["libr/bin/format/mach0/mach0.c"], "fixing_code_end_loc": [1692], "fixing_code_start_loc": [1589], "message": "The parse_import_ptr() function in radare2 2.5.0 allows remote attackers to cause a denial of service (heap-based out-of-bounds read ... | 1,625 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\nCopyright (c) 2015, Cisco Systems\nAll rights reserved.",
"Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:",
"* Redistributions of source code must retain the above copyright notice, this\n list of conditions a... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [654, 52], "buggy_code_start_loc": [653, 52], "filenames": ["dec/decode_block.c", "dec/read_bits.c"], "fixing_code_end_loc": [654, 54], "fixing_code_start_loc": [653, 53], "message": "Stack-based buffer overflow in the Cisco Thor decoder before commit 18de8f9f0762c3a542b1122589edb8af859d9813 allo... | 1,626 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\nCopyright (c) 2015, Cisco Systems\nAll rights reserved.",
"Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:",
"* Redistributions of source code must retain the above copyright notice, this\n list of conditions a... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [654, 52], "buggy_code_start_loc": [653, 52], "filenames": ["dec/decode_block.c", "dec/read_bits.c"], "fixing_code_end_loc": [654, 54], "fixing_code_start_loc": [653, 53], "message": "Stack-based buffer overflow in the Cisco Thor decoder before commit 18de8f9f0762c3a542b1122589edb8af859d9813 allo... | 1,626 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\nCopyright (c) 2015, Cisco Systems\nAll rights reserved.",
"Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:",
"* Redistributions of source code must retain the above copyright notice, this\n list of conditions a... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [654, 52], "buggy_code_start_loc": [653, 52], "filenames": ["dec/decode_block.c", "dec/read_bits.c"], "fixing_code_end_loc": [654, 54], "fixing_code_start_loc": [653, 53], "message": "Stack-based buffer overflow in the Cisco Thor decoder before commit 18de8f9f0762c3a542b1122589edb8af859d9813 allo... | 1,626 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\nCopyright (c) 2015, Cisco Systems\nAll rights reserved.",
"Redistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:",
"* Redistributions of source code must retain the above copyright notice, this\n list of conditions a... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [654, 52], "buggy_code_start_loc": [653, 52], "filenames": ["dec/decode_block.c", "dec/read_bits.c"], "fixing_code_end_loc": [654, 54], "fixing_code_start_loc": [653, 53], "message": "Stack-based buffer overflow in the Cisco Thor decoder before commit 18de8f9f0762c3a542b1122589edb8af859d9813 allo... | 1,626 |
Determine whether the {function_name} code is vulnerable or not. | [
"import DiscourseRoute from \"discourse/routes/discourse\";",
"",
"\nexport default DiscourseRoute.extend({\n beforeModel() {\n this.username = this.modelFor(\"user\").username_lower;\n },",
" model() {",
" return this.store.findAll(\"pending-post\", {\n username: this.username,\n });",
"... | [
1,
0,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [12], "buggy_code_start_loc": [1], "filenames": ["app/assets/javascripts/discourse/app/routes/user-activity-pending.js"], "fixing_code_end_loc": [24], "fixing_code_start_loc": [2], "message": "Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and ve... | 1,627 |
Determine whether the {function_name} code is vulnerable or not. | [
"import DiscourseRoute from \"discourse/routes/discourse\";",
"import { emojiUnescape } from \"discourse/lib/text\";\nimport { escapeExpression } from \"discourse/lib/utilities\";",
"\nexport default DiscourseRoute.extend({\n beforeModel() {\n this.username = this.modelFor(\"user\").username_lower;\n },",
... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [12], "buggy_code_start_loc": [1], "filenames": ["app/assets/javascripts/discourse/app/routes/user-activity-pending.js"], "fixing_code_end_loc": [24], "fixing_code_start_loc": [2], "message": "Discourse is an option source discussion platform. Prior to version 2.8.14 on the `stable` branch and ve... | 1,627 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * trace event based perf event profiling/tracing\n *\n * Copyright (C) 2009 Red Hat Inc, Peter Zijlstra <pzijlstr@redhat.com>\n * Copyright (C) 2009-2010 Frederic Weisbecker <fweisbec@gmail.com>\n */",
"#include <linux/module.h>\n#include <linux/kprobes.h>\n#include \"trace.h\"",
"static char __percpu *pe... | [
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [30], "buggy_code_start_loc": [29], "filenames": ["kernel/trace/trace_event_perf.c"], "fixing_code_end_loc": [30], "fixing_code_start_loc": [29], "message": "The perf_trace_event_perm function in kernel/trace/trace_event_perf.c in the Linux kernel before 3.12.2 does not properly restrict access t... | 1,628 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * trace event based perf event profiling/tracing\n *\n * Copyright (C) 2009 Red Hat Inc, Peter Zijlstra <pzijlstr@redhat.com>\n * Copyright (C) 2009-2010 Frederic Weisbecker <fweisbec@gmail.com>\n */",
"#include <linux/module.h>\n#include <linux/kprobes.h>\n#include \"trace.h\"",
"static char __percpu *pe... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [30], "buggy_code_start_loc": [29], "filenames": ["kernel/trace/trace_event_perf.c"], "fixing_code_end_loc": [30], "fixing_code_start_loc": [29], "message": "The perf_trace_event_perm function in kernel/trace/trace_event_perf.c in the Linux kernel before 3.12.2 does not properly restrict access t... | 1,628 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * corre.c\n *\n * Routines to implement Compact Rise-and-Run-length Encoding (CoRRE). This\n * code is based on krw's original javatel rfbserver.\n */",
"/*\n * Copyright (C) 2002 RealVNC Ltd.\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code Copyright (C) 19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
] | PreciseBugs | {"buggy_code_end_loc": [237, 228, 204], "buggy_code_start_loc": [236, 227, 203], "filenames": ["libvncserver/corre.c", "libvncserver/hextile.c", "libvncserver/rre.c"], "fixing_code_end_loc": [237, 228, 204], "fixing_code_start_loc": [236, 227, 203], "message": "An issue was discovered in LibVNCServer before 0.9.13. lib... | 1,629 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * corre.c\n *\n * Routines to implement Compact Rise-and-Run-length Encoding (CoRRE). This\n * code is based on krw's original javatel rfbserver.\n */",
"/*\n * Copyright (C) 2002 RealVNC Ltd.\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code Copyright (C) 19... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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, 228, 204], "buggy_code_start_loc": [236, 227, 203], "filenames": ["libvncserver/corre.c", "libvncserver/hextile.c", "libvncserver/rre.c"], "fixing_code_end_loc": [237, 228, 204], "fixing_code_start_loc": [236, 227, 203], "message": "An issue was discovered in LibVNCServer before 0.9.13. lib... | 1,629 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * hextile.c\n *\n * Routines to implement Hextile Encoding\n */",
"/*\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code Copyright (C) 1999 AT&T Laboratories Cambridge. \n * All Rights Reserved.\n *\n * This is free software; you can redistribute it and/or mo... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [237, 228, 204], "buggy_code_start_loc": [236, 227, 203], "filenames": ["libvncserver/corre.c", "libvncserver/hextile.c", "libvncserver/rre.c"], "fixing_code_end_loc": [237, 228, 204], "fixing_code_start_loc": [236, 227, 203], "message": "An issue was discovered in LibVNCServer before 0.9.13. lib... | 1,629 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * hextile.c\n *\n * Routines to implement Hextile Encoding\n */",
"/*\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code Copyright (C) 1999 AT&T Laboratories Cambridge. \n * All Rights Reserved.\n *\n * This is free software; you can redistribute it and/or mo... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [237, 228, 204], "buggy_code_start_loc": [236, 227, 203], "filenames": ["libvncserver/corre.c", "libvncserver/hextile.c", "libvncserver/rre.c"], "fixing_code_end_loc": [237, 228, 204], "fixing_code_start_loc": [236, 227, 203], "message": "An issue was discovered in LibVNCServer before 0.9.13. lib... | 1,629 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * rre.c\n *\n * Routines to implement Rise-and-Run-length Encoding (RRE). This\n * code is based on krw's original javatel rfbserver.\n */",
"/*\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code Copyright (C) 1999 AT&T Laboratories Cambridge. \n * All Rights... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [237, 228, 204], "buggy_code_start_loc": [236, 227, 203], "filenames": ["libvncserver/corre.c", "libvncserver/hextile.c", "libvncserver/rre.c"], "fixing_code_end_loc": [237, 228, 204], "fixing_code_start_loc": [236, 227, 203], "message": "An issue was discovered in LibVNCServer before 0.9.13. lib... | 1,629 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * rre.c\n *\n * Routines to implement Rise-and-Run-length Encoding (RRE). This\n * code is based on krw's original javatel rfbserver.\n */",
"/*\n * OSXvnc Copyright (C) 2001 Dan McGuirk <mcguirk@incompleteness.net>.\n * Original Xvnc code Copyright (C) 1999 AT&T Laboratories Cambridge. \n * All Rights... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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, 228, 204], "buggy_code_start_loc": [236, 227, 203], "filenames": ["libvncserver/corre.c", "libvncserver/hextile.c", "libvncserver/rre.c"], "fixing_code_end_loc": [237, 228, 204], "fixing_code_start_loc": [236, 227, 203], "message": "An issue was discovered in LibVNCServer before 0.9.13. lib... | 1,629 |
Determine whether the {function_name} code is vulnerable or not. | [
"Cacti CHANGELOG",
"1.1.18\n-issue#902: Correcting some issues with Console and External Links\n-issue#903: Upgrade pace.js to v0.7.8\n-issue#904: Allow user to hide Graphs from disabled Devices\n-issue#906: Create a separate Realm for Realtime Graphs\n-issue#907: XSS issue in spikekill.php\n-issue#910: Boost las... | [
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": [12, 1683], "buggy_code_start_loc": [12, 54], "filenames": ["docs/CHANGELOG", "lib/html.php"], "fixing_code_end_loc": [14, 1693], "fixing_code_start_loc": [13, 54], "message": "lib/html.php in Cacti before 1.1.18 has XSS via the title field of an external link added by an authenticated user.", "o... | 1,630 |
Determine whether the {function_name} code is vulnerable or not. | [
"Cacti CHANGELOG",
"1.1.18\n-issue#902: Correcting some issues with Console and External Links\n-issue#903: Upgrade pace.js to v0.7.8\n-issue#904: Allow user to hide Graphs from disabled Devices\n-issue#906: Create a separate Realm for Realtime Graphs\n-issue#907: XSS issue in spikekill.php\n-issue#910: Boost las... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [12, 1683], "buggy_code_start_loc": [12, 54], "filenames": ["docs/CHANGELOG", "lib/html.php"], "fixing_code_end_loc": [14, 1693], "fixing_code_start_loc": [13, 54], "message": "lib/html.php in Cacti before 1.1.18 has XSS via the title field of an external link added by an authenticated user.", "o... | 1,630 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n +-------------------------------------------------------------------------+\n | Copyright (C) 2004-2017 The Cacti Group |\n | |\n | This program is free software; you can redistribute it and/or ... | [
1,
1,
1,
1,
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,
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... | PreciseBugs | {"buggy_code_end_loc": [12, 1683], "buggy_code_start_loc": [12, 54], "filenames": ["docs/CHANGELOG", "lib/html.php"], "fixing_code_end_loc": [14, 1693], "fixing_code_start_loc": [13, 54], "message": "lib/html.php in Cacti before 1.1.18 has XSS via the title field of an external link added by an authenticated user.", "o... | 1,630 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/*\n +-------------------------------------------------------------------------+\n | Copyright (C) 2004-2017 The Cacti Group |\n | |\n | This program is free software; you can redistribute it and/or ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [12, 1683], "buggy_code_start_loc": [12, 54], "filenames": ["docs/CHANGELOG", "lib/html.php"], "fixing_code_end_loc": [14, 1693], "fixing_code_start_loc": [13, 54], "message": "lib/html.php in Cacti before 1.1.18 has XSS via the title field of an external link added by an authenticated user.", "o... | 1,630 |
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,
0,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
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
] | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
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,
0,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
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
] | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
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... | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* Copyright 2017 The TensorFlow Authors. All Rights Reserved.",
"Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at",
" http://www.apache.org/licenses/LICENSE-2.0",
"Unless required b... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2015 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,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Copyright 2015 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
] | PreciseBugs | {"buggy_code_end_loc": [70, 91, 464, 208], "buggy_code_start_loc": [35, 58, 27, 208], "filenames": ["tensorflow/core/kernels/quantized_activation_ops.cc", "tensorflow/core/kernels/quantized_activation_ops_test.cc", "tensorflow/core/kernels/quantized_add_op.cc", "tensorflow/python/kernel_tests/quantization_ops/quantizat... | 1,631 |
Determine whether the {function_name} code is vulnerable or not. | [
"---",
"dependencies:",
" - role: debops.ferm\n ferm_input_list:",
" - type: 'dport_accept'\n dport: [ 'ntp' ]",
"",
" saddr: '{{ ntp_allow }}'",
" accept_any: True",
" filename: 'ntp_dependency_accept'",
"",
" weight: '50'\n enabled: '{{ ntp_list... | [
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [12], "buggy_code_start_loc": [9], "filenames": ["meta/main.yml"], "fixing_code_end_loc": [20], "fixing_code_start_loc": [10], "message": "A vulnerability, which was classified as problematic, has been found in drybjed ansible-ntp. Affected by this issue is some unknown functionality of the file ... | 1,632 |
Determine whether the {function_name} code is vulnerable or not. | [
"---",
"dependencies:",
" - role: debops.ferm\n ferm_input_list:",
" - type: 'dport_accept'\n dport: [ 'ntp' ]",
" protocol: [ 'tcp', 'udp' ]",
" saddr: '{{ ntp_allow }}'",
"",
" filename: 'ntp_dependency_accept'",
" weight: '50'\n enabled: '{{ ntp_... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [12], "buggy_code_start_loc": [9], "filenames": ["meta/main.yml"], "fixing_code_end_loc": [20], "fixing_code_start_loc": [10], "message": "A vulnerability, which was classified as problematic, has been found in drybjed ansible-ntp. Affected by this issue is some unknown functionality of the file ... | 1,632 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * This file is part of alf.io.\n *\n * alf.io is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * alf.io is distri... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [87, 207], "buggy_code_start_loc": [22, 198], "filenames": ["src/main/java/alfio/util/ExportUtils.java", "src/main/resources/alfio/web-templates/admin-index.ms"], "fixing_code_end_loc": [106, 207], "fixing_code_start_loc": [23, 198], "message": "Improper Neutralization of Formula Elements in a CS... | 1,633 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * This file is part of alf.io.\n *\n * alf.io is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * alf.io is distri... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [87, 207], "buggy_code_start_loc": [22, 198], "filenames": ["src/main/java/alfio/util/ExportUtils.java", "src/main/resources/alfio/web-templates/admin-index.ms"], "fixing_code_end_loc": [106, 207], "fixing_code_start_loc": [23, 198], "message": "Improper Neutralization of Formula Elements in a CS... | 1,633 |
Determine whether the {function_name} code is vulnerable or not. | [
"<!DOCTYPE html>\n<html lang=\"en\" data-ng-app=\"adminApplication\" data-ng-csp {{#basicConfigurationNeeded}}data-basic-configuration-needed{{/basicConfigurationNeeded}} {{#devModeEnabled}}dev-mode-enabled{{/devModeEnabled}} {{#prodModeEnabled}}prod-mode-enabled{{/prodModeEnabled}}>\n<head>\n <meta charset=\"UT... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [87, 207], "buggy_code_start_loc": [22, 198], "filenames": ["src/main/java/alfio/util/ExportUtils.java", "src/main/resources/alfio/web-templates/admin-index.ms"], "fixing_code_end_loc": [106, 207], "fixing_code_start_loc": [23, 198], "message": "Improper Neutralization of Formula Elements in a CS... | 1,633 |
Determine whether the {function_name} code is vulnerable or not. | [
"<!DOCTYPE html>\n<html lang=\"en\" data-ng-app=\"adminApplication\" data-ng-csp {{#basicConfigurationNeeded}}data-basic-configuration-needed{{/basicConfigurationNeeded}} {{#devModeEnabled}}dev-mode-enabled{{/devModeEnabled}} {{#prodModeEnabled}}prod-mode-enabled{{/prodModeEnabled}}>\n<head>\n <meta charset=\"UT... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [87, 207], "buggy_code_start_loc": [22, 198], "filenames": ["src/main/java/alfio/util/ExportUtils.java", "src/main/resources/alfio/web-templates/admin-index.ms"], "fixing_code_end_loc": [106, 207], "fixing_code_start_loc": [23, 198], "message": "Improper Neutralization of Formula Elements in a CS... | 1,633 |
Determine whether the {function_name} code is vulnerable or not. | [
"# vim: tabstop=4 shiftwidth=4 softtabstop=4",
"# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")... | [
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [98], "buggy_code_start_loc": [30], "filenames": ["horizon/views/auth_forms.py"], "fixing_code_end_loc": [105], "fixing_code_start_loc": [31], "message": "Open redirect vulnerability in views/auth_forms.py in OpenStack Dashboard (Horizon) Essex (2012.1) allows remote attackers to redirect users t... | 1,634 |
Determine whether the {function_name} code is vulnerable or not. | [
"# vim: tabstop=4 shiftwidth=4 softtabstop=4",
"# Copyright 2012 United States Government as represented by the\n# Administrator of the National Aeronautics and Space Administration.\n# All Rights Reserved.\n#\n# Copyright 2012 Nebula, Inc.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\")... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [98], "buggy_code_start_loc": [30], "filenames": ["horizon/views/auth_forms.py"], "fixing_code_end_loc": [105], "fixing_code_start_loc": [31], "message": "Open redirect vulnerability in views/auth_forms.py in OpenStack Dashboard (Horizon) Essex (2012.1) allows remote attackers to redirect users t... | 1,634 |
Determine whether the {function_name} code is vulnerable or not. | [
"/** \\ingroup payload\n * \\file lib/fsm.c\n * File state machine to handle a payload from a package.\n */",
"#include \"system.h\"",
"#include <inttypes.h>\n#include <utime.h>\n#include <errno.h>\n#include <fcntl.h>\n#if WITH_CAP\n#include <sys/capability.h>\n#endif",
"#include <rpm/rpmte.h>\n#include <rpm/... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [992], "buggy_code_start_loc": [992], "filenames": ["lib/fsm.c"], "fixing_code_end_loc": [1001], "fixing_code_start_loc": [993], "message": "A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user c... | 1,635 |
Determine whether the {function_name} code is vulnerable or not. | [
"/** \\ingroup payload\n * \\file lib/fsm.c\n * File state machine to handle a payload from a package.\n */",
"#include \"system.h\"",
"#include <inttypes.h>\n#include <utime.h>\n#include <errno.h>\n#include <fcntl.h>\n#if WITH_CAP\n#include <sys/capability.h>\n#endif",
"#include <rpm/rpmte.h>\n#include <rpm/... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [992], "buggy_code_start_loc": [992], "filenames": ["lib/fsm.c"], "fixing_code_end_loc": [1001], "fixing_code_start_loc": [993], "message": "A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user c... | 1,635 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * This file is part of alf.io.\n *\n * alf.io is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * alf.io is distri... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 89], "buggy_code_start_loc": [170, 89], "filenames": ["src/main/java/alfio/util/MustacheCustomTag.java", "src/test/java/alfio/util/MustacheCustomTagTest.java"], "fixing_code_end_loc": [202, 99], "fixing_code_start_loc": [171, 90], "message": "Cross-site Scripting (XSS) - Stored in GitHub re... | 1,636 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * This file is part of alf.io.\n *\n * alf.io is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * alf.io is distri... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 89], "buggy_code_start_loc": [170, 89], "filenames": ["src/main/java/alfio/util/MustacheCustomTag.java", "src/test/java/alfio/util/MustacheCustomTagTest.java"], "fixing_code_end_loc": [202, 99], "fixing_code_start_loc": [171, 90], "message": "Cross-site Scripting (XSS) - Stored in GitHub re... | 1,636 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * This file is part of alf.io.\n *\n * alf.io is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * alf.io is distri... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 89], "buggy_code_start_loc": [170, 89], "filenames": ["src/main/java/alfio/util/MustacheCustomTag.java", "src/test/java/alfio/util/MustacheCustomTagTest.java"], "fixing_code_end_loc": [202, 99], "fixing_code_start_loc": [171, 90], "message": "Cross-site Scripting (XSS) - Stored in GitHub re... | 1,636 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * This file is part of alf.io.\n *\n * alf.io is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * alf.io is distri... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [185, 89], "buggy_code_start_loc": [170, 89], "filenames": ["src/main/java/alfio/util/MustacheCustomTag.java", "src/test/java/alfio/util/MustacheCustomTagTest.java"], "fixing_code_end_loc": [202, 99], "fixing_code_start_loc": [171, 90], "message": "Cross-site Scripting (XSS) - Stored in GitHub re... | 1,636 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2019 HAW Hamburg\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */",
"/**\n * @ingroup sys_clif\n * @{\n *\n * @file\n * @brief CoRE Link format enco... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [259, 293], "buggy_code_start_loc": [259, 287], "filenames": ["sys/clif/clif.c", "tests/unittests/tests-clif/tests-clif.c"], "fixing_code_end_loc": [264, 305], "fixing_code_start_loc": [260, 288], "message": "RIOT-OS 2021.01 before commit 85da504d2dc30188b89f44c3276fc5a25b31251f contains a buffer... | 1,637 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * Copyright (c) 2019 HAW Hamburg\n *\n * This file is subject to the terms and conditions of the GNU Lesser\n * General Public License v2.1. See the file LICENSE in the top level\n * directory for more details.\n */",
"/**\n * @ingroup sys_clif\n * @{\n *\n * @file\n * @brief CoRE Link format enco... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [259, 293], "buggy_code_start_loc": [259, 287], "filenames": ["sys/clif/clif.c", "tests/unittests/tests-clif/tests-clif.c"], "fixing_code_end_loc": [264, 305], "fixing_code_start_loc": [260, 288], "message": "RIOT-OS 2021.01 before commit 85da504d2dc30188b89f44c3276fc5a25b31251f contains a buffer... | 1,637 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n* Copyright (C) 2019 HAW Hamburg\n*\n* This file is subject to the terms and conditions of the GNU Lesser\n* General Public License v2.1. See the file LICENSE in the top level\n* directory for more details.\n*/",
"#include <string.h>\n#include \"embUnit.h\"\n#include \"tests-clif.h\"",
"#include \"clif.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,
0,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [259, 293], "buggy_code_start_loc": [259, 287], "filenames": ["sys/clif/clif.c", "tests/unittests/tests-clif/tests-clif.c"], "fixing_code_end_loc": [264, 305], "fixing_code_start_loc": [260, 288], "message": "RIOT-OS 2021.01 before commit 85da504d2dc30188b89f44c3276fc5a25b31251f contains a buffer... | 1,637 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n* Copyright (C) 2019 HAW Hamburg\n*\n* This file is subject to the terms and conditions of the GNU Lesser\n* General Public License v2.1. See the file LICENSE in the top level\n* directory for more details.\n*/",
"#include <string.h>\n#include \"embUnit.h\"\n#include \"tests-clif.h\"",
"#include \"clif.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
] | PreciseBugs | {"buggy_code_end_loc": [259, 293], "buggy_code_start_loc": [259, 287], "filenames": ["sys/clif/clif.c", "tests/unittests/tests-clif/tests-clif.c"], "fixing_code_end_loc": [264, 305], "fixing_code_start_loc": [260, 288], "message": "RIOT-OS 2021.01 before commit 85da504d2dc30188b89f44c3276fc5a25b31251f contains a buffer... | 1,637 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Release Notes for Craft CMS 3.x",
"## Unreleased",
"### Added\n- Added `craft\\helpers\\Gql::relatedArgumentComplexity()`.",
"### Changed\n- The `relatedToAssets`, `relatedToCategories`, `relatedToEntries`, `relatedToTags`, and `relatedToUsers` GraphQL arguments now accept a list of multiple criteria sets.... | [
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,
1... | PreciseBugs | {"buggy_code_end_loc": [11, 61], "buggy_code_start_loc": [11, 14], "filenames": ["CHANGELOG.md", "src/volumes/Local.php"], "fixing_code_end_loc": [15, 115], "fixing_code_start_loc": [12, 15], "message": "An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution vulnerab... | 1,638 |
Determine whether the {function_name} code is vulnerable or not. | [
"# Release Notes for Craft CMS 3.x",
"## Unreleased",
"### Added\n- Added `craft\\helpers\\Gql::relatedArgumentComplexity()`.",
"### Changed\n- The `relatedToAssets`, `relatedToCategories`, `relatedToEntries`, `relatedToTags`, and `relatedToUsers` GraphQL arguments now accept a list of multiple criteria sets.... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [11, 61], "buggy_code_start_loc": [11, 14], "filenames": ["CHANGELOG.md", "src/volumes/Local.php"], "fixing_code_end_loc": [15, 115], "fixing_code_start_loc": [12, 15], "message": "An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution vulnerab... | 1,638 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace craft\\volumes;",
"use Craft;\nuse craft\\base\\FlysystemVolume;\nuse craft\\base\\LocalVolumeInterface;\nuse craft\\errors\\VolumeException;\nuse craft\\errors\\VolumeObjectExistsException;\nuse craft\\errors\\VolumeObjectNotFoundException;\nuse craft\\helpers\\FileHelper;\nuse League\\Flys... | [
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 61], "buggy_code_start_loc": [11, 14], "filenames": ["CHANGELOG.md", "src/volumes/Local.php"], "fixing_code_end_loc": [15, 115], "fixing_code_start_loc": [12, 15], "message": "An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution vulnerab... | 1,638 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"namespace craft\\volumes;",
"use Craft;\nuse craft\\base\\FlysystemVolume;\nuse craft\\base\\LocalVolumeInterface;\nuse craft\\errors\\VolumeException;\nuse craft\\errors\\VolumeObjectExistsException;\nuse craft\\errors\\VolumeObjectNotFoundException;\nuse craft\\helpers\\FileHelper;\nuse League\\Flys... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [11, 61], "buggy_code_start_loc": [11, 14], "filenames": ["CHANGELOG.md", "src/volumes/Local.php"], "fixing_code_end_loc": [15, 115], "fixing_code_start_loc": [12, 15], "message": "An issue was discovered in Craft CMS before 3.6.7. In some circumstances, a potential Remote Code Execution vulnerab... | 1,638 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * hid-cp2112.c - Silicon Labs HID USB to SMBus master bridge\n * Copyright (c) 2013,2014 Uplogix, Inc.\n * David Barksdale <dbarksdale@uplogix.com>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms and conditions of the GNU General Public License,\n * version ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
0,
0,
1,
1,
1,
1,
1,
0,
1,
1,
0,
0,
1,
1,
0,
1,
1,
0,
0,
1,
1,
1,
0,
1,
1,
1,
1,
1,
0,
0,
1,
1,
1,
0,
1,
1,
1,
0,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1239], "buggy_code_start_loc": [171], "filenames": ["drivers/hid/hid-cp2112.c"], "fixing_code_end_loc": [1235], "fixing_code_start_loc": [171], "message": "drivers/hid/hid-cp2112.c in the Linux kernel 4.9.x before 4.9.9 uses a spinlock without considering that sleeping is possible in a USB HID r... | 1,639 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * hid-cp2112.c - Silicon Labs HID USB to SMBus master bridge\n * Copyright (c) 2013,2014 Uplogix, Inc.\n * David Barksdale <dbarksdale@uplogix.com>\n *\n * This program is free software; you can redistribute it and/or modify it\n * under the terms and conditions of the GNU General Public License,\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": [1239], "buggy_code_start_loc": [171], "filenames": ["drivers/hid/hid-cp2112.c"], "fixing_code_end_loc": [1235], "fixing_code_start_loc": [171], "message": "drivers/hid/hid-cp2112.c in the Linux kernel 4.9.x before 4.9.9 uses a spinlock without considering that sleeping is possible in a USB HID r... | 1,639 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** vm.c - virtual machine for mruby\n**\n** See Copyright Notice in mruby.h\n*/",
"#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/hash.h>\n#include <mruby/irep.h>\n#include <mruby/numeric.h>\n#include <mruby/proc.h>\n#include <mruby/range.h>\n#include <mruby/string.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": [2770], "buggy_code_start_loc": [2769], "filenames": ["src/vm.c"], "fixing_code_end_loc": [2770], "fixing_code_start_loc": [2769], "message": "Out-of-bounds Read in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequiredAction": null, "cisaVul... | 1,640 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n** vm.c - virtual machine for mruby\n**\n** See Copyright Notice in mruby.h\n*/",
"#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/hash.h>\n#include <mruby/irep.h>\n#include <mruby/numeric.h>\n#include <mruby/proc.h>\n#include <mruby/range.h>\n#include <mruby/string.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": [2770], "buggy_code_start_loc": [2769], "filenames": ["src/vm.c"], "fixing_code_end_loc": [2770], "fixing_code_start_loc": [2769], "message": "Out-of-bounds Read in Homebrew mruby prior to 3.2.", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "cisaRequiredAction": null, "cisaVul... | 1,640 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * net/tipc/link.c: TIPC link code\n *\n * Copyright (c) 1996-2007, 2012-2016, Ericsson AB\n * Copyright (c) 2004-2007, 2010-2013, Wind River Systems\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following c... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1055], "buggy_code_start_loc": [1033], "filenames": ["net/tipc/link.c"], "fixing_code_end_loc": [1061], "fixing_code_start_loc": [1032], "message": "A remote denial of service vulnerability was found in the Linux kernel\u2019s TIPC kernel module. The while loop in tipc_link_xmit() hits an unknow... | 1,641 |
Determine whether the {function_name} code is vulnerable or not. | [
"/*\n * net/tipc/link.c: TIPC link code\n *\n * Copyright (c) 1996-2007, 2012-2016, Ericsson AB\n * Copyright (c) 2004-2007, 2010-2013, Wind River Systems\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following c... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1055], "buggy_code_start_loc": [1033], "filenames": ["net/tipc/link.c"], "fixing_code_end_loc": [1061], "fixing_code_start_loc": [1032], "message": "A remote denial of service vulnerability was found in the Linux kernel\u2019s TIPC kernel module. The while loop in tipc_link_xmit() hits an unknow... | 1,641 |
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,
0,
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,
0,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [244, 543], "buggy_code_start_loc": [14, 543], "filenames": ["tensorflow/core/kernels/fractional_avg_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_avg_pool_op_test.py"], "fixing_code_end_loc": [271, 565], "fixing_code_start_loc": [15, 544], "message": "TensorFlow is an open sourc... | 1,642 |
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
] | PreciseBugs | {"buggy_code_end_loc": [244, 543], "buggy_code_start_loc": [14, 543], "filenames": ["tensorflow/core/kernels/fractional_avg_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_avg_pool_op_test.py"], "fixing_code_end_loc": [271, 565], "fixing_code_start_loc": [15, 544], "message": "TensorFlow is an open sourc... | 1,642 |
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,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [244, 543], "buggy_code_start_loc": [14, 543], "filenames": ["tensorflow/core/kernels/fractional_avg_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_avg_pool_op_test.py"], "fixing_code_end_loc": [271, 565], "fixing_code_start_loc": [15, 544], "message": "TensorFlow is an open sourc... | 1,642 |
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
] | PreciseBugs | {"buggy_code_end_loc": [244, 543], "buggy_code_start_loc": [14, 543], "filenames": ["tensorflow/core/kernels/fractional_avg_pool_op.cc", "tensorflow/python/kernel_tests/nn_ops/fractional_avg_pool_op_test.py"], "fixing_code_end_loc": [271, 565], "fixing_code_start_loc": [15, 544], "message": "TensorFlow is an open sourc... | 1,642 |
Determine whether the {function_name} code is vulnerable or not. | [
"package chrootarchive // import \"github.com/docker/docker/pkg/chrootarchive\"",
"import (\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"os/user\"\n\t\"path/filepath\"",
"\t\"github.com/docker/docker/pkg/archive\"\n\t\"github.com/docker/docker/pkg/idtools\"\n)",
"func init() {\n\t// initial... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [84], "buggy_code_start_loc": [77], "filenames": ["pkg/chrootarchive/archive.go"], "fixing_code_end_loc": [88], "fixing_code_start_loc": [77], "message": "Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting... | 1,643 |
Determine whether the {function_name} code is vulnerable or not. | [
"package chrootarchive // import \"github.com/docker/docker/pkg/chrootarchive\"",
"import (\n\t\"fmt\"\n\t\"io\"\n\t\"io/ioutil\"\n\t\"net\"\n\t\"os\"\n\t\"os/user\"\n\t\"path/filepath\"",
"\t\"github.com/docker/docker/pkg/archive\"\n\t\"github.com/docker/docker/pkg/idtools\"\n)",
"func init() {\n\t// initial... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [84], "buggy_code_start_loc": [77], "filenames": ["pkg/chrootarchive/archive.go"], "fixing_code_end_loc": [88], "fixing_code_start_loc": [77], "message": "Moby is an open-source project created by Docker to enable software containerization. A bug was found in Moby (Docker Engine) where attempting... | 1,643 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n#**\n#\n#########\n# trape #\n#########\n#\n# trape depends of this file\n# For full copyright information this visit: https://github.com/boxug/trape\n#\n# Copyright 2017 by boxug / <hey@boxug.com>\n#**\nimport sqlite3",
"class Database(object):\n def __init__(s... | [
1,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
1,
0,
1,
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,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [99, 65, 101], "buggy_code_start_loc": [31, 50, 100], "filenames": ["core/db.py", "core/stats.py", "core/victim.py"], "fixing_code_end_loc": [116, 66, 101], "fixing_code_start_loc": [31, 49, 100], "message": "Trape before 2017-11-05 has XSS via the /nr red parameter, the /nr vId parameter, the /r... | 1,644 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n#**\n#\n#########\n# trape #\n#########\n#\n# trape depends of this file\n# For full copyright information this visit: https://github.com/boxug/trape\n#\n# Copyright 2017 by boxug / <hey@boxug.com>\n#**\nimport sqlite3",
"class Database(object):\n def __init__(s... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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, 65, 101], "buggy_code_start_loc": [31, 50, 100], "filenames": ["core/db.py", "core/stats.py", "core/victim.py"], "fixing_code_end_loc": [116, 66, 101], "fixing_code_start_loc": [31, 49, 100], "message": "Trape before 2017-11-05 has XSS via the /nr red parameter, the /nr vId parameter, the /r... | 1,644 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n#**\n#\n#########\n# trape #\n#########\n#\n# trape depends of this file\n# For full copyright information this visit: https://github.com/boxug/trape\n#\n# Copyright 2017 by boxug / <hey@boxug.com>\n#**\nimport urllib2\nfrom flask import Flask, render_template, sessi... | [
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
0,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [99, 65, 101], "buggy_code_start_loc": [31, 50, 100], "filenames": ["core/db.py", "core/stats.py", "core/victim.py"], "fixing_code_end_loc": [116, 66, 101], "fixing_code_start_loc": [31, 49, 100], "message": "Trape before 2017-11-05 has XSS via the /nr red parameter, the /nr vId parameter, the /r... | 1,644 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n#**\n#\n#########\n# trape #\n#########\n#\n# trape depends of this file\n# For full copyright information this visit: https://github.com/boxug/trape\n#\n# Copyright 2017 by boxug / <hey@boxug.com>\n#**\nimport urllib2\nfrom flask import Flask, render_template, sessi... | [
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, 65, 101], "buggy_code_start_loc": [31, 50, 100], "filenames": ["core/db.py", "core/stats.py", "core/victim.py"], "fixing_code_end_loc": [116, 66, 101], "fixing_code_start_loc": [31, 49, 100], "message": "Trape before 2017-11-05 has XSS via the /nr red parameter, the /nr vId parameter, the /r... | 1,644 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n#**\n#\n#########\n# trape #\n#########\n#\n# trape depends of this file\n# For full copyright information this visit: https://github.com/boxug/trape\n#\n# Copyright 2017 by boxug / <hey@boxug.com>\n#**\nimport time\nimport urllib2\nfrom flask import Flask, render_te... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [99, 65, 101], "buggy_code_start_loc": [31, 50, 100], "filenames": ["core/db.py", "core/stats.py", "core/victim.py"], "fixing_code_end_loc": [116, 66, 101], "fixing_code_start_loc": [31, 49, 100], "message": "Trape before 2017-11-05 has XSS via the /nr red parameter, the /nr vId parameter, the /r... | 1,644 |
Determine whether the {function_name} code is vulnerable or not. | [
"#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n#**\n#\n#########\n# trape #\n#########\n#\n# trape depends of this file\n# For full copyright information this visit: https://github.com/boxug/trape\n#\n# Copyright 2017 by boxug / <hey@boxug.com>\n#**\nimport time\nimport urllib2\nfrom flask import Flask, render_te... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [99, 65, 101], "buggy_code_start_loc": [31, 50, 100], "filenames": ["core/db.py", "core/stats.py", "core/victim.py"], "fixing_code_end_loc": [116, 66, 101], "fixing_code_start_loc": [31, 49, 100], "message": "Trape before 2017-11-05 has XSS via the /nr red parameter, the /nr vId parameter, the /r... | 1,644 |
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": [610], "buggy_code_start_loc": [537], "filenames": ["src/bin/jp2/convertbmp.c"], "fixing_code_end_loc": [619], "fixing_code_start_loc": [537], "message": "In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vuln... | 1,645 |
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": [610], "buggy_code_start_loc": [537], "filenames": ["src/bin/jp2/convertbmp.c"], "fixing_code_end_loc": [619], "fixing_code_start_loc": [537], "message": "In OpenJPEG 2.3.1, there is excessive iteration in the opj_t1_encode_cblks function of openjp2/t1.c. Remote attackers could leverage this vuln... | 1,645 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint eqeqeq: 0 */\n/* eslint no-use-before-define: 0 */\n/**\n * Baobab Helpers\n * ===============\n *\n * Miscellaneous helper functions.\n */\nimport {Monkey, MonkeyDefinition} from './monkey';\nimport type from './type';",
"const hasOwnProp = {}.hasOwnProperty;",
"/**\n * Function returning the index ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [448, 95], "buggy_code_start_loc": [447, 95], "filenames": ["src/helpers.js", "test/suites/helpers.ts"], "fixing_code_end_loc": [449, 104], "fixing_code_start_loc": [447, 96], "message": "A vulnerability was found in Yomguithereal Baobab up to 2.6.0. It has been declared as critical. Affected by ... | 1,646 |
Determine whether the {function_name} code is vulnerable or not. | [
"/* eslint eqeqeq: 0 */\n/* eslint no-use-before-define: 0 */\n/**\n * Baobab Helpers\n * ===============\n *\n * Miscellaneous helper functions.\n */\nimport {Monkey, MonkeyDefinition} from './monkey';\nimport type from './type';",
"const hasOwnProp = {}.hasOwnProperty;",
"/**\n * Function returning the index ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [448, 95], "buggy_code_start_loc": [447, 95], "filenames": ["src/helpers.js", "test/suites/helpers.ts"], "fixing_code_end_loc": [449, 104], "fixing_code_start_loc": [447, 96], "message": "A vulnerability was found in Yomguithereal Baobab up to 2.6.0. It has been declared as critical. Affected by ... | 1,646 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Baobab Helpers Unit Tests\n * ==========================\n */\nimport {strict as assert} from 'assert';\nimport {\n deepMerge,\n getIn,\n shallowMerge,\n splice,\n solveRelativePath\n// @ts-ignore\n} from '../../src/helpers';",
"describe('Helpers', function() {",
" /**\n * Nested getter\n */\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [448, 95], "buggy_code_start_loc": [447, 95], "filenames": ["src/helpers.js", "test/suites/helpers.ts"], "fixing_code_end_loc": [449, 104], "fixing_code_start_loc": [447, 96], "message": "A vulnerability was found in Yomguithereal Baobab up to 2.6.0. It has been declared as critical. Affected by ... | 1,646 |
Determine whether the {function_name} code is vulnerable or not. | [
"/**\n * Baobab Helpers Unit Tests\n * ==========================\n */\nimport {strict as assert} from 'assert';\nimport {\n deepMerge,\n getIn,\n shallowMerge,\n splice,\n solveRelativePath\n// @ts-ignore\n} from '../../src/helpers';",
"describe('Helpers', function() {",
" /**\n * Nested getter\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": [448, 95], "buggy_code_start_loc": [447, 95], "filenames": ["src/helpers.js", "test/suites/helpers.ts"], "fixing_code_end_loc": [449, 104], "fixing_code_start_loc": [447, 96], "message": "A vulnerability was found in Yomguithereal Baobab up to 2.6.0. It has been declared as critical. Affected by ... | 1,646 |
Determine whether the {function_name} code is vulnerable or not. | [
"var contra = require(\"contra\"),\n path = require(\"path\"),\n fUtils = require(\"./files\"),\n cp = require(\"child_process\");",
"var gitApp = \"git\",\n gitExtra = { env: process.env };",
"var escapeQuotes = function (str) {\n if (typeof str === \"string\") {\n return '\"' + str.replace(/([\"'$`\\\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1
] | PreciseBugs | {"buggy_code_end_loc": [65], "buggy_code_start_loc": [64], "filenames": ["lib/git.js"], "fixing_code_end_loc": [65], "fixing_code_start_loc": [64], "message": "The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.", "other": {"cve": {"cisaActionDue": null, "ci... | 1,647 |
Determine whether the {function_name} code is vulnerable or not. | [
"var contra = require(\"contra\"),\n path = require(\"path\"),\n fUtils = require(\"./files\"),\n cp = require(\"child_process\");",
"var gitApp = \"git\",\n gitExtra = { env: process.env };",
"var escapeQuotes = function (str) {\n if (typeof str === \"string\") {\n return '\"' + str.replace(/([\"'$`\\\... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [65], "buggy_code_start_loc": [64], "filenames": ["lib/git.js"], "fixing_code_end_loc": [65], "fixing_code_start_loc": [64], "message": "The issue occurs because tagName user input is formatted inside the exec function is executed without any checks.", "other": {"cve": {"cisaActionDue": null, "ci... | 1,647 |
Determine whether the {function_name} code is vulnerable or not. | [
"import sshpubkeys\nfrom sqlalchemy.exc import IntegrityError",
"from grouper.models.counter import Counter\nfrom grouper.models.public_key import PublicKey\nfrom grouper.plugin import get_plugin_proxy\nfrom grouper.plugin.exceptions import PluginRejectedPublicKey",
"\nclass DuplicateKey(Exception):\n pass",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [74, 17, 43], "buggy_code_start_loc": [74, 17, 14], "filenames": ["grouper/public_key.py", "tests/constants.py", "tests/public_key_test.py"], "fixing_code_end_loc": [82, 27, 54], "fixing_code_start_loc": [75, 18, 14], "message": "A vulnerability was found in Dropbox merou. It has been classified ... | 1,648 |
Determine whether the {function_name} code is vulnerable or not. | [
"import sshpubkeys\nfrom sqlalchemy.exc import IntegrityError",
"from grouper.models.counter import Counter\nfrom grouper.models.public_key import PublicKey\nfrom grouper.plugin import get_plugin_proxy\nfrom grouper.plugin.exceptions import PluginRejectedPublicKey",
"\nclass DuplicateKey(Exception):\n pass",... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [74, 17, 43], "buggy_code_start_loc": [74, 17, 14], "filenames": ["grouper/public_key.py", "tests/constants.py", "tests/public_key_test.py"], "fixing_code_end_loc": [82, 27, 54], "fixing_code_start_loc": [75, 18, 14], "message": "A vulnerability was found in Dropbox merou. It has been classified ... | 1,648 |
Determine whether the {function_name} code is vulnerable or not. | [
"SSH_KEY_1 = (\n \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCUQeasspT/etEJR2WUoR+h2sMOQYbJgr0QE+J8p97gEhmz107KWZ+3\"\n \"mbOwyIFzfWBcJZCEg9wy5Paj+YxbGONqbpXAhPdVQ2TLgxr41bNXvbcRAxZC+Q12UZywR4Klb2kungKz4qkcmSZzouaKK\"\n \"12UxzGB3xQ0N+3osKFj3xA1+B6HqrVreU19XdVoAJh0xLZwhw17/NDM+dAcEdMZ9V89KyjwjraXtOVfFhQF0EDF0... | [
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [74, 17, 43], "buggy_code_start_loc": [74, 17, 14], "filenames": ["grouper/public_key.py", "tests/constants.py", "tests/public_key_test.py"], "fixing_code_end_loc": [82, 27, 54], "fixing_code_start_loc": [75, 18, 14], "message": "A vulnerability was found in Dropbox merou. It has been classified ... | 1,648 |
Determine whether the {function_name} code is vulnerable or not. | [
"SSH_KEY_1 = (\n \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDCUQeasspT/etEJR2WUoR+h2sMOQYbJgr0QE+J8p97gEhmz107KWZ+3\"\n \"mbOwyIFzfWBcJZCEg9wy5Paj+YxbGONqbpXAhPdVQ2TLgxr41bNXvbcRAxZC+Q12UZywR4Klb2kungKz4qkcmSZzouaKK\"\n \"12UxzGB3xQ0N+3osKFj3xA1+B6HqrVreU19XdVoAJh0xLZwhw17/NDM+dAcEdMZ9V89KyjwjraXtOVfFhQF0EDF0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [74, 17, 43], "buggy_code_start_loc": [74, 17, 14], "filenames": ["grouper/public_key.py", "tests/constants.py", "tests/public_key_test.py"], "fixing_code_end_loc": [82, 27, 54], "fixing_code_start_loc": [75, 18, 14], "message": "A vulnerability was found in Dropbox merou. It has been classified ... | 1,648 |
Determine whether the {function_name} code is vulnerable or not. | [
"import pytest\nfrom mock import patch",
"from grouper.plugin.base import BasePlugin\nfrom grouper.plugin.exceptions import PluginRejectedPublicKey\nfrom grouper.plugin.proxy import PluginProxy\nfrom grouper.public_key import (\n add_public_key,\n BadPublicKey,\n DuplicateKey,\n get_public_keys_of_use... | [
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [74, 17, 43], "buggy_code_start_loc": [74, 17, 14], "filenames": ["grouper/public_key.py", "tests/constants.py", "tests/public_key_test.py"], "fixing_code_end_loc": [82, 27, 54], "fixing_code_start_loc": [75, 18, 14], "message": "A vulnerability was found in Dropbox merou. It has been classified ... | 1,648 |
Determine whether the {function_name} code is vulnerable or not. | [
"import pytest\nfrom mock import patch",
"from grouper.plugin.base import BasePlugin\nfrom grouper.plugin.exceptions import PluginRejectedPublicKey\nfrom grouper.plugin.proxy import PluginProxy\nfrom grouper.public_key import (\n add_public_key,\n BadPublicKey,\n DuplicateKey,\n get_public_keys_of_use... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [74, 17, 43], "buggy_code_start_loc": [74, 17, 14], "filenames": ["grouper/public_key.py", "tests/constants.py", "tests/public_key_test.py"], "fixing_code_end_loc": [82, 27, 54], "fixing_code_start_loc": [75, 18, 14], "message": "A vulnerability was found in Dropbox merou. It has been classified ... | 1,648 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n\tPhoronix Test Suite\n\tURLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/\n\tCopyright (C) 2013 - 2022, Phoronix Media\n\tCopyright (C) 2013 - 2022, Michael Larabel",
"\tThis program is free software; you can redistribute it and/or modify\n\tit under the terms of the GNU General ... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [37], "buggy_code_start_loc": [36], "filenames": ["pts-core/phoromatic/phoromatic_functions.php"], "fixing_code_end_loc": [37], "fixing_code_start_loc": [36], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository phoronix-test-suite/phoronix-test-suite prior to 10.8.2.", "other"... | 1,649 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php",
"/*\n\tPhoronix Test Suite\n\tURLs: http://www.phoronix.com, http://www.phoronix-test-suite.com/\n\tCopyright (C) 2013 - 2022, Phoronix Media\n\tCopyright (C) 2013 - 2022, Michael Larabel",
"\tThis program is free software; you can redistribute it and/or modify\n\tit under the terms of the GNU General ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [37], "buggy_code_start_loc": [36], "filenames": ["pts-core/phoromatic/phoromatic_functions.php"], "fixing_code_end_loc": [37], "fixing_code_start_loc": [36], "message": "Cross-site Scripting (XSS) - Reflected in GitHub repository phoronix-test-suite/phoronix-test-suite prior to 10.8.2.", "other"... | 1,649 |
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\tGeneric socket support routines. Memory allocators, socket lock/release\n *\t\thandler for p... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [755], "buggy_code_start_loc": [718], "filenames": ["net/core/sock.c"], "fixing_code_end_loc": [755], "fixing_code_start_loc": [718], "message": "The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows l... | 1,650 |
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\tGeneric socket support routines. Memory allocators, socket lock/release\n *\t\thandler for p... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [755], "buggy_code_start_loc": [718], "filenames": ["net/core/sock.c"], "fixing_code_end_loc": [755], "fixing_code_start_loc": [718], "message": "The sock_setsockopt function in net/core/sock.c in the Linux kernel before 4.8.14 mishandles negative values of sk_sndbuf and sk_rcvbuf, which allows l... | 1,650 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * These functions can be replaced via plugins. If plugins do not redefine these\n * functions, then these will be used instead.\n *\n * @package WordPress\n */",
"if ( ! function_exists( 'wp_set_current_user' ) ) :\n\t/**\n\t * Changes the current user by ID or name.\n\t *\n\t * Set $id to null and ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1411], "buggy_code_start_loc": [1410], "filenames": ["src/wp-includes/pluggable.php"], "fixing_code_end_loc": [1411], "fixing_code_start_loc": [1410], "message": "In affected versions of WordPress, due to an issue in wp_validate_redirect() and URL sanitization, an arbitrary external link can be ... | 1,651 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\n/**\n * These functions can be replaced via plugins. If plugins do not redefine these\n * functions, then these will be used instead.\n *\n * @package WordPress\n */",
"if ( ! function_exists( 'wp_set_current_user' ) ) :\n\t/**\n\t * Changes the current user by ID or name.\n\t *\n\t * Set $id to null and ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [1411], "buggy_code_start_loc": [1410], "filenames": ["src/wp-includes/pluggable.php"], "fixing_code_end_loc": [1411], "fixing_code_start_loc": [1410], "message": "In affected versions of WordPress, due to an issue in wp_validate_redirect() and URL sanitization, an arbitrary external link can be ... | 1,651 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nclass ModelOpenbayAmazon extends Model {\n\tpublic function install() {\n\t\t$this->load->model('extension/event');",
"\t\t$this->model_extension_event->addEvent('openbaypro_amazon', 'catalog/model/checkout/order/addOrderHistory/before', 'openbay/amazon/eventAddOrderHistory');",
"\t\t$this->db->query(\"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [499], "buggy_code_start_loc": [496], "filenames": ["upload/admin/model/openbay/amazon.php"], "fixing_code_end_loc": [499], "fixing_code_start_loc": [496], "message": "SQL injection vulnerability in the updateAmazonOrderTracking function in upload/admin/model/openbay/amazon.php in OpenCart before... | 1,652 |
Determine whether the {function_name} code is vulnerable or not. | [
"<?php\nclass ModelOpenbayAmazon extends Model {\n\tpublic function install() {\n\t\t$this->load->model('extension/event');",
"\t\t$this->model_extension_event->addEvent('openbaypro_amazon', 'catalog/model/checkout/order/addOrderHistory/before', 'openbay/amazon/eventAddOrderHistory');",
"\t\t$this->db->query(\"... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... | PreciseBugs | {"buggy_code_end_loc": [499], "buggy_code_start_loc": [496], "filenames": ["upload/admin/model/openbay/amazon.php"], "fixing_code_end_loc": [499], "fixing_code_start_loc": [496], "message": "SQL injection vulnerability in the updateAmazonOrderTracking function in upload/admin/model/openbay/amazon.php in OpenCart before... | 1,652 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"Admin API.\"\"\"",
"from django import http\nfrom django.contrib.contenttypes.models import ContentType\nfrom django.utils.translation import ugettext as _",
"from django_filters import rest_framework as dj_filters\nfrom drf_spectacular.utils import extend_schema, extend_schema_view\nfrom rest_framework ... | [
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
] | PreciseBugs | {"buggy_code_end_loc": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"Admin API.\"\"\"",
"from django import http\nfrom django.contrib.contenttypes.models import ContentType\nfrom django.utils.translation import ugettext as _",
"from django_filters import rest_framework as dj_filters\nfrom drf_spectacular.utils import extend_schema, extend_schema_view\nfrom rest_framework ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"Core API v2 views.\"\"\"",
"import logging",
"from django.utils.html import escape\nfrom django.utils.translation import ugettext as _\nfrom django.utils.datastructures import MultiValueDictKeyError",
"from django.contrib.auth import login",
"from drf_spectacular.utils import extend_schema",
"from ... | [
1,
1,
1,
1,
1,
0,
1,
1,
0,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Determine whether the {function_name} code is vulnerable or not. | [
"\"\"\"Core API v2 views.\"\"\"",
"import logging",
"from django.utils.html import escape\nfrom django.utils.translation import ugettext as _\nfrom django.utils.datastructures import MultiValueDictKeyError",
"from django.contrib.auth import login",
"from drf_spectacular.utils import extend_schema",
"from ... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1
] | PreciseBugs | {"buggy_code_end_loc": [97, 194, 152, 16], "buggy_code_start_loc": [96, 12, 4, 4], "filenames": ["modoboa/admin/api/v1/viewsets.py", "modoboa/core/api/v2/views.py", "modoboa/lib/permissions.py", "modoboa/parameters/api/v2/viewsets.py"], "fixing_code_end_loc": [95, 200, 162, 19], "fixing_code_start_loc": [95, 12, 5, 4],... | 1,653 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.