Vulnerabilities in pkg:golang/github.com/safedep/vet

PACKAGE
Advisory Identifier: GHSA-6q9c-m9fr-865m
Advisory Summary

CVE-2025-59163 is a LOW vet mcp server sse transport vulnerability (CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action) affecting Github.com/safedep/vet libraries in the Go ecosystem. The issue involves vet mcp server sse transport dns rebinding vulnerability. Remediation is available by upgrading affected packages to version 1.12.5.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/safedep/vet

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/safedep/vet. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-6q9c-m9fr-865m CVE-2025-59163 LOW vet MCP Server SSE Transport DNS Rebinding Vulnerability

CVE-2025-59163 at a Glance

CVE Identifier CVE-2025-59163
GHSA Identifier GHSA-6q9c-m9fr-865m
Severity LOW
CVSS v3.1 Base Score N/A
CWE Classification CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action
Affected Product Github.com/safedep/vet
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2025-59163

To remediate this vulnerability, upgrade all affected Github.com/safedep/vet dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/safedep/vet fixed: 1.12.5
Upgrade github.com/safedep/vet to 1.12.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/safedep/vet

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-59163, inspect your project dependencies for Github.com/safedep/vet:

inspect dependencies for github.com/safedep/vet

Analyze the terminal output to locate any version of Github.com/safedep/vet in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.12.5), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action, where the product performs reverse dns resolution on an ip address to obtain the hostname and make a security decision, but it does not properly ensure that the ip address is truly associated with the hostname. In Github.com/safedep/vet, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

SafeDep `vet` is vulnerable to a DNS rebinding attack due to lack of HTTP `Host` and `Origin` header validation. To exploit this vulnerability following conditions must be met: 1. A `vet` scan is executed and reports are saved as `sqlite3` database 2. A `vet` MCP server is running on default port with SSE transport that has access to the report database 3. The attacker lures the victim to attacker controlled website 4. Attacker leverages DNS rebinding to access `vet` SSE server on `127.0.0.1` through the website 5. Attacker uses MCP tools to read information from report database ### Impact Data from `vet` scan sqlite3 database may be exposed to remote attackers when `vet` is used as an MCP server in SSE mode with default ports through the sqlite3 query MCP tool. ### Patches * `v1.12.5` is released that patches the issue with `Host` and `Origin` header allow list and validation ### Workarounds * Use `stdio` (default) transport for SSE server

CVE-2025-59163 Affected Github.com/safedep/vet Versions

1 component(s)
Fixed Versions:
1.12.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/safedep/vet
Go
< 1.12.5
1.12.5

References

Frequently Asked Questions

What is CVE-2025-59163?
CVE-2025-59163 is a security vulnerability in Github.com/safedep/vet involving vet MCP Server SSE Transport DNS Rebinding Vulnerability under CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action.
Which Github.com/safedep/vet versions are affected?
Affected versions include releases prior to 1.12.5 across affected packages: github.com/safedep/vet.
What version fixes CVE-2025-59163?
Upgrading to 1.12.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/safedep/vet affected?
Yes, github.com/safedep/vet is affected in releases prior to 1.12.5. Upgrade your dependency to 1.12.5 or later.
What CWE is associated with CVE-2025-59163?
CVE-2025-59163 is classified under CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action (The product performs reverse DNS resolution on an IP address to obtain the hostname and make a security decision, but it does not properly ensure that the IP address is truly associated with the hostname.).
How can I check Go dependencies for CVE-2025-59163?
Run the dependency tree command: 'inspect dependencies for github.com/safedep/vet'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-6q9c-m9fr-865m",
  "modified" : "2025-10-23T20:21:11Z",
  "published" : "2025-09-29T16:28:49Z",
  "aliases" : [ "CVE-2025-59163" ],
  "summary" : "vet MCP Server SSE Transport DNS Rebinding Vulnerability",
  "details" : "SafeDep `vet` is vulnerable to a DNS rebinding attack due to lack of HTTP `Host` and `Origin` header validation. \n\nTo exploit this vulnerability following conditions must be met:\n\n1. A `vet` scan is executed and reports are saved as `sqlite3` database\n2. A `vet` MCP server is running on default port with SSE transport that has access to the report database\n3. The attacker lures the victim to attacker controlled website\n4. Attacker leverages DNS rebinding to access `vet` SSE server on `127.0.0.1` through the website\n5. Attacker uses MCP tools to read information from report database\n\n### Impact\n\nData from `vet` scan sqlite3 database may be exposed to remote attackers when `vet` is used as an MCP server in SSE mode with default ports through the sqlite3 query MCP tool.\n\n### Patches\n\n* `v1.12.5` is released that patches the issue with `Host` and `Origin` header allow list and validation\n\n### Workarounds\n\n* Use `stdio` (default) transport for SSE server",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/safedep/vet"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.12.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/safedep/vet/security/advisories/GHSA-6q9c-m9fr-865m"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-59163"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/safedep/vet/commit/0ae3560ba11846375812377299fe078d45cc3d48"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/safedep/vet"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/safedep/vet/releases/tag/v1.12.5"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-3986"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-350" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-29T16:28:49Z",
    "nvd_published_at" : "2025-09-29T22:15:36Z"
  }
}