Search

Find a vulnerability

Search criteria

    2 vulnerabilities found for Knot DNS by CZ.NIC

    CVE-2026-144473 (GCVE-0-2026-144473)

    Vulnerability from nvd – Published: 2026-12-03 23:00 – Updated: 2026-12-03 23:00
    VLAI
    Title
    Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 Local Privilege Escalation via Auto-Generated TLS Key Symlink
    Summary
    Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 contain a link following vulnerability in self_key() in src/libknot/quic/tls_common.c that, when QUIC or TLS is enabled without a configured certificate, creates the auto-generated private key file in the KASP database directory with open() without O_NOFOLLOW or O_EXCL and then changes its owner to the configured server user with fchown(). Local attackers who can write to the KASP database directory, such as the knot service account, can place a dangling symbolic link at the key path so that knotd, when started as root before it drops privileges, creates a file at an arbitrary location owned by the knot user, leading to privilege escalation to root.
    CWE
    • CWE-59 - Improper Link Resolution Before File Access ('Link Following')
    Assigner
    AISLE CNA under the ENISA root
    CNA scorecard C 69/100 over 72 records in the last 180 days details
    Impacted products
    Vendor Product Version
    CZ.NIC Knot DNS Affected: 3.4.1 , < 3.5.9 (semver)
    Affected: 3.6.0 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Knot DNS",
              "repo": "https://gitlab.nic.cz/knot/knot-dns",
              "vendor": "CZ.NIC",
              "versions": [
                {
                  "lessThan": "3.5.9",
                  "status": "affected",
                  "version": "3.4.1",
                  "versionType": "semver"
                },
                {
                  "status": "affected",
                  "version": "3.6.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Joshua Rogers (AISLE Research)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 contain a link following vulnerability in self_key() in src/libknot/quic/tls_common.c that, when QUIC or TLS is enabled without a configured certificate, creates the auto-generated private key file in the KASP database directory with open() without O_NOFOLLOW or O_EXCL and then changes its owner to the configured server user with fchown(). Local attackers who can write to the KASP database directory, such as the knot service account, can place a dangling symbolic link at the key path so that knotd, when started as root before it drops privileges, creates a file at an arbitrary location owned by the knot user, leading to privilege escalation to root."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 7.3,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 7,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-59",
                  "description": "Improper Link Resolution Before File Access (\u0027Link Following\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-03T23:00:19.659Z",
            "orgId": "1a4f025a-074d-4105-b4e2-52bd8eabe2ea",
            "shortName": "AISLE"
          },
          "references": [
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns/-/commit/abbce24f2e722d2ace21993948707f3ed9bc1ce3"
            },
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns/-/commit/7a88dfef273a30df4e3ceb522ee56171db31a5d8"
            },
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns/-/commit/1bc5974578c518983718be0184f74dcfbbe46f8d"
            },
            {
              "url": "https://www.knot-dns.cz/2026-10-08-version-359.html"
            },
            {
              "url": "https://www.knot-dns.cz/2026-10-09-version-361.html"
            },
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns"
            }
          ],
          "title": "Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 Local Privilege Escalation via Auto-Generated TLS Key Symlink"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1a4f025a-074d-4105-b4e2-52bd8eabe2ea",
        "assignerShortName": "AISLE",
        "cveId": "CVE-2026-144473",
        "datePublished": "2026-12-03T23:00:19.659Z",
        "dateReserved": "2026-12-03T22:11:27.380Z",
        "dateUpdated": "2026-12-03T23:00:19.659Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }

    CVE-2026-144473 (GCVE-0-2026-144473)

    Vulnerability from cvelistv5 – Published: 2026-12-03 23:00 – Updated: 2026-12-03 23:00
    VLAI
    Title
    Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 Local Privilege Escalation via Auto-Generated TLS Key Symlink
    Summary
    Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 contain a link following vulnerability in self_key() in src/libknot/quic/tls_common.c that, when QUIC or TLS is enabled without a configured certificate, creates the auto-generated private key file in the KASP database directory with open() without O_NOFOLLOW or O_EXCL and then changes its owner to the configured server user with fchown(). Local attackers who can write to the KASP database directory, such as the knot service account, can place a dangling symbolic link at the key path so that knotd, when started as root before it drops privileges, creates a file at an arbitrary location owned by the knot user, leading to privilege escalation to root.
    CWE
    • CWE-59 - Improper Link Resolution Before File Access ('Link Following')
    Assigner
    AISLE CNA under the ENISA root
    CNA scorecard C 69/100 over 72 records in the last 180 days details
    Impacted products
    Vendor Product Version
    CZ.NIC Knot DNS Affected: 3.4.1 , < 3.5.9 (semver)
    Affected: 3.6.0 (semver)
    Create a notification for this product.
    Show details on NVD website

    {
      "containers": {
        "cna": {
          "affected": [
            {
              "defaultStatus": "unaffected",
              "product": "Knot DNS",
              "repo": "https://gitlab.nic.cz/knot/knot-dns",
              "vendor": "CZ.NIC",
              "versions": [
                {
                  "lessThan": "3.5.9",
                  "status": "affected",
                  "version": "3.4.1",
                  "versionType": "semver"
                },
                {
                  "status": "affected",
                  "version": "3.6.0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Joshua Rogers (AISLE Research)"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 contain a link following vulnerability in self_key() in src/libknot/quic/tls_common.c that, when QUIC or TLS is enabled without a configured certificate, creates the auto-generated private key file in the KASP database directory with open() without O_NOFOLLOW or O_EXCL and then changes its owner to the configured server user with fchown(). Local attackers who can write to the KASP database directory, such as the knot service account, can place a dangling symbolic link at the key path so that knotd, when started as root before it drops privileges, creates a file at an arbitrary location owned by the knot user, leading to privilege escalation to root."
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "baseScore": 7.3,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0"
              }
            },
            {
              "cvssV3_1": {
                "baseScore": 7,
                "baseSeverity": "HIGH",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              }
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-59",
                  "description": "Improper Link Resolution Before File Access (\u0027Link Following\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-12-03T23:00:19.659Z",
            "orgId": "1a4f025a-074d-4105-b4e2-52bd8eabe2ea",
            "shortName": "AISLE"
          },
          "references": [
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns/-/commit/abbce24f2e722d2ace21993948707f3ed9bc1ce3"
            },
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns/-/commit/7a88dfef273a30df4e3ceb522ee56171db31a5d8"
            },
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns/-/commit/1bc5974578c518983718be0184f74dcfbbe46f8d"
            },
            {
              "url": "https://www.knot-dns.cz/2026-10-08-version-359.html"
            },
            {
              "url": "https://www.knot-dns.cz/2026-10-09-version-361.html"
            },
            {
              "url": "https://gitlab.nic.cz/knot/knot-dns"
            }
          ],
          "title": "Knot DNS 3.4.1 before 3.5.9 and 3.6.x before 3.6.1 Local Privilege Escalation via Auto-Generated TLS Key Symlink"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1a4f025a-074d-4105-b4e2-52bd8eabe2ea",
        "assignerShortName": "AISLE",
        "cveId": "CVE-2026-144473",
        "datePublished": "2026-12-03T23:00:19.659Z",
        "dateReserved": "2026-12-03T22:11:27.380Z",
        "dateUpdated": "2026-12-03T23:00:19.659Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }