Zum Hauptinhalt springen
LIVE
CVSS 8.5CVE-2026-138163 | Gammu before 1.45.2 contains a heap-based buffer overflow in ReadWAPSettingsEntry() that allows attackers to corrupt heap memory via crafted backup files with excess WAP or MMS settings entries. Attackers can supply a backup with more than four TitleNN keys in a [WAPSettings] or [MMSSettings] section, loaded via convertbackup, restore, or GSM_ReadBackupFile, causing crashes or potential code execution.CVSS 4.8CVE-2026-138164 | Gammu before 1.45.2 contains a stack-based buffer overflow vulnerability in SaveBackupText() in backtext.c that allows attackers to corrupt stack memory by supplying long text fields. Attackers can craft a backup with long calendar or note fields that, when converted with gammu convertbackup, writes hex digits past the 10,000-byte stack buffer.CVSS 9.3CVE-2026-138154 | POSTAL 2 before build 26810491 contains a sandbox escape vulnerability that allows malicious Steam Workshop mods to execute code by calling ConsoleCommand with a start file URI. Attackers can ship a batch file in a mod at the predictable workshop install path and launch it via ShellExecuteW, executing commands as the player on Windows.CVSS 8.5CVE-2026-138117 | HyperSpy from 1.2.0 before 2.6.0 contains a code execution vulnerability that allows attackers to run Python code by embedding malicious expression strings evaluated with sympy.sympify(). Attackers can craft .hspy or .zspy files with malicious axis, Expression component, or twin function expressions that execute when victims call hs.load() or restore models.CVSS 8.5CVE-2026-138118 | HyperSpy from 1.4.0 before 2.6.0 contains an insecure deserialization vulnerability that allows attackers to execute arbitrary Python code by supplying crafted stored-model data in .hspy or .zspy files. Attackers can embed a malicious pickle payload in a component's _class_dump or a 'fn'-flagged _whitelist entry, which cloudpickle.loads() (dill in 1.x) runs when the victim restores the model.CVSS 8.7CVE-2026-138119 | Kestra before 1.3.36 contains a reflected cross-site scripting vulnerability that allows unauthenticated attackers to execute JavaScript by injecting HTML into the executions page sort parameter. Attackers can lure logged-in users to a crafted link whose invalid sort value is rendered unsanitized in an error toast, stealing the non-HttpOnly BASIC_AUTH credential cookie to take over the instance.CVSS 6.9CVE-2026-138120 | Kestra 1.3.24 before 2.0.0 contains a timing side-channel vulnerability in BasicAuthService.isAuthenticated() that allows unauthenticated attackers to enumerate the administrator username. Attackers can send Basic-auth requests with candidate usernames to protected API endpoints and detect slower bcrypt checks to identify the valid account for password guessing.CVSS 7.5CVE-2026-138121 | Kestra 1.3.24 before 1.3.41 contains an insufficient credential expiration vulnerability that allows holders of a revoked administrator password to keep authenticating on peer webserver nodes through BasicAuthService's process-local verified-token cache. Attackers whose token remains cached on a peer node can call POST /api/v1/{tenant}/basicAuth to overwrite the shared administrator credentials and lock out the legitimate administrator.
Alle im Drawer
Intelligence View
⚡ tsecurity.de Intelligence

Linux 4.13 Released

Linux v4.13 was released this past weekend on Sunday, September 3rd; this is a quick summary of the SELinux and audit changes. SELinux The largest SELinux…

Beitrag
0
Seite
0
↗ Quelle (paul-moore.com)
Cloud & Tech-Stack · 9 Min. Lesezeit
Quelle: paul-moore.com
Rubrik: Servidores Unix y Linux

Linux v4.13 was released this past weekend on Sunday, September 3rd; this is a
quick summary of the SELinux and audit changes.



SELinux



  • The largest SELinux change in Linux v4.13 is the addition of SELinux access
    controls for Infiniband. This was a large effort the involved a new SELinux
    policy version (v31), two new object classes (infiniband_pkey and
    infiniband_endport), the creation of a LSM notification mechanism, and a
    number of changes to core Infiniband code. Daniel Jurgens, the patchset
    author, provided an excellent summary of the changes in his
    cover letter,
    a portion of it is excerpted below:

    From: Daniel Jurgens



    Infiniband applications access HW from user-space – traffic is generated
    directly by HW, bypassing the kernel. Consequently, Infiniband Partitions,
    which are associated directly with HW transport endpoints, are a natural
    choice for enforcing granular mandatory access control for Infiniband. QPs
    may only send or receives packets tagged with the corresponding partition
    key (PKey). The PKey is not a cryptographic key; it’s a 16 bit number
    identifying the partition.



    Every Infiniband fabric is controlled by a central Subnet Manager (SM).
    The SM provisions the partitions by assigning each port with the
    partitions it can access. In addition, the SM tags each port with a subnet
    prefix, which identifies the subnet. Determining which users are allowed
    to access which partition keys on a given subnet forms an effective policy
    for isolating users on the fabric. Any application that attempts to send
    traffic on a given subnet is automatically subject to the policy,
    regardless of which device and port it uses. SM software configures the
    subnet through a privileged Subnet Management Interface (SMI), which is
    presented by each Infiniband port. Thus, the SMI must also be controlled
    to prevent unauthorized changes to fabric configuration and partitioning.



    To support access control for IB partitions and subnet management,
    security contexts must be provided for two new types of objects - PKeys
    and IB ports.



    A PKey label consists of a subnet prefix and a range of PKey values and is
    similar to the labeling mechanism for netports. Each Infiniband port can
    reside on a different subnet. So labeling the PKey values for specific
    subnet prefixes provides the user maximum flexibility, as PKey values may
    be determined independently for different subnets. There is a single
    access vector for PKeys called “access”.



    An Infiniband port is labeled by device name and port number. There is a
    single access vector for IB ports called “manage_subnet”.



    Because RDMA allows kernel bypass, enforcement must be done during
    connection setup. Communication over RDMA requires a send and receive
    queue, collectively known as a Queue Pair (QP). A QP must be initialized
    by privileged system calls before it can be used to send or receive data.
    During initialization the user must provide the PKey and port the QP will
    use; at this time access control can be enforced.



    Because there is a possibility that the enforcement settings or security
    policy can change, a means of notifying the ib_core module of such changes
    is required. To facilitate this a generic notification callback mechanism
    is added to the LSM. One callback is registered for checking the QP PKey
    associations when the policy changes. Mad agents also register a callback,
    they cache the permission to send and receive SMPs to avoid another per
    packet call to the LSM.



    Because frequent accesses to the same PKey’s SID is expected a cache is
    implemented which is very similar to the netport cache.



    In order to properly enforce security when changes to the PKey table or
    security policy or enforcement occur ib_core must track which QPs are
    using which port, pkey index, and alternate path for every IB device.
    This makes operations that used to be atomic transactional.





  • An important part of the Infiniband work was the creation of a LSM
    notification mechanism that allows various kernel subsystems to receive
    notification of LSM events. At present this is limited to just SELinux policy
    changes, but I expect additional events to be added in the future as they are
    needed.



  • The SELinux “file:map” permission was added to control memory mapped file
    access. This allows the SELinux policy to prevent direct memory access to
    files and ensure that every file access is revalidated. Stephen Smalley
    provides more information in the patch description:

    From: Stephen Smalley



    Add a map permission check on mmap so that we can distinguish memory mapped
    access (since it has different implications for revocation). When a file
    is opened and then read or written via syscalls like
    read(2)/write(2),
    we revalidate access on each read/write operation via
    selinux_file_permission() and therefore can revoke access if the
    process context, the file context, or the policy changes in such a
    manner that access is no longer allowed. When a file is opened and then
    memory mapped via mmap(2)
    and then subsequently read or written directly in memory, we presently have no
    way to revalidate or revoke access. The purpose of a separate map permission
    check on mmap(2) is to permit policy to prohibit memory mapping of specific
    files for which we need to ensure that every access is revalidated,
    particularly useful for scenarios where we expect the file to be relabeled at
    runtime in order to reflect state changes (e.g. cross-domain solution,
    assured pipeline without data copying).





  • Allow proper per-file labeling for tracefs filesystems using the SELinux
    genfscon mechanism.



  • Starting with Linux v4.13, whenever SELinux policy is loaded into the kernel
    we log the SELinux policy capability state to the kernel’s ring buffer. An
    example can be seen below:
    [    2.017308] SELinux:  policy capability network_peer_controls=1
    [ 2.017880] SELinux: policy capability open_perms=1
    [ 2.018344] SELinux: policy capability extended_socket_class=0
    [ 2.018919] SELinux: policy capability always_check_network=0
    [ 2.019513] SELinux: policy capability cgroup_seclabel=0



  • The Linux Kernel does not allow directly
    opening sockets, returning
    the ENXIO error. However, before the kernel ultimately rejects the access, the
    SELinux policy is checked and in the case of a socket file descriptor the
    resulting check can seem a bit odd. The SELinux socket object classes do not
    contain the “open” permission, they contain the “recvfrom” permission instead;
    this difference causes a socket “open” access to appear as a “recvfrom”
    SELinux denial. Linux v4.13 fixes this by skipping open access checking on
    sockets and letting the core kernel code handle the denial.




  • Allow the LSM security_sb_clone_mnt_opts() hook to enable or disable the
    native labeling behavior. This is important for proper SELinux file labeling
    on NFS v4.2+.




  • Normally valid SELinux labels must be used when labeling files, however, if
    the process has the
    CAP_MAC_ADMIN
    capability it is possible to set an unknown, or invalid, SELinux label on a
    file. Prior to Linux v4.13 setting an unknown SELinux label on a file would
    cause the SELinux subsystem to perform the usual SELinux checks, in addition
    to any other stacked LSM’s CAP_MAC_ADMIN checks. Depending on the LSMs that
    were in use this could result in odd, or unexpected behavior. We fix this in
    Linux v4.13 by only performing the base CAP_MAC_ADMIN capability checks in
    addition to the SELinux checks; no other LSMs are asked to provide access
    control decisions.




  • The SELinux internal ebitmap type was converted to use the kmem_cache
    mechanism. This potentially saves a small amount of memory on some systems and
    provides better SELinux memory usage statistics.




  • SELinux was converted to use the LSM security_task_alloc() hook instead of
    the security_task_create() hook. The expectation is that the
    security_task_create() hook will be deprecated and eventually removed from
    the Linux Kernel.



  • A clang build warning related to redundant filesystem labeling behavior
    checks was fixed.

