Reachable Assertion Affecting rulex package, versions <0.4.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.07% (33rd 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-RUST-RULEX-2933579
  • published 22 Jun 2022
  • disclosed 21 Jun 2022
  • credit evanrichter

How to fix?

Upgrade rulex to version 0.4.3 or higher.

Overview

Affected versions of this package are vulnerable to Reachable Assertion when parsing untrusted expressions which contains a multi-byte UTF-8 code point in a string literal or after a backslash, because it tries to slice into the code point and panics as a result.

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    Low
Expand this section

NVD

6.5 medium