Skip to content
OpenAdvisories

Vendor

FreeBSD

165 known vulnerabilities.

165 results · Feed

  • Medium 4.9

    Uninitialized kernel memory disclosure via ktrace(2)

    In some cases, the ktrace facility will log the contents of kernel structures to userspace. In one such case, ktrace dumps a variable-sized sockaddr to userspace. There, the full sockaddr is copied, even when it is shorter than the full size. This can result …

  • Medium 6.5

    Unprivileged access to system files

    When etcupdate encounters conflicts while merging files, it saves a version containing conflict markers in /var/db/etcupdate/conflicts. This version does not preserve the mode of the input file, and is world-readable. This applies to files that would normally…

  • Medium 6.0

    Buffer overflow in some filesystems via NFS

    On 64-bit systems, the implementation of VOP_VPTOFH() in the cd9660, tarfs and ext2fs filesystems overflows the destination FID buffer by 4 bytes, a stack buffer overflow. A NFS server that exports a cd9660, tarfs, or ext2fs file system can be made to panic b…

  • High 7.5

    Unbounded allocation in ctl(4) CAM Target Layer

    The fetch(3) library uses environment variables for passing certain information, including the revocation file pathname. The environment variable name used by fetch(1) to pass the filename to the library was incorrect, in effect ignoring the option. Fetch wou…

  • Medium 5.3

    Unbounded allocation in ctl(4) CAM Target Layer

    The command ctl_persistent_reserve_out allows the caller to specify an arbitrary size which will be passed to the kernel's memory allocator.

  • Medium 6.5

    bhyve(8) NVMe driver to guest-induced infinite loops.

    The NVMe driver queue processing is vulernable to guest-induced infinite loops.

  • Medium 6.5

    bhyve(8) hda driver buffer over-read

    The hda driver is vulnerable to a buffer over-read from a guest-controlled value.

  • High 7.5

    bhyve(8) infinite loop in the hda audio driver

    A guest can trigger an infinite loop in the hda audio driver.

  • Medium 6.5

    bhyve(8) virtio_vq_recordon time-of-check to time-of-use race

    The virtio_vq_recordon function is subject to a time-of-check to time-of-use (TOCTOU) race condition.

  • Medium 6.5

    bhyve(8) nvme_opc_get_log_page buffer over-read

    The NVMe driver function nvme_opc_get_log_page is vulnerable to a buffer over-read from a guest-controlled value.

  • High 8.1

    bhyve(8) out-of-bounds read access via XHCI emulation

    An insufficient boundary validation in the USB code could lead to an out-of-bounds read on the heap, which could potentially lead to an arbitrary write and remote code execution.

  • Critical 9.8

    umtx Kernel panic or Use-After-Free

    Concurrent removals of certain anonymous shared memory mappings by using the UMTX_SHM_DESTROY sub-request of UMTX_OP_SHM can lead to decreasing the reference count of the object representing the mapping too many times, causing it to be freed too early. A mali…

  • High 8.2

    bhyve(8) privileged guest escape via USB controller

    An insufficient boundary validation in the USB code could lead to an out-of-bounds write on the heap, with data controlled by the caller. A malicious, privileged software running in a guest VM can exploit the vulnerability to achieve code execution on the hos…

  • Critical 9.8

    Multiple issues in ctl(4) CAM Target Layer

    The function ctl_write_buffer incorrectly set a flag which resulted in a kernel Use-After-Free when a command finished processing. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve code execution on t…

  • High 8.4

    Multiple issues in ctl(4) CAM Target Layer

    The ctl_request_sense function could expose up to three bytes of the kernel heap to userspace. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve code execution on the host in the bhyve userspace proce…

  • High 8.4

    Multiple issues in ctl(4) CAM Target Layer

    The ctl_report_supported_opcodes function did not sufficiently validate a field provided by userspace, allowing an arbitrary write to a limited amount of kernel help memory. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vul…

  • Critical 9.3

    Multiple issues in ctl(4) CAM Target Layer

    The ctl_write_buffer and ctl_read_buffer functions allocated memory to be returned to userspace, without initializing it. Malicious software running in a guest VM that exposes virtio_scsi can exploit the vulnerabilities to achieve code execution on the host i…

  • High 8.4

    bhyve(8) privileged guest escape via TPM device passthrough

    Malicious software running in a guest VM can exploit the buffer overflow to achieve code execution on the host in the bhyve userspace process, which typically runs as root. Note that bhyve runs in a Capsicum sandbox, so malicious code is constrained by the ca…

  • High 8.4

    Multiple vulnerabilities in libnv

    A missing null-termination character in the last element of an nvlist array string can lead to writing outside the allocated buffer.

  • Critical 9.1

    Multiple vulnerabilities in libnv

    A malicious value of size in a structure of packed libnv can cause an integer overflow, leading to the allocation of a smaller buffer than required for the parsed data.

  • High 8.1

    OpenSSH pre-authentication async signal safety issue

    A signal handler in sshd(8) may call a logging function that is not async-signal-safe. The signal handler is invoked when a client does not authenticate within the LoginGraceTime seconds (120 by default). This signal handler executes in the context of the ssh…

  • Medium 5.3

    NFS client accepts file names containing path separators

    When mounting a remote filesystem using NFS, the kernel did not sanitize remotely provided filenames for the path separator character, "/". This allows readdir(3) and related functions to return filesystem entries with names containing additional path compone…

  • High 7.5

    ktrace(2) fails to detach when executing a setuid binary

    A logic bug in the code which disables kernel tracing for setuid programs meant that tracing was not disabled when it should have, allowing unprivileged users to trace and inspect the behavior of setuid programs. The bug may be used by an unprivileged user to…

  • Medium 6.3

    pf incorrectly matches different ICMPv6 states in the state table

    In ICMPv6 Neighbor Discovery (ND), the ID is always 0. When pf is configured to allow ND and block incoming Echo Requests, a crafted Echo Request packet after a Neighbor Solicitation (NS) can trigger an Echo Reply. The packet has to come from the same host as…

  • Medium 6.5
    CVE-2022-23093 Public exploit

    Stack overflow in ping(8)

    ping reads raw IP packets from the network to process responses in the pr_pack() function. As part of processing a response ping has to reconstruct the IP header, the ICMP header and if present a "quoted packet," which represents the packet that generated an …

  • High 8.8

    Missing bounds check in 9p message handling

    The implementation of lib9p's handling of RWALK messages was missing a bounds check needed when unpacking the message contents. The missing check means that the receipt of a specially crafted message will cause lib9p to overwrite unrelated memory. The bug can…

  • Medium 4.0

    Memory disclosure by stale virtual memory mapping

    A particular case of memory sharing is mishandled in the virtual memory system. This is very similar to SA-21:08.vm, but with a different root cause. An unprivileged local user process can maintain a mapping of a page after it is freed, allowing that process …

  • High 7.7

    AIO credential reference count leak

    The aio_aqueue function, used by the lio_listio system call, fails to release a reference to a credential in an error case. An attacker may cause the reference count to overflow, leading to a use after free (UAF).

  • Medium 4.7

    Out of bound read in elf_note_prpsinfo()

    When dumping core and saving process information, proc_getargv() might return an sbuf which have a sbuf_len() of 0 or -1, which is not properly handled. An out-of-bound read can happen when user constructs a specially crafted ps_string, which in turn can caus…

  • Critical 9.8

    802.11 heap buffer overflow

    The 802.11 beacon handling routine failed to validate the length of an IEEE 802.11s Mesh ID before copying it to a heap-allocated buffer. While a FreeBSD Wi-Fi client is in scanning mode (i.e., not associated with a SSID) a malicious beacon frame may overwrit…

  • High 8.8

    Bhyve e82545 device emulation out-of-bounds write

    The e1000 network adapters permit a variety of modifications to an Ethernet packet when it is being transmitted. These include the insertion of IP and TCP checksums, insertion of an Ethernet VLAN header, and TCP segmentation offload ("TSO"). The e1000 device …

  • Critical 9.8

    mpr/mps/mpt driver ioctl heap out-of-bounds write

    Handlers for *_CFG_PAGE read / write ioctls in the mpr, mps, and mpt drivers allocated a buffer of a caller-specified size, but copied to it a fixed size header. Other heap content would be overwritten if the specified size was too small. Users with access to…

  • Critical 9.8

    Potential jail escape vulnerabilities in netmap

    A user-provided integer option was passed to nmreq_copyin() without checking if it would overflow. This insufficient bounds checking could lead to kernel memory corruption. On systems configured to include netmap in their devfs_ruleset, a privileged process r…

  • High 7.8

    Potential jail escape vulnerabilities in netmap

    The total size of the user-provided nmreq to nmreq_copyin() was first computed and then trusted during the copyin. This time-of-check to time-of-use bug could lead to kernel memory corruption. On systems configured to include netmap in their devfs_ruleset, a …

  • Low 3.3

    jail(2) information leak

    The jail(2) system call has not limited a visiblity of allocated TTYs (the kern.ttys sysctl). This gives rise to an information leak about processes outside the current jail. Attacker can get information about TTYs allocated on the host or in other jails. Eff…

  • Medium 6.3

    bhyveload(8) host file access

    `bhyveload -h <host-path>` may be used to grant loader access to the <host-path> directory tree on the host. Affected versions of bhyveload(8) do not make any attempt to restrict loader's access to <host-path>, allowing the loader to read any file the host us…

  • Unscored —

    NFS client data corruption and kernel memory disclosure

    When a program running on an affected system appends data to a file via an NFS client mount, the bug can cause the NFS client to fail to copy in the data to be written but proceed as though the copy operation had succeeded. This means that the data to be writ…

  • Unscored —

    TCP spoofing vulnerability in pf(4)

    In versions of FreeBSD 14.0-RELEASE before 14-RELEASE-p2, FreeBSD 13.2-RELEASE before 13.2-RELEASE-p7 and FreeBSD 12.4-RELEASE before 12.4-RELEASE-p9, the pf(4) packet filter incorrectly validates TCP sequence numbers.  This could allow a malicious actor to e…

  • Unscored —

    Incorrect libcap_net limitation list manipulation

    In versions of FreeBSD 13-RELEASE before 13-RELEASE-p5, under certain circumstances the cap_net libcasper(3) service incorrectly validates that updated constraints are strictly subsets of the active constraints.  When only a list of resolvable domain names wa…

  • Unscored —

    libc stdio buffer overflow

    In versions of FreeBSD 12.4-RELEASE prior to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE prior to 13.2-RELEASE-p5 the __sflush() stdio function in libc does not correctly update FILE objects' write space members for write-buffered streams when the write(2) syste…