Vulnerabilities in pkg:golang/github.com/facebookincubator/tacquito
PACKAGEGHSA-p5wf-cmr4-xrwr is a HIGH (CVSS 7.6) permissive regular expression vulnerability (CWE-1333: Inefficient Regular Expression Complexity) affecting Github.com/facebookincubator/tacquito libraries in the Go ecosystem. The issue involves permissive regular expression in tacquito. Remediation is available by upgrading affected packages to version 0.0.0-20241011192817-07b49d1358e6.
pkg:golang/github.com/facebookincubator/tacquito
Vulnerability advisories affecting package pkg:golang/github.com/facebookincubator/tacquito. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-p5wf-cmr4-xrwr | - | HIGH | Permissive Regular Expression in tacquito |
GHSA-p5wf-cmr4-xrwr at a Glance
Security Impact
CVSS: 7.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H).
How to Fix GHSA-p5wf-cmr4-xrwr
To remediate this vulnerability, upgrade all affected Github.com/facebookincubator/tacquito 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 github.com/facebookincubator/tacquito to 0.0.0-20241011192817-07b49d1358e6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/facebookincubator/tacquito
How to Check if You Are Affected
To determine whether your application is affected by GHSA-p5wf-cmr4-xrwr, inspect your project dependencies for Github.com/facebookincubator/tacquito:
inspect dependencies for github.com/facebookincubator/tacquito
Analyze the terminal output to locate any version of Github.com/facebookincubator/tacquito in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20241011192817-07b49d1358e6), 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-1333: Inefficient Regular Expression Complexity, where the product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential. In Github.com/facebookincubator/tacquito, 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
GHSA-p5wf-cmr4-xrwr Affected Github.com/facebookincubator/tacquito Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/facebookincubator/tacquito
|
Go |
< 0.0.0-20241011192817-07b49d1358e6
|
0.0.0-20241011192817-07b49d1358e6
|
References
Frequently Asked Questions
What is GHSA-p5wf-cmr4-xrwr?
Which Github.com/facebookincubator/tacquito versions are affected?
What version fixes GHSA-p5wf-cmr4-xrwr?
Is github.com/facebookincubator/tacquito affected?
What is the CVSS score of GHSA-p5wf-cmr4-xrwr?
What CWE is associated with GHSA-p5wf-cmr4-xrwr?
How can I check Go dependencies for GHSA-p5wf-cmr4-xrwr?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-p5wf-cmr4-xrwr",
"modified" : "2024-11-01T21:47:15Z",
"published" : "2024-10-18T18:40:32Z",
"aliases" : [ ],
"summary" : "Permissive Regular Expression in tacquito",
"details" : "### Impact\nThe CVE is for a software vulnerability. Network admins who have deployed tacquito (or versions of tacquito) in their production environments and use tacquito to perform command authorization for network devices should be impacted.\n\nTacquito code prior to commit 07b49d1358e6ec0b5aa482fcd284f509191119e2 was performing regex matches on authorized commands and arguments in a more permissive than intended manner. Configured allowed commands/arguments were intended to require a match on the entire string, but instead only enforced a match on a sub-string. This behaviour could potentially allowed unauthorized commands to be executed.\n\n### Patches\nThe problem has been patched, and users should update to the latest github repo commit to get the patch. \n\n### Workarounds\nUsers should be able to add boundary conditions anchors '^' and '$' to their command configs to remediate the vulnerability without the upgrade\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/facebookincubator/tacquito"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.0.0-20241011192817-07b49d1358e6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/facebookincubator/tacquito/security/advisories/GHSA-p5wf-cmr4-xrwr"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-49400"
}, {
"type" : "WEB",
"url" : "https://github.com/facebookincubator/tacquito/commit/07b49d1358e6ec0b5aa482fcd284f509191119e2"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/facebookincubator/tacquito"
}, {
"type" : "WEB",
"url" : "https://www.facebook.com/security/advisories/cve-2024-49400"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1333" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-10-18T18:40:32Z",
"nvd_published_at" : null
}
}