Permissive Regular Expression Affecting github.com/facebookincubator/tacquito/cmds/server/config/authorizers/stringy package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMFACEBOOKINCUBATORTACQUITOCMDSSERVERCONFIGAUTHORIZERSSTRINGY-8235190
  • published20 Oct 2024
  • disclosed18 Oct 2024
  • creditUnknown

Introduced: 18 Oct 2024

CVE-2024-49400  (opens in a new tab)
CWE-625  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Permissive Regular Expression when checking authorized commands and arguments in command.go. An attacker can execute unauthorized commands by sending a command that is a partial match for an authorized one.

Note: This issue was fixed since version 0.0.0-20241011192817-07b49d1358e6.

Workaround

This vulnerability can be mitigated by adding boundary condition anchors ^ and $ to command configurations.

CVSS Scores

version 4.0
version 3.1