prompt
stringclasses
1 value
completions
listlengths
1
63.8k
labels
listlengths
1
63.8k
source
stringclasses
1 value
other_info
stringlengths
2.06k
101k
index
int64
0
6.83k
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * German language file\n *\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/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@php...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [121, 159, 498], "buggy_code_start_loc": [119, 158, 494], "filenames": ["phpmyfaq/ajaxservice.php", "phpmyfaq/lang/language_de.php", "phpmyfaq/src/phpMyFAQ/Captcha.php"], "fixing_code_end_loc": [121, 159, 498], "fixing_code_start_loc": [119, 158, 494], "message": "Authentication Bypass by Capture...
1,676
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * German language file\n *\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/.\n *\n * @package phpMyFAQ\n * @author Thorsten Rinne <thorsten@php...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [121, 159, 498], "buggy_code_start_loc": [119, 158, 494], "filenames": ["phpmyfaq/ajaxservice.php", "phpmyfaq/lang/language_de.php", "phpmyfaq/src/phpMyFAQ/Captcha.php"], "fixing_code_end_loc": [121, 159, 498], "fixing_code_start_loc": [119, 158, 494], "message": "Authentication Bypass by Capture...
1,676
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * The phpMyFAQ Captcha class.\n *\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/.\n *\n * @package phpMyFAQ\n * @author Thomas Zeithaml ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [121, 159, 498], "buggy_code_start_loc": [119, 158, 494], "filenames": ["phpmyfaq/ajaxservice.php", "phpmyfaq/lang/language_de.php", "phpmyfaq/src/phpMyFAQ/Captcha.php"], "fixing_code_end_loc": [121, 159, 498], "fixing_code_start_loc": [119, 158, 494], "message": "Authentication Bypass by Capture...
1,676
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "/**\n * The phpMyFAQ Captcha class.\n *\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/.\n *\n * @package phpMyFAQ\n * @author Thomas Zeithaml ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [121, 159, 498], "buggy_code_start_loc": [119, 158, 494], "filenames": ["phpmyfaq/ajaxservice.php", "phpmyfaq/lang/language_de.php", "phpmyfaq/src/phpMyFAQ/Captcha.php"], "fixing_code_end_loc": [121, 159, 498], "fixing_code_start_loc": [119, 158, 494], "message": "Authentication Bypass by Capture...
1,676
Determine whether the {function_name} code is vulnerable or not.
[ "package model;\n", "", "import object.Region;\nimport util.DBManager;\nimport util.FormatManager;\nimport java.sql.ResultSet;\nimport java.util.ArrayList;\nimport javax.servlet.http.HttpServletRequest;", "/**\n *\n * @author Nick\n */\npublic class Input {", " public static String query;\n public sta...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "package model;\n", "import java.sql.PreparedStatement;", "import object.Region;\nimport util.DBManager;\nimport util.FormatManager;\nimport java.sql.ResultSet;\nimport java.util.ArrayList;\nimport javax.servlet.http.HttpServletRequest;", "/**\n *\n * @author Nick\n */\npublic class Input {", " public st...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "package model;\n", "", "import object.Region;\nimport object.Variant;\nimport util.DBManager;\nimport java.sql.ResultSet;\nimport java.util.ArrayList;", "/**\n *\n * @author Nick\n */\npublic class Output {", " public static ArrayList<Variant> variantList = new ArrayList<Variant>();\n public static V...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "package model;\n", "import java.sql.PreparedStatement;", "import object.Region;\nimport object.Variant;\nimport util.DBManager;\nimport java.sql.ResultSet;\nimport java.util.ArrayList;", "/**\n *\n * @author Nick\n */\npublic class Output {", " public static ArrayList<Variant> variantList = new ArrayLis...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "package object;\n", "", "import util.DBManager;\nimport util.FormatManager;\nimport java.sql.ResultSet;\nimport java.util.ArrayList;\nimport java.util.HashMap;", "/**\n *\n * @author Nick\n */\npublic class Variant {", " private int id;\n private String chr;\n private int chrInt;\n private int ...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "package object;\n", "import java.sql.PreparedStatement;", "import util.DBManager;\nimport util.FormatManager;\nimport java.sql.ResultSet;\nimport java.util.ArrayList;\nimport java.util.HashMap;", "/**\n *\n * @author Nick\n */\npublic class Variant {", " private int id;\n private String chr;\n pri...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "package util;", "import global.Data;\nimport java.io.FileInputStream;\nimport java.io.InputStream;\nimport java.sql.*;\nimport java.util.Properties;\nimport org.apache.tomcat.jdbc.pool.DataSource;\nimport org.apache.tomcat.jdbc.pool.PoolProperties;", "/**\n *\n * @author nick\n */\npublic class DBManager {", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "package util;", "import global.Data;\nimport java.io.FileInputStream;\nimport java.io.InputStream;\nimport java.sql.*;\nimport java.util.Properties;\nimport org.apache.tomcat.jdbc.pool.DataSource;\nimport org.apache.tomcat.jdbc.pool.PoolProperties;", "/**\n *\n * @author nick\n */\npublic class DBManager {", ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [81, 47, 140, 88], "buggy_code_start_loc": [2, 2, 2, 88], "filenames": ["src/main/java/model/Input.java", "src/main/java/model/Output.java", "src/main/java/object/Variant.java", "src/main/java/util/DBManager.java"], "fixing_code_end_loc": [82, 50, 143, 93], "fixing_code_start_loc": [3, 3, 3, 89],...
1,677
Determine whether the {function_name} code is vulnerable or not.
[ "/*!\r\n * \\file LoRaMac.c\r\n *\r\n * \\brief LoRa MAC layer implementation\r\n *\r\n * \\copyright Revised BSD License, see section \\ref LICENSE.\r\n *\r\n * \\code\r\n * ______ _\r\n * / _____) _ | |\r\n * ...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [940], "buggy_code_start_loc": [940], "filenames": ["src/mac/LoRaMac.c"], "fixing_code_end_loc": [949], "fixing_code_start_loc": [941], "message": "LoRaMac-node is a reference implementation and documentation of a LoRa network node. Versions of LoRaMac-node prior to 4.7.0 are vulnerable to a buff...
1,678
Determine whether the {function_name} code is vulnerable or not.
[ "/*!\r\n * \\file LoRaMac.c\r\n *\r\n * \\brief LoRa MAC layer implementation\r\n *\r\n * \\copyright Revised BSD License, see section \\ref LICENSE.\r\n *\r\n * \\code\r\n * ______ _\r\n * / _____) _ | |\r\n * ...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [940], "buggy_code_start_loc": [940], "filenames": ["src/mac/LoRaMac.c"], "fixing_code_end_loc": [949], "fixing_code_start_loc": [941], "message": "LoRaMac-node is a reference implementation and documentation of a LoRa network node. Versions of LoRaMac-node prior to 4.7.0 are vulnerable to a buff...
1,678
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Kernel-based Virtual Machine driver for Linux\n *\n * This module enables machines with Intel VT-x extensions to run virtual\n * machines without emulation or binary translation.\n *\n * MMU support\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright 2010 Red Hat, Inc. and/or its affiliates.\n *\n * Aut...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [189, 1287], "buggy_code_start_loc": [188, 651], "filenames": ["arch/x86/kvm/paging_tmpl.h", "virt/kvm/kvm_main.c"], "fixing_code_end_loc": [189, 1290], "fixing_code_start_loc": [188, 651], "message": "The KVM subsystem in the Linux kernel before 3.0 does not check whether kernel addresses are sp...
1,679
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Kernel-based Virtual Machine driver for Linux\n *\n * This module enables machines with Intel VT-x extensions to run virtual\n * machines without emulation or binary translation.\n *\n * MMU support\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright 2010 Red Hat, Inc. and/or its affiliates.\n *\n * Aut...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [189, 1287], "buggy_code_start_loc": [188, 651], "filenames": ["arch/x86/kvm/paging_tmpl.h", "virt/kvm/kvm_main.c"], "fixing_code_end_loc": [189, 1290], "fixing_code_start_loc": [188, 651], "message": "The KVM subsystem in the Linux kernel before 3.0 does not check whether kernel addresses are sp...
1,679
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Kernel-based Virtual Machine driver for Linux\n *\n * This module enables machines with Intel VT-x extensions to run virtual\n * machines without emulation or binary translation.\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright 2010 Red Hat, Inc. and/or its affiliates.\n *\n * Authors:\n * Avi Kivi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [189, 1287], "buggy_code_start_loc": [188, 651], "filenames": ["arch/x86/kvm/paging_tmpl.h", "virt/kvm/kvm_main.c"], "fixing_code_end_loc": [189, 1290], "fixing_code_start_loc": [188, 651], "message": "The KVM subsystem in the Linux kernel before 3.0 does not check whether kernel addresses are sp...
1,679
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * Kernel-based Virtual Machine driver for Linux\n *\n * This module enables machines with Intel VT-x extensions to run virtual\n * machines without emulation or binary translation.\n *\n * Copyright (C) 2006 Qumranet, Inc.\n * Copyright 2010 Red Hat, Inc. and/or its affiliates.\n *\n * Authors:\n * Avi Kivi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [189, 1287], "buggy_code_start_loc": [188, 651], "filenames": ["arch/x86/kvm/paging_tmpl.h", "virt/kvm/kvm_main.c"], "fixing_code_end_loc": [189, 1290], "fixing_code_start_loc": [188, 651], "message": "The KVM subsystem in the Linux kernel before 3.0 does not check whether kernel addresses are sp...
1,679
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2012-2018 (c) Peter Širka <petersirka@gmail.com>\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights...
[ 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [7331, 103], "buggy_code_start_loc": [71, 102], "filenames": ["index.js", "package.json"], "fixing_code_end_loc": [7342, 103], "fixing_code_start_loc": [70, 102], "message": "index.js in Total.js Platform before 3.2.3 allows path traversal.", "other": {"cve": {"cisaActionDue": null, "cisaExploitA...
1,680
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2012-2018 (c) Peter Širka <petersirka@gmail.com>\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [7331, 103], "buggy_code_start_loc": [71, 102], "filenames": ["index.js", "package.json"], "fixing_code_end_loc": [7342, 103], "fixing_code_start_loc": [70, 102], "message": "index.js in Total.js Platform before 3.2.3 allows path traversal.", "other": {"cve": {"cisaActionDue": null, "cisaExploitA...
1,680
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"_from\": \"total.js\",\n \"author\": {\n \"name\": \"Peter Sirka\",\n \"email\": \"petersirka@gmail.com\",\n \"url\": \"http://www.petersirka.com\"\n },\n \"bin\": {\n \"total\": \"./bin/totaljs\",\n \"total.js\": \"./bin/totaljs\",\n \"totaljs\": \"./bin...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [7331, 103], "buggy_code_start_loc": [71, 102], "filenames": ["index.js", "package.json"], "fixing_code_end_loc": [7342, 103], "fixing_code_start_loc": [70, 102], "message": "index.js in Total.js Platform before 3.2.3 allows path traversal.", "other": {"cve": {"cisaActionDue": null, "cisaExploitA...
1,680
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"_from\": \"total.js\",\n \"author\": {\n \"name\": \"Peter Sirka\",\n \"email\": \"petersirka@gmail.com\",\n \"url\": \"http://www.petersirka.com\"\n },\n \"bin\": {\n \"total\": \"./bin/totaljs\",\n \"total.js\": \"./bin/totaljs\",\n \"totaljs\": \"./bin...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [7331, 103], "buggy_code_start_loc": [71, 102], "filenames": ["index.js", "package.json"], "fixing_code_end_loc": [7342, 103], "fixing_code_start_loc": [70, 102], "message": "index.js in Total.js Platform before 3.2.3 allows path traversal.", "other": {"cve": {"cisaActionDue": null, "cisaExploitA...
1,680
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** gc.c - garbage collector for mruby\n**\n** See Copyright Notice in mruby.h\n*/", "#include <string.h>\n#include <stdlib.h>\n#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/data.h>\n#include <mruby/istruct.h>\n#include <mruby/hash.h>\n#include <mruby/proc.h>\n#includ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [229], "buggy_code_start_loc": [228], "filenames": ["src/gc.c"], "fixing_code_end_loc": [227], "fixing_code_start_loc": [227], "message": "mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "c...
1,681
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n** gc.c - garbage collector for mruby\n**\n** See Copyright Notice in mruby.h\n*/", "#include <string.h>\n#include <stdlib.h>\n#include <mruby.h>\n#include <mruby/array.h>\n#include <mruby/class.h>\n#include <mruby/data.h>\n#include <mruby/istruct.h>\n#include <mruby/hash.h>\n#include <mruby/proc.h>\n#includ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [229], "buggy_code_start_loc": [228], "filenames": ["src/gc.c"], "fixing_code_end_loc": [227], "fixing_code_start_loc": [227], "message": "mruby 2.1.2 has a double free in mrb_default_allocf (called from mrb_free and obj_free).", "other": {"cve": {"cisaActionDue": null, "cisaExploitAdd": null, "c...
1,681
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * read.c - read the blkid cache from disk, to avoid scanning all devices\n *\n * Copyright (C) 2001, 2003 Theodore Y. Ts'o\n * Copyright (C) 2001 Andreas Dilger\n *\n * %Begin-Header%\n * This file may be redistributed under the terms of the\n * GNU Lesser General Public License.\n * %End-Header%\n */", "\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * read.c - read the blkid cache from disk, to avoid scanning all devices\n *\n * Copyright (C) 2001, 2003 Theodore Y. Ts'o\n * Copyright (C) 2001 Andreas Dilger\n *\n * %Begin-Header%\n * This file may be redistributed under the terms of the\n * GNU Lesser General Public License.\n * %End-Header%\n */", "\n...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * save.c - write the cache struct to disk\n *\n * Copyright (C) 2001 by Andreas Dilger\n * Copyright (C) 2003 Theodore Ts'o\n *\n * %Begin-Header%\n * This file may be redistributed under the terms of the\n * GNU Lesser General Public License.\n * %End-Header%\n */", "#include <stdio.h>\n#include <string.h>...
[ 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * save.c - write the cache struct to disk\n *\n * Copyright (C) 2001 by Andreas Dilger\n * Copyright (C) 2003 Theodore Ts'o\n *\n * %Begin-Header%\n * This file may be redistributed under the terms of the\n * GNU Lesser General Public License.\n * %End-Header%\n */", "#include <stdio.h>\n#include <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 ]
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ ".\\\" Copyright 2000 Andreas Dilger (adilger@turbolinux.com)\n.\\\"\n.\\\" This man page was created for blkid from e2fsprogs-1.25.\n.\\\"\n.\\\" This file may be copied under the terms of the GNU Public License.\n.\\\"\n.\\\" Based on uuidgen, Mon Sep 17 10:42:12 2000, Andreas Dilger\n.TH BLKID 8 \"March 2013\" \...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ ".\\\" Copyright 2000 Andreas Dilger (adilger@turbolinux.com)\n.\\\"\n.\\\" This man page was created for blkid from e2fsprogs-1.25.\n.\\\"\n.\\\" This file may be copied under the terms of the GNU Public License.\n.\\\"\n.\\\" Based on uuidgen, Mon Sep 17 10:42:12 2000, Andreas Dilger\n.TH BLKID 8 \"March 2013\" \...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * blkid.c - User command-line interface for libblkid\n *\n * Copyright (C) 2001 Andreas Dilger\n *\n * %Begin-Header%\n * This file may be redistributed under the terms of the\n * GNU Lesser General Public License.\n * %End-Header%\n */", "#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#inclu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * blkid.c - User command-line interface for libblkid\n *\n * Copyright (C) 2001 Andreas Dilger\n *\n * %Begin-Header%\n * This file may be redistributed under the terms of the\n * GNU Lesser General Public License.\n * %End-Header%\n */", "#include <stdio.h>\n#include <stdlib.h>\n#include <unistd.h>\n#inclu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [264, 49, 204, 319], "buggy_code_start_loc": [255, 28, 203, 309], "filenames": ["libblkid/src/read.c", "libblkid/src/save.c", "misc-utils/blkid.8", "misc-utils/blkid.c"], "fixing_code_end_loc": [279, 69, 207, 319], "fixing_code_start_loc": [255, 29, 203, 309], "message": "Blkid in util-linux befo...
1,682
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by ap...
[ 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 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, 0, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0...
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "//\n// Copyright 2021 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by ap...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0 ]
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2021 The Sigstore Authors.\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "// Copyright 2022 The Sigstore Authors\n//\n// Licensed under the Apache License, Version 2.0 (the \"License\");\n// you may not use this file except in compliance with the License.\n// You may obtain a copy of the License at\n//\n// http://www.apache.org/licenses/LICENSE-2.0\n//\n// Unless required by applic...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [465, 143, 93, 52, 996, 365, 119], "buggy_code_start_loc": [22, 17, 18, 24, 995, 25, 72], "filenames": ["cmd/cosign/cli/verify/verify_blob.go", "cmd/cosign/cli/verify/verify_blob_test.go", "internal/pkg/cosign/rekor/mock/mock_rekor_client.go", "internal/pkg/cosign/rekor/signer_test.go", "pkg/cosi...
1,683
Determine whether the {function_name} code is vulnerable or not.
[ "package node", "import (\n\t\"bytes\"\n\t\"context\"\n\t\"fmt\"\n\t\"net\"\n\t\"net/http\"\n\t_ \"net/http/pprof\" // nolint: gosec // securely exposed on separate, optional port\n\t\"os\"\n\t\"strings\"\n\t\"time\"", "\t\"github.com/pkg/errors\"\n\t\"github.com/prometheus/client_golang/prometheus\"\n\t\"githu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [473, 240, 133], "buggy_code_start_loc": [473, 9, 7], "filenames": ["node/node.go", "p2p/transport.go", "p2p/transport_test.go"], "fixing_code_end_loc": [479, 253, 179], "fixing_code_start_loc": [474, 10, 8], "message": "Tendermint before versions 0.33.3, 0.32.10, and 0.31.12 has a denial-of-serv...
1,684
Determine whether the {function_name} code is vulnerable or not.
[ "package node", "import (\n\t\"bytes\"\n\t\"context\"\n\t\"fmt\"\n\t\"net\"\n\t\"net/http\"\n\t_ \"net/http/pprof\" // nolint: gosec // securely exposed on separate, optional port\n\t\"os\"\n\t\"strings\"\n\t\"time\"", "\t\"github.com/pkg/errors\"\n\t\"github.com/prometheus/client_golang/prometheus\"\n\t\"githu...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [473, 240, 133], "buggy_code_start_loc": [473, 9, 7], "filenames": ["node/node.go", "p2p/transport.go", "p2p/transport_test.go"], "fixing_code_end_loc": [479, 253, 179], "fixing_code_start_loc": [474, 10, 8], "message": "Tendermint before versions 0.33.3, 0.32.10, and 0.31.12 has a denial-of-serv...
1,684
Determine whether the {function_name} code is vulnerable or not.
[ "package p2p", "import (\n\t\"context\"\n\t\"fmt\"\n\t\"net\"\n\t\"time\"", "\t\"github.com/pkg/errors\"", "", "\n\t\"github.com/tendermint/tendermint/crypto\"\n\t\"github.com/tendermint/tendermint/p2p/conn\"\n)", "const (\n\tdefaultDialTimeout = time.Second\n\tdefaultFilterTimeout = 5 * time.Seco...
[ 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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": [473, 240, 133], "buggy_code_start_loc": [473, 9, 7], "filenames": ["node/node.go", "p2p/transport.go", "p2p/transport_test.go"], "fixing_code_end_loc": [479, 253, 179], "fixing_code_start_loc": [474, 10, 8], "message": "Tendermint before versions 0.33.3, 0.32.10, and 0.31.12 has a denial-of-serv...
1,684
Determine whether the {function_name} code is vulnerable or not.
[ "package p2p", "import (\n\t\"context\"\n\t\"fmt\"\n\t\"net\"\n\t\"time\"", "\t\"github.com/pkg/errors\"", "\t\"golang.org/x/net/netutil\"", "\n\t\"github.com/tendermint/tendermint/crypto\"\n\t\"github.com/tendermint/tendermint/p2p/conn\"\n)", "const (\n\tdefaultDialTimeout = time.Second\n\tdefaultFi...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [473, 240, 133], "buggy_code_start_loc": [473, 9, 7], "filenames": ["node/node.go", "p2p/transport.go", "p2p/transport_test.go"], "fixing_code_end_loc": [479, 253, 179], "fixing_code_start_loc": [474, 10, 8], "message": "Tendermint before versions 0.33.3, 0.32.10, and 0.31.12 has a denial-of-serv...
1,684
Determine whether the {function_name} code is vulnerable or not.
[ "package p2p", "import (\n\t\"fmt\"\n\t\"math/rand\"\n\t\"net\"\n\t\"reflect\"", "", "\t\"testing\"\n\t\"time\"", "\t\"github.com/tendermint/tendermint/crypto/ed25519\"\n\t\"github.com/tendermint/tendermint/p2p/conn\"\n)", "var defaultNodeName = \"host_peer\"", "func emptyNodeInfo() NodeInfo {\n\treturn...
[ 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [473, 240, 133], "buggy_code_start_loc": [473, 9, 7], "filenames": ["node/node.go", "p2p/transport.go", "p2p/transport_test.go"], "fixing_code_end_loc": [479, 253, 179], "fixing_code_start_loc": [474, 10, 8], "message": "Tendermint before versions 0.33.3, 0.32.10, and 0.31.12 has a denial-of-serv...
1,684
Determine whether the {function_name} code is vulnerable or not.
[ "package p2p", "import (\n\t\"fmt\"\n\t\"math/rand\"\n\t\"net\"\n\t\"reflect\"", "\t\"strings\"", "\t\"testing\"\n\t\"time\"", "\t\"github.com/tendermint/tendermint/crypto/ed25519\"\n\t\"github.com/tendermint/tendermint/p2p/conn\"\n)", "var defaultNodeName = \"host_peer\"", "func emptyNodeInfo() NodeInf...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [473, 240, 133], "buggy_code_start_loc": [473, 9, 7], "filenames": ["node/node.go", "p2p/transport.go", "p2p/transport_test.go"], "fixing_code_end_loc": [479, 253, 179], "fixing_code_start_loc": [474, 10, 8], "message": "Tendermint before versions 0.33.3, 0.32.10, and 0.31.12 has a denial-of-serv...
1,684
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ninclude(\"init.php\");", "$user = (object) new user();", "$action = getArrayVal($_GET, \"action\");\n$id = getArrayVal($_GET, \"id\");\n$mode = getArrayVal($_GET, \"mode\");", "if ($action != \"login\" and $action != \"logout\" and $action != \"resetpassword\" and $action != \"loginerror\") {\n if ...
[ 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 ]
PreciseBugs
{"buggy_code_end_loc": [155], "buggy_code_start_loc": [154], "filenames": ["manageuser.php"], "fixing_code_end_loc": [155], "fixing_code_start_loc": [154], "message": "Multiple incomplete blacklist vulnerabilities in the avatar upload functionality in manageuser.php in Collabtive before 2.1 allow remote authenticated u...
1,685
Determine whether the {function_name} code is vulnerable or not.
[ "<?php\ninclude(\"init.php\");", "$user = (object) new user();", "$action = getArrayVal($_GET, \"action\");\n$id = getArrayVal($_GET, \"id\");\n$mode = getArrayVal($_GET, \"mode\");", "if ($action != \"login\" and $action != \"logout\" and $action != \"resetpassword\" and $action != \"loginerror\") {\n if ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [155], "buggy_code_start_loc": [154], "filenames": ["manageuser.php"], "fixing_code_end_loc": [155], "fixing_code_start_loc": [154], "message": "Multiple incomplete blacklist vulnerabilities in the avatar upload functionality in manageuser.php in Collabtive before 2.1 allow remote authenticated u...
1,685
Determine whether the {function_name} code is vulnerable or not.
[ "Increase jslMatch error buffer size to handle \"UNFINISHED TEMPLATE LITERAL\" string (#1426)\n nRF5x: Make FlashWrite cope with flash writes > 4k\n Increase max size of native strings on platforms that support it - 16 bit to 32 bit (#1432)\n Fix stack size detection on Linux (fix #...
[ 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, 1...
PreciseBugs
{"buggy_code_end_loc": [6, 1718], "buggy_code_start_loc": [6, 1718], "filenames": ["ChangeLog", "src/jsparse.c"], "fixing_code_end_loc": [8, 1720], "fixing_code_start_loc": [7, 1719], "message": "Espruino before 1.99 allows attackers to cause a denial of service (application crash) with a user crafted input file via a ...
1,686
Determine whether the {function_name} code is vulnerable or not.
[ "Increase jslMatch error buffer size to handle \"UNFINISHED TEMPLATE LITERAL\" string (#1426)\n nRF5x: Make FlashWrite cope with flash writes > 4k\n Increase max size of native strings on platforms that support it - 16 bit to 32 bit (#1432)\n Fix stack size detection on Linux (fix #...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6, 1718], "buggy_code_start_loc": [6, 1718], "filenames": ["ChangeLog", "src/jsparse.c"], "fixing_code_end_loc": [8, 1720], "fixing_code_start_loc": [7, 1719], "message": "Espruino before 1.99 allows attackers to cause a denial of service (application crash) with a user crafted input file via a ...
1,686
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6, 1718], "buggy_code_start_loc": [6, 1718], "filenames": ["ChangeLog", "src/jsparse.c"], "fixing_code_end_loc": [8, 1720], "fixing_code_start_loc": [7, 1719], "message": "Espruino before 1.99 allows attackers to cause a denial of service (application crash) with a user crafted input file via a ...
1,686
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n * This file is part of Espruino, a JavaScript interpreter for Microcontrollers\n *\n * Copyright (C) 2013 Gordon Williams <gw@pur3.co.uk>\n *\n * This Source Code Form is subject to the terms of the Mozilla Public\n * License, v. 2.0. If a copy of the MPL was not distributed with this\n * file, You can obtain...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [6, 1718], "buggy_code_start_loc": [6, 1718], "filenames": ["ChangeLog", "src/jsparse.c"], "fixing_code_end_loc": [8, 1720], "fixing_code_start_loc": [7, 1719], "message": "Espruino before 1.99 allows attackers to cause a denial of service (application crash) with a user crafted input file via a ...
1,686
Determine whether the {function_name} code is vulnerable or not.
[ "import express from 'express'\nimport { body } from 'express-validator'\nimport { isPreImportVideoAccepted } from '@server/lib/moderation'\nimport { Hooks } from '@server/lib/plugins/hooks'\nimport { HttpStatusCode } from '@shared/models'\nimport { VideoImportCreate } from '@shared/models/videos/import/video-impor...
[ 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [73, 110], "buggy_code_start_loc": [15, 110], "filenames": ["server/middlewares/validators/videos/video-imports.ts", "server/tests/api/check-params/video-imports.ts"], "fixing_code_end_loc": [92, 139], "fixing_code_start_loc": [16, 111], "message": "peertube is vulnerable to Server-Side Request F...
1,687
Determine whether the {function_name} code is vulnerable or not.
[ "import express from 'express'\nimport { body } from 'express-validator'\nimport { isPreImportVideoAccepted } from '@server/lib/moderation'\nimport { Hooks } from '@server/lib/plugins/hooks'\nimport { HttpStatusCode } from '@shared/models'\nimport { VideoImportCreate } from '@shared/models/videos/import/video-impor...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [73, 110], "buggy_code_start_loc": [15, 110], "filenames": ["server/middlewares/validators/videos/video-imports.ts", "server/tests/api/check-params/video-imports.ts"], "fixing_code_end_loc": [92, 139], "fixing_code_start_loc": [16, 111], "message": "peertube is vulnerable to Server-Side Request F...
1,687
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */", "import 'mocha'\nimport { omit } from 'lodash'\nimport {\n buildAbsoluteFixturePath,\n checkBadCountPagination,\n checkBadSortPagination,\n checkBadStartPagination,\n cleanupTests,\n createSingleServer,\n FIXT...
[ 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": [73, 110], "buggy_code_start_loc": [15, 110], "filenames": ["server/middlewares/validators/videos/video-imports.ts", "server/tests/api/check-params/video-imports.ts"], "fixing_code_end_loc": [92, 139], "fixing_code_start_loc": [16, 111], "message": "peertube is vulnerable to Server-Side Request F...
1,687
Determine whether the {function_name} code is vulnerable or not.
[ "/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */", "import 'mocha'\nimport { omit } from 'lodash'\nimport {\n buildAbsoluteFixturePath,\n checkBadCountPagination,\n checkBadSortPagination,\n checkBadStartPagination,\n cleanupTests,\n createSingleServer,\n FIXT...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [73, 110], "buggy_code_start_loc": [15, 110], "filenames": ["server/middlewares/validators/videos/video-imports.ts", "server/tests/api/check-params/video-imports.ts"], "fixing_code_end_loc": [92, 139], "fixing_code_start_loc": [16, 111], "message": "peertube is vulnerable to Server-Side Request F...
1,687
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n +----------------------------------------------------------------------+\n | PHP Version 5 |\n +----------------------------------------------------------------------+\n | Copyright (c) 1997-2015 The PHP Group |\n ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [3099], "buggy_code_start_loc": [82], "filenames": ["ext/spl/spl_directory.c"], "fixing_code_end_loc": [3103], "fixing_code_start_loc": [82], "message": "Integer overflow in the SplFileObject::fread function in spl_directory.c in the SPL extension in PHP before 5.5.37 and 5.6.x before 5.6.23 allo...
1,688
Determine whether the {function_name} code is vulnerable or not.
[ "/*\n +----------------------------------------------------------------------+\n | PHP Version 5 |\n +----------------------------------------------------------------------+\n | Copyright (c) 1997-2015 The PHP Group |\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": [3099], "buggy_code_start_loc": [82], "filenames": ["ext/spl/spl_directory.c"], "fixing_code_end_loc": [3103], "fixing_code_start_loc": [82], "message": "Integer overflow in the SplFileObject::fread function in spl_directory.c in the SPL extension in PHP before 5.5.37 and 5.6.x before 5.6.23 allo...
1,688
Determine whether the {function_name} code is vulnerable or not.
[ "en:\n reports:\n currently_away:\n title: Users currently away\n labels:\n username: Username", " discourse_automation:\n triggerables:\n event_started:\n title: Event started\n system_messages:\n discourse_calendar_holiday_region_invalid: \"The holiday region you provide...
[ 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "en:\n reports:\n currently_away:\n title: Users currently away\n labels:\n username: Username", " discourse_automation:\n triggerables:\n event_started:\n title: Event started\n system_messages:\n discourse_calendar_holiday_region_invalid: \"The holiday region you provide...
[ 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "module Jobs\n class DiscoursePostEventBulkInvite < ::Jobs::Base\n sidekiq_options retry: false", " def initialize\n super", " @logs = []\n @processed = 0\n @failed = 0\n end", " def execute(args)\n invitees = args[:invitees]\n rais...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "module Jobs\n class DiscoursePostEventBulkInvite < ::Jobs::Base\n sidekiq_options retry: false", " def initialize\n super", " @logs = []\n @processed = 0\n @failed = 0\n end", " def execute(args)\n invitees = args[:invitees]\n rais...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "module DiscoursePostEvent\n class EventValidator\n VALID_RECURRENCES = %w[\n every_month\n every_week\n every_two_weeks\n every_day\n every_weekday\n ]", " def initialize(post)\n @post = post\n end", " def validate_event\n ex...
[ 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "module DiscoursePostEvent\n class EventValidator\n VALID_RECURRENCES = %w[\n every_month\n every_week\n every_two_weeks\n every_day\n every_weekday\n ]", " def initialize(post)\n @post = post\n end", " def validate_event\n ex...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require 'rails_helper'\nrequire 'securerandom'", "describe Post do\n Event ||= DiscoursePostEvent::Event\n Invitee ||= DiscoursePostEvent::Invitee", " before do\n freeze_time\n Jobs.run_immediately!\n SiteSetting.calendar_enabled = true\n SiteSetting.discourse_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true", "require 'rails_helper'\nrequire 'securerandom'", "describe Post do\n Event ||= DiscoursePostEvent::Event\n Invitee ||= DiscoursePostEvent::Invitee", " before do\n freeze_time\n Jobs.run_immediately!\n SiteSetting.calendar_enabled = true\n SiteSetting.discourse_...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nrequire \"rails_helper\"", "module DiscoursePostEvent\n describe EventsController do\n before do\n Jobs.run_immediately!\n SiteSetting.calendar_enabled = true\n SiteSetting.discourse_post_event_enabled = true\n SiteSetting.displayed_invitees_limit = 3\n e...
[ 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "# frozen_string_literal: true\nrequire \"rails_helper\"", "module DiscoursePostEvent\n describe EventsController do\n before do\n Jobs.run_immediately!\n SiteSetting.calendar_enabled = true\n SiteSetting.discourse_post_event_enabled = true\n SiteSetting.displayed_invitees_limit = 3\n e...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [83, 115, 85, 571, 226], "buggy_code_start_loc": [83, 35, 34, 254, 13], "filenames": ["config/locales/server.en.yml", "jobs/regular/discourse_post_event/bulk_invite.rb", "lib/discourse_post_event/event_validator.rb", "spec/integration/post_spec.rb", "spec/requests/events_controller_spec.rb"], "fi...
1,689
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @module lifion-verify-deps\n */", "'use strict';", "const { blue, bold, green, red } = require('chalk');\nconst path = require('path');\nconst semver = require('semver');\nconst { exec } = require('child_process');\nconst { promisify } = require('util');", "", "\nconst execAsync = promisify(exec);\...
[ 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "/**\n * @module lifion-verify-deps\n */", "'use strict';", "const { blue, bold, green, red } = require('chalk');\nconst path = require('path');\nconst semver = require('semver');\nconst { exec } = require('child_process');\nconst { promisify } = require('util');", "const validatePackageName = require('valida...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const Chance = require('chance');\nconst { promisify: getMockExecAsync } = require('util');\nconst { join: mockJoin } = require('path');\nconst verifyDeps = require('.');", "jest.mock('path', () => ({ join: jest.fn() }));\njest.mock('child_process', () => ({}));\njest.mock('util', () => {\n 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, 0, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const Chance = require('chance');\nconst { promisify: getMockExecAsync } = require('util');\nconst { join: mockJoin } = require('path');\nconst verifyDeps = require('.');", "jest.mock('path', () => ({ join: jest.fn() }));\njest.mock('child_process', () => ({}));\njest.mock('util', () => {\n 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 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"lifion-verify-deps\",\n \"version\": \"1.1.0\",\n \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@babel/code-frame\": {\n \"version\": \"7.12.11\",\n \"resolved\": \"https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz\",\n \"integrit...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"lifion-verify-deps\",\n \"version\": \"1.1.0\",\n \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@babel/code-frame\": {\n \"version\": \"7.12.11\",\n \"resolved\": \"https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz\",\n \"integrit...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"lifion-verify-deps\",\n \"version\": \"1.1.0\",\n \"description\": \"Verifies that installed NPM modules are the latest currently available version.\",\n \"keywords\": [\n \"check\",\n \"dependencies\",\n \"installed\",\n \"lifion\",\n \"update\",\n \"upgrade\",\n \"verify\...
[ 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"lifion-verify-deps\",\n \"version\": \"1.1.0\",\n \"description\": \"Verifies that installed NPM modules are the latest currently available version.\",\n \"keywords\": [\n \"check\",\n \"dependencies\",\n \"installed\",\n \"lifion\",\n \"update\",\n \"upgrade\",\n \"verify\...
[ 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [24, 347, 8781, 52], "buggy_code_start_loc": [11, 347, 1566, 51], "filenames": ["lib/index.js", "lib/index.test.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [35, 356, 8795, 53], "fixing_code_start_loc": [12, 348, 1567, 51], "message": "lifion-verify-dependencies through 1.1.0...
1,690
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const extend = Object.assign;\nconst express = require('express');\nconst domain = require('domain');\nconst mongoose = require('mongoose');\nconst Schema = mongoose.Schema;\nconst flash = require('connect-flash');\nconst path = require('path');\nconst fs = require('fs');\nconst csrf = require('...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const extend = Object.assign;\nconst express = require('express');\nconst domain = require('domain');\nconst mongoose = require('mongoose');\nconst Schema = mongoose.Schema;\nconst flash = require('connect-flash');\nconst path = require('path');\nconst fs = require('fs');\nconst csrf = require('...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const path = require('path');\nconst isProd = process.env.NODE_ENV === 'production';", "module.exports = function(webSel) {\n let conf = {\n baseDir: process.cwd(),\n isProd: isProd,\n isProduction: isProd,", " dataDir: 'data',\n tmpDir: 'data/tmp',", "", "\n extendWeb...
[ 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": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "'use strict';", "const path = require('path');\nconst isProd = process.env.NODE_ENV === 'production';", "module.exports = function(webSel) {\n let conf = {\n baseDir: process.cwd(),\n isProd: isProd,\n isProduction: isProd,", " dataDir: 'data',\n tmpDir: 'data/tmp',", " allowedRedirectHo...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"oils\",", " \"version\": \"7.8.6\",", " \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@root/mkdirp\": {\n \"version\": \"1.0.0\",\n \"resolved\": \"https://registry.npmjs.org/@root/mkdirp/-/mkdirp-1.0.0.tgz\",\n \"integrity\": \"sha512-hxGAYUx502...
[ 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": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"oils\",", " \"version\": \"8.0.0\",", " \"lockfileVersion\": 1,\n \"requires\": true,\n \"dependencies\": {\n \"@root/mkdirp\": {\n \"version\": \"1.0.0\",\n \"resolved\": \"https://registry.npmjs.org/@root/mkdirp/-/mkdirp-1.0.0.tgz\",\n \"integrity\": \"sha512-hxGAYUx502...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"oils\",", " \"version\": \"7.8.6\",", " \"description\": \"A slightly opinionated web framework built on top of Express 4.\",\n \"keywords\": [\n \"OilsJs\",\n \"Oils\",\n \"MVC\",\n \"application\",\n \"framework\",\n \"web\"\n ],\n \"author\": {\n \"name\": \"Manny ...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "{\n \"name\": \"oils\",", " \"version\": \"8.0.0\",", " \"description\": \"A slightly opinionated web framework built on top of Express 4.\",\n \"keywords\": [\n \"OilsJs\",\n \"Oils\",\n \"MVC\",\n \"application\",\n \"framework\",\n \"web\"\n ],\n \"author\": {\n \"name\": \"Manny ...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [765, 13, 1797, 45], "buggy_code_start_loc": [124, 13, 3, 3], "filenames": ["core/Web.js", "core/conf/conf-default.js", "package-lock.json", "package.json"], "fixing_code_end_loc": [805, 15, 1820, 45], "fixing_code_start_loc": [125, 14, 3, 3], "message": "A vulnerability was found in oils-js. It ...
1,691
Determine whether the {function_name} code is vulnerable or not.
[ "ci:\n autoupdate_branch: \"2.0.x\"\n autoupdate_schedule: monthly\nrepos:\n - repo: https://github.com/asottile/pyupgrade\n rev: v2.31.0\n hooks:\n - id: pyupgrade\n args: [\"--py37-plus\"]\n - repo: https://github.com/asottile/reorder_python_imports\n rev: v2.7.1\n hooks:\n - id: ...
[ 1, 0, 1, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20], "buggy_code_start_loc": [16], "filenames": [".pre-commit-config.yaml"], "fixing_code_end_loc": [23], "fixing_code_start_loc": [17], "message": "** DISPUTED ** Improper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Request Smuggling using a cr...
1,692
Determine whether the {function_name} code is vulnerable or not.
[ "ci:\n autoupdate_branch: \"2.0.x\"\n autoupdate_schedule: monthly\nrepos:\n - repo: https://github.com/asottile/pyupgrade\n rev: v2.31.0\n hooks:\n - id: pyupgrade\n args: [\"--py37-plus\"]\n - repo: https://github.com/asottile/reorder_python_imports\n rev: v2.7.1\n hooks:\n - id: ...
[ 1, 1, 1, 1, 1 ]
PreciseBugs
{"buggy_code_end_loc": [20], "buggy_code_start_loc": [16], "filenames": [".pre-commit-config.yaml"], "fixing_code_end_loc": [23], "fixing_code_start_loc": [17], "message": "** DISPUTED ** Improper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Request Smuggling using a cr...
1,692
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Jackalope\\Transport\\DoctrineDBAL\\Query;", "use BadMethodCallException;\nuse DateTime;\nuse DateTimeZone;\nuse Doctrine\\DBAL\\Platforms\\MySQLPlatform;\nuse Doctrine\\DBAL\\Platforms\\PostgreSqlPlatform;\nuse Doctrine\\DBAL\\Platforms\\PostgreSQL94Platform;\nuse Doctrine\\DBAL\\Schema\\Sc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1040, 537], "buggy_code_start_loc": [388, 11], "filenames": ["src/Jackalope/Transport/DoctrineDBAL/Query/QOMWalker.php", "tests/Jackalope/Transport/DoctrineDBAL/ClientTest.php"], "fixing_code_end_loc": [1079, 621], "fixing_code_start_loc": [388, 12], "message": "Jackalope Doctrine-DBAL is an imp...
1,693
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Jackalope\\Transport\\DoctrineDBAL\\Query;", "use BadMethodCallException;\nuse DateTime;\nuse DateTimeZone;\nuse Doctrine\\DBAL\\Platforms\\MySQLPlatform;\nuse Doctrine\\DBAL\\Platforms\\PostgreSqlPlatform;\nuse Doctrine\\DBAL\\Platforms\\PostgreSQL94Platform;\nuse Doctrine\\DBAL\\Schema\\Sc...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1040, 537], "buggy_code_start_loc": [388, 11], "filenames": ["src/Jackalope/Transport/DoctrineDBAL/Query/QOMWalker.php", "tests/Jackalope/Transport/DoctrineDBAL/ClientTest.php"], "fixing_code_end_loc": [1079, 621], "fixing_code_start_loc": [388, 12], "message": "Jackalope Doctrine-DBAL is an imp...
1,693
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Jackalope\\Transport\\DoctrineDBAL;", "use DateTime;\nuse DOMDocument;\nuse DOMXPath;\nuse Jackalope\\NodeType\\NodeTypeTemplate;\nuse Jackalope\\Test\\FunctionalTestCase;\nuse PDO;\nuse PHPCR\\PropertyType;", "", "use PHPCR\\Query\\QueryInterface;\nuse PHPCR\\Util\\NodeHelper;\nuse PHPC...
[ 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1040, 537], "buggy_code_start_loc": [388, 11], "filenames": ["src/Jackalope/Transport/DoctrineDBAL/Query/QOMWalker.php", "tests/Jackalope/Transport/DoctrineDBAL/ClientTest.php"], "fixing_code_end_loc": [1079, 621], "fixing_code_start_loc": [388, 12], "message": "Jackalope Doctrine-DBAL is an imp...
1,693
Determine whether the {function_name} code is vulnerable or not.
[ "<?php", "namespace Jackalope\\Transport\\DoctrineDBAL;", "use DateTime;\nuse DOMDocument;\nuse DOMXPath;\nuse Jackalope\\NodeType\\NodeTypeTemplate;\nuse Jackalope\\Test\\FunctionalTestCase;\nuse PDO;\nuse PHPCR\\PropertyType;", "use PHPCR\\Query\\QOM\\QueryObjectModelConstantsInterface;", "use PHPCR\\Quer...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [1040, 537], "buggy_code_start_loc": [388, 11], "filenames": ["src/Jackalope/Transport/DoctrineDBAL/Query/QOMWalker.php", "tests/Jackalope/Transport/DoctrineDBAL/ClientTest.php"], "fixing_code_end_loc": [1079, 621], "fixing_code_start_loc": [388, 12], "message": "Jackalope Doctrine-DBAL is an imp...
1,693
Determine whether the {function_name} code is vulnerable or not.
[ "user_agent_parsers:\n #### SPECIAL CASES TOP ####", " # ESRI Server products\n - regex: '(GeoEvent Server) (\\d+)(?:\\.(\\d+)(?:\\.(\\d+)|)|)'", " # ESRI ArcGIS Desktop Products\n - regex: '(ArcGIS Pro)(?: (\\d+)\\.(\\d+)\\.([^ ]+)|)'", " - regex: 'ArcGIS Client Using WinInet'\n family_replacement: ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 0, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [5543, 88, 8332], "buggy_code_start_loc": [44, 45, 7648], "filenames": ["regexes.yaml", "tests/regexes.js", "tests/test_ua.yaml"], "fixing_code_end_loc": [5538, 320, 8332], "fixing_code_start_loc": [44, 45, 7648], "message": "uap-core in an open-source npm package which contains the core of Brows...
1,694
Determine whether the {function_name} code is vulnerable or not.
[ "user_agent_parsers:\n #### SPECIAL CASES TOP ####", " # ESRI Server products\n - regex: '(GeoEvent Server) (\\d+)(?:\\.(\\d+)(?:\\.(\\d+)|)|)'", " # ESRI ArcGIS Desktop Products\n - regex: '(ArcGIS Pro)(?: (\\d+)\\.(\\d+)\\.([^ ]+)|)'", " - regex: 'ArcGIS Client Using WinInet'\n family_replacement: ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
PreciseBugs
{"buggy_code_end_loc": [5543, 88, 8332], "buggy_code_start_loc": [44, 45, 7648], "filenames": ["regexes.yaml", "tests/regexes.js", "tests/test_ua.yaml"], "fixing_code_end_loc": [5538, 320, 8332], "fixing_code_start_loc": [44, 45, 7648], "message": "uap-core in an open-source npm package which contains the core of Brows...
1,694
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, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1 ]
PreciseBugs
{"buggy_code_end_loc": [5543, 88, 8332], "buggy_code_start_loc": [44, 45, 7648], "filenames": ["regexes.yaml", "tests/regexes.js", "tests/test_ua.yaml"], "fixing_code_end_loc": [5538, 320, 8332], "fixing_code_start_loc": [44, 45, 7648], "message": "uap-core in an open-source npm package which contains the core of Brows...
1,694
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 ]
PreciseBugs
{"buggy_code_end_loc": [5543, 88, 8332], "buggy_code_start_loc": [44, 45, 7648], "filenames": ["regexes.yaml", "tests/regexes.js", "tests/test_ua.yaml"], "fixing_code_end_loc": [5538, 320, 8332], "fixing_code_start_loc": [44, 45, 7648], "message": "uap-core in an open-source npm package which contains the core of Brows...
1,694