Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS1wNXdmLWNtcjQteHJ3cs4ABAbh

Permissive Regular Expression in tacquito

Impact

The 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.

Tacquito 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.

Patches

The problem has been patched, and users should update to the latest github repo commit to get the patch.

Workarounds

Users should be able to add boundary conditions anchors '^' and '$' to their command configs to remediate the vulnerability without the upgrade

Permalink: https://github.com/advisories/GHSA-p5wf-cmr4-xrwr
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wNXdmLWNtcjQteHJ3cs4ABAbh
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 1 month ago
Updated: 19 days ago


CVSS Score: 7.6
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:H

Identifiers: GHSA-p5wf-cmr4-xrwr
References: Repository: https://github.com/facebookincubator/tacquito
Blast Radius: 1.0

Affected Packages

go:github.com/facebookincubator/tacquito
Dependent packages: 0
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 0.0.0-20241011192817-07b49d1358e6
Fixed in: 0.0.0-20241011192817-07b49d1358e6
All affected versions: 0.0.0-20221117000136-3167823e34a3, 0.0.0-20221212175105-be54aa31bde9, 0.0.0-20230109230938-9d48e4ba9755, 0.0.0-20230223173903-1681376181aa, 0.0.0-20230308000745-478a9f1303eb, 0.0.0-20230313234511-0e0cd865b7c1, 0.0.0-20230314225538-62f53bb2407e, 0.0.0-20230404221852-215c6bff72c5, 0.0.0-20231009230019-b24e2224f444
All unaffected versions: