]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3840] fix arm env var name Kea-2.6.3
authorRazvan Becheriu <razvan@isc.org>
Thu, 22 May 2025 09:30:01 +0000 (12:30 +0300)
committerRazvan Becheriu <razvan@isc.org>
Thu, 22 May 2025 10:23:19 +0000 (13:23 +0300)
ChangeLog
doc/sphinx/arm/dhcp4-srv.rst
doc/sphinx/arm/dhcp6-srv.rst
doc/sphinx/arm/hooks-lease-cmds.rst
doc/sphinx/arm/security.rst

index 0a5a640366f984ce6739151b39f15f24f749c2b2..edd243261ab47a0a80e4cd0c498badf400005935 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,10 +1,25 @@
 Kea 2.6.3 (stable) released on May 28, 2025
 
-2266.  [build]         andrei
+2267.  [build]         andrei
        The library version numbers have been bumped up for the Kea 2.6.3
        stable release.
        (Gitlab #3891)
 
+2266.  [sec]*          tmark, fdupont, razvan
+       All files and sockets created by Kea servers have been
+       restricted to default paths determined at compile time
+       which may be overridden by environment variables. This
+       includes lease files, log files, control channel sockets,
+       and the output from commands such as lease4-write and
+       lease6-write. The output of config-write is restricted to
+       the directory from which the configuration file was read.
+       Use of unsupported paths will result in servers emitting
+       errors and refusing to start or rejecting commands.
+       The specifics including the supported paths and environment
+       variable names are in the relevant ARM sections.
+       CVE:2025-32801
+       (Gitlab #3831)
+
 2265.  [sec]*          fdupont
        Change the umask to no group write and no other access
        at the entry of Kea server/agent binaries.
index c5c7ff8b500943d161d65afa85866cd849bb06e1..6b65e48f0c7ac516a50d5202cffaaf3d1cf7e966 100644 (file)
@@ -370,7 +370,7 @@ that can be used to configure the memfile backend.
     As of Kea 2.6.3, lease files may only be loaded from the data directory
     determined during compilation: ``"[kea-install-dir]/var/lib/kea"``. This
     path may be overridden at startup by setting the environment variable
-    ``KEA_DHCP_DATA_DIRECTORY`` to the desired path.  If a path other than
+    ``KEA_DHCP_DATA_DIR`` to the desired path.  If a path other than
     this value is used in ``name``, Kea will emit an error and refuse to start
     or, if already running, log an unrecoverable error.  For ease of use in
     specifying a custom file name simply omit the path component from ``name``.
index af47d52d065514a066c8c2712ce980206d3ee7fd..29f5caed9820d95ee170de74a14704261e193b63 100644 (file)
@@ -326,7 +326,7 @@ that can be used to configure the memfile backend.
     As of Kea 2.6.3, lease files may only be loaded from the data directory
     determined during compilation: ``"[kea-install-dir]/var/lib/kea"``. This
     path may be overridden at startup by setting the environment variable
-    ``KEA_DHCP_DATA_DIRECTORY`` to the desired path.  If a path other than
+    ``KEA_DHCP_DATA_DIR`` to the desired path.  If a path other than
     this value is used in ``name``, Kea will emit an error and refuse to start
     or, if already running, log an unrecoverable error.  For ease of use in
     specifying a custom file name simply omit the path component from ``name``.
@@ -6240,7 +6240,7 @@ memory lease file into its data directory. By default this directory is
     files may only be loaded from the directory determined at
     compilation: ``"[kea-install-dir]/var/lib/kea"``. This path may be
     overridden at startup by setting the environment variable
-    ``KEA_DHCP_DATA_DIRECTORY`` to the desired path.  If a path other than
+    ``KEA_DHCP_DATA_DIR`` to the desired path.  If a path other than
     this value is used in ``data-directory``, Kea will emit an error and
     refuse to start or, if already running, log an unrecoverable error.
 
index 7aa31aaad71917d4f3b6d0b637805a49b599c0c6..634e7a6d1b49cabddb1db2f491188f1cf207536d 100644 (file)
@@ -1094,7 +1094,7 @@ to the previous filename: for example, ``.bak14326``.
     As of Kea 2.6.3, the lease file may only be written to the data directory
     determined during compilation: ``"[kea-install-dir]/var/lib/kea"``. This
     path may be overridden at startup by setting the environment variable
-    ``KEA_DHCP_DATA_DIRECTORY`` to the desired path.  If a path other than
+    ``KEA_DHCP_DATA_DIR`` to the desired path.  If a path other than
     this value is used in ``filename``, Kea will emit an error and refuse to start
     or, if already running, log an unrecoverable error.  For ease of use in
     specifying a custom file name simply omit the path portion from ``filename``.
index dadde71b91c42f92c8b8a0db2b044ac944e59908..2835b3fc49b46eb2af9305b017e996dc66081374 100644 (file)
@@ -284,7 +284,7 @@ Potential Kea security issues can be minimized by running only those processes r
     may only be loaded from the directory determined at compilation:
     ``"[kea-install-dir]/var/lib/kea"``.
     This path may be overridden at startup by setting the environment variable
-    ``KEA_DHCP_DATA_DIRECTORY`` to the desired path.  If a path other than
+    ``KEA_DHCP_DATA_DIR`` to the desired path.  If a path other than
     this value is used in ``name`` or ``data-directory``, Kea will emit an error and
     refuse to start or, if already running, log an unrecoverable error.
     This restriction applies to writing lease file using ``lease4-write`` and
@@ -382,17 +382,17 @@ Summary of Path Restrictions
 Path restrictions mentioned through this section can be summarized according to
 the following table:
 
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Restricted Element                  | Default Value                         | Environment Variable Override    |
-+=====================================+=======================================+==================================+
-| Config Files (``config-write``)     | Same Directory as Initial Config File | N/A                              |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Lease Files                         | ``var/lib/kea``                       | ``KEA_DHCP_DATA_DIRECTORY``      |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Log Files                           | ``var/log/kea``                       | ``KEA_LOG_FILE_DIR``             |
-+-------------------------------------+---------------------------------------+----------------------------------+
-| Unix Sockets                        | ``var/run/kea``                       | ``KEA_CONTROL_SOCKET_DIR``       |
-+-------------------------------------+---------------------------------------+----------------------------------+
++-------------------------------------+---------------------------------------+-------------------------------+
+| Restricted Element                  | Default Value                         | Environment Variable Override |
++=====================================+=======================================+===============================+
+| Config Files (``config-write``)     | Same Directory as Initial Config File | N/A                           |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Lease Files                         | ``var/lib/kea``                       | ``KEA_DHCP_DATA_DIR``         |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Log Files                           | ``var/log/kea``                       | ``KEA_LOG_FILE_DIR``          |
++-------------------------------------+---------------------------------------+-------------------------------+
+| Unix Sockets                        | ``var/run/kea``                       | ``KEA_CONTROL_SOCKET_DIR``    |
++-------------------------------------+---------------------------------------+-------------------------------+