Vulnerabilities in pkg:golang/tailscale.com/cmd
PACKAGECVE-2022-41925 is a LOW (CVSS 3.8) tailscale daemon is vulnerable to vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Tailscale.com/cmd libraries in the Go ecosystem. The issue involves tailscale daemon is vulnerable to information disclosure via csrf. Remediation is available by upgrading affected packages to version 1.32.3.
pkg:golang/tailscale.com/cmd
Vulnerability advisories affecting package pkg:golang/tailscale.com/cmd. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-qccm-wmcq-pwr6 | CVE-2022-41925 | LOW | Tailscale daemon is vulnerable to information disclosure via CSRF |
CVE-2022-41925 at a Glance
Security Impact
CVSS: 3.8
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N).
How to Fix CVE-2022-41925
To remediate this vulnerability, upgrade all affected Tailscale.com/cmd dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade tailscale.com/cmd to 1.32.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for tailscale.com/cmd
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-41925, inspect your project dependencies for Tailscale.com/cmd:
inspect dependencies for tailscale.com/cmd
Analyze the terminal output to locate any version of Tailscale.com/cmd in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.32.3), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Tailscale.com/cmd, 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
CVE-2022-41925 Affected Tailscale.com/cmd Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
tailscale.com/cmd
|
Go |
< 1.32.3
|
1.32.3
|
References
Frequently Asked Questions
What is CVE-2022-41925?
Which Tailscale.com/cmd versions are affected?
What version fixes CVE-2022-41925?
Is tailscale.com/cmd affected?
What is the CVSS score of CVE-2022-41925?
What CWE is associated with CVE-2022-41925?
How can I check Go dependencies for CVE-2022-41925?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qccm-wmcq-pwr6",
"modified" : "2022-12-01T22:12:32Z",
"published" : "2022-11-21T22:34:22Z",
"aliases" : [ "CVE-2022-41925" ],
"summary" : "Tailscale daemon is vulnerable to information disclosure via CSRF",
"details" : "A vulnerability identified in the Tailscale client allows a malicious website to access the peer API, which can then be used to access Tailscale environment variables.\n\n**Affected platforms:** All\n**Patched Tailscale client versions:** v1.32.3 or later, v1.33.257 or later (unstable)\n\n### What happened?\nIn the Tailscale client, the peer API was vulnerable to DNS rebinding. This allowed an attacker-controlled website visited by the node to rebind DNS for the peer API to an attacker-controlled DNS server, and then making peer API requests in the client, including accessing the node’s Tailscale environment variables.\n\n### Who is affected?\nAll Tailscale clients prior to version v.1.32.3 are affected.\n\n### What should I do?\nUpgrade to v1.32.3 or later to remediate the issue.\n\n### What is the impact?\nAn attacker with access to the peer API on a node could use that access to read the node’s environment variables, including any credentials or secrets stored in environment variables. This may include Tailscale authentication keys, which could then be used to add new nodes to the user’s tailnet. The peer API access could also be used to learn of other nodes in the tailnet or send files via Taildrop.\n\nAn attacker with access to the peer API who sent a malicious file via Taildrop which was accessed while it was loading could use this to gain access to the local API, and remotely execute code.\n\nThere is no evidence of this vulnerability being purposefully triggered or exploited.\n\n### Credits\nWe would like to thank [Emily Trau](https://github.com/emilytrau) and [Jamie McClymont (CyberCX)](https://twitter.com/JJJollyjim) for reporting this issue. Further detail is available in [their blog post](https://emily.id.au/tailscale).\n\n### References\n* [TS-2022-005](https://tailscale.com/security-bulletins/#ts-2022-005)\n* [Researcher blog post](https://emily.id.au/tailscale)\n\n### For more information\nIf you have any questions or comments about this advisory, [contact Tailscale support](https://tailscale.com/contact/support/).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "tailscale.com/cmd"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.32.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/tailscale/tailscale/security/advisories/GHSA-qccm-wmcq-pwr6"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-41925"
}, {
"type" : "WEB",
"url" : "https://emily.id.au/tailscale"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tailscale/tailscale"
}, {
"type" : "WEB",
"url" : "https://tailscale.com/security-bulletins/#ts-2022-005"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-352" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-21T22:34:22Z",
"nvd_published_at" : "2022-11-23T19:15:00Z"
}
}