Code Injection Affecting github.com/jumpserver/koko/pkg/srvconn package, versions >=2.0.0 <2.28.20>=3.0.0 <3.7.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
10.72% (93rd 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 Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMJUMPSERVERKOKOPKGSRVCONN-6033673
  • published25 Oct 2023
  • disclosed24 Oct 2023
  • creditOskar Zeino-Mahmalat

Introduced: 24 Oct 2023

CVE-2023-43651  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/jumpserver/koko/pkg/srvconn to version 2.28.20, 3.7.1 or higher.

Overview

Affected versions of this package are vulnerable to Code Injection through the WEB CLI interface. An authenticated user can exploit a vulnerability in MongoDB sessions to execute arbitrary commands, leading to remote code execution. This vulnerability may further be leveraged to gain root privileges on the host system.

CVSS Base Scores

version 3.1