Vulnerabilities in pkg:golang/github.com/tacquito/tacquito

PACKAGE
Advisory Summary

GHSA-j42f-wc6v-5xpq is a CRITICAL (CVSS 9.8) permissive regular expression vulnerability (General Security Weakness) affecting Duplicate Advisory 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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/tacquito/tacquito

1 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
GHSA-j42f-wc6v-5xpq - CRITICAL Duplicate Advisory: Permissive Regular Expression in tacquito

GHSA-j42f-wc6v-5xpq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-j42f-wc6v-5xpq
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification General Security Weakness
Affected Product Duplicate Advisory
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 9.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix GHSA-j42f-wc6v-5xpq

To remediate this vulnerability, upgrade all affected Duplicate Advisory 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/tacquito/tacquito fixed: 0.0.0-20241011192817-07b49d1358e6
Upgrade github.com/tacquito/tacquito to 0.0.0-20241011192817-07b49d1358e6
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/tacquito/tacquito

How to Check if You Are Affected

To determine whether your application is affected by GHSA-j42f-wc6v-5xpq, inspect your project dependencies for Duplicate Advisory:

inspect dependencies for github.com/tacquito/tacquito

Analyze the terminal output to locate any version of Duplicate Advisory 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 General Security Weakness. In Duplicate Advisory, 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

Tacquito prior to commit 07b49d1358e6ec0b5aa482fcd284f509191119e2 was not properly performing regex matches on authorized commands and arguments. Configured allowed commands/arguments were intended to require a match on the entire string, but instead only enforced a match on a sub-string. That would have potentially allowed unauthorized commands to be executed.

GHSA-j42f-wc6v-5xpq Affected Duplicate Advisory Versions

1 component(s)
Fixed Versions:
0.0.0-20241011192817-07b49d1358e6
Product / Package Ecosystem Affected Versions Fixed Version
github.com/tacquito/tacquito
Go
< 0.0.0-20241011192817-07b49d1358e6
0.0.0-20241011192817-07b49d1358e6

References

Frequently Asked Questions

What is GHSA-j42f-wc6v-5xpq?
GHSA-j42f-wc6v-5xpq is a security vulnerability in Duplicate Advisory involving Permissive Regular Expression in tacquito under General Security Weakness.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to 0.0.0-20241011192817-07b49d1358e6 across affected packages: github.com/tacquito/tacquito.
What version fixes GHSA-j42f-wc6v-5xpq?
Upgrading to 0.0.0-20241011192817-07b49d1358e6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/tacquito/tacquito affected?
Yes, github.com/tacquito/tacquito is affected in releases prior to 0.0.0-20241011192817-07b49d1358e6. Upgrade your dependency to 0.0.0-20241011192817-07b49d1358e6 or later.
What is the CVSS score of GHSA-j42f-wc6v-5xpq?
GHSA-j42f-wc6v-5xpq has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with GHSA-j42f-wc6v-5xpq?
GHSA-j42f-wc6v-5xpq is classified under General Security Weakness.
How can I check Go dependencies for GHSA-j42f-wc6v-5xpq?
Run the dependency tree command: 'inspect dependencies for github.com/tacquito/tacquito'. 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-j42f-wc6v-5xpq",
  "modified" : "2024-11-01T21:47:02Z",
  "published" : "2024-10-17T18:31:37Z",
  "withdrawn" : "2024-11-01T21:47:02Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Permissive Regular Expression in tacquito",
  "details" : "Tacquito prior to commit 07b49d1358e6ec0b5aa482fcd284f509191119e2 was not properly performing regex matches on authorized commands and arguments. Configured allowed commands/arguments were intended to require a match on the entire string, but instead only enforced a match on a sub-string. That would have potentially allowed unauthorized commands to be executed.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/tacquito/tacquito"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20241011192817-07b49d1358e6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-49400"
  }, {
    "type" : "WEB",
    "url" : "https://www.facebook.com/security/advisories/cve-2024-49400"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-11-01T21:47:02Z",
    "nvd_published_at" : "2024-10-17T18:15:15Z"
  }
}