Permissive Regular Expression Affecting github.com/facebookincubator/tacquito/cmds/server/config/authorizers/stringy package, versions >=0.0.0
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 ID SNYK-GOLANG-GITHUBCOMFACEBOOKINCUBATORTACQUITOCMDSSERVERCONFIGAUTHORIZERSSTRINGY-8235190
- published 20 Oct 2024
- disclosed 18 Oct 2024
- credit Unknown
Introduced: 18 Oct 2024
CVE-2024-49400 Open this link in a new tabHow 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.