Uncaught Exception Affecting boa_engine package, versions >=0.16.0 <0.19.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (17th 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-BOAENGINE-7687587
  • published 15 Aug 2024
  • disclosed 14 Aug 2024
  • credit arai-a

How to fix?

Upgrade boa_engine to version 0.19.0 or higher.

Overview

Affected versions of this package are vulnerable to Uncaught Exception due to the handling of AsyncGenerator operations. This allows an attacker to trigger a state transition from a getter method for the then property, which causes the engine to fail an assertion of the assumption.

Workaround

Users who are unable to upgrade to the fixed version can use std::panic::catch_unwind to make sure exceptions caused by the engine won't impact the availability of the main application.

References

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
8.7 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    High
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None