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... |
[
{
"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 incoming DCC CTCP messages for file transfers and chat.\n *\n * Processes DCC protocol messages includi... | {
"cve": "CVE-2012-0033",
"cve_desc": "The CBounceDCCMod::OnPrivCTCP function in bouncedcc.cpp in the bouncedcc module in ZNC 0.200 and 0.202 allows remote attackers to cause a denial of service (crash) via a crafted DCC RESUME request.",
"cwe": "['CWE-399']",
"target": 1,
"uuid": "ee2fd3e4-bafe-4a6b-a20e-8f6... |
[
{
"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 Complete and clean up a DNS stream.\n *\n * Finalizes a DNS stream by stopping it and invoking its completion ... | {
"cve": "CVE-2022-2526",
"cve_desc": "A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in 'resolved-dns-stream.c' not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks ca... |
[
{
"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 Converts and scales YUV image data to RGB32 format.\n *\n * Transforms Y, U, V planar image data into packed R... | {
"cve": "CVE-2011-2851",
"cve_desc": "Google Chrome before 14.0.835.163 does not properly handle video, which allows remote attackers to cause a denial of service (out-of-bounds read) via unspecified vectors.",
"cwe": "['CWE-119']",
"target": 1,
"uuid": "9516badb-ee87-484f-83c7-08e86a9c55eb"
} |
[
{
"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 Extract a quoted string from the input, processing escape sequences.\n *\n * Parses a quoted string starting a... | {
"cve": "CVE-2015-4590",
"cve_desc": "The extractFrom function in Internals/QuotedString.cpp in Arduino JSON before 4.5 allows remote attackers to cause a denial of service (crash) via a JSON string with a \\ (backslash) followed by a terminator, as demonstrated by \"\\\\\\0\", which triggers a buffer overflow 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 Read and decode a single MNG or JNG image frame from a file.\n *\n * Parses MNG (Multiple-image Network Graphi... | {
"cve": "CVE-2017-13139",
"cve_desc": "In ImageMagick before 6.9.9-0 and 7.x before 7.0.6-1, the ReadOneMNGImage function in coders/png.c has an out-of-bounds read with the MNG CLIP chunk.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "a2571bb2-ce4e-494e-aab1-cc31cd7d4b6b"
} |
[
{
"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 and decodes residual data using partitioned Rice coding from a FLAC stream.\n *\n * This function reads ... | {
"cve": "CVE-2014-9028",
"cve_desc": "Heap-based buffer overflow in stream_decoder.c in libFLAC before 1.3.1 allows remote attackers to execute arbitrary code via a crafted .flac file.",
"cwe": "['CWE-119']",
"target": 0,
"uuid": "563d4ae2-d3eb-4275-bc45-6a05f83476c7"
} |
[
{
"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 netlink requests to create a new software-simulated radio.\n *\n * This function is a netlink handler t... | {
"cve": "CVE-2018-8087",
"cve_desc": "Memory leak in the hwsim_new_radio_nl function in drivers/net/wireless/mac80211_hwsim.c in the Linux kernel through 4.15.9 allows local users to cause a denial of service (memory consumption) by triggering an out-of-array error case.",
"cwe": "['CWE-772']",
"target": 1,
... |
[
{
"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 Read a PGX file and convert it to an OpenJPEG image structure.\n *\n * Parses the PGX header to extract image ... | {
"cve": "CVE-2017-14041",
"cve_desc": "A stack-based buffer overflow was discovered in the pgxtoimage function in bin/jp2/convert.c in OpenJPEG 2.2.0. The vulnerability causes an out-of-bounds write, which may lead to remote denial of service or possibly remote code execution.",
"cwe": "['CWE-787']",
"target":... |
[
{
"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 a device specification string into a dev_t value.\n *\n * Parses a device specification from a string. I... | {
"cve": "CVE-2016-4301",
"cve_desc": "Stack-based buffer overflow in the parse_device function in archive_read_support_format_mtree.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a crafted mtree file.",
"cwe": "['CWE-119']",
"target": 1,
"uuid": "e06f7720-50cb-482f-a5d7-7a... |
[
{
"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 Match a magic rule against input data and extract values.\n *\n * Core function for the magic file detection s... | {
"cve": "CVE-2014-8116",
"cve_desc": "The ELF parser (readelf.c) in file before 5.21 allows remote attackers to cause a denial of service (CPU consumption or crash) via a large number of (1) program or (2) section headers or (3) invalid capabilities.",
"cwe": "['CWE-399']",
"target": 0,
"uuid": "d4ccbbc2-3c3... |
[
{
"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 Perform ESIL-based analysis to find cross-references in code.\n *\n * Uses the ESIL emulation engine to step t... | {
"cve": "CVE-2022-0849",
"cve_desc": "Use After Free in r_reg_get_name_idx in GitHub repository radareorg/radare2 prior to 5.6.6.",
"cwe": "['CWE-416']",
"target": 1,
"uuid": "c2f03f1b-c803-47b2-81b4-9a0b78920b14"
} |
[
{
"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": 1,
"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 Populates an ASCII token array from Unicode character data.\n *\n * This function iterates over the Unicode da... | {
"cve": "CVE-2021-20223",
"cve_desc": "Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.",
"cwe": "['CWE-787']",
"target": 1,
"uuid": "0175d392-7018-4723-b7d1-e9a19f... |
[
{
"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 Read data from a dynamic buffer context.\n *\n * Attempts to read up to len bytes from the dynamic buffer into... | {
"cve": "CVE-2016-8670",
"cve_desc": "Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have un... |
[
{
"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 Read and parse a WordPerfect Graphics (WPG) image file.\n *\n * Parses WPG image files supporting both level 1... | {
"cve": "CVE-2017-14341",
"cve_desc": "ImageMagick 7.0.6-6 has a large loop vulnerability in ReadWPGImage in coders/wpg.c, causing CPU exhaustion via a crafted wpg image file.",
"cwe": "['CWE-400']",
"target": 0,
"uuid": "9afa9fb5-1d89-4b13-97f2-0dae4076cc05"
} |
[
{
"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": 1,
"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 Process incoming HTTP/2 data from a memory buffer.\n *\n * Parses and processes inbound HTTP/2 frames from the... | {
"cve": "CVE-2020-11080",
"cve_desc": "In nghttp2 before version 1.41.0, the overly large HTTP/2 SETTINGS frame payload causes denial of service. The proof of concept attack involves a malicious client constructing a SETTINGS frame with a length of 14,400 bytes (2400 individual settings entries) over and over agai... |
[
{
"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 Get the local or peer Bluetooth L2CAP socket address.\n *\n * Retrieves the socket name (address) information ... | {
"cve": "CVE-2012-6544",
"cve_desc": "The Bluetooth protocol stack in the Linux kernel before 3.6 does not properly initialize certain structures, which allows local users to obtain sensitive information from kernel stack memory via a crafted application that targets the (1) L2CAP or (2) HCI implementation.",
"c... |
[
{
"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": 0,
"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 Decompress JPEG image data with optional tiling and YUV conversion.\n *\n * Initializes a TurboJPEG decompress... | {
"cve": "CVE-2019-2201",
"cve_desc": "In generate_jsimd_ycc_rgb_convert_neon of jsimd_arm64_neon.S, there is a possible out of bounds write due to a missing bounds check. This could lead to remote code execution in an unprivileged process with no additional execution privileges needed. User interaction is needed f... |
[
{
"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 kernel operation on the device with the given inputs.\n *\n * Sets up the execution context, handles... | {
"cve": "CVE-2020-15190",
"cve_desc": "In Tensorflow before versions 1.15.4, 2.0.3, 2.1.2, 2.2.1 and 2.3.1, the `tf.raw_ops.Switch` operation takes as input a tensor and a boolean and outputs two tensors. Depending on the boolean value, one of the tensors is exactly the input tensor whereas the other one should be... |
[
{
"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 an XML document from a memory buffer.\n *\n * Creates an XML parser context and parses the XML data cont... | {
"cve": "CVE-2013-1643",
"cve_desc": "The SOAP parser in PHP before 5.3.23 and 5.4.x before 5.4.13 allows remote attackers to read arbitrary files via a SOAP WSDL file containing an XML external entity declaration in conjunction with an entity reference, related to an XML External Entity (XXE) issue in the soap_xm... |
[
{
"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 a node is an identity operation that consumes a switch node's output.\n *\n * Determines whether the ... | {
"cve": "CVE-2022-23589",
"cve_desc": "Tensorflow is an Open Source Machine Learning Framework. Under certain scenarios, Grappler component of TensorFlow can trigger a null pointer dereference. There are 2 places where this can occur, for the same malicious alteration of a `SavedModel` file (fixing the first one w... |
[
{
"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 Decodes an H.263 picture header from a bitstream.\n *\n * Parses the H.263 picture header to extract picture t... | {
"cve": "CVE-2015-5479",
"cve_desc": "The ff_h263_decode_mba function in libavcodec/ituh263dec.c in Libav before 11.5 allows remote attackers to cause a denial of service (divide-by-zero error and application crash) via a file with crafted dimensions.",
"cwe": "['CWE-189']",
"target": 0,
"uuid": "4963195b-85... |
[
{
"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 Retrieves cookies from a jar that apply to a given URI.\n *\n * Searches the cookie jar for cookies matching t... | {
"cve": "CVE-2018-12910",
"cve_desc": "The get_cookies function in soup-cookie-jar.c in libsoup 2.63.2 allows attackers to have unspecified impact via an empty hostname.",
"cwe": "['CWE-125']",
"target": 1,
"uuid": "fbca5856-ae37-4c01-a92c-230e58f7263b"
} |
[
{
"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 Writes the HTML document for the date/time picker dialog.\n *\n * Generates an HTML document containing CSS st... | {
"cve": "CVE-2013-2900",
"cve_desc": "The FilePath::ReferencesParent function in files/file_path.cc in Google Chrome before 29.0.1547.57 on Windows does not properly handle pathname components composed entirely of . (dot) and whitespace characters, which allows remote attackers to conduct directory traversal attac... |
[
{
"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 Updates a trusted key with new options and PCR values.\n *\n * This function updates an existing trusted key b... | {
"cve": "CVE-2015-8539",
"cve_desc": "The KEYS subsystem in the Linux kernel before 4.4 allows local users to gain privileges or cause a denial of service (BUG) via crafted keyctl commands that negatively instantiate a key, related to security/keys/encrypted-keys/encrypted.c, security/keys/trusted.c, and security/... |
[
{
"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 internal IO data structures for the profile.\n *\n * Sets up request contexts for main, media, and ... | {
"cve": "CVE-2011-3083",
"cve_desc": "browser/profiles/profile_impl_io_data.cc in Google Chrome before 19.0.1084.46 does not properly handle a malformed ftp URL in the SRC attribute of a VIDEO element, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via 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 Print OLSR (Optimized Link State Routing) protocol packet details.\n *\n * Parses and displays OLSR packet inf... | {
"cve": "CVE-2017-13688",
"cve_desc": "The OLSR parser in tcpdump before 4.9.2 has a buffer over-read in print-olsr.c:olsr_print().",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "5e4bde07-35ac-4396-82bb-7bbac91987f6"
} |
[
{
"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 Allocate or reinitialize a vpx_image_t structure.\n *\n * Allocates memory for an image structure and its data... | {
"cve": "CVE-2017-13194",
"cve_desc": "A vulnerability in the Android media framework (libvpx) related to odd frame width. Product: Android. Versions: 7.0, 7.1.1, 7.1.2, 8.0, 8.1. Android ID: A-64710201.",
"cwe": "['CWE-20']",
"target": 0,
"uuid": "d2981279-9459-4ffb-a055-f6ea86e59677"
} |
[
{
"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 Constructor for HtmlOutputDev, initializing PDF to HTML conversion output.\n *\n * Initializes the HTML output... | {
"cve": "CVE-2020-27778",
"cve_desc": "A flaw was found in Poppler in the way certain PDF files were converted into HTML. A remote attacker could exploit this flaw by providing a malicious PDF file that, when processed by the 'pdftohtml' program, would crash the application causing a denial of service.",
"cwe": ... |
[
{
"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 Get the local or peer AppleTalk socket address.\n *\n * Retrieves the socket address information for an AppleT... | {
"cve": "CVE-2009-3001",
"cve_desc": "The llc_ui_getname function in net/llc/af_llc.c in the Linux kernel 2.6.31-rc7 and earlier does not initialize a certain data structure, which allows local users to read the contents of some kernel memory locations by calling getsockname on an AF_LLC socket.",
"cwe": "['CWE-... |
[
{
"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 Configure channel mappings between input frame buffer and internal buffers.\n *\n * Sets up internal channel m... | {
"cve": "CVE-2021-45942",
"cve_desc": "OpenEXR 3.1.x before 3.1.4 has a heap-based buffer overflow in Imf_3_1::LineCompositeTask::execute (called from IlmThread_3_1::NullThreadPoolProvider::addTask and IlmThread_3_1::ThreadPool::addGlobalTask). NOTE: db217f2 may be inapplicable.",
"cwe": "['CWE-787']",
"target... |
[
{
"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 Read and parse a UJPG image file.\n *\n * Parses the UJPG format by reading and decompressing the compressed h... | {
"cve": "CVE-2018-20820",
"cve_desc": "read_ujpg in jpgcoder.cc in Dropbox Lepton 1.2.1 allows attackers to cause a denial-of-service (application runtime crash because of an integer overflow) via a crafted file.",
"cwe": "['CWE-399']",
"target": 0,
"uuid": "febf18d6-be06-49d9-9eee-b8c6b10db95b"
} |
[
{
"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 and update VNC pointer type configuration when input mode changes.\n *\n * Compares the current input po... | {
"cve": "CVE-2017-2633",
"cve_desc": "An out-of-bounds memory access issue was found in Quick Emulator (QEMU) before 1.7.2 in the VNC display driver. This flaw could occur while refreshing the VNC display surface area in the 'vnc_refresh_server_surface'. A user inside a guest could use this flaw to crash the QEMU ... |
[
{
"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 Read and parse a Windows ICO icon file.\n *\n * Opens the icon file and reads the header to validate the ICO f... | {
"cve": "CVE-2017-9405",
"cve_desc": "In ImageMagick 7.0.5-5, the ReadICONImage function in icon.c:452 allows attackers to cause a denial of service (memory leak) via a crafted file.",
"cwe": "['CWE-772']",
"target": 0,
"uuid": "968533a4-c133-44d1-bf8f-126379e20a20"
} |
[
{
"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 TV timing parameters from the BIOS atom table.\n *\n * Parses the AnalogTV_Info table from the VBIOS ... | {
"cve": "CVE-2010-5331",
"cve_desc": "In the Linux kernel before 2.6.34, a range check issue in drivers/gpu/drm/radeon/atombios.c could cause an off by one (buffer overflow) problem. NOTE: At least one Linux maintainer believes that this CVE is incorrectly assigned and should be rejected because the value is hard ... |
[
{
"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 Converts and scales YUV image data to RGB32 format.\n *\n * Transforms Y, U, V planar image data into packed R... | {
"cve": "CVE-2011-2851",
"cve_desc": "Google Chrome before 14.0.835.163 does not properly handle video, which allows remote attackers to cause a denial of service (out-of-bounds read) via unspecified vectors.",
"cwe": "['CWE-119']",
"target": 0,
"uuid": "9516badb-ee87-484f-83c7-08e86a9c55eb"
} |
[
{
"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 Retrieves cookies from a jar that apply to a given URI.\n *\n * Searches the cookie jar for cookies matching t... | {
"cve": "CVE-2018-12910",
"cve_desc": "The get_cookies function in soup-cookie-jar.c in libsoup 2.63.2 allows attackers to have unspecified impact via an empty hostname.",
"cwe": "['CWE-125']",
"target": 0,
"uuid": "fbca5856-ae37-4c01-a92c-230e58f7263b"
} |
[
{
"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 Match a magic rule against a data buffer.\n *\n * Compares data from the input buffer against a magic rule spe... | {
"cve": "CVE-2014-1943",
"cve_desc": "Fine Free file before 5.17 allows context-dependent attackers to cause a denial of service (infinite recursion, CPU consumption, and crash) via a crafted indirect offset value in the magic of a file.",
"cwe": "['CWE-755']",
"target": 0,
"uuid": "d69c174a-8803-46e6-a104-4... |
[
{
"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 Merges and optimizes an update region by coalescing adjacent tiles.\n *\n * Takes an update rectangle list and... | {
"cve": "CVE-2016-3993",
"cve_desc": "Off-by-one error in the __imlib_MergeUpdate function in lib/updates.c in imlib2 before 1.4.9 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via crafted coordinates.",
"cwe": "['CWE-119']",
"target": 1,
"uuid": "eb4b571f-17... |
[
{
"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 MPEG video bitstream packets and extract video frames.\n *\n * This function processes incoming MPEG v... | {
"cve": "CVE-2021-40575",
"cve_desc": "The binary MP4Box in Gpac 1.0.1 has a null pointer dereference vulnerability in the mpgviddmx_process function in reframe_mpgvid.c, which allows attackers to cause a denial of service. This vulnerability is possibly due to an incomplete fix for CVE-2021-40566.",
"cwe": "['C... |
[
{
"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 Maps user-space iovec buffers into kernel page structures.\n *\n * Iterates through an array of iovec structur... | {
"cve": "CVE-2008-0600",
"cve_desc": "The vmsplice_to_pipe function in Linux kernel 2.6.17 through 2.6.24.1 does not validate a certain userspace pointer before dereference, which allows local users to gain root privileges via crafted arguments in a vmsplice system call, a different vulnerability than CVE-2008-000... |
[
{
"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 GIF file input for JPEG compression.\n *\n * Reads and validates the GIF file header, extracting im... | {
"cve": "CVE-2021-20205",
"cve_desc": "Libjpeg-turbo versions 2.0.91 and 2.0.90 is vulnerable to a denial of service vulnerability caused by a divide by zero when processing a crafted GIF image.",
"cwe": "['CWE-369']",
"target": 0,
"uuid": "010d87ba-c820-46c3-9d5f-b853ffae8165"
} |
[
{
"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 Read and parse an OpenPGP packet from a stream.\n *\n * Reads a single OpenPGP packet from the given input str... | {
"cve": "CVE-2017-7869",
"cve_desc": "GnuTLS before 2017-02-20 has an out-of-bounds write caused by an integer overflow and heap-based buffer overflow related to the cdk_pkt_read function in opencdk/read-packet.c. This issue (which is a subset of the vendor's GNUTLS-SA-2017-3 report) is fixed in 3.5.10.",
"cwe":... |
[
{
"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 Spawn virtual network interface card (VNIC) representors for an NFP application.\n *\n * Creates and initializ... | {
"cve": "CVE-2019-19081",
"cve_desc": "A memory leak in the nfp_flower_spawn_vnic_reprs() function in drivers/net/ethernet/netronome/nfp/flower/main.c in the Linux kernel before 5.3.4 allows attackers to cause a denial of service (memory consumption), aka CID-8ce39eb5a67a.",
"cwe": "['CWE-401']",
"target": 1,
... |
[
{
"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 HTTP redirect by following Location headers.\n *\n * Processes HTTP 3xx redirects by updating the reque... | {
"cve": "CVE-2021-22876",
"cve_desc": "curl 7.1.1 to and including 7.75.0 is vulnerable to an \"Exposure of Private Personal Information to an Unauthorized Actor\" by leaking credentials in the HTTP Referer: header. libcurl does not strip off user credentials from the URL when automatically populating the Referer:... |
[
{
"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 SID list to identify valid POSIX groups and missing groups.\n *\n * Iterates through a list of Securit... | {
"cve": "CVE-2014-0249",
"cve_desc": "The System Security Services Daemon (SSSD) 1.11.6 does not properly identify group membership when a non-POSIX group is in a group membership chain, which allows local users to bypass access restrictions via unspecified vectors.",
"cwe": "['CWE-264']",
"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 Flushes traffic control actions by sending a RTM_DELACTION netlink message.\n *\n * This function removes traf... | {
"cve": "CVE-2005-4881",
"cve_desc": "The netlink subsystem in the Linux kernel 2.4.x before 2.4.37.6 and 2.6.x before 2.6.13-rc1 does not initialize certain padding fields in structures, which might allow local users to obtain sensitive information from kernel memory via unspecified vectors, related to the (1) tc... |
[
{
"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 Read data from a dynamic buffer context.\n *\n * Attempts to read up to len bytes from the dynamic buffer into... | {
"cve": "CVE-2016-8670",
"cve_desc": "Integer signedness error in the dynamicGetbuf function in gd_io_dp.c in the GD Graphics Library (aka libgd) through 2.2.3, as used in PHP before 5.6.28 and 7.x before 7.0.13, allows remote attackers to cause a denial of service (stack-based buffer overflow) or possibly have un... |
[
{
"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 Verify the SSL certificate of a gateway tunnel.\n *\n * This function verifies the SSL certificate of the gate... | {
"cve": "CVE-2020-7043",
"cve_desc": "An issue was discovered in openfortivpn 1.11.0 when used with OpenSSL before 1.0.2. tunnel.c mishandles certificate validation because hostname comparisons do not consider '\\0' characters, as demonstrated by a good.example.com\\x00evil.example.com attack.",
"cwe": "['CWE-29... |
[
{
"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 Authenticate a user with username and password credentials.\n *\n * Authenticates a user by validating their c... | {
"cve": "CVE-2019-15162",
"cve_desc": "rpcapd/daemon.c in libpcap before 1.9.1 on non-Windows platforms provides details about why authentication failed, which might make it easier for attackers to enumerate valid usernames.",
"cwe": "['CWE-345']",
"target": 1,
"uuid": "a60d198c-34ea-45c3-8d87-09fa8f7947fe"
... |
[
{
"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": 1,
"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 Verify and process BPF program instructions iteratively.\n *\n * Main verification loop that iterates through ... | {
"cve": "CVE-2017-9150",
"cve_desc": "The do_check function in kernel/bpf/verifier.c in the Linux kernel before 4.11.1 does not make the allow_ptr_leaks value available for restricting the output of the print_bpf_insn function, which allows local users to obtain sensitive address information via crafted bpf system... |
[
{
"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 Read Vital Product Data (VPD) from the TG3 network adapter.\n *\n * Retrieves VPD information from the PCI dev... | {
"cve": "CVE-2013-1929",
"cve_desc": "Heap-based buffer overflow in the tg3_read_vpd function in drivers/net/ethernet/broadcom/tg3.c in the Linux kernel before 3.8.6 allows physically proximate attackers to cause a denial of service (system crash) or possibly execute arbitrary code via crafted firmware that specif... |
[
{
"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 Decrypts and validates a TLS session ticket.\n *\n * Decrypts an encrypted session ticket using either a custo... | {
"cve": "CVE-2014-3567",
"cve_desc": "Memory leak in the tls_decrypt_ticket function in t1_lib.c in OpenSSL before 0.9.8zc, 1.0.0 before 1.0.0o, and 1.0.1 before 1.0.1j allows remote attackers to cause a denial of service (memory consumption) via a crafted session ticket that triggers an integrity-check failure.",... |
[
{
"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 Callback function to securely destroy secret data.\n *\n * This function is typically used as a GDestroyNotify... | {
"cve": "CVE-2011-1943",
"cve_desc": "The destroy_one_secret function in nm-setting-vpn.c in libnm-util in the NetworkManager package 0.8.999-3.git20110526 in Fedora 15 creates a log entry containing a certificate password, which allows local users to obtain sensitive information by reading a log file.",
"cwe": ... |
[
{
"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 and allocate a virtqueue for a vhost user device.\n *\n * Processes VHOST_USER messages to determine the... | {
"cve": "CVE-2021-3839",
"cve_desc": "A flaw was found in the vhost library in DPDK. Function vhost_user_set_inflight_fd() does not validate `msg->payload.inflight.num_queues`, possibly causing out-of-bounds memory read/write. Any software using DPDK vhost library may crash as a result of this vulnerability.",
"... |
[
{
"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 the Binary Object Store (BOS) descriptor for a USB device.\n *\n * This function fetches the BOS desc... | {
"cve": "CVE-2017-16535",
"cve_desc": "The usb_get_bos_descriptor function in drivers/usb/core/config.c in the Linux kernel before 4.13.10 allows local users to cause a denial of service (out-of-bounds read and system crash) or possibly have unspecified other impact via a crafted USB device.",
"cwe": "['CWE-125'... |
[
{
"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 a SOCKS request and attach the connection to a circuit.\n *\n * Handles SOCKS requests by rewriting ad... | {
"cve": "CVE-2021-22929",
"cve_desc": "An information disclosure exists in Brave Browser Desktop prior to version 1.28.62, where logged warning messages that included timestamps of connections to V2 onion domains in tor.log.",
"cwe": "['CWE-532']",
"target": 1,
"uuid": "a700c8fc-fb9d-412f-a8c0-a59beabe73ee"
... |
[
{
"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 Maps user-space iovec buffers into kernel page structures.\n *\n * Iterates through an array of iovec structur... | {
"cve": "CVE-2008-0600",
"cve_desc": "The vmsplice_to_pipe function in Linux kernel 2.6.17 through 2.6.24.1 does not validate a certain userspace pointer before dereference, which allows local users to gain root privileges via crafted arguments in a vmsplice system call, a different vulnerability than CVE-2008-000... |
[
{
"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 and register all tests for the test suite.\n *\n * Registers the call_run_cert test function along with... | {
"cve": "CVE-2020-1971",
"cve_desc": "The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known as EDIPartyName. OpenSSL provides a function GENERAL_NAME_cmp which compares different instances of a GENERAL_NAME to see if they are equal or not. This fun... |
[
{
"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 Complete and clean up a DNS stream.\n *\n * Finalizes a DNS stream by stopping it and invoking its completion ... | {
"cve": "CVE-2022-2526",
"cve_desc": "A use-after-free vulnerability was found in systemd. This issue occurs due to the on_stream_io() function and dns_stream_complete() function in 'resolved-dns-stream.c' not incrementing the reference counting for the DnsStream object. Therefore, other functions and callbacks ca... |
[
{
"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 Main entry point for the IDN command-line tool.\n *\n * This function serves as the program entry point, parsi... | {
"cve": "CVE-2016-6262",
"cve_desc": "idn in libidn before 1.33 might allow remote attackers to obtain sensitive memory information by reading a zero byte as input, which triggers an out-of-bounds read, a different vulnerability than CVE-2015-8948.",
"cwe": "['CWE-125']",
"target": 1,
"uuid": "85cc295b-a154-... |
[
{
"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 netlink requests to create a new software-simulated radio.\n *\n * This function is a netlink handler t... | {
"cve": "CVE-2018-8087",
"cve_desc": "Memory leak in the hwsim_new_radio_nl function in drivers/net/wireless/mac80211_hwsim.c in the Linux kernel through 4.15.9 allows local users to cause a denial of service (memory consumption) by triggering an out-of-array error case.",
"cwe": "['CWE-772']",
"target": 0,
... |
[
{
"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 completion of a DNS key fetch operation and update managed keys.\n *\n * This callback is invoked when ... | {
"cve": "CVE-2018-5745",
"cve_desc": "\"managed-keys\" is a feature which allows a BIND resolver to automatically maintain the keys used by trust anchors which operators configure for use in DNSSEC validation. Due to an error in the managed-keys feature it is possible for a BIND server which uses managed-keys to e... |
[
{
"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 Parses an XML string value and returns a node list representing its content.\n *\n * Processes the input strin... | {
"cve": "CVE-2016-3627",
"cve_desc": "The xmlStringGetNodeList function in tree.c in libxml2 2.9.3 and earlier, when used in recovery mode, allows context-dependent attackers to cause a denial of service (infinite recursion, stack consumption, and application crash) via a crafted XML document.",
"cwe": "['CWE-20... |
[
{
"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 Read and parse a UJPG image file.\n *\n * Parses the UJPG format by reading and decompressing the compressed h... | {
"cve": "CVE-2018-20820",
"cve_desc": "read_ujpg in jpgcoder.cc in Dropbox Lepton 1.2.1 allows attackers to cause a denial-of-service (application runtime crash because of an integer overflow) via a crafted file.",
"cwe": "['CWE-399']",
"target": 1,
"uuid": "febf18d6-be06-49d9-9eee-b8c6b10db95b"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.