Arbitrary Code Injection Affecting smok package, versions [,0.20.1)


Severity

Recommended
0.0
critical
0
10

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

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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-SMOK-3186342
  • published2 Jan 2023
  • disclosed2 Jan 2023
  • creditUnknown

Introduced: 2 Jan 2023

CVE NOT AVAILABLE CWE-94  (opens in a new tab)

How to fix?

Upgrade smok to version 0.20.1 or higher.

Overview

smok is a Library for writing services that behave as SMOK devices

Affected versions of this package are vulnerable to Arbitrary Code Injection via the ecre_eval() function in the reparse_funs.py file.

CVSS Scores

version 3.1