{
  "id": "CVE-2025-40775",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-40775",
  "published_at": "2025-05-21T12:35:01.862Z",
  "title": "DNS message with invalid TSIG causes an assertion failure",
  "vendor": "ISC",
  "product": "BIND 9",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-05-23T00:41:43Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 1.5,
    "repo": "AlexSvobo/nhi-zero-trust-bypass",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "When an incoming DNS protocol message includes a Transaction Signature (TSIG), BIND always checks it.  If the TSIG contains an invalid value in the algorithm field, BIND immediately aborts with an assertion failure.\nThis issue affects BIND 9 versions 9.20.0 through 9.20.8 and 9.21.0 through 9.21.7.",
  "cwe": "CWE-232",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "AlexSvobo/nhi-zero-trust-bypass",
      "url": "https://github.com/AlexSvobo/nhi-zero-trust-bypass",
      "created_at": "2025-05-23T00:41:43Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 6,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2024-02-13T01:53:06Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "ISC",
        "product": "BIND 9",
        "ranges": [
          "\u003e= 9.20.0, \u003c= 9.20.8",
          "\u003e= 9.21.0, \u003c= 9.21.7"
        ],
        "fixed_in": null
      }
    ],
    "solutions": [
      "Upgrade to the patched release most closely related to your current version of BIND 9: 9.20.9 or 9.21.8."
    ],
    "workarounds": [
      "No workarounds known."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://kb.isc.org/docs/cve-2025-40775"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [
    {
      "method": "GET",
      "path_template": "/get_secret",
      "ports": [
        5000,
        8200
      ],
      "protocol": "http",
      "repos": [
        "AlexSvobo/nhi-zero-trust-bypass"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "AlexSvobo/nhi-zero-trust-bypass/client_nhi_rotation.py:27"
      ]
    },
    {
      "method": "GET",
      "path_template": "/v1/secrets",
      "headers": [
        {
          "name": "Authorization",
          "value": "Bearer {var}"
        }
      ],
      "ports": [
        5000
      ],
      "protocol": "http",
      "repos": [
        "AlexSvobo/nhi-zero-trust-bypass"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "AlexSvobo/nhi-zero-trust-bypass/bypass_demo.py:10"
      ]
    },
    {
      "method": "POST",
      "path_template": "/rotate_secret",
      "ports": [
        5000,
        8200
      ],
      "protocol": "http",
      "repos": [
        "AlexSvobo/nhi-zero-trust-bypass"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "AlexSvobo/nhi-zero-trust-bypass/client_nhi_rotation.py:17"
      ]
    }
  ],
  "rules": []
}
