Dataset Viewer
Auto-converted to Parquet Duplicate
messages
listlengths
3
3
metadata
dict
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Retrieve a password policy entry from the IPA LDAP directory.\n *\n * Searches the LDAP directory for a passwo...
{ "cve": "CVE-2016-7030", "cve_desc": "FreeIPA uses a default password policy that locks an account after 5 unsuccessful authentication attempts, which allows remote attackers to cause a denial of service by locking out the account in which system services run on.", "cwe": "['CWE-255']", "target": 0, "uuid": ...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Set up a lookup table at the specified index.\n *\n * Initializes the lookup table at the given index with the...
{ "cve": "CVE-2018-25017", "cve_desc": "RawSpeed (aka librawspeed) 3.1 has a heap-based buffer overflow in TableLookUp::setTable.", "cwe": "['CWE-787']", "target": 0, "uuid": "e9d7f630-3b89-4c72-a62d-d59d9b436d10" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Handle mouse events in Vim editor.\n *\n * Processes mouse clicks, drags, and releases for cursor movement, vi...
{ "cve": "CVE-2022-2980", "cve_desc": "NULL Pointer Dereference in GitHub repository vim/vim prior to 9.0.0259.", "cwe": "['CWE-703']", "target": 0, "uuid": "938ac107-bddb-434d-b66c-f29360abccfc" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Decompress RTF data from a variableLength structure.\n *\n * Handles both uncompressed and compressed RTF stre...
{ "cve": "CVE-2017-6802", "cve_desc": "An issue was discovered in ytnef before 1.9.2. There is a potential heap-based buffer over-read on incoming Compressed RTF Streams, related to DecompressRTF() in libytnef.", "cwe": "['CWE-22']", "target": 0, "uuid": "90f94050-66f5-49a4-8256-f616803f71b5" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Set LAN alert destination parameters for an IPMI interface.\n *\n * Configures various LAN alert destination s...
{ "cve": "CVE-2020-5208", "cve_desc": "It's been found that multiple functions in ipmitool before 1.8.19 neglect proper checking of the data received from a remote LAN party, which may lead to buffer overflows and potentially to remote code execution on the ipmitool side. This is especially dangerous if ipmitool is...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Check if an IDN label is safe to display as Unicode.\n *\n * Determines whether a domain label can be safely d...
{ "cve": "CVE-2017-15390", "cve_desc": "Insufficient Policy Enforcement in Omnibox in Google Chrome prior to 62.0.3202.62 allowed a remote attacker to perform domain spoofing via IDN homographs in a crafted domain name.", "cwe": "['CWE-20']", "target": 1, "uuid": "f4a70062-625d-4913-87a1-9c95ce36dfd2" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Create and initialize a DCN10 resource pool.\n *\n * Allocates memory for a dcn10_resource_pool structure and ...
{ "cve": "CVE-2019-19082", "cve_desc": "Memory leaks in *create_resource_pool() functions under drivers/gpu/drm/amd/display/dc in the Linux kernel through 5.3.11 allow attackers to cause a denial of service (memory consumption). This affects the dce120_create_resource_pool() function in drivers/gpu/drm/amd/display/...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Copy scheduler attributes from kernel to user space.\n *\n * Validates the user-space pointer and copies the s...
{ "cve": "CVE-2014-9903", "cve_desc": "The sched_read_attr function in kernel/sched/core.c in the Linux kernel 3.14-rc before 3.14-rc4 uses an incorrect size, which allows local users to obtain sensitive information from kernel stack memory via a crafted sched_getattr system call.", "cwe": "['CWE-200']", "targe...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Resize the ring buffer of a pipe to a new number of slots.\n *\n * Adjusts the pipe's internal ring buffer to ...
{ "cve": "CVE-2022-2959", "cve_desc": "A race condition was found in the Linux kernel's watch queue due to a missing lock in pipe_resize_ring(). The specific flaw exists within the handling of pipe buffers. The issue results from the lack of proper locking when performing operations on an object. This flaw allows a...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Initialize alias mappings from a configuration file.\n *\n * Reads alias-directory pairs from ALIASES_FILE and...
{ "cve": "CVE-2020-9274", "cve_desc": "An issue was discovered in Pure-FTPd 1.0.49. An uninitialized pointer vulnerability has been detected in the diraliases linked list. When the *lookup_alias(const char alias) or print_aliases(void) function is called, they fail to correctly detect the end of the linked list and...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Process an incoming IPv6 Router Advertisement message.\n *\n * Validates received Router Advertisement paramet...
{ "cve": "CVE-2011-3604", "cve_desc": "The process_ra function in the router advertisement daemon (radvd) before 1.8.2 allows remote attackers to cause a denial of service (stack-based buffer over-read and crash) via unspecified vectors.", "cwe": "['CWE-119']", "target": 0, "uuid": "71341fb8-b0a8-41f0-82f8-e7...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Process and expand a Sass declaration statement.\n *\n * Evaluates the property and value expressions of the d...
{ "cve": "CVE-2018-11695", "cve_desc": "An issue was discovered in LibSass <3.5.3. A NULL pointer dereference was found in the function Sass::Expand::operator which could be leveraged by an attacker to cause a denial of service (application crash) or possibly have unspecified other impact.", "cwe": "['CWE-476']",...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Reads a component from a JPEG2000 image into a matrix.\n *\n * Extracts a rectangular region from the specifie...
{ "cve": "CVE-2018-19539", "cve_desc": "An issue was discovered in JasPer 2.0.14. There is an access violation in the function jas_image_readcmpt in libjasper/base/jas_image.c, leading to a denial of service.", "cwe": "['CWE-617']", "target": 1, "uuid": "9b92371d-b4fc-413c-a228-06d3fe97b653" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Construct an hstore from a text array.\n *\n * Converts an array of text elements into an hstore key-value sto...
{ "cve": "CVE-2014-0064", "cve_desc": "Multiple integer overflows in the path_in and other unspecified functions in PostgreSQL before 8.4.20, 9.0.x before 9.0.16, 9.1.x before 9.1.12, 9.2.x before 9.2.7, and 9.3.x before 9.3.3 allow remote authenticated users to have unspecified impact and attack vectors, which tri...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Process IKEv2 initial exchange (I1) and send response (R1).\n *\n * Handles the first message of an IKEv2 init...
{ "cve": "CVE-2013-7294", "cve_desc": "The ikev2parent_inI1outR1 function in pluto/ikev2_parent.c in libreswan before 3.7 allows remote attackers to cause a denial of service (restart) via an IKEv2 I1 notification without a KE payload.", "cwe": "['CWE-20']", "target": 1, "uuid": "73318245-976a-4b98-9a6f-3ffd9...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Parse row data from MySQL text protocol buffer into PHP zval array.\n *\n * Converts raw row buffer data into ...
{ "cve": "CVE-2016-7412", "cve_desc": "ext/mysqlnd/mysqlnd_wireprotocol.c in PHP before 5.6.26 and 7.x before 7.0.11 does not verify that a BIT field has the UNSIGNED_FLAG flag, which allows remote MySQL servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact via ...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Handle main device I/O control requests for the TrueCrypt driver.\n *\n * This function serves as the primary ...
{ "cve": "CVE-2019-1010208", "cve_desc": "IDRIX, Truecrypt Veracrypt, Truecrypt Prior to 1.23-Hotfix-1 (Veracrypt), all versions (Truecrypt) is affected by: Buffer Overflow. The impact is: Minor information disclosure of kernel stack. The component is: Veracrypt NT Driver (veracrypt.sys). The attack vector is: Loca...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Encodes a picture into a block_t chain using the Schro encoder.\n *\n * This function processes an input pictu...
{ "cve": "CVE-2014-9629", "cve_desc": "Integer overflow in the Encode function in modules/codec/schroedinger.c in VideoLAN VLC media player before 2.1.6 and 2.2.x before 2.2.1 allows remote attackers to conduct buffer overflow attacks and execute arbitrary code via a crafted length value.", "cwe": "['CWE-787']", ...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Parse and verify an HMAC-SHA256 signature part from a network packet.\n *\n * Extracts the signature structure...
{ "cve": "CVE-2017-7401", "cve_desc": "Incorrect interaction of the parse_packet() and parse_part_sign_sha256() functions in network.c in collectd 5.7.1 and earlier allows remote attackers to cause a denial of service (infinite loop) of a collectd instance (configured with \"SecurityLevel None\" and with empty \"Au...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Initialize Ekiga plugins by parsing the plugin directory.\n *\n * This function parses the plugin directory an...
{ "cve": "CVE-2011-1830", "cve_desc": "Ekiga versions before 3.3.0 attempted to load a module from /tmp/ekiga_test.so.", "cwe": "['CWE-94']", "target": 1, "uuid": "8b769292-212a-4eb8-ac3e-69252f090e6b" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Skip over string literals in the input string.\n *\n * Processes the input string starting at `p`, skipping ov...
{ "cve": "CVE-2022-1733", "cve_desc": "Heap-based Buffer Overflow in GitHub repository vim/vim prior to 8.2.4968.", "cwe": "['CWE-787']", "target": 1, "uuid": "e76cee06-8f8b-4334-b6a8-79aa35b3c94b" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Execute a command in a container with the specified options.\n *\n * Parses command line arguments and initial...
{ "cve": "CVE-2022-27650", "cve_desc": "A flaw was found in crun where containers were incorrectly started with non-empty default permissions. A vulnerability was found in Moby (Docker Engine) where containers were started incorrectly with non-empty inheritable Linux process capabilities. This flaw allows an attack...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Follow a symbolic link and update nameidata.\n *\n * This function handles the follow_link operation for a giv...
{ "cve": "CVE-2014-0203", "cve_desc": "The __do_follow_link function in fs/namei.c in the Linux kernel before 2.6.33 does not properly handle the last pathname component during use of certain filesystems, which allows local users to cause a denial of service (incorrect free operations and system crash) via an open ...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Initializes the BaseAudioContext and its components.\n *\n * Performs initialization steps for the audio conte...
{ "cve": "CVE-2018-16067", "cve_desc": "A use after free in WebAudio in Google Chrome prior to 69.0.3497.81 allowed a remote attacker to potentially exploit heap corruption via a crafted HTML page.", "cwe": "['CWE-416']", "target": 0, "uuid": "49ba9134-4817-47a6-93be-cf25a031091e" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Discover and initialize a child expander device connected to a parent expander.\n *\n * This function discover...
{ "cve": "CVE-2019-15807", "cve_desc": "In the Linux kernel before 5.1.13, there is a memory leak in drivers/scsi/libsas/sas_expander.c when SAS expander discovery fails. This will cause a BUG and denial of service.", "cwe": "['CWE-401']", "target": 0, "uuid": "c8642987-f0a6-4de1-a5e9-541e5fe56b67" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Create a new TIFF decoder object for PIL/Pillow.\n *\n * Initializes and returns a new ImagingDecoderObject co...
{ "cve": "CVE-2016-0740", "cve_desc": "Buffer overflow in the ImagingLibTiffDecode function in libImaging/TiffDecode.c in Pillow before 3.1.1 allows remote attackers to overwrite memory via a crafted TIFF file.", "cwe": "['CWE-119']", "target": 0, "uuid": "643e8fb6-b30a-4ffb-82d9-7c7ed1bbfbf9" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Handle virtual terminal keyboard ioctl commands.\n *\n * Dispatches various keyboard-related ioctl commands fo...
{ "cve": "CVE-2021-3753", "cve_desc": "A race problem was seen in the vt_k_ioctl in drivers/tty/vt/vt_ioctl.c in the Linux kernel, which may cause an out of bounds read in vt as the write access to vc_mode is not protected by lock-in vt_ioctl (KDSETMDE). The highest threat from this vulnerability is to data confide...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Activates H.264 picture and sequence parameter sets.\n *\n * Validates and activates the specified PPS and its...
{ "cve": "CVE-2016-2507", "cve_desc": "Integer overflow in codecs/on2/h264dec/source/h264bsd_storage.c in libstagefright in mediaserver in Android 4.x before 4.4.4, 5.0.x before 5.0.2, 5.1.x before 5.1.1, and 6.x before 2016-07-01 allows remote attackers to execute arbitrary code or cause a denial of service (memor...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Determine if file or FIFO creation is allowed in a sticky directory.\n *\n * Evaluates whether a new file or F...
{ "cve": "CVE-2020-8428", "cve_desc": "fs/namei.c in the Linux kernel before 5.5 has a may_create_in_sticky use-after-free, which allows local users to cause a denial of service (OOPS) or possibly obtain sensitive information from kernel memory, aka CID-d0cb50185ae9. One attack vector may be an open system call for...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Print the memory map entries for a process.\n *\n * Reads and parses the process's memory map file (/proc/[pid...
{ "cve": "CVE-2016-3757", "cve_desc": "The print_maps function in toolbox/lsof.c in Android 4.x before 4.4.4, 5.0.x before 5.0.2, 5.1.x before 5.1.1, and 6.x before 2016-07-01 allows user-assisted attackers to gain privileges via a crafted application that attempts to list a long name of a memory-mapped file, aka i...
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Find the extent containing a specific block in an ext4 inode.\n *\n * Searches the extent tree of the given in...
{ "cve": "CVE-2018-10877", "cve_desc": "Linux kernel ext4 filesystem is vulnerable to an out-of-bound access in the ext4_ext_drop_refs() function when operating on a crafted ext4 filesystem image.", "cwe": "['CWE-125']", "target": 1, "uuid": "473dd105-be2a-4efc-a630-c2dd975174f3" }
[ { "content": "You are a helpful coding assistant. Carefully follow the user's instructions to generate correct and fully functional code. ", "role": "system" }, { "content": "/**\n * @brief Decode FITS header records into an HDU list structure.\n *\n * Parses a FITS header record list and extracts a...
{ "cve": "CVE-2012-3236", "cve_desc": "fits-io.c in GIMP before 2.8.1 allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a malformed XTENSION header of a .fit file, as demonstrated using a long string.", "cwe": "['CWE-476']", "target": 0, "uuid": "acde398...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
53

Models trained or fine-tuned on felixwangg/stage_1_combined