Audit




  • Linux v4.3 added the concept of
    ambient capabilities
    to the Linux Kernel, we now log the ambient capabilities in the audit
    BPRM_FCAPS and CAPSET records using the “cap_pa”, “old_pa”, and “pa” fields.




  • Prior to Linux v4.13 file capabilities would only be recorded in the audit
    PATH record if they were set. Starting with v4.13 the permitted and
    inheritable file capabilities are always recorded in the PATH record, resulting
    in a more consistent record format.




  • The “new_<capability>” prefix has been shortened to simply
    “<capability>” in the audit BPRM_FCAPS record; for example “new_pp” is
    now “pp”.



  • Fixed a race condition where the kernel/auditd connection could be reset
    shortly after the audit daemon starts and registers itself with the kernel.
    Fedora BZ #1459326
    has more information:

    This issue is partly due to the read-copy nature of RCU, and
    partly due to how we sync the auditd_connection state across
    kauditd_thread and the audit control channel. The kauditd_thread
    thread is always running so it can service the record queues and
    emit the multicast messages, if it happens to be just past the
    “main_queue” label, but before the “if (sk == NULL || …)”
    if-statement which calls auditd_reset() when the new auditd
    connection is registered it could end up resetting the auditd
    connection, regardless of if it is valid or not. This is a rather
    small window and the variable nature of multi-core scheduling
    explains why this is proving rather difficult to reproduce.




  • Fixed a user-after-free problem in the audit filesystem watch code. The core
    problem was improper fsnotify reference counting in the audit subsystem. Jan
    Kara provides more information in the patch description:

    From: Jan Kara



    audit_remove_watch_rule() drops watch’s reference to parent but then
    continues to work with it. That is not safe as parent can get freed once
    we drop our reference. The following is a trivial reproducer:



    mount -o loop image /mnt

    touch /mnt/file

    auditctl -w /mnt/file -p wax

    umount /mnt

    auditctl -D

    <crash in fsnotify_destroy_mark()>



    Grab our own reference in audit_remove_watch_rule() earlier to make sure
    mark does not get freed under us.





  • Ensure we cleanup any audit filesystem watch fsnotify marks when a filesystem
    is unmounted.




  • Ensure that all of the audit records are sent to any multicast listeners,
    e.g. the systemd journal, when the audit daemon connection is reset. Prior to
    Linux v4.13 some audit records could be lost when the audit daemon unregistered
    from the kernel.



  • Fixed a memory leak in the auditd_send_unicast_skb() function that would
    leak an audit REPLACE record in certain situations.

Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Gäste-Hinweise werden kurz redaktionell geprüft und danach hier angezeigt.

Community-Hinweise zur Meldung

0 freigegeben
Social ReaktionenReagiere als Erste:r — dein Feedback zählt!
Informations-Bewertung:

💬 Debate de la comunidad y comentarios

🌐 Unirse al chat principal

Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.

Valoración de la comunidad &amp; prueba social
⭐ Valoración de los lectores
–
Ø / 5.0
Aún no hay valoraciones de lectores
¿Le ha resultado útil este artículo?
0
Dejar una valoración ahora
Valoración detallada (opcional)
Contenido & calidad
Fuente & credibilidad
Actualidad
Briefing de seguridad Gratis · baja en 1 clic

Intelligence Digest — gratis

Cada día las noticias de seguridad más importantes · baja en cualquier momento

Clústeres de historias relacionados & fuentes (IA vectorial)

2 Cluster
Artículos similares
🔍 Verwandte News

Auch interessante Nachrichten Linux 4.13 Released

Thematisch verwandte Begriffe: Linux, Released · 6 Treffer

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

Laden...

Cargando artículos ...

Laden...

Cargando vídeos ...

💬 Cargando comentarios…
Desliza para actualizar
Widgets & Topics
Loading widgets…
Nächster Beitrag