Command Injection Affecting github.com/mayuresh82/gocast/controller package, versions >=0.0.0


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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 Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMMAYURESH82GOCASTCONTROLLER-8551195
  • published27 Dec 2024
  • disclosed20 Dec 2024
  • creditMatt Street and Edwin Molenaar of Cisco Meraki

Introduced: 20 Dec 2024

NewCVE-2024-28892  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

There is no fixed version for github.com/mayuresh82/gocast/controller.

Overview

Affected versions of this package are vulnerable to Command Injection when the name parameter of an app is used to create the label of a new loopback interface.

Note: The name parameter is limited to a string length of 12 characters due to the limited size of Linux Kernal network interfact labels.

Mitigation

Users are advised to:

  1. Disable the HTTP API or put it behind authentication if it can’t be.

  2. Disable Consul integration if possible.

  3. Check that the file permissions for the configuration file prevent users other than root and the GoCast user from modifying the file.

CVSS Scores

version 4.0
version 3.1